Re: Removing triples from a store?

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 UTC