W3C home > Mailing lists > Public > public-rdf-wg@w3.org > March 2011

Re: [JSON] Examples for RDF JSON serializations side-by-side comparison

From: Ivan Herman <ivan@w3.org>
Date: Wed, 23 Mar 2011 16:03:52 +0100
Cc: Andy Seaborne <andy.seaborne@epimorphics.com>, Thomas Steiner <tomac@google.com>, RDF WG <public-rdf-wg@w3.org>
Message-Id: <58A248C9-9E69-46D5-9C85-C3B633D909FE@w3.org>
To: Sandro Hawke <sandro@w3.org>

On Mar 23, 2011, at 15:46 , Sandro Hawke wrote:



>> 
>> # These are not strict Turtle where everything
>> # must be "subject-predicate" form.
>> # They are SPARQL.
>> 
>> ("a" "b" "c" ) .
> 
> This should be flagged a little more clearly as "NOT RDF".  A mapping
> can reject this one and still be 100% RDF.
> 
>> [ :p (1 2) , (3 4) ] .

I have not looked at the grammar (Andy, obviously, has) but that surprised me greatly. But RDFlib parses this without problem, to triples, each of them having a list as an object (ie, a bnode with first and next, etc)

Ivan





> 
> Oh that's really not in Turtle?   Sad, if true.
> 
>> 
>> Attached:
>>   D.ttl (the data above)
>>   D.nt (converted to N-triples)
> 
> Brilliant!   And cruel!    I'm trying to imagine Tom sitting on the
> plane sorting this out against the various specs.    He might find he'd
> rather just write the code.
> 
>   -- Sandro
> 
> 


----
Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf






Received on Wednesday, 23 March 2011 15:04:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:04 UTC