- From: Andy Seaborne <andy.seaborne@epimorphics.com>
- Date: Thu, 08 Dec 2011 09:29:25 +0000
- To: public-rdf-dawg-comments@w3.org
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 (...)? So the last part, ( ';' Update )?, can be ';' <empty> meaning that a ";" at the end is legal by the grammar. Andy > > Best regards, > > Jeen >
Received on Thursday, 8 December 2011 09:30:00 UTC