genus = (OWLClass) conjunct;
}
}
}
Set<OBORelationship> discriminatingRelationships = new HashSet<OBORelationship>();
OWLClassData visualCls = null;
if (genus != null) {
visualCls = toData(genus, project);
}
for (OWLObjectSomeValuesFrom rel : relationships) {
OWLObjectPropertyData property = toData(rel.getProperty().asOWLObjectProperty(), project);
OWLClassData filler = toData(rel.getFiller().asOWLClass(), project);
OBORelationship oboRel = new OBORelationship(property, filler);
discriminatingRelationships.add(oboRel);
}
return new OBOTermCrossProduct(visualCls, new OBOTermRelationships(discriminatingRelationships));