W3C home > Mailing lists > Public > public-rdf-wg@w3.org > May 2012

Re: Deprecate most "native" RDF serializations

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Sun, 06 May 2012 10:46:07 +0100
Message-ID: <4FA6485F.9000601@epimorphics.com>
To: public-rdf-wg@w3.org

On 06/05/12 01:54, Sandro Hawke wrote:
> On Fri, 2012-05-04 at 11:22 -0400, Manu Sporny wrote:
>> """
>> TURTLE Lite would effectively be a subset of TURTLE - N-Quads, or
>> something that would be N-Quads-like (allowing for either "s p o" or
>> "s
>> p o c" statements).
>> """
>> Gavin has asserted that TURTLE already supports N-Triples... now all
>> we
>> need to do is to make N-Quads a subset of TURTLE and we're good for
>> TURTLE Lite.
> Since a subset can't include things not in its superset, I guess you're
> saying that Turtle should include the dataset/quad stuff?  Do you have a
> proposed syntax for that?   I don't think adding the label after the
> triple, as in N-Quads, works well in Turtle...
>    s p o1 g, o2 g; p2 o3 g.
> Nah.   Maybe just like trig, where you have a triple you could have
> label + { graph }.   Or maybe a GRAPH keyword like in SPARQL.  I kind of
> like that.
> Steve has argued very strongly, and Andy just mentioned again, that
> people want to know from the mime type whether they'll be getting
> triples or quads.   Steve sees it as a big security issue -- you don't
> want to load quads in from the Web and have them over-write your
> crawler's internal state metadata or data that was supposedly fetched
> from other address. I'm not convinced, myself, not at all, because I
> think one needs to have an "untrusted" mode of loading quads that
> renames all the graphs.

That's not the point I was making: graphs contains triples, datasets 
contain quads.

If code is asked to read into a graph, and at the 100 millionth input 
line gets a quads, what is it to do?  Declaring the media type is 
nominating the contract up-front.

Received on Sunday, 6 May 2012 09:46:39 UTC

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