updates for adding concepts, including urls for agrovoc and umls services and updating person has educational training to add the inverse property from organization to educational training

This commit is contained in:
hjkhjk54 2011-11-30 21:47:28 +00:00
parent c240321458
commit 49ff104d3a
7 changed files with 39 additions and 33 deletions

View file

@ -66,7 +66,7 @@ public class AgrovocService implements ExternalConceptService {
//XMLUtils.serializeNode(node); System.out.println();
Concept concept = new Concept();
concept.setDefinedBy("Agrovoc");
concept.setDefinedBy("http://aims.fao.org/aos/agrovoc/agrovocScheme");
concept.setConceptId(termcode);
NamedNodeMap attrs = node.getAttributes();

View file

@ -82,7 +82,7 @@ public class UMLSService implements ExternalConceptService {
JSONObject o = bestMatchArray.getJSONObject(i);
//System.out.println(o.toString());
Concept concept = new Concept();
concept.setDefinedBy("UMLS");
concept.setDefinedBy("http://link.informatics.stonybrook.edu/umls");
concept.setBestMatch("true");
String cui = getJsonValue(o, "CUI");
bestMatchIdList.add(cui);