Hendrik Moree
Wed, 12 May 2010 07:42:02 -0700
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