- From: Ivan Herman <ivan@w3.org>
- Date: Tue, 10 Jan 2012 15:15:07 +0100
- To: Linked JSON <public-linked-json@w3.org>
- Message-Id: <5D7A8ED3-DACB-4E60-9736-3376E15110B0@w3.org>
Hi guys, reading the Dec 27 version of the spec. My reading of it is that the following two JSON-LD fragments are semantically identical (from where I stand, for example, they would generate the same RDF triples): { "something" : [ { "@id" : "http://www.ex1.org", "a" : "b" }, { "@id" : "http://www.ex2.org", "c" : "d" } ], ... } and { "something" : { @id : [ { "@id" : "http://www.ex1.org", "a" : "b" }, { "@id" : "http://www.ex2.org", "c" : "d" } ] }, ... } And the generated turtle in both cases is [ <uri-for-something> <http://www.ex1.org>, <http://www.ex2.org> ; ... ] <http://www.ex1.org> "uri-for-a" "b" . <http://www.ex2.org> "uri-for-c" "d" . First of all, is this correct? I deduce it from the fact that you use the "@id" : [...] idiom in the document, in one of the examples, to denote a number of top level, subjects. However... how and where is that formally defined? Did I miss it, in which case my apologies? Or if it is not there, shouldn't it? Cheers Ivan ---- Ivan Herman, W3C Semantic Web Activity Lead Home: http://www.w3.org/People/Ivan/ mobile: +31-641044153 FOAF: http://www.ivan-herman.net/foaf.rdf
Attachments
- application/pkcs7-signature attachment: smime.p7s
Received on Tuesday, 10 January 2012 14:16:53 UTC