version2.removeTriple(triple1);
connection.storeVersion(version2);
connection.commit();
// check if listVersions now gives exactly two versions
List<Version> list2 = Iterations.asList(connection.listVersions());
Assert.assertEquals("there should be exactly two version",2,list2.size());
Assert.assertEquals("contents of version differ", version2, list2.get(1));
connection.commit();