W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > January 2006

Suspicious mismatch between SPARQL grammar rules and examples

From: Ivan Mikhailov <imikhailov@openlinksw.com>
Date: Tue, 10 Jan 2006 14:57:41 +0600
To: public-rdf-dawg-comments@w3.org
Message-ID: <ops25m6fvwhu4w46@mail2.openlinksw.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:49 GMT