Petra Jaros
Petra Jaros
```ts test('constructs a nested object with a variable @id', async () => { await api.write({ '@id': 'fred', name: 'Fred', wife: { '@id': 'wilma' } }); await expect(api.read({ '@construct': { '@id':...
```ts test('constructs a subject with no properties', async () => { await api.write({ '@id': 'fred', name: 'Fred' }); await api.write({ '@id': 'wilma', name: 'Wilma' }); await expect(api.read({ '@construct': { '@id':...
```ts test('constructs with a property variable in a nested subject', async () => { await api.write({ '@id': 'fred', stats: { height: 5, age: 40 } } ); await expect(api.read({ '@construct':...
Consider the following JSON-LD document: ```json { "@context": { "appliances": "ex:appliances", "Appliance": { "@id": "ex:Appliance", "@context": { "color": "ex:color" } } }, "appliances": [ { "@id": "toaster", "@type": "Appliance", "color":...
Consider the following JSON-LD document: ```json { "@context": { "appliances": { "@id": "ex:appliances", "@container": "@list" } }, "appliances": [ "toaster", "microwave" ] } ``` [According to the JSON-LD playground](https://json-ld.org/playground/#startTab=tab-compacted&json-ld=%7B%22%40context%22%3A%7B%22appliances%22%3A%7B%22%40id%22%3A%22ex%3Aappliances%22%2C%22%40container%22%3A%22%40list%22%7D%7D%2C%22appliances%22%3A%5B%22toaster%22%2C%22microwave%22%5D%7D&context=%7B%7D), this...
Is this supposed to work? I'd like to update `` to `1` on every subject where `` is `2`. ```json { "@update": { "@id": "?id", "": 1 }, "@where": {...
[The `esbuild` option is typed as `CommonOptions & TransformOptions & BuildOptions`.](https://github.com/folke/esbuild-runner/blob/d69bd4e6e99e775ec05b3b6b209b4d1f0d53e43c/src/esbuild.ts#L18) But `TransformOptions` and `BuildOptions` have incompatible types for `loader`. `TransformOptions` only take a single `Loader`, while `BuildOptions` expects an...
The `debug` option is [required in `TranspileOptions`](https://github.com/folke/esbuild-runner/blob/d69bd4e6e99e775ec05b3b6b209b4d1f0d53e43c/src/esbuild.ts#L17), but it's not documented in the Readme. Should it be optional? What does it do?
A `Quad` must have a `termType` and `value`, since it's a `Term`: https://rdf.js.org/data-model-spec/#quad-interface A recent change to Comunica (not sure what) appears to care now, and blows up if the...
It's getting tricky to refer back to older versions of the spec, which is important to be able to do as the spec changes so quickly. Having at least the...