W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > April to June 2012

Re: Turtle shortcuts within property-Paths

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Mon, 11 Jun 2012 13:12:32 +0100
Message-ID: <4FD5E0B0.9060503@epimorphics.com>
To: public-rdf-dawg@w3.org


On 11/06/12 12:49, Polleres, Axel wrote:
> Looking at the grammar, it seems we disallow property paths within
> triples using Turtle style
> abbreviations for Property lists:
> http://www.w3.org/2009/sparql/docs/query-1.1/rq25.xml#rPropertyListNotEmpty
> [77] PropertyListNotEmpty ::= Verb ObjectList ( ';' ( Verb ObjectList )? )*
> While this is not a limitation in terms of expressivity, I felt tempted
> to write something like
> [ :p|:q:|r ?X ]
> instead of the longer version ... Is it an option to generalize grammar
> rule [77] to
> [77] PropertyListNotEmpty ::= VerbPath ObjectList ( ';' ( Verb
> ObjectList )? )*
> or would that cause parser problems?
> Thanks & best regards,
> Axel

[77] is used in CONSTRUCT, INSERT and DELETE templates

[83] is used by query patterns and SPARQL Update WHERE clauses.

	Andy
Received on Monday, 11 June 2012 12:13:10 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:48 GMT