Re: Turtle shortcuts within property-Paths

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 UTC