throws InconsistentOntologyException, FreshEntitiesException,
ReasonerInterruptedException, TimeOutException {
reasoner.flush();
realize();
OWLClassNodeSet types = new OWLClassNodeSet();
for( Set<OWLClass> t : TaxonomyUtils.getTypes( taxonomy, ind, direct ) ) {
//Set<OWLClass> eqSet = ATermUtils.primitiveOrBottom( t );
//if( !eqSet.isEmpty() )
types.addNode( new OWLClassNode( t ) );
}
return types;
}