// Create a graph query that produces the statements that have the
// requests resources as subject or object
Var subjVar = createAnonVar("-descr-subj");
Var predVar = createAnonVar("-descr-pred");
Var objVar = createAnonVar("-descr-obj");
StatementPattern sp = new StatementPattern(subjVar, predVar, objVar);
if (result == null) {
result = sp;
}
else {