URI uriB = sail.getValueFactory().createURI("http://example.org/test/SP_OG#b");
URI uriC = sail.getValueFactory().createURI("http://example.org/test/SP_OG#c");
int before, after;
// Add statement to the implicit null context.
sc.removeStatements(null, null, null);
before = countStatements(sc, uriA, uriB, null, false);
sc.addStatement(uriA, uriB, uriC);
sc.commit();
sc.begin();
after = countStatements(sc, uriA, uriB, null, false);