Grammar changes

First stage of grammar changes: rq24 has been updated but I haven't redeployed 
the new grammar in yacker or the sparql.org validator yet.

 Andy

== Syntax changes:

1/ LIMIT/OFFSET allowed either way round.

http://lists.w3.org/Archives/Public/public-rdf-dawg/2006OctDec/att-0049/10-dawg-minutes.html#item03

Effect: Does not invalidate any CR1 legal query.


2/ Optional

Optional moved to be clearer as to what it binds to for the left hand side.

http://lists.w3.org/Archives/Public/public-rdf-dawg/2006JulSep/0278

Effect: Does not invalidate any CR1 legal query.


3/ Filter is now part of a group; there is no such thing as a filtered basic
graph pattern.  Syntactic blank nodes (i.e. as variables) not allowed in FILTER.

Effect: Any filter with a syntactic blank nodes (e.g. FILTER(_:x < 5)) becomes
a syntax error.

For example: query-se-bNode-type-var.rq


4/ UCHAR has been removed. The text had already been changed to say that \u
processing is done before tokenization.  The grammar now has no \u in it.

Effect: Does not invalidate any CR1 legal query.
           Does allow \u escapes in new places (comments, keywords, whitespace).


5/ Bug corrected: GRAPH [] {} was legal (blank node in GRAPH variable).

Effect: Queries with that form (and _:XYZ) are now syntactically illegal.


6/ Bug corrected: ORDER BY str(?x) required brackets for no good reason.

Effect: Does not invalidate any CR1 legal query.

7/ Bug corrected: Rule NCNAME1p => NCNAME1P (tokens are uppercase)


== Test changes:

I put a new copy of the development syntax tests into CVS into to the
development copy of syntax tests:

http://www.w3.org/2001/sw/DataAccess/tests/data/SyntaxDev/

There are 174 of them currently.

== Doc changes:

Removed any text I could find that put filters with BGP.

New grammar table.

 Andy

Received on Thursday, 12 October 2006 12:56:33 UTC