int weight = urpTable[i].getWeight();
Set<Recommendation> limitedResult = new TreeSet<Recommendation>();
RecommendationPlugin type = RecommendationTemplates.getInstance().getPlugin(name);
SortedSet<Recommendation> resultsArray = type.findRecommendations(S3BRepository.getInstance().getModel().createURI(resource));
if(resultsArray != null) {
Set<Recommendation> tmp = new TreeSet<Recommendation>(resultsArray);
while(tmp.size()> limit) {