public ArrayList<OntologyTermData> getOntologyTerms(OWLClassExpression classExp){
ArrayList<OntologyTermData> idList = new ArrayList<OntologyTermData>();
if(classExp==null){
return idList;
}
GetSubClasses getSubClasses = new GetSubClasses(IRI.create(ou), classExp);
SetOfClassSynsets synsets = (SetOfClassSynsets)executeReasoner(getSubClasses); //reasoner.answer(getSubClasses);
Iterator<Node<OWLClass>> it = synsets.iterator();
while (it.hasNext()) {
Node<OWLClass> owlClassNode = it.next();
populateidList(owlClassNode.getEntities().iterator().next().toStringID(), idList);