RDF-ISSUE-168: [JSON-LD Candidate Recommendation]

RDF-ISSUE-168:  [JSON-LD Candidate Recommendation]

http://www.w3.org/2011/rdf-wg/track/issues/168

Raised by: Markus Lanthaler
On product: JSON-LD Candidate Recommendation

Raised by Matt Wuerstl:

------%<-------------------

In section 6.16 Data Indexing of the latest JSON-LD spec an example of data indexing is given that is confusing. In Example 54, the term "post" is defined as:
"post": {
       "@id": "schema:blogPost",
       "@container": "@index"
     }

And then the subsequent descriptive text refers to the "blogPost" term:

In the example above, the blogPost term<http://json-ld.org/spec/latest/json-ld/#dfn-term> has been marked as an index map<http://json-ld.org/spec/latest/json-ld/#dfn-index-map>. The en, de, and ja keys will be ignored semantically, but preserved syntactically, by the JSON-LD Processor. This allows a developer to access the German version of the blogPost using the following code snippet: obj.blogPost.de.

Shouldn't this text be referencing the "post" term as it was defined in the context? And referenced in code as org.post.de?

Thanks for the clarification.

Regards,
Matt

------%<-------------------

http://lists.w3.org/Archives/Public/public-rdf-comments/2013Oct/0097.html

Received on Wednesday, 30 October 2013 12:55:04 UTC