W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > February 2010

Solution modifiers and Update

From: Richard Newman <rnewman@twinql.com>
Date: Thu, 18 Feb 2010 23:09:02 -0800
Message-Id: <B33A4F8E-F9FE-4580-B176-3117298ACC3B@twinql.com>
To: SPARQL Working Group Comments <public-rdf-dawg-comments@w3.org>
Judging by the last draft which included a grammar:


one cannot issue an Update request which includes LIMIT or ORDER BY.

That means one can CONSTRUCT things that one cannot INSERT:

   CONSTRUCT { ?s a <urn:Foo> } WHERE { ?s a ?y } ORDER BY ?s LIMIT 1

is valid, but

   INSERT { ?s a <urn:Foo> } WHERE { ?s a ?y } ORDER BY ?s LIMIT 1

is not.

Is there any reason for this, or is it simple oversight? Issue 27's  
resolution in favor of allowing subqueries in Update forms would seem  
to make this possible, so I don't see any reason to make it more  
complicated than necessary.


Received on Friday, 19 February 2010 07:09:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:52:10 UTC