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

Re: Error in illustration of WITH clause

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
Received on Wednesday, 2 May 2012 05:55:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 2 May 2012 05:55:55 GMT