//link the representation with the query result set
resultGraph.add(new TripleImpl(resultListNode,resultProperty,r.getNode()));
r.set(RdfResourceEnum.resultScore.getUri(), rank);
sorted.put(rank, r);
}
RdfQueryResultList resultList = new RdfQueryResultList(new FieldQueryImpl(),
resultGraph);
if(log.isDebugEnabled()){
log.debug("---DEBUG Sorting ---");
for(Iterator<Representation> it = resultList.iterator();it.hasNext();){
Representation r = it.next();