// Pellet requires the Pellet libraries (pellet.jar, aterm-java-x.x.jar) and the
// XSD libraries that are bundled with pellet: xsdlib.jar and relaxngDatatype.jar
// make sure these jars are on the classpath
ReasonerConfiguration reasonerConfig = new ReasonerConfigurationImp();
reasonerConfig.loadRemoteReasonerConfiguration(new File("reasoner.xml"));
OWLReasonerFactory reasonerFactory = new HeraklesReasonerFactory( reasonerConfig, "de.fzi.herakles.strategy.impl.BasicLoadStrategy", "de.fzi.herakles.strategy.impl.FaultTolerantPStrategy" );
OWLReasoner reasoner = reasonerFactory.createReasoner( ontology );