private void processIndividualResultSet(ResultSet result,
String keyword,
List<RelatedKeyword> relatedKeywords) {
Map<String,Double> results = new HashMap<String,Double>();
while (result.hasNext()) {
QuerySolution resultBinding = result.nextSolution();
RDFNode rdfNode = resultBinding.get("individual");
double score = resultBinding.getLiteral("score").getDouble();
if (rdfNode.isURIResource()) {
String uri = rdfNode.asResource().getURI();
results.put(uri, score);
}
}