SPARUL grammar question for ARQ
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) ?
Re: SPARUL grammar question for ARQ
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
Re: SPARUL grammar question for ARQ
Doh, Google did it to me again. I should have noticed it in the URL. thanks, tim From: Andy Seaborne a...@apache.org To: users@jena.apache.org Sent: Monday, June 18, 2012 12:52 PM Subject: Re: SPARUL grammar question for ARQ 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
Re: SPARUL grammar question for ARQ
On 18/06/12 21:34, Tim Harsch wrote: Doh, Google did it to me again. I should have noticed it in the URL. Get people to stop clicking on it and the spec will return to being first - they seem to alternate :-) Andy thanks, tim