try {
ares = SesameWrapper.performVectorQuery(repo, query, prop, lit);
SesameWrapper.loadResources(ares, repo, lr.getGraph());
gstats = GraphStatistics.get(lr.getGraph());
gstats.forceProcess(null, true, true, true);
value.setCountWithBnodes(gstats.getBnodes().size());
value.setCountWithResources(gstats.getResources().size());
value.setCountWithResults(gstats.getResults().size());