Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Jena 2.7.0
Description
From antiguru on IRC:
Model m = ModelFactory.createDefaultModel();
Resource r = m.createResource("http://example.com/a");
r.addProperty(RDF.object, "test1"); // or predicate or subject
m.removeAll(r, null, null);
System.err.println(m.size()); // => 1
Works (returns 0) with:
ModelFactory.createMemModelMaker(ReificationStyle.Minimal).createDefaultModel();