W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > June 2010

Re: Removing triples from a store?

From: Ivan Herman <ivan@w3.org>
Date: Fri, 4 Jun 2010 13:40:08 +0200
Cc: W3C RDFa WG <public-rdfa-wg@w3.org>
Message-Id: <FEAA6915-50EA-479C-B581-4431ABE4ACF0@w3.org>
To: Toby Inkster <tai@g5n.co.uk>

On Jun 4, 2010, at 13:30 , Toby Inkster wrote:

> On Fri, 2010-06-04 at 10:36 +0200, Ivan Herman wrote:
>> There is currently no method to remove a triple from a store. I wonder
>> whether there are reasons to add this facility...
> 
> Right now, I suppose the workaround would be to create a new store,
> iterate through the old store, adding each triple to the new one except
> for those you wanted to remove, and then replace any references to the
> old store with references to the new store. That's not an especially
> nice solution though.

That is a typical British understatement:-)

To be fair, I still have to have a clear use case when one wants that. At least for browser-style Web applications even the triple adding is really really important for parsers, I guess...

Ivan

> 
> -- 
> Toby A Inkster
> <mailto:mail@tobyinkster.co.uk>
> <http://tobyinkster.co.uk>
> 


----
Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf







Received on Friday, 4 June 2010 11:38:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 04:55:06 GMT