RE: RDF Syntaxes 2.0

On Mon, 8 Mar 2010, Houghton,Andrew wrote:

>> From: []
>> On Behalf Of David Booth
>> Sent: Monday, March 08, 2010 10:49 AM
>> To: Dave Beckett
>> Cc:
>> 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