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

Questions about Update 1.1

From: Steve Harris <steve.harris@garlik.com>
Date: Thu, 15 Oct 2009 17:28:24 +0100
Message-Id: <E8EAC496-26A1-4299-897B-691F5BC1EF45@garlik.com>
To: "public-rdf-dawg@w3.org Group" <public-rdf-dawg@w3.org>
I've been noodling on update today, and I have a couple of questions  
for people who've already implemented it:

1) If you have DELETE { <a> <b> ?z . <c> <d> ?z } what does that mean?  
The grammar allows it, but maybe it shouldn't? It could imply DELETE  
{ <a> <b> ?z . <c> <d> ?z } WHERE { <a> <b> ?z . <c> <d> ?z }, but it  
should be explicit what happens somewhere.

2) Can you delete bNodes with DATA? DELETE DATA { <a> <b> _:z }  
doesn't really make much sense. Some stores (including Jena and  
4store) allow you to quote bNodes like DELETE DATA { <a> <b> <_:z> }  
but that's non-standard.

Without DATA you can do something like:
   DELETE { <a> <b> ?z . <c> <d> ?z }
   WHERE { <a> <b> ?z . <c> <d> ?z . FILTER(isBNODE(?z)) }
but that's really inconvenient, and will be hard to optimise if you  
want to delete large chunks of data.

- Steve

-- 
Steve Harris
Garlik Limited, 2 Sheen Road, Richmond, TW9 1AE, UK
+44(0)20 8973 2465  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 Thursday, 15 October 2009 16:28:55 GMT

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