@Test
public void testQueryWithGraphs2() throws Exception {

  String query1 = "SELECT * { GRAPH <http://acme.com> { ?a ?b ?c } graph ?g { ?s ?p ?o }  }";
  String processed = pre.process(query1);
  final String[] vars = filter(ASTVarGenerator.getCurrentVarNames(),
          "a", "b", "c", "s", "p", "o");
  assertEquals(2, vars.length);
  assertEquals("SELECT *\nWHERE {\nGRAPH ?" + vars[0]
          + " {\n  ?a ?b ?c .\n}\n" + "GRAPH ?" + vars[1]
          + " {\n  ?s ?p ?o .\n}\n" + "  ?" + vars[0] + " <"
          + SindicePreProcessing.isPartOf.getValue()
          + "> <http://acme.com> .\n" + "  ?" + vars[1] + " <"
          + SindicePreProcessing.isPartOf.getValue() + "> ?g .\n}\n",
          processed);
}