W3C home > Mailing lists > Public > public-rdf-comments@w3.org > May 2013

Re: TriG production questions

From: Jan Wielemaker <J.Wielemaker@vu.nl>
Date: Fri, 17 May 2013 12:00:11 +0200
Message-ID: <5195FFAB.6010400@vu.nl>
To: Andy Seaborne <andy.seaborne@epimorphics.com>
CC: <public-rdf-comments@w3.org>
On 05/17/2013 11:49 AM, Andy Seaborne wrote:

[this fragment is from Charles Greer, not answered by Andy]

> 1.  Could the spec be modified to allow TriG to be a superset of
> turtle?  Specifically, could the production rules be modified to allow
> a set of triples outside of any '{'  '}' to be the same as triples in a
> default anonymous graph?  It seems that even now, the rules allow
> multiple anonymous graph productions, whose union would be the unnamed
> graph.  It would be convenient if we could dispense with these anonymous
> curly braces altogether if possible.

Having implemented TriG yesterday on top of the Turtle parser, I must 
say that I was happily surprised that TriG does not allow for triples
outside {}.  This means you can detect whether a document is a Turtle
or TriG document at the first triple.

	Cheers --- Jan
Received on Friday, 17 May 2013 10:00:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:59:33 UTC