Is this valid JSON-LD?

Something that I have not seen anywhere in the document:

{
  "@context" : {
     "http://www.example.org/pred" : { "@type" : "@id" }
   },
   ...
   "http://www.example.org/pred" : "http://ivan-herman.net"
   ...
}

yielding

[ <http://www.example.org/pred> <http://ivan-herman.net> ]

I would expect the answer to be yes, but there is nowhere a more formal definition of @context that would give me straight answer.

This (and my question yesterday on the "@id" : [...] idiom) reinforces my feeling that a somewhat more formal definition of the various json-ld structures would be welcome in my view.

Thanks

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 Wednesday, 11 January 2012 12:06:05 UTC