W3C home > Mailing lists > Public > public-linked-json@w3.org > November 2013

Typing a Collection of Nodes

From: Thomas Hoppe <thomas.hoppe@n-fuse.de>
Date: Tue, 12 Nov 2013 14:53:46 +0100
Message-ID: <528232EA.9010509@n-fuse.de>
To: Linked JSON <public-linked-json@w3.org>
is there a way to conveniently type (@type) a collection of nodes?
This could be useful to prevent repeated @type properties in cases like 

     "@context": ...,
     "@id": "http://manu.sporny.org/about#manu",
     "@type": "foaf:Person",
     "name": "Manu Sporny",
     "knows": "http://greggkellogg.net/foaf#me"
     "@context": ...,
     "@id": "http://greggkellogg.net/foaf#me",
     "@type": "foaf:Person",
     "name": "Gregg Kellogg",
     "knows": "http://manu.sporny.org/about#manu"

I thought about using @reverse but I think it is not possible to use it 
JSON-LD keywords.
Greets, Thomas
Received on Tuesday, 12 November 2013 13:54:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:39 UTC