resultOccs.add(occ);
}
if (resultOccs.isEmpty())
throw new SearchException("Could not find surface form "+sfOccurrence.surfaceForm());
Ordering descOrder = new Ordering<DBpediaResourceOccurrence>() {
public int compare(DBpediaResourceOccurrence left, DBpediaResourceOccurrence right) {
return Doubles.compare(right.resource().support(), left.resource().support());