Examples of ProtegeReasoner


Examples of edu.stanford.smi.protegex.owl.inference.reasoner.ProtegeReasoner

    // Get the reasoner manager and obtain a reasoner for the OWL model.
    @SuppressWarnings("unused")
    ReasonerManager reasonerManager = ReasonerManager.getInstance();

    //Get an instance of the Protege Pellet reasoner
    ProtegeReasoner preasoner = null;
    // FIXME Switching this out, as slf4j compatability bug means it is not usable at present.
        //preasoner = reasonerManager.createProtegeReasoner(owlModel, ProtegePelletJenaReasoner.class);
    reasoner = preasoner;
    return preasoner;
  }
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.