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

Error in illustration of WITH clause

From: David Booth <david@dbooth.org>
Date: Mon, 16 Apr 2012 12:31:12 -0400
To: public-rdf-dawg-comments <public-rdf-dawg-comments@w3.org>
Message-ID: <1334593872.1991.4977.camel@dbooth-laptop>
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




-- 
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 Monday, 16 April 2012 16:31:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 16 April 2012 16:31:40 GMT