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

Re: ISSUE-48: Less verbose delete syntax

From: Steve Harris <steve.harris@garlik.com>
Date: Mon, 23 Nov 2009 10:53:42 +0000
Message-Id: <41961494-17D6-4E8C-9936-DD10DE071F3C@garlik.com>
To: "public-rdf-dawg@w3.org Group" <public-rdf-dawg@w3.org>
On 22 Nov 2009, at 16:05, Andy Seaborne wrote:

[snipped a lot]

> My current preference is:
>
> DELETE WHERE { X }
>
> where X is BGPs + GRAPH + FILTER.
>
>
> (The question for me is more whether we should do less, not more,  
> than that.)

I think my preference is BGPs + GRAPH only. Possibly no bNodes too,  
depending on what the exact semantics of bNodes are in this case.

I'm not really adverse to FILTER, but I have systems where optmising
DELETE WHERE { ?x a <Foo> } etc. is really easy, but
WHERE { ?x a ?type . FILTER (REGEX(STR(?type), "Foo")) } (i.e.  
anything that doesn't trivially optimise down to algebra expressions)  
is hard to do. Personal bias :)

Would be nice to have some form of DELETE that will always be fast,  
relative to the amount of data it has to remove.

- Steve

-- 
Steve Harris, CTO, 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 Monday, 23 November 2009 10:54:17 GMT

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