RE: EXTERNAL: Re: wher is the Schema.org context?




John

3)      Drives me nuts not understanding how “playground” knows what a “http://schema.org/Person”  is.

It doesn't, it only knows how to use the JSON-LD context to map the value for "@type" key to a URI. If you then 'follow your nose' and dereference http://schema.org/Person then you get a representation of that thing that tells you that schema:Person has type rdfs:Class [1]. If that thing does not exists e.g. http://schema.org/Foo then you get a 404 response.



When I “follow my nose” to http://schema.org/Person I get a webpage, not at json-ld document (even when using ACCEPT header). Hence should http://schema.org/Person have jsonld context or is my code expected to handle the RDFa that appears to be returned?



Robert

Received on Thursday, 4 December 2014 20:07:07 UTC