Package org.semanticweb.owlapi.owllink.builtin.requests

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


  public void createKB(){
    try {
            CreateKB createKBRequest = new CreateKB(IRI.create(ou));
            kbResponse = reasoner.answer(createKBRequest);
            System.out.println("Created KB: "+kbResponse.getKB());
            LoadOntologies loadOntologies = new LoadOntologies(kbResponse.getKB(),IRI.create(new File(DOCUMENT_IRI)));
           // Tell tellRequest = new Tell(kbResponse.getKB(), oldOntology.getAxioms());
            OK okResponse = reasoner.answer(loadOntologies);
        } catch (OWLlinkErrorResponseException e) {
            System.out.println(e.getMessage());
        }   
View Full Code Here

TOP

Related Classes of org.semanticweb.owlapi.owllink.builtin.requests.LoadOntologies

Copyright © 2018 www.massapicom. 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.