public abstract class OWLAxiomIndexImpl extends OWLObjectImplWithEntityAndAnonCaching implements OWLAxiomIndex, HasTrimToSize
| Constructor and Description |
|---|
OWLAxiomIndexImpl() |
| Modifier and Type | Method and Description |
|---|---|
Set<OWLAnnotationAssertionAxiom> |
getAnnotationAssertionAxioms(OWLAnnotationSubject entity)
Gets the axioms that annotate the specified entity.
|
Set<OWLAnnotationPropertyDomainAxiom> |
getAnnotationPropertyDomainAxioms(OWLAnnotationProperty property)
Gets the
OWLAnnotationPropertyDomainAxioms where the specified
property is the property in the domain axiom. |
Set<OWLAnnotationPropertyRangeAxiom> |
getAnnotationPropertyRangeAxioms(OWLAnnotationProperty property)
Gets the
OWLAnnotationPropertyRangeAxioms where the specified
property is the property in the range axiom. |
Set<OWLAsymmetricObjectPropertyAxiom> |
getAsymmetricObjectPropertyAxioms(OWLObjectPropertyExpression property)
Gets the
OWLAsymmetricObjectPropertyAxioms contained in this
ontology that make the specified object property asymmetric. |
Set<OWLClassAssertionAxiom> |
getClassAssertionAxioms(OWLClassExpression ce)
Gets the
OWLClassAssertionAxioms contained in this ontology that
make the specified class expression, ce, a type for some
individual. |
Set<OWLClassAssertionAxiom> |
getClassAssertionAxioms(OWLIndividual individual)
Gets the
OWLClassAssertionAxioms contained in this ontology that
make the specified individual an instance of some class
expression. |
Set<OWLDataPropertyAssertionAxiom> |
getDataPropertyAssertionAxioms(OWLIndividual individual)
Gets the
OWLDataPropertyAssertionAxioms contained in this
ontology that have the specified individual as the subject of the
axiom. |
Set<OWLDataPropertyDomainAxiom> |
getDataPropertyDomainAxioms(OWLDataProperty property)
Gets the
OWLDataPropertyDomainAxioms where the property is equal
to the specified property. |
Set<OWLDataPropertyRangeAxiom> |
getDataPropertyRangeAxioms(OWLDataProperty property)
Gets the
OWLDataPropertyRangeAxioms where the property is equal
to the specified property. |
Set<OWLSubDataPropertyOfAxiom> |
getDataSubPropertyAxiomsForSubProperty(OWLDataProperty subProperty)
Gets the
OWLSubDataPropertyOfAxioms where the sub-property is
equal to the specified property. |
Set<OWLSubDataPropertyOfAxiom> |
getDataSubPropertyAxiomsForSuperProperty(OWLDataPropertyExpression superProperty)
Gets the
OWLSubDataPropertyOfAxioms where the super-property is
equal to the specified property. |
Set<OWLDatatypeDefinitionAxiom> |
getDatatypeDefinitions(OWLDatatype datatype)
Gets the
OWLDatatypeDefinitionAxioms contained in this ontology
that provide a definition for the specified datatype. |
Set<OWLDeclarationAxiom> |
getDeclarationAxioms(OWLEntity subject)
Gets the declaration axioms for specified entity.
|
Set<OWLDifferentIndividualsAxiom> |
getDifferentIndividualAxioms(OWLIndividual individual)
Gets the
OWLDifferentIndividualsAxioms contained in this ontology
that make the specified individual different to some other
individual. |
Set<OWLDisjointClassesAxiom> |
getDisjointClassesAxioms(OWLClass cls)
Gets the set of disjoint class axioms that contain the specified class as
an operand.
|
Set<OWLDisjointDataPropertiesAxiom> |
getDisjointDataPropertiesAxioms(OWLDataProperty property)
Gets the
OWLDisjointDataPropertiesAxioms that make the specified
property disjoint with some other data property expression(s). |
Set<OWLDisjointObjectPropertiesAxiom> |
getDisjointObjectPropertiesAxioms(OWLObjectPropertyExpression property)
Gets the
OWLDisjointObjectPropertiesAxioms that make the
specified property disjoint with some other object property
expression(s). |
Set<OWLDisjointUnionAxiom> |
getDisjointUnionAxioms(OWLClass owlClass)
Gets the set of disjoint union axioms that have the specified class as
the named class that is equivalent to the disjoint union of operands.
|
Set<OWLEquivalentClassesAxiom> |
getEquivalentClassesAxioms(OWLClass cls)
Gets all of the equivalent axioms in this ontology that contain the
specified class as an operand.
|
Set<OWLEquivalentDataPropertiesAxiom> |
getEquivalentDataPropertiesAxioms(OWLDataProperty property)
Gets the
OWLEquivalentDataPropertiesAxioms that make the
specified property equivalent to some other data property expression(s). |
Set<OWLEquivalentObjectPropertiesAxiom> |
getEquivalentObjectPropertiesAxioms(OWLObjectPropertyExpression property)
Gets the
OWLEquivalentObjectPropertiesAxioms that make the
specified property equivalent to some other object property
expression(s). |
Set<OWLFunctionalDataPropertyAxiom> |
getFunctionalDataPropertyAxioms(OWLDataPropertyExpression property)
Gets the
OWLFunctionalDataPropertyAxioms contained in this
ontology that make the specified data property functional. |
Set<OWLFunctionalObjectPropertyAxiom> |
getFunctionalObjectPropertyAxioms(OWLObjectPropertyExpression property)
Gets the
OWLFunctionalObjectPropertyAxioms contained in this
ontology that make the specified object property functional. |
Set<OWLHasKeyAxiom> |
getHasKeyAxioms(OWLClass cls)
Gets the has key axioms that have the specified class as their subject.
|
Set<OWLInverseFunctionalObjectPropertyAxiom> |
getInverseFunctionalObjectPropertyAxioms(OWLObjectPropertyExpression property)
Gets the
OWLInverseFunctionalObjectPropertyAxioms contained in
this ontology that make the specified object property inverse functional. |
Set<OWLInverseObjectPropertiesAxiom> |
getInverseObjectPropertyAxioms(OWLObjectPropertyExpression property)
Gets the
OWLInverseObjectPropertiesAxioms where the specified
property is contained in the set returned by
OWLNaryPropertyAxiom.getProperties() . |
Set<OWLIrreflexiveObjectPropertyAxiom> |
getIrreflexiveObjectPropertyAxioms(OWLObjectPropertyExpression property)
Gets the
OWLIrreflexiveObjectPropertyAxioms contained in this
ontology that make the specified object property irreflexive. |
Set<OWLNegativeDataPropertyAssertionAxiom> |
getNegativeDataPropertyAssertionAxioms(OWLIndividual individual)
Gets the
OWLNegativeDataPropertyAssertionAxiom s contained in
this ontology that have the specified individual as the subject
of the axiom. |
Set<OWLNegativeObjectPropertyAssertionAxiom> |
getNegativeObjectPropertyAssertionAxioms(OWLIndividual individual)
Gets the
OWLNegativeObjectPropertyAssertionAxiom s contained in
this ontology that have the specified individual as the subject
of the axiom. |
Set<OWLObjectPropertyAssertionAxiom> |
getObjectPropertyAssertionAxioms(OWLIndividual individual)
Gets the
OWLObjectPropertyAssertionAxioms contained in this
ontology that have the specified individual as the subject of the
axiom. |
Set<OWLObjectPropertyDomainAxiom> |
getObjectPropertyDomainAxioms(OWLObjectPropertyExpression property)
Gets the
OWLObjectPropertyDomainAxioms where the property is
equal to the specified property. |
Set<OWLObjectPropertyRangeAxiom> |
getObjectPropertyRangeAxioms(OWLObjectPropertyExpression property)
Gets the
OWLObjectPropertyRangeAxiom s where the property is
equal to the specified property. |
Set<OWLSubObjectPropertyOfAxiom> |
getObjectSubPropertyAxiomsForSubProperty(OWLObjectPropertyExpression subProperty)
Gets the
OWLSubObjectPropertyOfAxiom s where the sub-property is
equal to the specified property. |
Set<OWLSubObjectPropertyOfAxiom> |
getObjectSubPropertyAxiomsForSuperProperty(OWLObjectPropertyExpression superProperty)
Gets the
OWLSubObjectPropertyOfAxiom s where the super-property
is equal to the specified property. |
Set<OWLReflexiveObjectPropertyAxiom> |
getReflexiveObjectPropertyAxioms(OWLObjectPropertyExpression property)
Gets the
OWLReflexiveObjectPropertyAxioms contained in this
ontology that make the specified object property reflexive. |
Set<OWLSameIndividualAxiom> |
getSameIndividualAxioms(OWLIndividual individual)
Gets the
OWLSameIndividualAxioms contained in this ontology that
make the specified individual the same as some other individual. |
Set<OWLSubAnnotationPropertyOfAxiom> |
getSubAnnotationPropertyOfAxioms(OWLAnnotationProperty subProperty)
Gets the
SubAnnotationPropertyOfAxioms where the specified
property is the sub-property. |
Set<OWLSubClassOfAxiom> |
getSubClassAxiomsForSubClass(OWLClass cls)
Gets all of the subclass axioms where the left hand side (the subclass)
is equal to the specified class.
|
Set<OWLSubClassOfAxiom> |
getSubClassAxiomsForSuperClass(OWLClass cls)
Gets all of the subclass axioms where the right hand side (the
superclass) is equal to the specified class.
|
Set<OWLSymmetricObjectPropertyAxiom> |
getSymmetricObjectPropertyAxioms(OWLObjectPropertyExpression property)
Gets the
OWLSymmetricObjectPropertyAxioms contained in this
ontology that make the specified object property symmetric. |
Set<OWLTransitiveObjectPropertyAxiom> |
getTransitiveObjectPropertyAxioms(OWLObjectPropertyExpression property)
Gets the
OWLTransitiveObjectPropertyAxioms contained in this
ontology that make the specified object property transitive. |
void |
trimToSize()
Trim the capacity of the axiom indexes.
|
compareTo, containsEntityInSignature, equals, getAnnotationPropertiesInSignature, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, isBottomEntity, isTopEntity, toStringcontains, filterAxioms, getAxioms, getAxiomspublic void trimToSize()
HasTrimToSizetrimToSize in interface HasTrimToSizepublic Set<OWLDeclarationAxiom> getDeclarationAxioms(OWLEntity subject)
OWLAxiomIndexgetDeclarationAxioms in interface OWLAxiomIndexsubject - The entity that is the subject of the set of returned axioms.public Set<OWLAnnotationAssertionAxiom> getAnnotationAssertionAxioms(OWLAnnotationSubject entity)
OWLAxiomIndexgetAnnotationAssertionAxioms in interface OWLAxiomIndexentity - The entity whose annotations are to be retrieved.public Set<OWLDatatypeDefinitionAxiom> getDatatypeDefinitions(OWLDatatype datatype)
OWLAxiomIndexOWLDatatypeDefinitionAxioms contained in this ontology
that provide a definition for the specified datatype.getDatatypeDefinitions in interface OWLAxiomIndexdatatype - The datatype for which the returned axioms provide a definition.public Set<OWLSubAnnotationPropertyOfAxiom> getSubAnnotationPropertyOfAxioms(OWLAnnotationProperty subProperty)
OWLAxiomIndexSubAnnotationPropertyOfAxioms where the specified
property is the sub-property.getSubAnnotationPropertyOfAxioms in interface OWLAxiomIndexsubProperty - The sub-property of the axioms to be retrieved.public Set<OWLAnnotationPropertyDomainAxiom> getAnnotationPropertyDomainAxioms(OWLAnnotationProperty property)
OWLAxiomIndexOWLAnnotationPropertyDomainAxioms where the specified
property is the property in the domain axiom.getAnnotationPropertyDomainAxioms in interface OWLAxiomIndexproperty - The property that the axiom specifies a domain for.public Set<OWLAnnotationPropertyRangeAxiom> getAnnotationPropertyRangeAxioms(OWLAnnotationProperty property)
OWLAxiomIndexOWLAnnotationPropertyRangeAxioms where the specified
property is the property in the range axiom.getAnnotationPropertyRangeAxioms in interface OWLAxiomIndexproperty - The property that the axiom specifies a range for.public Set<OWLSubClassOfAxiom> getSubClassAxiomsForSubClass(OWLClass cls)
OWLAxiomIndexgetSubClassAxiomsForSubClass in interface OWLAxiomIndexcls - The class that is equal to the left hand side of the axiom
(subclass).public Set<OWLSubClassOfAxiom> getSubClassAxiomsForSuperClass(OWLClass cls)
OWLAxiomIndexgetSubClassAxiomsForSuperClass in interface OWLAxiomIndexcls - The classpublic Set<OWLEquivalentClassesAxiom> getEquivalentClassesAxioms(OWLClass cls)
OWLAxiomIndexgetEquivalentClassesAxioms in interface OWLAxiomIndexcls - The class to searchpublic Set<OWLDisjointClassesAxiom> getDisjointClassesAxioms(OWLClass cls)
OWLAxiomIndexgetDisjointClassesAxioms in interface OWLAxiomIndexcls - The class to searchpublic Set<OWLDisjointUnionAxiom> getDisjointUnionAxioms(OWLClass owlClass)
OWLAxiomIndexgetDisjointUnionAxioms in interface OWLAxiomIndexowlClass - The class that indexes the axioms to be retrieved.public Set<OWLHasKeyAxiom> getHasKeyAxioms(OWLClass cls)
OWLAxiomIndexgetHasKeyAxioms in interface OWLAxiomIndexcls - The subject of the has key axiomspublic Set<OWLSubObjectPropertyOfAxiom> getObjectSubPropertyAxiomsForSubProperty(OWLObjectPropertyExpression subProperty)
OWLAxiomIndexOWLSubObjectPropertyOfAxiom s where the sub-property is
equal to the specified property.getObjectSubPropertyAxiomsForSubProperty in interface OWLAxiomIndexsubProperty - The property which is equal to the sub property of the retrieved
axioms.public Set<OWLSubObjectPropertyOfAxiom> getObjectSubPropertyAxiomsForSuperProperty(OWLObjectPropertyExpression superProperty)
OWLAxiomIndexOWLSubObjectPropertyOfAxiom s where the super-property
is equal to the specified property.getObjectSubPropertyAxiomsForSuperProperty in interface OWLAxiomIndexsuperProperty - The property which is equal to the super-property of the retrieved
axioms.public Set<OWLObjectPropertyDomainAxiom> getObjectPropertyDomainAxioms(OWLObjectPropertyExpression property)
OWLAxiomIndexOWLObjectPropertyDomainAxioms where the property is
equal to the specified property.getObjectPropertyDomainAxioms in interface OWLAxiomIndexproperty - The property which is equal to the property of the retrieved
axioms.public Set<OWLObjectPropertyRangeAxiom> getObjectPropertyRangeAxioms(OWLObjectPropertyExpression property)
OWLAxiomIndexOWLObjectPropertyRangeAxiom s where the property is
equal to the specified property.getObjectPropertyRangeAxioms in interface OWLAxiomIndexproperty - The property which is equal to the property of the retrieved
axioms.public Set<OWLInverseObjectPropertiesAxiom> getInverseObjectPropertyAxioms(OWLObjectPropertyExpression property)
OWLAxiomIndexOWLInverseObjectPropertiesAxioms where the specified
property is contained in the set returned by
OWLNaryPropertyAxiom.getProperties() .getInverseObjectPropertyAxioms in interface OWLAxiomIndexproperty - The property which is equal to the property of the retrieved
axioms.public Set<OWLEquivalentObjectPropertiesAxiom> getEquivalentObjectPropertiesAxioms(OWLObjectPropertyExpression property)
OWLAxiomIndexOWLEquivalentObjectPropertiesAxioms that make the
specified property equivalent to some other object property
expression(s).getEquivalentObjectPropertiesAxioms in interface OWLAxiomIndexproperty - The property that the retrieved axioms make equivalent to some
other property expressions.public Set<OWLDisjointObjectPropertiesAxiom> getDisjointObjectPropertiesAxioms(OWLObjectPropertyExpression property)
OWLAxiomIndexOWLDisjointObjectPropertiesAxioms that make the
specified property disjoint with some other object property
expression(s).getDisjointObjectPropertiesAxioms in interface OWLAxiomIndexproperty - The property that the retrieved axioms makes disjoint to some
other property expressions.public Set<OWLFunctionalObjectPropertyAxiom> getFunctionalObjectPropertyAxioms(OWLObjectPropertyExpression property)
OWLAxiomIndexOWLFunctionalObjectPropertyAxioms contained in this
ontology that make the specified object property functional.getFunctionalObjectPropertyAxioms in interface OWLAxiomIndexproperty - The property that is made functional by the axioms.public Set<OWLInverseFunctionalObjectPropertyAxiom> getInverseFunctionalObjectPropertyAxioms(OWLObjectPropertyExpression property)
OWLAxiomIndexOWLInverseFunctionalObjectPropertyAxioms contained in
this ontology that make the specified object property inverse functional.getInverseFunctionalObjectPropertyAxioms in interface OWLAxiomIndexproperty - The property that is made inverse functional by the axioms.public Set<OWLSymmetricObjectPropertyAxiom> getSymmetricObjectPropertyAxioms(OWLObjectPropertyExpression property)
OWLAxiomIndexOWLSymmetricObjectPropertyAxioms contained in this
ontology that make the specified object property symmetric.getSymmetricObjectPropertyAxioms in interface OWLAxiomIndexproperty - The property that is made symmetric by the axioms.public Set<OWLAsymmetricObjectPropertyAxiom> getAsymmetricObjectPropertyAxioms(OWLObjectPropertyExpression property)
OWLAxiomIndexOWLAsymmetricObjectPropertyAxioms contained in this
ontology that make the specified object property asymmetric.getAsymmetricObjectPropertyAxioms in interface OWLAxiomIndexproperty - The property that is made asymmetric by the axioms.public Set<OWLReflexiveObjectPropertyAxiom> getReflexiveObjectPropertyAxioms(OWLObjectPropertyExpression property)
OWLAxiomIndexOWLReflexiveObjectPropertyAxioms contained in this
ontology that make the specified object property reflexive.getReflexiveObjectPropertyAxioms in interface OWLAxiomIndexproperty - The property that is made reflexive by the axioms.public Set<OWLIrreflexiveObjectPropertyAxiom> getIrreflexiveObjectPropertyAxioms(OWLObjectPropertyExpression property)
OWLAxiomIndexOWLIrreflexiveObjectPropertyAxioms contained in this
ontology that make the specified object property irreflexive.getIrreflexiveObjectPropertyAxioms in interface OWLAxiomIndexproperty - The property that is made irreflexive by the axioms.public Set<OWLTransitiveObjectPropertyAxiom> getTransitiveObjectPropertyAxioms(OWLObjectPropertyExpression property)
OWLAxiomIndexOWLTransitiveObjectPropertyAxioms contained in this
ontology that make the specified object property transitive.getTransitiveObjectPropertyAxioms in interface OWLAxiomIndexproperty - The property that is made transitive by the axioms.public Set<OWLFunctionalDataPropertyAxiom> getFunctionalDataPropertyAxioms(OWLDataPropertyExpression property)
OWLAxiomIndexOWLFunctionalDataPropertyAxioms contained in this
ontology that make the specified data property functional.getFunctionalDataPropertyAxioms in interface OWLAxiomIndexproperty - The property that is made functional by the axioms.public Set<OWLSubDataPropertyOfAxiom> getDataSubPropertyAxiomsForSubProperty(OWLDataProperty subProperty)
OWLAxiomIndexOWLSubDataPropertyOfAxioms where the sub-property is
equal to the specified property.getDataSubPropertyAxiomsForSubProperty in interface OWLAxiomIndexsubProperty - The property which is equal to the sub property of the retrieved
axioms.public Set<OWLSubDataPropertyOfAxiom> getDataSubPropertyAxiomsForSuperProperty(OWLDataPropertyExpression superProperty)
OWLAxiomIndexOWLSubDataPropertyOfAxioms where the super-property is
equal to the specified property.getDataSubPropertyAxiomsForSuperProperty in interface OWLAxiomIndexsuperProperty - The property which is equal to the super-property of the retrieved
axioms.public Set<OWLDataPropertyDomainAxiom> getDataPropertyDomainAxioms(OWLDataProperty property)
OWLAxiomIndexOWLDataPropertyDomainAxioms where the property is equal
to the specified property.getDataPropertyDomainAxioms in interface OWLAxiomIndexproperty - The property which is equal to the property of the retrieved
axioms.public Set<OWLDataPropertyRangeAxiom> getDataPropertyRangeAxioms(OWLDataProperty property)
OWLAxiomIndexOWLDataPropertyRangeAxioms where the property is equal
to the specified property.getDataPropertyRangeAxioms in interface OWLAxiomIndexproperty - The property which is equal to the property of the retrieved
axioms.public Set<OWLEquivalentDataPropertiesAxiom> getEquivalentDataPropertiesAxioms(OWLDataProperty property)
OWLAxiomIndexOWLEquivalentDataPropertiesAxioms that make the
specified property equivalent to some other data property expression(s).getEquivalentDataPropertiesAxioms in interface OWLAxiomIndexproperty - The property that the retrieved axioms make equivalent to some
other property expressions.public Set<OWLDisjointDataPropertiesAxiom> getDisjointDataPropertiesAxioms(OWLDataProperty property)
OWLAxiomIndexOWLDisjointDataPropertiesAxioms that make the specified
property disjoint with some other data property expression(s).getDisjointDataPropertiesAxioms in interface OWLAxiomIndexproperty - The property that the retrieved axioms makes disjoint to some
other property expressions.public Set<OWLClassAssertionAxiom> getClassAssertionAxioms(OWLIndividual individual)
OWLAxiomIndexOWLClassAssertionAxioms contained in this ontology that
make the specified individual an instance of some class
expression.getClassAssertionAxioms in interface OWLAxiomIndexindividual - The individual that the returned axioms make an instance of some
class expression.public Set<OWLClassAssertionAxiom> getClassAssertionAxioms(OWLClassExpression ce)
OWLAxiomIndexOWLClassAssertionAxioms contained in this ontology that
make the specified class expression, ce, a type for some
individual.getClassAssertionAxioms in interface OWLAxiomIndexce - The class expression that the returned axioms make a type for some
individual.public Set<OWLDataPropertyAssertionAxiom> getDataPropertyAssertionAxioms(OWLIndividual individual)
OWLAxiomIndexOWLDataPropertyAssertionAxioms contained in this
ontology that have the specified individual as the subject of the
axiom.getDataPropertyAssertionAxioms in interface OWLAxiomIndexindividual - The individual that the returned axioms have as a subject.public Set<OWLObjectPropertyAssertionAxiom> getObjectPropertyAssertionAxioms(OWLIndividual individual)
OWLAxiomIndexOWLObjectPropertyAssertionAxioms contained in this
ontology that have the specified individual as the subject of the
axiom.getObjectPropertyAssertionAxioms in interface OWLAxiomIndexindividual - The individual that the returned axioms have as a subject.public Set<OWLNegativeObjectPropertyAssertionAxiom> getNegativeObjectPropertyAssertionAxioms(OWLIndividual individual)
OWLAxiomIndexOWLNegativeObjectPropertyAssertionAxiom s contained in
this ontology that have the specified individual as the subject
of the axiom.getNegativeObjectPropertyAssertionAxioms in interface OWLAxiomIndexindividual - The individual that the returned axioms have as a subject.public Set<OWLNegativeDataPropertyAssertionAxiom> getNegativeDataPropertyAssertionAxioms(OWLIndividual individual)
OWLAxiomIndexOWLNegativeDataPropertyAssertionAxiom s contained in
this ontology that have the specified individual as the subject
of the axiom.getNegativeDataPropertyAssertionAxioms in interface OWLAxiomIndexindividual - The individual that the returned axioms have as a subject.public Set<OWLSameIndividualAxiom> getSameIndividualAxioms(OWLIndividual individual)
OWLAxiomIndexOWLSameIndividualAxioms contained in this ontology that
make the specified individual the same as some other individual.getSameIndividualAxioms in interface OWLAxiomIndexindividual - The individual that the returned axioms make the same as some
other individual.public Set<OWLDifferentIndividualsAxiom> getDifferentIndividualAxioms(OWLIndividual individual)
OWLAxiomIndexOWLDifferentIndividualsAxioms contained in this ontology
that make the specified individual different to some other
individual.getDifferentIndividualAxioms in interface OWLAxiomIndexindividual - The individual that the returned axioms make the different as some
other individual.Copyright © 2016 The University of Manchester. All Rights Reserved.