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

Re: Review of Update

From: Olivier Corby <Olivier.Corby@sophia.inria.fr>
Date: Mon, 21 Nov 2011 10:40:13 +0100
Message-ID: <4ECA1C7D.50908@sophia.inria.fr>
To: Paul Gearon <pgearon@revelytix.com>, SPARQL Working Group <public-rdf-dawg@w3.org>
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. "


Olivier
Received on Monday, 21 November 2011 09:40:43 GMT

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