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

Re: Review of Update

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Mon, 21 Nov 2011 14:22:14 +0000
Message-ID: <4ECA5E96.5050004@epimorphics.com>
To: public-rdf-dawg@w3.org


On 21/11/11 11:31, Steve Harris wrote:
> 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

+1

	Andy
Received on Monday, 21 November 2011 14:22:51 GMT

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