Class PelletLoader

  • All Implemented Interfaces:
    FacetManagerOWL

    public class PelletLoader
    extends java.lang.Object
    implements FacetManagerOWL

    Copyright: Copyright (c) 2007

    Company: Clark & Parsia, LLC.

    Author:
    Evren Sirin
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.logging.Logger _logger  
    • Constructor Summary

      Constructors 
      Constructor Description
      PelletLoader​(openllet.core.KnowledgeBase kb)  
    • Field Detail

      • _logger

        public static java.util.logging.Logger _logger
    • Constructor Detail

      • PelletLoader

        public PelletLoader​(openllet.core.KnowledgeBase kb)
    • Method Detail

      • getManager

        public org.semanticweb.owlapi.model.OWLOntologyManager getManager()
        Specified by:
        getManager in interface FacetManagerOWL
        Returns:
        the manager that manage the current ontology.
      • setManager

        public void setManager​(org.semanticweb.owlapi.model.OWLOntologyManager manager)
      • getGroup

        public OWLGroup getGroup()
        Specified by:
        getGroup in interface FacetManagerOWL
        Returns:
        the group of manager that own the getManager() returned manager.
      • loadImports

        @Deprecated
        public boolean loadImports()
        Deprecated.
      • setLoadImports

        @Deprecated
        public void setLoadImports​(boolean loadImports)
        Deprecated.
      • getProcessImports

        public boolean getProcessImports()
      • setProcessImports

        public void setProcessImports​(boolean processImports)
      • clear

        public void clear()
      • getKB

        public openllet.core.KnowledgeBase getKB()
      • setKB

        public void setKB​(openllet.core.KnowledgeBase kb)
      • term

        public openllet.aterm.ATermAppl term​(org.semanticweb.owlapi.model.OWLObject d)
      • reload

        public void reload()
      • load

        public void load​(java.util.Set<org.semanticweb.owlapi.model.OWLOntology> ontologies)
      • getUnsupportedAxioms

        public java.util.Set<org.semanticweb.owlapi.model.OWLAxiom> getUnsupportedAxioms()
      • unload

        public void unload​(java.util.Set<org.semanticweb.owlapi.model.OWLOntology> ontologies)
      • getOntologies

        public java.util.Set<org.semanticweb.owlapi.model.OWLOntology> getOntologies()
        Returns:
        Returns the loaded _ontologies.
      • applyChanges

        public boolean applyChanges​(java.util.List<? extends org.semanticweb.owlapi.model.OWLOntologyChange> changes)
        Apply the given changes to the Pellet KB.
        Parameters:
        changes - List of ontology changes to be applied
        Returns:
        true if changes applied successfully, false otherwise indicating a reload is required
        Throws:
        OWLException