public class SemanticLocalityChecker extends Object implements OWLAxiomVisitor, LocalityChecker
Constructor and Description |
---|
SemanticLocalityChecker(OWLReasoner r) |
SemanticLocalityChecker(OWLReasonerFactory f,
OWLOntologyManager m) |
Modifier and Type | Method and Description |
---|---|
Signature |
getSignature() |
boolean |
isBotEquivalent(OWLObject expr) |
boolean |
isTopEquivalent(OWLObject expr) |
boolean |
local(OWLAxiom axiom) |
void |
preprocessOntology(Collection<AxiomWrapper> axioms)
Allow the checker to preprocess an ontology if necessary
|
void |
setSignatureValue(Signature sig)
set a new value of a signature (without changing a locality parameters)
|
void |
visit(OWLAsymmetricObjectPropertyAxiom axiom)
visit OWLAsymmetricObjectPropertyAxiom type
|
void |
visit(OWLClassAssertionAxiom axiom)
for top locality, this might be local
|
void |
visit(OWLDataPropertyAssertionAxiom axiom)
R(i,v) holds if {i} [= \ER.{v}
|
void |
visit(OWLDataPropertyDomainAxiom axiom)
visit OWLDataPropertyDomainAxiom type
|
void |
visit(OWLDataPropertyRangeAxiom axiom)
visit OWLDataPropertyRangeAxiom type
|
void |
visit(OWLDeclarationAxiom axiom) |
void |
visit(OWLDifferentIndividualsAxiom axiom)
visit OWLDifferentIndividualsAxiom type
|
void |
visit(OWLDisjointClassesAxiom axiom)
visit OWLDisjointClassesAxiom type
|
void |
visit(OWLDisjointDataPropertiesAxiom axiom)
visit OWLDisjointDataPropertiesAxiom type
|
void |
visit(OWLDisjointObjectPropertiesAxiom axiom)
visit OWLDisjointObjectPropertiesAxiom type
|
void |
visit(OWLDisjointUnionAxiom axiom)
visit OWLDisjointUnionAxiom type
|
void |
visit(OWLEquivalentClassesAxiom axiom)
visit OWLEquivalentClassesAxiom type
|
void |
visit(OWLEquivalentDataPropertiesAxiom axiom)
visit OWLEquivalentDataPropertiesAxiom type
|
void |
visit(OWLEquivalentObjectPropertiesAxiom axiom)
visit OWLEquivalentObjectPropertiesAxiom type
|
void |
visit(OWLFunctionalDataPropertyAxiom axiom)
visit OWLFunctionalDataPropertyAxiom type
|
void |
visit(OWLFunctionalObjectPropertyAxiom axiom)
visit OWLFunctionalObjectPropertyAxiom type
|
void |
visit(OWLInverseFunctionalObjectPropertyAxiom axiom)
visit OWLInverseFunctionalObjectPropertyAxiom type
|
void |
visit(OWLInverseObjectPropertiesAxiom axiom)
visit OWLInverseObjectPropertiesAxiom type
|
void |
visit(OWLIrreflexiveObjectPropertyAxiom axiom)
visit OWLIrreflexiveObjectPropertyAxiom type
|
void |
visit(OWLNegativeDataPropertyAssertionAxiom axiom)
visit OWLNegativeDataPropertyAssertionAxiom type
|
void |
visit(OWLNegativeObjectPropertyAssertionAxiom axiom)
!R(i,j) holds if {i} [= \AR.!{j}=!\ER.{j}
|
void |
visit(OWLObjectPropertyAssertionAxiom axiom)
R(i,j) holds if {i} [= \ER.{j}
|
void |
visit(OWLObjectPropertyDomainAxiom axiom)
Domain(R) = C is tautology iff ER.Top [= C
|
void |
visit(OWLObjectPropertyRangeAxiom axiom)
Range(R) = C is tautology iff ER.~C is unsatisfiable
|
void |
visit(OWLReflexiveObjectPropertyAxiom axiom)
visit OWLReflexiveObjectPropertyAxiom type
|
void |
visit(OWLSameIndividualAxiom axiom)
visit OWLSameIndividualAxiom type
|
void |
visit(OWLSubClassOfAxiom axiom)
visit OWLSubClassOfAxiom type
|
void |
visit(OWLSubDataPropertyOfAxiom axiom)
visit OWLSubDataPropertyOfAxiom type
|
void |
visit(OWLSubObjectPropertyOfAxiom axiom)
visit OWLSubObjectPropertyOfAxiom type
|
void |
visit(OWLSubPropertyChainOfAxiom axiom)
visit OWLSubPropertyChainOfAxiom type
|
void |
visit(OWLSymmetricObjectPropertyAxiom axiom)
visit OWLSymmetricObjectPropertyAxiom type
|
void |
visit(OWLTransitiveObjectPropertyAxiom axiom)
visit OWLTransitiveObjectPropertyAxiom type
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visit
visit, visit, visit, visit
visit
visit
doDefault, getDefaultReturnValue, handleDefault
public SemanticLocalityChecker(OWLReasonerFactory f, OWLOntologyManager m)
f
- reasoner factorym
- managerpublic SemanticLocalityChecker(OWLReasoner r)
r
- reasonerpublic Signature getSignature()
getSignature
in interface LocalityChecker
public void setSignatureValue(Signature sig)
setSignatureValue
in interface LocalityChecker
sig
- signature to usepublic boolean local(OWLAxiom axiom)
local
in interface LocalityChecker
axiom
- axiom to checkpublic void preprocessOntology(Collection<AxiomWrapper> axioms)
LocalityChecker
preprocessOntology
in interface LocalityChecker
axioms
- collection of axiomspublic void visit(OWLDeclarationAxiom axiom)
visit
in interface OWLAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLEquivalentClassesAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLDisjointClassesAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLDisjointUnionAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLEquivalentObjectPropertiesAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLEquivalentDataPropertiesAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLDisjointObjectPropertiesAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLDisjointDataPropertiesAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLSameIndividualAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLDifferentIndividualsAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLInverseObjectPropertiesAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLSubPropertyChainOfAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLSubObjectPropertyOfAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLSubDataPropertyOfAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLObjectPropertyDomainAxiom axiom)
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLDataPropertyDomainAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLObjectPropertyRangeAxiom axiom)
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLDataPropertyRangeAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLTransitiveObjectPropertyAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLReflexiveObjectPropertyAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLIrreflexiveObjectPropertyAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLSymmetricObjectPropertyAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLAsymmetricObjectPropertyAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLFunctionalObjectPropertyAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLFunctionalDataPropertyAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLInverseFunctionalObjectPropertyAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLSubClassOfAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLClassAssertionAxiom axiom)
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLObjectPropertyAssertionAxiom axiom)
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLNegativeObjectPropertyAssertionAxiom axiom)
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLDataPropertyAssertionAxiom axiom)
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic void visit(OWLNegativeDataPropertyAssertionAxiom axiom)
OWLLogicalAxiomVisitor
visit
in interface OWLLogicalAxiomVisitor
axiom
- axiom to visitpublic boolean isTopEquivalent(OWLObject expr)
isTopEquivalent
in interface LocalityChecker
expr
- expression to evaluatepublic boolean isBotEquivalent(OWLObject expr)
isBotEquivalent
in interface LocalityChecker
expr
- expression to evaluateCopyright © 2020 The University of Manchester. All rights reserved.