Examples of Reasoner


Examples of org.semanticweb.HermiT.Reasoner

    assertTrue(extractor.getOWLEntity() instanceof OWLEntity);
    assertTrue(extractor.getOWLProperty() instanceof OWLProperty);
   
    OWLDataFactory factory = OWLManager.getOWLDataFactory();
    OWLDataProperty dataProperty = factory.getOWLDataProperty(IRI.create("http://example.owl#test"));
    Reasoner reasoner = new Reasoner(ontology);
    NodeSet<OWLClass> nodeSet = reasoner.getDataPropertyDomains(dataProperty, true);
    System.out.println(nodeSet);
   
    assertTrue(extractor.getOWLDataProperty() instanceof OWLDataProperty);
    assertTrue(extractor.getOWLObjectProperty() instanceof OWLObjectProperty);
    assertTrue(extractor.getOWLIndividual() instanceof OWLIndividual);
View Full Code Here

Examples of org.semanticweb.HermiT.Reasoner

import org.semanticweb.owlapi.reasoner.OWLReasoner;

public class Hermit {
 
  public OWLReasoner getReasoner(OWLOntology ontology){
    Reasoner reasoner = new Reasoner(ontology);
    return reasoner;
  }
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.