W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > May 2012

Re: Error in illustration of WITH clause

From: David Booth <david@dbooth.org>
Date: Fri, 11 May 2012 15:28:37 -0400
To: public-rdf-dawg-comments@w3.org
Message-ID: <1336764517.2232.61480.camel@dbooth-laptop>
Regarding DB-22, I am satisfied with this resolution.

Thank you,
David

-----------------------------------------------

From: Polleres, Axel <axel.polleres@siemens.com>
Date: Wed, 2 May 2012 07:55:16 +0200
To: "public-rdf-dawg-comments@w3.org" <public-rdf-dawg-comments@w3.org>
Message-ID:
<9DA51FFE5E84464082D7A089342DEEE80138CF5398AD@ATVIES9917WMSX.ww300.siemens.net>
Hi David,

Thanks for spotting this. The error has been fixed in the current Editor's draft at

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


We'd appreciate if you could briefly acknowledge that your comment has been addressed.

Axel, on behalf of the SPARQL WG



________________________________

Section
http://www.w3.org/TR/sparql11-update/#deleteInsert
says:
[[
To illustrate the use of the WITH clause, an operation of the general
form:

WITH <g1> INSERT { x y z } DELETE { a b c } WHERE { ... }

Is considered equivalent to:


INSERT { GRAPH <g1> { x y z } } DELETE { GRAPH <g1> { a b c } } USING <g1> WHERE { ... }
]]


However, the grammar requires that the DELETE clause *precede* the
INSERT clause:
http://www.w3.org/TR/sparql11-query/#rModify




--
Dr. Axel Polleres
Siemens AG Österreich
Corporate Technology Central Eastern Europe Research & Technologies
CT T CEE

Tel.: +43 (0) 51707-36983
Mobile: +43 (0) 664 88550859
Fax: +43 (0) 51707-56682 mailto:axel.polleres@siemens.com

-- 
David Booth, Ph.D.
http://dbooth.org/

Opinions expressed herein are those of the author and do not necessarily
reflect those of his employer.
Received on Friday, 11 May 2012 19:29:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 11 May 2012 19:29:07 GMT