private static OWLReasoner createAndLoadReasoner(OWLOntologyManager man, OWLReasonerFactory factory,
OWLOntology ont) {
OWLReasoner reasoner = factory.createReasoner(man);
try {
reasoner.loadOntologies(man.getImportsClosure(ont));
return reasoner;
}
catch (OWLReasonerException e) {
throw new OWLRuntimeException(e);
}