Class StructuralReasoner
java.lang.Object
org.semanticweb.owlapi.reasoner.impl.OWLReasonerBase
org.semanticweb.owlapi.reasoner.structural.StructuralReasoner
- All Implemented Interfaces:
OWLReasoner
This is a simple structural reasoner that essentially answers with told information. It is
incomplete.
- Since:
- 3.0.0
- Author:
- Matthew Horridge, The University of Manchester, Information Management Group
-
Constructor Summary
ConstructorsConstructorDescriptionStructuralReasoner
(OWLOntology rootOntology, OWLReasonerConfiguration configuration, BufferingMode bufferingMode) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dumpClassHierarchy
(boolean showBottomNode) void
dumpDataPropertyHierarchy
(boolean showBottomNode) void
dumpObjectPropertyHierarchy
(boolean showBottomNode) getDataPropertyDomains
(OWLDataProperty pe, boolean direct) getInstances
(OWLClassExpression ce, boolean direct) getObjectPropertyDomains
(OWLObjectPropertyExpression pe, boolean direct) getObjectPropertyRanges
(OWLObjectPropertyExpression pe, boolean direct) getSubClasses
(OWLClassExpression ce, boolean direct) getSubDataProperties
(OWLDataProperty pe, boolean direct) getSubObjectProperties
(OWLObjectPropertyExpression pe, boolean direct) getSuperClasses
(OWLClassExpression ce, boolean direct) getSuperDataProperties
(OWLDataProperty pe, boolean direct) getSuperObjectProperties
(OWLObjectPropertyExpression pe, boolean direct) getTypes
(OWLNamedIndividual ind, boolean direct) void
boolean
boolean
isEntailed
(Set<? extends OWLAxiom> axioms) boolean
isEntailed
(OWLAxiom axiom) boolean
isEntailmentCheckingSupported
(AxiomType<?> axiomType) boolean
isPrecomputed
(InferenceType inferenceType) boolean
isSatisfiable
(OWLClassExpression classExpression) void
precomputeInferences
(InferenceType... inferenceTypes) final void
Methods inherited from class org.semanticweb.owlapi.reasoner.impl.OWLReasonerBase
dispose, flush, getBufferingMode, getOWLDataFactory, getPendingAxiomAdditions, getPendingAxiomRemovals, getPendingChanges, getReasonerAxioms, getReasonerConfiguration, getRootOntology, getTimeOut
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.semanticweb.owlapi.reasoner.OWLReasoner
bottomClassNode, bottomDataPropertyNode, bottomObjectPropertyNode, dataPropertyDomains, dataPropertyDomains, dataPropertyDomains, dataPropertyValues, differentIndividuals, disjointClasses, disjointDataProperties, disjointObjectProperties, equivalentClasses, equivalentDataProperties, equivalentObjectProperties, getDataPropertyDomains, getDataPropertyDomains, getInstances, getInstances, getObjectPropertyDomains, getObjectPropertyDomains, getObjectPropertyRanges, getObjectPropertyRanges, getSubClasses, getSubClasses, getSubDataProperties, getSubDataProperties, getSubObjectProperties, getSubObjectProperties, getSuperClasses, getSuperClasses, getSuperDataProperties, getSuperDataProperties, getSuperObjectProperties, getSuperObjectProperties, getTypes, getTypes, instances, instances, instances, inverseObjectProperties, isEntailed, isEntailed, objectPropertyDomains, objectPropertyDomains, objectPropertyDomains, objectPropertyRanges, objectPropertyRanges, objectPropertyRanges, objectPropertyValues, pendingAxiomAdditions, pendingAxiomRemovals, pendingChanges, precomputableInferenceTypes, representativeInstances, representativeInstances, representativeInstances, sameIndividuals, subClasses, subClasses, subClasses, subDataProperties, subDataProperties, subDataProperties, subObjectProperties, subObjectProperties, subObjectProperties, superClasses, superClasses, superClasses, superDataProperties, superDataProperties, superDataProperties, superObjectProperties, superObjectProperties, superObjectProperties, topClassNode, topDataPropertyNode, topObjectPropertyNode, types, types, types, unsatisfiableClasses
-
Constructor Details
-
StructuralReasoner
public StructuralReasoner(OWLOntology rootOntology, OWLReasonerConfiguration configuration, BufferingMode bufferingMode) - Parameters:
rootOntology
- the ontologyconfiguration
- the reasoner configurationbufferingMode
- the buffering mode
-
-
Method Details
-
getReasonerName
-
getFreshEntityPolicy
- Specified by:
getFreshEntityPolicy
in interfaceOWLReasoner
- Overrides:
getFreshEntityPolicy
in classOWLReasonerBase
-
getIndividualNodeSetPolicy
- Specified by:
getIndividualNodeSetPolicy
in interfaceOWLReasoner
- Overrides:
getIndividualNodeSetPolicy
in classOWLReasonerBase
-
getReasonerVersion
-
interrupt
public void interrupt() -
prepareReasoner
public final void prepareReasoner()- Throws:
ReasonerInterruptedException
- on interruptionTimeOutException
- on timeout
-
precomputeInferences
-
isPrecomputed
-
getPrecomputableInferenceTypes
-
isConsistent
public boolean isConsistent() -
isSatisfiable
-
getUnsatisfiableClasses
-
isEntailed
-
isEntailed
-
isEntailmentCheckingSupported
-
getTopClassNode
-
getBottomClassNode
-
getSubClasses
-
getSuperClasses
-
getEquivalentClasses
-
getDisjointClasses
-
getTopObjectPropertyNode
-
getBottomObjectPropertyNode
-
getSubObjectProperties
public NodeSet<OWLObjectPropertyExpression> getSubObjectProperties(OWLObjectPropertyExpression pe, boolean direct) -
getSuperObjectProperties
public NodeSet<OWLObjectPropertyExpression> getSuperObjectProperties(OWLObjectPropertyExpression pe, boolean direct) -
getEquivalentObjectProperties
public Node<OWLObjectPropertyExpression> getEquivalentObjectProperties(OWLObjectPropertyExpression pe) -
getDisjointObjectProperties
public NodeSet<OWLObjectPropertyExpression> getDisjointObjectProperties(OWLObjectPropertyExpression pe) -
getInverseObjectProperties
-
getObjectPropertyDomains
-
getObjectPropertyRanges
-
getTopDataPropertyNode
-
getBottomDataPropertyNode
-
getSubDataProperties
-
getSuperDataProperties
-
getEquivalentDataProperties
-
getDisjointDataProperties
-
getDataPropertyDomains
-
getTypes
-
getInstances
-
getObjectPropertyValues
public NodeSet<OWLNamedIndividual> getObjectPropertyValues(OWLNamedIndividual ind, OWLObjectPropertyExpression pe) -
getDataPropertyValues
-
getSameIndividuals
-
getDifferentIndividuals
-
dumpClassHierarchy
public void dumpClassHierarchy(boolean showBottomNode) - Parameters:
showBottomNode
- true if bottom node is to be showed
-
dumpObjectPropertyHierarchy
public void dumpObjectPropertyHierarchy(boolean showBottomNode) - Parameters:
showBottomNode
- true if bottom node is to be showed
-
dumpDataPropertyHierarchy
public void dumpDataPropertyHierarchy(boolean showBottomNode) - Parameters:
showBottomNode
- true if bottom node is to be showed
-