Examples of unloadOntologies()


Examples of org.semanticweb.owl.inference.OWLReasoner.unloadOntologies()

        logger.info("Abox's Logical URI: "+abox.getURI());
        logger.info("======================================================");
        logger.info("");
       
        /* Remove approximated Tbox and Abox from reasoner */
        reasoner.unloadOntologies(Collections.singleton(approximatedTbox));
        reasoner.unloadOntologies(Collections.singleton(abox));
        reasoner.dispose();
        /* Remove Abox from manager */
        manager.removeOntology(abox.getURI());
        manager = null;
View Full Code Here

Examples of org.semanticweb.owl.inference.OWLReasoner.unloadOntologies()

        logger.info("======================================================");
        logger.info("");
       
        /* Remove approximated Tbox and Abox from reasoner */
        reasoner.unloadOntologies(Collections.singleton(approximatedTbox));
        reasoner.unloadOntologies(Collections.singleton(abox));
        reasoner.dispose();
        /* Remove Abox from manager */
        manager.removeOntology(abox.getURI());
        manager = null;
        reasoner = null;
View Full Code Here

Examples of org.semanticweb.owl.inference.OWLReasoner.unloadOntologies()

          manager.saveOntology(modifiedAboxOntology,
              newAboxPhysicalURI);
          aboxPhysicalURI = newAboxPhysicalURI;
        }

        reasoner.unloadOntologies(Collections
            .singleton(approximatedTboxOntology));
        reasoner.unloadOntologies(Collections.singleton(aboxOntology));
        reasoner.dispose();
        manager.removeOntology(aboxOntology.getURI());
        manager = null;
View Full Code Here

Examples of org.semanticweb.owl.inference.OWLReasoner.unloadOntologies()

          aboxPhysicalURI = newAboxPhysicalURI;
        }

        reasoner.unloadOntologies(Collections
            .singleton(approximatedTboxOntology));
        reasoner.unloadOntologies(Collections.singleton(aboxOntology));
        reasoner.dispose();
        manager.removeOntology(aboxOntology.getURI());
        manager = null;
        reasoner = null;
        runCounter++;
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.