json-ld-api
json-ld-api copied to clipboard
JSON-LD 1.1 Processing Algorithms and API Specification
I ran into this issue while trying to find an acceptable output for the code in #547. It would, IMO, look like this: ```json { "@context": { "prop": { "@id":...
Compacting this document: ```json { "http://schema.org/prop": [ { "@list": ["foo", "bar"] }, { "@list": ["baz", "qux"] } ] } ``` with this context: ```json { "prop": { "@id": "http://schema.org/prop", "@container":...
in [https://w3c.github.io/json-ld-api/tests/toRdf/0118-out.nq](0118-out.nq) `_:b0` is used as a predicate in a triple. According to [https://www.w3.org/TR/n-quads/](n-quads): - predicate ::= [IRIREF](https://www.w3.org/TR/n-quads/#grammar-production-IRIREF)
This issue comes from https://github.com/digitalbazaar/jsonld.js/issues/466 I have the same issue when trying to round-trip from a framed JSON-LD to RDF and from the produced RDF to a framed JSON-LD. ```json...
It appears that `@graph`-aliased keywords don't work as containers in JSON-LD 1.1. Given: ```json { "@context": { "@base": "https://example.org/", "@vocab": "https://example.org/ns/", "entities": { "@id": "@graph", "@container": "@index" } }, "entities":...
Hi, In the step 14.2.3 of the Create Term Definition algorithm after expanding the value associated to the `@id` entry of a term definition, the algorithm continues as follows: >...
In the playground implementation, using a keyword-like value as `@id` causes the node id to explicitly expand to `null`. I see why it happens since it is the result of...
As @iherman suggested, I'm using `` * the `` is a "comment" summarizing the embeded steps * the rest of the `` contains the list of steps See the Context...
Hi, in compaction test 0066, some IRIs are to be compacted relative to the document base IRI. The base IRI is `https://w3c.github.io/json-ld-api/tests/compact/0066-in.jsonld` and an examples of IRIs to compact is...
Hi it's me again, I am confused about the use of the term "set" to describe `@set` objects. In the section [Lists and Sets](https://www.w3.org/TR/json-ld11/#lists-and-sets) it is said that > A...