if ( ontologyData == null ) {
Orr.log("search: data not yet retrieved for " +ont.getUri());
continue;
}
BaseOntologyData baseOntologyData = ontologyData.getBaseOntologyData();
Set<EntityInfo> entityArray = new LinkedHashSet<EntityInfo>();
if (includeSubjects) {
List<? extends EntityInfo> entities = baseOntologyData.getSubjects();
Orr.log("subjects = " + entities);
entityArray.addAll(entities);
}
if (includeIndividuals) {
List<? extends EntityInfo> entities = baseOntologyData.getIndividuals();
Orr.log("individuals = " + entities);
entityArray.addAll(entities);
}
if (includeClasses) {
List<? extends EntityInfo> entities = baseOntologyData.getClasses();
Orr.log("classes = " + entities);
entityArray.addAll(entities);
}
if (includeProperties) {
List<? extends EntityInfo> entities = baseOntologyData.getProperties();
Orr.log("properties = " + entities);
entityArray.addAll(entities);
}
for (EntityInfo entityInfo : entityArray) {