Examples of loadRemoteReasonerConfiguration()


Examples of de.fzi.herakles.commons.configuration.impl.ReasonerConfigurationImp.loadRemoteReasonerConfiguration()

     
      // Load a copy of the wine ontology.  We'll load the ontology from the web.
      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.BasicLoadStrategy", "de.fzi.herakles.strategy.impl.BenchmarkingStrategy" );
           
            // We now need to load an ontology into the reasoner. 
      OWLReasoner reasoner = reasonerFactory.createReasoner( ont );
View Full Code Here

Examples of de.fzi.herakles.commons.configuration.impl.ReasonerConfigurationImp.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.