int before, after;
// Add statement to the implicit null context.
sc.removeStatements(null, null, null, uriA);
sc.commit();
sc.begin();
before = countStatements(sc, null, uriA, uriB, false);
sc.addStatement(uriA, uriA, uriB);
sc.commit();
sc.begin();
after = countStatements(sc, null, uriA, uriB, false);