W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > December 2011

Re: SPARQL 1.1 Update: minor inconsistency between text and grammar

From: Jeen Broekstra <jeen.broekstra@gmail.com>
Date: Fri, 09 Dec 2011 10:43:21 +1300
Message-ID: <4EE12F79.3040004@gmail.com>
To: public-rdf-dawg-comments@w3.org
On 08/12/11 22:29, Andy Seaborne wrote:
>
>
> On 07/12/11 22:30, Jeen Broekstra wrote:
>>
>> Dear WG,
>>
>> In the SPARQL 1.1 Update spec, section 3
>> (http://www.w3.org/TR/sparql11-update/#updateLanguage) it says the
>> following:
>>
>> "A request is a sequence of operations and is terminated by EOF (End of
>> File). Multiple operations are separated by a ';' (semicolon) character.
>> A semicolon after the last operation in a request is optional. [...]"
>>
>> However, the actual BNF grammar
>> (http://www.w3.org/TR/sparql11-query/#rUpdate) has the following
>> production for an operation sequence:
>>
>> [30] Update ::= Prologue ( Update1 ( ';' Update )? )?
>>
>> So, is a semicolon after the last operation allowed, or not? The text
>> says it is, the grammar says it isn't.
>
> An "Update" can be empty. Prologue can be empty and the whole of the
> rest of it is (...)?

Ah. Apologies. I had not seen that Prologue can be empty. Thanks for 
clarifying, that settles my comment.

Cheers,

Jeen
Received on Thursday, 8 December 2011 21:44:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 8 December 2011 21:44:02 GMT