Re: JSON-LD Context

> 
> Actually… the idiom
> 
> "url"  : { "@type" : "@id", "@id" : "@id"}
> 
> also seemed to work on playground. If I then use:
> 
> {
>  "@context" : {
>    "type" : { "@type" : "@vocab", "@id":"rdf:type"},
>    "url"  : { "@type" : "@id", "@id" : "@id"}
>  },
>  "type" : "http://this.type.example.org",
>  "url":"http://ww.example.org"
> }
> 
> Ie, if the @context is included by URI
> 
> {
>  "@context" : "http://somewhere.org,
>  "type" : "http://this.type.example.org",
>  "url":"http://ww.example.org"
> }
> 
> I get
> 
> <http://ww.example.org> <rdf:type> <http://this.type.example.org> .
> 

I have asked a JSON-LD expert to see whether this is 'legal' JSON-LD

Ivan

----
Ivan Herman, W3C
Digital Publishing Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
ORCID ID: http://orcid.org/0000-0003-0782-2704

Received on Monday, 10 August 2015 09:32:33 UTC