On 18/06/12 20:38, Tim Harsch wrote:
According to sparql.org this parses: DELETE WHERE { ?s ?p ?o }

According to the spec empty brackets are required in the construct
template.

http://www.w3.org/Submission/SPARQL-Update/#rConstructTemplate

Is this an extension for ARQ, or am I mis-reading the grammar?  Is
there a pedantic parser for the updates that would parse only valid
1.1 syntax for updates (as there is for query) ?

Your reading the wrong spec :-) The ARQ's update parser is pedantic, as you put it, and that is what you get with syntax SPARQL.

SPARQL Update - as will become a W3C Recommendation is:

http://www.w3.org/TR/sparql11-update/

While the submission was input at the start of the WG process, the resulting language has moved on.

One feature added is the

DELETE WHERE { ?s ?p ?o }

shortcut
http://www.w3.org/2009/sparql/docs/update-1.1/Overview.xml#deleteWhere

which is equivalent in effect to
DELETE { ?s ?p ?o } WHERE { ?s ?p ?o }

        Andy

Reply via email to