Ivan Peikov
Sat, 15 May 2010 01:40:56 -0700
Hi Hendrik, The case you spotted is indeed caused by a bug in SwiftOWLIM 3.0.12. The bug is now fixed and will be released in the next version of SwiftOWLIM.
In the meantime, as a temporary workaround to the problem I suggest you
re-initialize the repository (not just the connection) after you have cleared
a whole context (only in this case, not after every removal).
Thanks for reporting the issue, we'll let you know when we have a new Swift
release available.
Cheers,
Ivan
On Wednesday 12 May 2010 17:40:26 Hendrik Moree wrote:
> Hi Damyan,
>
> The getNumberOfStatements is my own methods. Does the following:
> RepositoryResult<Resource> contexts = conn.getContextIDs();
> while (contexts.hasNext())
> {
> BNode r = (BNode)contexts.next();
> if (r.getID().equals(identifier))
> {
> context = new BNodeImpl(identifier);
> list = conn.getStatements(null, null, null, false, context).asList();
> size = list.size();
> }
> }
>
> And indeed I'm using URIs, but it can be everything. It's just not in this
> testcode...
>
> I'm using SwiftOWLIM 3.0.12
>
> Greetz,
>
> Hendrik Moree
_______________________________________________
OWLIM-discussion mailing list
OWLIM-discussion@ontotext.com
http://ontotext.com/mailman/listinfo/owlim-discussion