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

Re: Issues found in Turtle spec

From: Alex Hall <alexhall@revelytix.com>
Date: Mon, 29 Aug 2011 16:36:10 -0400
Message-ID: <CAFq2bixE7ALUB_j96r9j3XX4g8jNRLKGcoJUm_YECrU_KH5Vvg@mail.gmail.com>
To: Gavin Carothers <gavin@topquadrant.com>
Cc: Gregg Kellogg <gregg@kellogg-assoc.com>, "public-rdf-comments@w3.org" <public-rdf-comments@w3.org>, RDF-WG WG <public-rdf-wg@w3.org>
On Mon, Aug 29, 2011 at 4:03 PM, Gavin Carothers <gavin@topquadrant.com>wrote:

> > The list example in section 6 uses a list on it's own, without a
> predicate
> > or object, which is not allowed by the grammar (neither is a
> > blankNodeProperyList). Either the EBNF should be updated to allow for
> these
> > forms, or the examples should be changed such that ( ... ) and [ ... ]
> are
> > used only in the context of being a subject or object. This
> implementation
> > will generate triples, however an error will be generated if the parser
> is
> > run in validation mode.
>
> It seems likely that this is more of the same errors from above,
> examples that are not valid Turtle should likely be removed from the
> specification as just noting that they aren't valid doesn't seem to be
> enough.
>

This is a deviation from SPARQL, where collections and blank node property
lists are allowed on their own in addition to as the subject or object of a
triple.  Whether to amend Turtle to match the SPARQL definition in this
respect is an open issue:

http://www.w3.org/2011/rdf-wg/track/issues/19

(This deals only with blank node property paths, but a resolution on this
issue should also apply to collections).

-Alex
Received on Monday, 29 August 2011 20:36:38 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:25:45 GMT