W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2006

Grammar changes

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Thu, 12 Oct 2006 13:56:08 +0100
Message-ID: <452E3B68.9020602@hp.com>
To: RDF Data Access Working Group <public-rdf-dawg@w3.org>

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.


== Syntax changes:

1/ LIMIT/OFFSET allowed either way round.


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.


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:


There are 174 of them currently.

== Doc changes:

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

New grammar table.

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:00:52 UTC