W3C home > Mailing lists > Public > semantic-web@w3.org > March 2010

RE: RDF Syntaxes 2.0

From: Dave Beckett <dave@dajobe.org>
Date: Mon, 8 Mar 2010 08:44:48 -0800 (PST)
To: "Houghton,Andrew" <houghtoa@oclc.org>
cc: David Booth <david@dbooth.org>, Dave Beckett <dave@dajobe.org>, semantic-web@w3.org
Message-ID: <alpine.DEB.2.00.1003080842560.15342@xyzzy.dajobe.org>
On Mon, 8 Mar 2010, Houghton,Andrew wrote:

>> From: semantic-web-request@w3.org [mailto:semantic-web-request@w3.org]
>> On Behalf Of David Booth
>> Sent: Monday, March 08, 2010 10:49 AM
>> To: Dave Beckett
>> Cc: semantic-web@w3.org
>> Subject: Re: RDF Syntaxes 2.0
>> On Mon, 2010-01-25 at 08:23 -0800, Dave Beckett wrote:
>> [discussion of updating Turtle to handle quads / named graphs]
>>> I was more thinking of allowing something like
>>> <s> <p> <o> <g> .
> Why does Turtle need to handle quads when there is the Trig format which does handle graphs and is a superset of Turtle?  What am I missing here?

Trig does exist but one reason is that it isn't as widespread in support
compared to Turtle.  That's not a huge reason, it might be better that
the two formats are separate (mime types) so people can know before
parsing whether they have a single graph or a graph-set.

>>  - the graph URI would be easier to strip off when converting the quads
>> back to triples, because one could simply strip everything through the
>> first space on each line -- a very easy sed script.
> Note, I think you mean "strip everything through the first *whitespace*".  Regardless of N-triples or Turtle each <s> <p> <o> can be on separate physical lines:
> <s>
>  <p>
>  <o>
>  .

Only Turtle (& N3) allows that, N-Triples requires 1-triple per line.

Received on Monday, 8 March 2010 16:45:17 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 08:45:16 UTC