W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > April to June 2010

Re: Clarification on blank nodes in DELETE templates.

From: Birte Glimm <birte.glimm@comlab.ox.ac.uk>
Date: Tue, 4 May 2010 22:50:38 -0400
Message-ID: <l2l492f2b0b1005041950pa0614aecp8c66ba90058119cd@mail.gmail.com>
To: Andy Seaborne <andy.seaborne@talis.com>
Cc: SPARQL Working Group <public-rdf-dawg@w3.org>
On 29 April 2010 17:05, Andy Seaborne <andy.seaborne@talis.com> wrote:
> http://www.w3.org/2009/sparql/meeting/2010-03-09#resolution_2
>
> [[
> RESOLVED: Blank nodes in DELETE templates act as "wild cards", effectively
> as variables bound to all RDF terms; the same blank node cannot be used in
> the WHERE clause and the template, or in multiple BGPs, SteveH, dcharbon2,
> LeeF abstaining
> ]]
>
>
> DELETE templates include the form GRAPH ?? { ... } and my question is about
> the ??

So is the delete template the whole thing (GRAPH ?? {...} ) or just
the triple pattern ( {...} )? I imagined we mean bnodes in the triple
pattern {_:s _:p _:o}, but that might just be wishful thinking...

Birte

> Do we allow
>
> DELETE WHERE { GRAPH [] { ?s ?p ?o } }
> DELETE WHERE { GRAPH _:a { ?s ?p ?o } }
> DELETE { GRAPH [] { ?s ?p ?o } } WHERE { ?s ?p ?o }
>
> (although by scoping _:a can't ever be the same as another _:a?)
>
>        Andy
>
>



-- 
Dr. Birte Glimm, Room 306
Computing Laboratory
Parks Road
Oxford
OX1 3QD
United Kingdom
+44 (0)1865 283529
Received on Wednesday, 5 May 2010 02:51:11 GMT

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