Class JFactTBoxReasoner

  • All Implemented Interfaces:
    TBoxReasoner

    public class JFactTBoxReasoner
    extends Object
    implements TBoxReasoner
    An implementation of the JFact reasoner for the TBox. It maintains a model of all the assertions it has been given, adding or removing statements as change sets are received. Each time a change is received, it will create a fresh ontology from the assertions model, and apply a reasoner to that ontology. A model of inferences is built by querying the reasoner. The assertions and inferences are combined into an OntModel, which is kept to answer queries. ----------------- This class it not thread-safe.
    • Constructor Detail

      • JFactTBoxReasoner

        public JFactTBoxReasoner()
    • Method Detail

      • listObjectProperties

        public List<org.apache.jena.ontology.ObjectProperty> listObjectProperties()
        Description copied from interface: TBoxReasoner
        List all of the ObjectProperties from the reasoner model, after updating and reasoning.
        Specified by:
        listObjectProperties in interface TBoxReasoner
      • listDatatypeProperties

        public List<org.apache.jena.ontology.DatatypeProperty> listDatatypeProperties()
        Description copied from interface: TBoxReasoner
        List all of the DatatypeProperties from the reasoner model, after updating and reasoning.
        Specified by:
        listDatatypeProperties in interface TBoxReasoner
      • listRestrictions

        public List<org.apache.jena.ontology.Restriction> listRestrictions()
        Description copied from interface: TBoxReasoner
        List all of the restrictions in the reasoner model, after updating and reasoning.
        Specified by:
        listRestrictions in interface TBoxReasoner