ParsedQuery pq;
try {
pq = parser.parseQuery(query, baseURI);
} catch (MalformedQueryException e) {
throw new RippleException(e);
}
MapBindingSet bindings = new MapBindingSet();
try {
return sailConnection.evaluate(pq.getTupleExpr(), pq.getDataset(), bindings, useInference);
} catch (SailException e) {
throw new RippleException(e);
}
}