Iterator<PlainLiteral> labels = entity.getText(linkerConfig.getNameField());
Suggestion match = new Suggestion(entity);
Collection<PlainLiteral> defaultLabels = new ArrayList<PlainLiteral>();
boolean matchedLangLabel = false;
while(labels.hasNext()){
PlainLiteral label = labels.next();
String lang = label.getLanguage() != null ? label.getLanguage().toString() : null;
if((lang == null && curLang == null) ||
(lang != null && curLang != null && lang.equalsIgnoreCase(curLang))){
matchLabel(match, label);
matchedLangLabel = true;
} else if((lang == null && mainLang == null) ||