owlim-discussion  

Re: [Owlim-discussion] org.openrdf.repository.RepositoryConnection.clear(context)

Ivan Peikov
Wed, 19 May 2010 03:06:18 -0700

Hey!

One possible reason for the described behavior would be that clear() was 
called with some context that OWLIM didn't recognize. In the current 
implementation of BigOWLIM, clearing an unknown context clears the whole 
repository. So beware, until this bug is fixed.

Inferred triples will be automatically removed unless they were inferred by 
other reasons as well.


Cheers,
Ivan

On Tuesday 18 May 2010 23:39:18 J.Kopecky wrote:
> Hiya,
>
> we use OWLIM through Sesame and it seems that the function
> RepositoryConnection.clear(context) clears the whole knowledge base, not
> only the triples from the given context, as I understand it should.
>
> Is this (clearing the whole KB) the expected functionality? If so, how can
> one best remove just all the triples from a given context? Also, will this
> remove the triples that are implied by the contents of this context?
>
> Thanks,
> Jacek


_______________________________________________
OWLIM-discussion mailing list
OWLIM-discussion@ontotext.com
http://ontotext.com/mailman/listinfo/owlim-discussion