public CloseableIteration getStatements(Resource subj, URI pred, Value obj,
Resource... contexts) throws QueryEvaluationException {
try {
RdbmsValueFactory vf = triples.getValueFactory();
RdbmsResource s = vf.asRdbmsResource(subj);
RdbmsURI p = vf.asRdbmsURI(pred);
RdbmsValue o = vf.asRdbmsValue(obj, pred);
RdbmsResource[] c = vf.asRdbmsResource(contexts);
return triples.find(s, p, o, false, c);
} catch (SailException e) {
throw new QueryEvaluationException(e);