clarification/precision question on the JSON-LS syntax document

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

Received on Tuesday, 10 January 2012 14:16:53 UTC