Exemplo n.º 1
0
 private static ResultSet exec(String pattern, Graph graph) {
   Op op = SSE.parseOp(pattern, pmap);
   List<Var> vars = new ArrayList<>();
   vars.addAll(OpVars.visibleVars(op));
   QueryIterator qIter = Algebra.exec(op, graph);
   return ResultSetFactory.create(qIter, Var.varNames(vars));
 }