if (ontologyMappings.get(key).equals(name)){
return ontologyMappings.get(key);
}
}
}
<BUG>return olsClient.getOntology(name);

}</BUG>
public String getOntologyNamespaceFromId(String uri){
if (ontologyMappings.containsKey(uri)){

if (ontologyMappings.get(key).equals(name)){
return ontologyMappings.get(key);
}
}
}
Ontology ontology = olsClient.getOntology(name);
ontologyMappings.put(ontology.getId(), ontology);
return ontology;
}
public String getOntologyNamespaceFromId(String uri){
if (ontologyMappings.containsKey(uri)){
