Dear list users,
I have been trying to remove (delete) some statements from an ontology
(schema) with big-owlim using following code :
OwlimSchemaRepository myOwlim = new OwlimSchemaRepository();
myOwlim.setDataDir(repoDir);
Repository sesameRepo = new SailRepository(myOwlim);
sesameRepo.initialize();
RepositoryConnection sesameCon = sesameRepo.getConnection();
Resource S1 = new URIImpl("subject of statement");
URI P1= new URIImpl("predicate of statement");
Value O1 = new URIImpl("object of statement");
sesameCon.remove(S1, P1,O1);
sesameCon.commit();
The above doesn't work, i.e. the deleted statements are still present when
queried. However, the same code and settings work while deleting
A-box/instances. Any suggestions?
Also, on another matter I could not find any code/listings in
sesame/bigowlim that can allow me to modify/update a statement, any hints?
Regards
Dhaval Thakker
_______________________________________________
OWLIM-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/owlim-discussion