W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2011

Re: Review of Update

From: Steve Harris <steve.harris@garlik.com>
Date: Mon, 21 Nov 2011 11:31:37 +0000
Cc: Paul Gearon <pgearon@revelytix.com>, SPARQL Working Group <public-rdf-dawg@w3.org>
Message-Id: <84528D06-1F82-4FC3-B73C-3642E852D2C5@garlik.com>
To: Olivier Corby <Olivier.Corby@sophia.inria.fr>
On 2011-11-21, at 09:40, Olivier Corby wrote:

> On 11/16/2011 03:57 AM, Paul Gearon wrote:
>> 
>>> 3.1.3 DELETE/INSERT
>>> >
>>> >
>>> > The bindings for each solution are then substituted into the DELETE template
>>> > to remove triples, and then in the INSERT template to create new triples.
>>> >
>>> > -> Explain what happens if a variable in the template has no value in a
>>> > solution: this is processed as in construct-where ...
>> Added the following:
>> "Variables in the template that have no binding in a solution are
>> equivalent to a blank node. This will create a new node in an INSERT
>> template and result in no effect in a DELETE template."
>> 
> 
> I think that insert and construct should behave in the same way when a variable is not bound :
> 
> http://www.w3.org/2009/sparql/docs/query-1.1/rq25.xml#construct
> 
> 16.2  Construct 
> 
> "If any such instantiation produces a triple containing an unbound variable or an illegal RDF construct, such as a literal in subject or predicate position, then that triple is not included in the output RDF graph. "

+1

- Steve

-- 
Steve Harris, CTO, Garlik Limited
1-3 Halford Road, Richmond, TW10 6AW, UK
+44 20 8439 8203  http://www.garlik.com/
Registered in England and Wales 535 7233 VAT # 849 0517 11
Registered office: Thames House, Portsmouth Road, Esher, Surrey, KT10 9AD
Received on Monday, 21 November 2011 11:32:23 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:47 GMT