Package de.fzi.herakles.commons.configuration

Examples of de.fzi.herakles.commons.configuration.ReasonerConfiguration.loadRemoteReasonerConfiguration()


      // 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 );
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.