}
/* delete in ALL contexts */
@Override
public void deleteReification(Resource reificationResource) {
Diff diff = new DiffImpl();
ClosableIterator<Statement> it;
it = findStatements(Variable.ANY, reificationResource, RDF.type,
RDF.Statement);
while (it.hasNext()) {
diff.removeStatement(it.next());
}
it.close();
it = findStatements(Variable.ANY, reificationResource, RDF.subject,
Variable.ANY);
while (it.hasNext()) {
diff.removeStatement(it.next());
}
it.close();
it = findStatements(Variable.ANY, reificationResource, RDF.predicate,
Variable.ANY);
while (it.hasNext()) {
diff.removeStatement(it.next());
}
it.close();
it = findStatements(Variable.ANY, reificationResource, RDF.object,
Variable.ANY);
while (it.hasNext()) {
diff.removeStatement(it.next());
}
it.close();
update(diff);
}