OpAsQuery { public static Query asQuery(Op op) { Converter converter = new Converter(op) ; return converter.convert() ; }  static Query asQuery(Op op);  }
@Test public void testTable2() { String qs = "SELECT * WHERE { ?x ?p ?z . VALUES ?y { } }" ; Query query = QueryFactory.create(qs); Op op = Algebra.compile(query); String x = op.toString(); Op op1 = SSE.parseOp(x); Query query2 = OpAsQuery.asQuery(op1); assertEquals(query, query2); }