Valid values for @type in @context

Hello,

I have a short question about the possible values of the @type keyword in a JSON-LD @context. Can I use any rdfs:Class as value in the context? Example:

{
   "@context": 
   {
      "creator": {
      "@id": "http://purl.org/dc/terms/creator",
      "@type": "http://xmlns.com/foaf/0.1/Person"
     }
   }
   "@id": "http://example.org/SomeBook",
   "creator": "http://example.org/somePerson" 
}

Is the above a valid JSON-LD expression of the following data expressed as turtle?

<http://example.org/SomeBook> <http://purl.org/dc/terms/creator> <http://example.org/somePerson> .
<http://example.org/somePerson> a <http://xmlns.com/foaf/0.1/Person> .

I don't see a problem doing this but as I haven't found an analogous example anywhere I thought I'd better ask...

- Adrian


Adrian Pohl
- Linked Open Data -
hbz - Hochschulbibliothekszentrum des Landes NRW
Tel: (+49)(0)221 - 400 75 235
http://www.hbz-nrw.de

Received on Monday, 12 August 2013 13:02:58 UTC