String param = (this.params.get(2) == null) ? this.params.get(0) : this.params.get(2);
Graph g = SesameWrapper.performGraphQuery(inGraph, QueryLanguage.SERQL, RDFQuery.RDFQ_ACCESS_RESOURCE
.toString("<"+param+">"));
LocalRepository local = null;
local = RepositoryFactory.getServiceRepository(this.getUri());
if (local != null) {
SesameWrapper.clear(local);
SesameWrapper.addGraph(local, g);
try {
this.annotateResults(local, local.getGraph().getValueFactory().createURI(param));
} catch (AccessDeniedException e) {
Repository.logger.warning(e.toString());
}
}