Examples of Tell


Examples of org.semanticweb.owlapi.owllink.builtin.requests.Tell

    String ricordoid = configHandler.readAndUpdate(ConfigHandler.RICORDOID);
    OWLClass newowlclass = manager.getOWLDataFactory().getOWLClass(IRI.create("http://www.ricordo.eu/ricordo.owl#RICORDO_"+ricordoid));
    OWLAxiom axiom = manager.getOWLDataFactory().getOWLEquivalentClassesAxiom(newowlclass, classExp);
    Set<OWLAxiom> axiomSet = new HashSet<OWLAxiom>();
    axiomSet.add(axiom);
    Tell tellRequest = new Tell(IRI.create(ou),axiomSet);
    OK okResponse = (OK)executeReasoner(tellRequest);//reasoner.answer(tellRequest);
     
    //add to owlfile
    manager.addAxioms(oldOntology, axiomSet);
    writeToOWLFile();
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.