updates for label addition as well as beginning changes for concepts search service

This commit is contained in:
hudajkhan 2013-09-03 15:32:51 -04:00
parent 8ed2523a7d
commit 419af234c4
4 changed files with 74 additions and 6 deletions

View file

@ -425,6 +425,7 @@ public class AgrovocService implements ExternalConceptService {
}
protected String getDbpediaDescription(String uri) throws Exception{
String descriptionSource = " (Source: DBpedia)";
String description = new String();
String qs = ""
+ "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> \n"
@ -476,7 +477,8 @@ public class AgrovocService implements ExternalConceptService {
} catch (Exception ex) {
throw ex;
}
return description;
//Adding source so it is clear that this description comes from DBPedia
return description + descriptionSource;
}
/**