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:

   http://www.w3.org/TR/2009/WD-sparql11-update-20091022/

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.

Thanks,

-R
Received on Friday, 19 February 2010 07:09:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 19 February 2010 07:09:37 GMT