Re: [JSON] JSON Serializations Lineup (ACTION-20)

Hi Steve,

> However, it looks like the sample data in [3] is a simple tree. Is it possible to add some more triples to it so that it expresses more of RDF graph nature? e.g. loops, diamonds, repeated references etc.
>
> Something like:
>
> <http://jondoe.example.org/#me> :address _:addr .
> <http://janedoe.example.org/#me> :address _:addr .
>
> _:addr :street "1 Some Street" ;
>       :postcode "W1A 1AA" ;
>       :city "The Metrop" ;
>       :inhabitant <http://jondoe.example.org/#me>, <http://janedoe.example.org/#me> .

This doesn't sound like a big problem (BTW, was this on the sample
graph Wiki? [1]). None of the serializations enforces inlining, so
shared/circular references can be realized just as you did in your
mark-up above in JSON using the particular blank node or node
referencing mechanics of each serialization, which is shown in, e.g.,
the foaf:knows part. Does this respond to your doubt?

Cheers,
Tom

[1] http://lists.w3.org/Archives/Public/public-rdf-wg/2011Mar/0533.html

-- 
Thomas Steiner, Research Scientist, Google Inc.
http://blog.tomayac.com, http://twitter.com/tomayac

Received on Tuesday, 5 April 2011 15:35:50 UTC