Assert.assertTrue(con.hasStatement(subject,predicate1, object11));
Assert.assertFalse(con.hasStatement(subject, predicate2, object21));
String queryStr1 = "SELECT * WHERE { GRAPH <"+context1.stringValue()+"> { ?X ?P ?Y } }";
TupleQuery query1 = con.prepareTupleQuery(QueryLanguage.SPARQL, queryStr1);
// workaround for a bug in sesame
DatasetImpl ds = new DatasetImpl();
ds.addDefaultGraph(context1);
ds.addNamedGraph(context1);