PelletInfGraph pelletInfGraph = (PelletInfGraph) source.getDefaultModel().getGraph();
KnowledgeBase kb = pelletInfGraph.getKB();
pelletInfGraph.prepare();
QueryParameters queryParameters = new QueryParameters( initialBinding );
ARQParser parser = new ARQParser( handleVariableSPO );
// The parser uses the query parameterization to resolve parameters
// (i.e. variables) in the query
parser.setInitialBinding( initialBinding );