OWLOntology ont = manager.loadOntologyFromOntologyDocument( IRI.create( PHYSICAL_URI ) );
ReasonerConfiguration reasonerConfig = new ReasonerConfigurationImp();
reasonerConfig.loadRemoteReasonerConfiguration(new File("reasoner.xml"));
OWLReasonerFactory reasonerFactory = new HeraklesReasonerFactory( reasonerConfig, "de.fzi.herakles.strategy.impl.AnalysingLoadStrategy", "de.fzi.herakles.strategy.impl.ABoxTBoxRatioSelectionStrategy" );
// We now need to load an ontology into the reasoner.
OWLReasoner reasoner = reasonerFactory.createReasoner( ont );
// With the strategies used, Herakles delegates the tasks to all registered reasoners
// in parallel and returns the results from the fastest one. In the following we perform
// various reasoning tasks. In between the tasks we wait for a few seconds to ensure
// every reasoner has finished, since we want every reasoner to be available again for the