Suspicious mismatch between SPARQL grammar rules and examples

Hi all,

It seemes to me that the grammar rule

[20] GraphPattern ::=
   	Triples? ( GraphPatternNotTriples '.'? GraphPattern )?

should be written as

[20] GraphPattern ::=
   	( Triples '.'? )? ( GraphPatternNotTriples '.'? GraphPattern )?

to let examples in the spec match the grammar. Consider examples in 
sections 5.1, 5.2 etc. and note occurencies of '.' immediately before 
OPTIONAL keywords.

If changed, the grammar will remain 'yacc-friendly' LL(1).

Best Regards,
Ivan Mikhailov,
OpenLink Software.

Received on Tuesday, 10 January 2006 08:56:57 UTC