public class StructuralReasoner extends OWLReasonerBase
| Constructor and Description |
|---|
StructuralReasoner(OWLOntology rootOntology,
OWLReasonerConfiguration configuration,
BufferingMode bufferingMode) |
dispose, flush, getBufferingMode, getOWLDataFactory, getPendingAxiomAdditions, getPendingAxiomRemovals, getPendingChanges, getReasonerAxioms, getReasonerConfiguration, getRootOntology, getTimeOutpublic StructuralReasoner(@Nonnull OWLOntology rootOntology, @Nonnull OWLReasonerConfiguration configuration, @Nonnull BufferingMode bufferingMode)
rootOntology - the ontologyconfiguration - the reasoner configurationbufferingMode - the buffering modepublic FreshEntityPolicy getFreshEntityPolicy()
getFreshEntityPolicy in interface OWLReasonergetFreshEntityPolicy in class OWLReasonerBasepublic IndividualNodeSetPolicy getIndividualNodeSetPolicy()
getIndividualNodeSetPolicy in interface OWLReasonergetIndividualNodeSetPolicy in class OWLReasonerBasepublic void interrupt()
public final void prepareReasoner()
ReasonerInterruptedException - on interruptionTimeOutException - on timeoutpublic void precomputeInferences(InferenceType... inferenceTypes)
public boolean isPrecomputed(InferenceType inferenceType)
public Set<InferenceType> getPrecomputableInferenceTypes()
public boolean isConsistent()
public boolean isSatisfiable(@Nonnull OWLClassExpression classExpression)
public boolean isEntailed(OWLAxiom axiom)
public boolean isEntailmentCheckingSupported(AxiomType<?> axiomType)
@Nonnull public NodeSet<OWLClass> getSubClasses(@Nonnull OWLClassExpression ce, boolean direct)
@Nonnull public NodeSet<OWLClass> getSuperClasses(@Nonnull OWLClassExpression ce, boolean direct)
public Node<OWLClass> getEquivalentClasses(@Nonnull OWLClassExpression ce)
@Nonnull public NodeSet<OWLClass> getDisjointClasses(@Nonnull OWLClassExpression ce)
public Node<OWLObjectPropertyExpression> getTopObjectPropertyNode()
public Node<OWLObjectPropertyExpression> getBottomObjectPropertyNode()
@Nonnull public NodeSet<OWLObjectPropertyExpression> getSubObjectProperties(OWLObjectPropertyExpression pe, boolean direct)
@Nonnull public NodeSet<OWLObjectPropertyExpression> getSuperObjectProperties(OWLObjectPropertyExpression pe, boolean direct)
public Node<OWLObjectPropertyExpression> getEquivalentObjectProperties(OWLObjectPropertyExpression pe)
@Nonnull public NodeSet<OWLObjectPropertyExpression> getDisjointObjectProperties(OWLObjectPropertyExpression pe)
public Node<OWLObjectPropertyExpression> getInverseObjectProperties(@Nonnull OWLObjectPropertyExpression pe)
@Nonnull public NodeSet<OWLClass> getObjectPropertyDomains(@Nonnull OWLObjectPropertyExpression pe, boolean direct)
@Nonnull public NodeSet<OWLClass> getObjectPropertyRanges(@Nonnull OWLObjectPropertyExpression pe, boolean direct)
public Node<OWLDataProperty> getTopDataPropertyNode()
public Node<OWLDataProperty> getBottomDataPropertyNode()
@Nonnull public NodeSet<OWLDataProperty> getSubDataProperties(OWLDataProperty pe, boolean direct)
@Nonnull public NodeSet<OWLDataProperty> getSuperDataProperties(OWLDataProperty pe, boolean direct)
public Node<OWLDataProperty> getEquivalentDataProperties(OWLDataProperty pe)
@Nonnull public NodeSet<OWLDataProperty> getDisjointDataProperties(@Nonnull OWLDataPropertyExpression pe)
@Nonnull public NodeSet<OWLClass> getDataPropertyDomains(OWLDataProperty pe, boolean direct)
@Nonnull public NodeSet<OWLClass> getTypes(OWLNamedIndividual ind, boolean direct)
@Nonnull public NodeSet<OWLNamedIndividual> getInstances(@Nonnull OWLClassExpression ce, boolean direct)
@Nonnull public NodeSet<OWLNamedIndividual> getObjectPropertyValues(OWLNamedIndividual ind, @Nonnull OWLObjectPropertyExpression pe)
@Nonnull public Set<OWLLiteral> getDataPropertyValues(OWLNamedIndividual ind, OWLDataProperty pe)
@Nonnull public Node<OWLNamedIndividual> getSameIndividuals(OWLNamedIndividual ind)
@Nonnull public NodeSet<OWLNamedIndividual> getDifferentIndividuals(OWLNamedIndividual ind)
public void dumpClassHierarchy(boolean showBottomNode)
showBottomNode - true if bottom node is to be showedpublic void dumpObjectPropertyHierarchy(boolean showBottomNode)
showBottomNode - true if bottom node is to be showedpublic void dumpDataPropertyHierarchy(boolean showBottomNode)
showBottomNode - true if bottom node is to be showedCopyright © 2020 The University of Manchester. All rights reserved.