|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OWLOntology
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group Date: 24-Oct-2006
An OWLOntology
consists of a possibly empty set of OWLAxiom
s
and a possibly empty set of OWLAnnotation
s. An ontology can have an ontology IRI which can be used to
identify the ontology. If it has an ontology IRI then it may also have an ontology version IRI. Since OWL 2, an
ontology need not have an ontology IRI.
An ontology cannot be modified directly. Changes must be applied via its OWLOntologyManager
.
Method Summary | ||
---|---|---|
boolean |
containsAnnotationPropertyReference(IRI propIRI)
Determines if the ontology contains a reference to an annotation property that has a specific IRI. |
|
boolean |
containsAnnotationPropertyReference(IRI propIRI,
boolean includeImportsClosure)
|
|
boolean |
containsAxiom(OWLAxiom axiom)
Determines if this ontology contains the specified axiom. |
|
boolean |
containsAxiom(OWLAxiom axiom,
boolean includeImportsClosure)
Determines if this ontology, and possibly the imports closure, contains the specified axiom. |
|
boolean |
containsClassReference(IRI owlClassIRI)
Determines if the ontology contains a reference to a class that has a specific IRI. |
|
boolean |
containsClassReference(IRI owlClassIRI,
boolean includeImportsClosure)
|
|
boolean |
containsDataPropertyReference(IRI propIRI)
Determines if the ontology contains a reference to a data property that has a specific IRI. |
|
boolean |
containsDataPropertyReference(IRI propIRI,
boolean includeImportsClosure)
|
|
boolean |
containsDatatypeReference(IRI datatypeIRI)
|
|
boolean |
containsDatatypeReference(IRI datatypeIRI,
boolean includeImportsClosure)
|
|
boolean |
containsEntityReference(IRI entityIRI)
|
|
boolean |
containsEntityReference(IRI entityIRI,
boolean includeImportsClosure)
|
|
boolean |
containsEntityReference(OWLEntity owlEntity)
Determines if the ontology contains a reference to the specified entity. |
|
boolean |
containsEntityReference(OWLEntity owlEntity,
boolean includeImportsClosure)
Determines if the ontology, and possibly its imports closure, contains a reference to the specified entity. |
|
boolean |
containsIndividualReference(IRI individualIRI)
Determines if the ontology contains a reference to an individual that has a specific IRI. |
|
boolean |
containsIndividualReference(IRI individualIRI,
boolean includeImportsClosure)
|
|
boolean |
containsObjectPropertyReference(IRI propIRI)
Determines if the ontology contains a reference to an object property that has a specific IRI. |
|
boolean |
containsObjectPropertyReference(IRI propIRI,
boolean includeImportsClosure)
|
|
java.util.Set<OWLAnnotationAssertionAxiom> |
getAnnotationAssertionAxioms(OWLAnnotationSubject entity)
Gets the axioms that annotate the specified entity. |
|
java.util.Set<OWLAnnotationPropertyDomainAxiom> |
getAnnotationPropertyDomainAxioms(OWLAnnotationProperty property)
|
|
java.util.Set<OWLAnnotationPropertyRangeAxiom> |
getAnnotationPropertyRangeAxioms(OWLAnnotationProperty property)
|
|
java.util.Set<OWLAnnotation> |
getAnnotations()
Gets the annotations on this ontology. |
|
java.util.Set<OWLAsymmetricObjectPropertyAxiom> |
getAsymmetricObjectPropertyAxioms(OWLObjectPropertyExpression property)
Gets the axiom that states that this property is asymmetric. |
|
int |
getAxiomCount()
Gets the number of axioms in this ontology. |
|
|
getAxiomCount(AxiomType<T> axiomType)
Gets the axiom count of a specific type of axiom |
|
|
getAxiomCount(AxiomType<T> axiomType,
boolean includeImportsClosure)
Gets the axiom count of a specific type of axiom, possibly in the imports closure of this ontology |
|
java.util.Set<OWLAxiom> |
getAxioms()
Retrieves all of the axioms in this ontology. |
|
|
getAxioms(AxiomType<T> axiomType)
Gets the axioms which are of the specified type. |
|
|
getAxioms(AxiomType<T> axiomType,
boolean includeImportsClosure)
Gets the axioms which are of the specified type. |
|
java.util.Set<OWLAnnotationAxiom> |
getAxioms(OWLAnnotationProperty property)
Gets the axioms that form the definition/description of an annotation property. |
|
java.util.Set<OWLClassAxiom> |
getAxioms(OWLClass cls)
Gets the axioms that form the definition/description of a class. |
|
java.util.Set<OWLDataPropertyAxiom> |
getAxioms(OWLDataProperty prop)
Gets the axioms that form the definition/description of a data property. |
|
java.util.Set<OWLDatatypeDefinitionAxiom> |
getAxioms(OWLDatatype datatype)
Gets the datatype definition axioms for the specified datatype |
|
java.util.Set<OWLIndividualAxiom> |
getAxioms(OWLIndividual individual)
Gets the axioms that form the definition/description of an individual |
|
java.util.Set<OWLObjectPropertyAxiom> |
getAxioms(OWLObjectPropertyExpression prop)
Gets the axioms that form the definition/description of an object property. |
|
java.util.Set<OWLClassAssertionAxiom> |
getClassAssertionAxioms(OWLClass type)
|
|
java.util.Set<OWLClassAssertionAxiom> |
getClassAssertionAxioms(OWLIndividual individual)
|
|
java.util.Set<OWLDataPropertyAssertionAxiom> |
getDataPropertyAssertionAxioms(OWLIndividual individual)
|
|
java.util.Set<OWLDataPropertyDomainAxiom> |
getDataPropertyDomainAxioms(OWLDataProperty property)
|
|
java.util.Set<OWLDataPropertyRangeAxiom> |
getDataPropertyRangeAxioms(OWLDataProperty property)
|
|
java.util.Set<OWLSubDataPropertyOfAxiom> |
getDataSubPropertyAxiomsForSubProperty(OWLDataProperty lhsProperty)
|
|
java.util.Set<OWLSubDataPropertyOfAxiom> |
getDataSubPropertyAxiomsForSuperProperty(OWLDataPropertyExpression property)
|
|
java.util.Set<OWLDatatypeDefinitionAxiom> |
getDatatypeDefinitions(OWLDatatype datatype)
|
|
java.util.Set<OWLDeclarationAxiom> |
getDeclarationAxioms(OWLEntity subject)
Gets the declaration axioms for specified entity. |
|
java.util.Set<OWLDifferentIndividualsAxiom> |
getDifferentIndividualAxioms(OWLIndividual individual)
|
|
java.util.Set<OWLOntology> |
getDirectImports()
Gets the set of loaded ontologies that this ontology is related to via the directlyImports relation. |
|
java.util.Set<IRI> |
getDirectImportsDocuments()
Gets the set of document IRIs that are directly imported by this ontology. |
|
java.util.Set<OWLDisjointClassesAxiom> |
getDisjointClassesAxioms(OWLClass cls)
Gets the set of disjoint class axioms that contain the specified class as an operand. |
|
java.util.Set<OWLDisjointDataPropertiesAxiom> |
getDisjointDataPropertiesAxioms(OWLDataProperty property)
|
|
java.util.Set<OWLDisjointObjectPropertiesAxiom> |
getDisjointObjectPropertiesAxioms(OWLObjectPropertyExpression property)
|
|
java.util.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. |
|
java.util.Set<OWLEntity> |
getEntitiesWithIRI(IRI iri)
Gets the entities in the signature of this ontology that have the specified IRI |
|
java.util.Set<OWLEntity> |
getEntitiesWithIRI(IRI iri,
boolean includeImportsClosure)
Gets the entities in the signature of this ontology, and possibly its imports closure, that have the specified IRI |
|
java.util.Set<OWLEquivalentClassesAxiom> |
getEquivalentClassesAxioms(OWLClass cls)
Gets all of the equivalent axioms in this ontology that contain the specified class as an operand. |
|
java.util.Set<OWLEquivalentDataPropertiesAxiom> |
getEquivalentDataPropertiesAxioms(OWLDataProperty property)
|
|
java.util.Set<OWLEquivalentObjectPropertiesAxiom> |
getEquivalentObjectPropertiesAxioms(OWLObjectPropertyExpression property)
|
|
java.util.Set<OWLFunctionalDataPropertyAxiom> |
getFunctionalDataPropertyAxioms(OWLDataPropertyExpression property)
|
|
java.util.Set<OWLFunctionalObjectPropertyAxiom> |
getFunctionalObjectPropertyAxioms(OWLObjectPropertyExpression property)
|
|
java.util.Set<OWLClassAxiom> |
getGeneralClassAxioms()
Gets the set of general axioms in this ontology. |
|
java.util.Set<OWLHasKeyAxiom> |
getHasKeyAxioms(OWLClass cls)
Gets the has key axioms that have the specified class as their subject. |
|
java.util.Set<OWLOntology> |
getImports()
Gets the set of loaded ontologies that this ontology is related to via the transitive closure of the directlyImports relation. |
|
java.util.Set<OWLOntology> |
getImportsClosure()
Gets the set of loaded ontologies that this ontology is related to via the reflexive transitive closure of the directlyImports relation as defined in Section 3.4 of the OWL 2 Structural Specification. |
|
java.util.Set<OWLImportsDeclaration> |
getImportsDeclarations()
Gets the set of imports declarations for this ontology. |
|
java.util.Set<OWLInverseFunctionalObjectPropertyAxiom> |
getInverseFunctionalObjectPropertyAxioms(OWLObjectPropertyExpression property)
|
|
java.util.Set<OWLInverseObjectPropertiesAxiom> |
getInverseObjectPropertyAxioms(OWLObjectPropertyExpression property)
|
|
java.util.Set<OWLIrreflexiveObjectPropertyAxiom> |
getIrreflexiveObjectPropertyAxioms(OWLObjectPropertyExpression property)
|
|
int |
getLogicalAxiomCount()
Gets the number of logical axioms in this ontology. |
|
java.util.Set<OWLLogicalAxiom> |
getLogicalAxioms()
Gets all of the axioms in the ontology that affect the logical meaning of the ontology. |
|
java.util.Set<OWLNegativeDataPropertyAssertionAxiom> |
getNegativeDataPropertyAssertionAxioms(OWLIndividual individual)
|
|
java.util.Set<OWLNegativeObjectPropertyAssertionAxiom> |
getNegativeObjectPropertyAssertionAxioms(OWLIndividual individual)
|
|
java.util.Set<OWLObjectPropertyAssertionAxiom> |
getObjectPropertyAssertionAxioms(OWLIndividual individual)
|
|
java.util.Set<OWLObjectPropertyDomainAxiom> |
getObjectPropertyDomainAxioms(OWLObjectPropertyExpression property)
|
|
java.util.Set<OWLObjectPropertyRangeAxiom> |
getObjectPropertyRangeAxioms(OWLObjectPropertyExpression property)
|
|
java.util.Set<OWLSubObjectPropertyOfAxiom> |
getObjectSubPropertyAxiomsForSubProperty(OWLObjectPropertyExpression property)
Gets the object property sub property axioms where the specified property is on the left hand side of the axiom. |
|
java.util.Set<OWLSubObjectPropertyOfAxiom> |
getObjectSubPropertyAxiomsForSuperProperty(OWLObjectPropertyExpression property)
|
|
OWLOntologyID |
getOntologyID()
Gets the identity of this ontology (i.e. |
|
OWLOntologyManager |
getOWLOntologyManager()
Gets the manager that created this ontology. |
|
java.util.Set<OWLAnnotationProperty> |
getReferencedAnnotationProperties()
|
|
java.util.Set<OWLAnnotationProperty> |
getReferencedAnnotationProperties(boolean includeImportsClosure)
|
|
java.util.Set<OWLAnonymousIndividual> |
getReferencedAnonymousIndividuals()
Gets the referenced anonymous individuals |
|
java.util.Set<OWLClass> |
getReferencedClasses()
Gets the classes that are referenced by axioms in this ontology. |
|
java.util.Set<OWLClass> |
getReferencedClasses(boolean includeImportsClosure)
Gets the classes that are referenced by axioms in this ontology, and possibly the imports closure of this ontology. |
|
java.util.Set<OWLDataProperty> |
getReferencedDataProperties()
Gets the data properties that are referenced by axioms in this ontology. |
|
java.util.Set<OWLDataProperty> |
getReferencedDataProperties(boolean includeImportsClosure)
Gets the data properties that are referenced by axioms in this ontology, and possibly the imports closure of this ontology. |
|
java.util.Set<OWLDatatype> |
getReferencedDatatypes()
Gets the datatypes that are referenced by this ontology |
|
java.util.Set<OWLDatatype> |
getReferencedDatatypes(boolean includeImportsClosure)
Gets the datatypes that are referenced by this ontology and possibly its imports closure |
|
java.util.Set<OWLEntity> |
getReferencedEntities()
Gets the entities that are referenced by axioms in this ontology. |
|
java.util.Set<OWLNamedIndividual> |
getReferencedIndividuals()
Gets the individuals that are referenced by axioms in this ontology. |
|
java.util.Set<OWLNamedIndividual> |
getReferencedIndividuals(boolean includeImportsClosure)
Gets the named individuals that are referenced by axioms in this ontology, and possibly the imports closure of this ontology. |
|
java.util.Set<OWLObjectProperty> |
getReferencedObjectProperties()
Gets the object properties that are referenced by axioms (including annotation axioms) in this ontology. |
|
java.util.Set<OWLObjectProperty> |
getReferencedObjectProperties(boolean includeImportsClosure)
Gets the object properties that are referenced by axioms in this ontology, and possibly the imports closure of this ontology. |
|
java.util.Set<OWLAxiom> |
getReferencingAxioms(OWLAnonymousIndividual individual)
Gets the axioms that reference the specified anonymous individual |
|
java.util.Set<OWLAxiom> |
getReferencingAxioms(OWLEntity owlEntity)
Gets the axioms where the specified entity appears in the signature of the axiom. |
|
java.util.Set<OWLAxiom> |
getReferencingAxioms(OWLEntity owlEntity,
boolean includeImportsClosure)
Gets the axioms where the specified entity appears in the signature of the axiom. |
|
java.util.Set<OWLReflexiveObjectPropertyAxiom> |
getReflexiveObjectPropertyAxioms(OWLObjectPropertyExpression property)
|
|
java.util.Set<OWLSameIndividualAxiom> |
getSameIndividualAxioms(OWLIndividual individual)
|
|
java.util.Set<OWLSubAnnotationPropertyOfAxiom> |
getSubAnnotationPropertyOfAxioms(OWLAnnotationProperty subProperty)
|
|
java.util.Set<OWLSubClassOfAxiom> |
getSubClassAxiomsForSubClass(OWLClass cls)
Gets all of the subclass axioms where the left hand side (the subclass) is equal to the specified class. |
|
java.util.Set<OWLSubClassOfAxiom> |
getSubClassAxiomsForSuperClass(OWLClass cls)
Gets all of the subclass axioms where the right hand side (the superclass) is equal to the specified class. |
|
java.util.Set<OWLSymmetricObjectPropertyAxiom> |
getSymmetricObjectPropertyAxioms(OWLObjectPropertyExpression property)
|
|
java.util.Set<OWLTransitiveObjectPropertyAxiom> |
getTransitiveObjectPropertyAxioms(OWLObjectPropertyExpression property)
|
|
boolean |
isAnonymous()
Determines whether or not this ontology is anonymous. |
|
boolean |
isDeclared(OWLEntity owlEntity)
Determines if this ontology declares an entity i.e. |
|
boolean |
isDeclared(OWLEntity owlEntity,
boolean includeImportsClosure)
Determines if this ontology or its imports closure declares an entity i.e. |
|
boolean |
isEmpty()
Determines if this ontology is empty - an ontology is empty if it does not contain any axioms (i.e. |
Methods inherited from interface org.semanticweb.owlapi.model.OWLObject |
---|
accept, accept, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getObjectPropertiesInSignature, getSignature |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
OWLOntologyManager getOWLOntologyManager()
OWLOntologyID getOntologyID()
boolean isAnonymous()
true
if this ontology is anonymous, otherwise false
java.util.Set<OWLAnnotation> getAnnotations()
java.util.Set<IRI> getDirectImportsDocuments() throws UnknownOWLOntologyException
UnknownOWLOntologyException
- If this ontology is no longer managed by its manager because it was
removed from the manager.java.util.Set<OWLOntology> getDirectImports() throws UnknownOWLOntologyException
Note that there may be fewer ontologies in the set returned by this method than there are IRIs in the set returned by the
getDirectImportsDocuments()
method. This will be the case if some of the ontologies that are directly imported by this ontology
are not loaded for what ever reason.
UnknownOWLOntologyException
- If this ontology is no longer managed by its manager because it was removed
from the manager.java.util.Set<OWLOntology> getImports() throws UnknownOWLOntologyException
For example, if this ontology imports ontology B, and ontology B imports ontology C, then this method will return the set consisting of ontology B and ontology C.
UnknownOWLOntologyException
- if this ontology is no longer managed by its manager because it was removed
from the manager.java.util.Set<OWLOntology> getImportsClosure() throws UnknownOWLOntologyException
getImports()
method plus this ontology.)
For example, if this ontology imports ontology B, and ontology B imports ontology C, then this method will return the set consisting of this ontology, ontology B and ontology C.
UnknownOWLOntologyException
- If this ontology is no longer managed by its manager because it was removed
from the manager.java.util.Set<OWLImportsDeclaration> getImportsDeclarations()
boolean isEmpty()
getAxioms()
returns the empty set), and it does not have any annotations (i.e.
getAnnotations()
returns the empty set).
true
if the ontology is empty, otherwise false
.java.util.Set<OWLAxiom> getAxioms()
containsAxiom
method is used to determine whether or not this ontology
contains a particular axiom rather than using getAxioms().contains().int getAxiomCount()
java.util.Set<OWLLogicalAxiom> getLogicalAxioms()
OWLLogicalAxiom
The set that is returned is a copy of
the axioms in the ontology - it will not be updated if the ontology changes.int getLogicalAxiomCount()
<T extends OWLAxiom> java.util.Set<T> getAxioms(AxiomType<T> axiomType)
axiomType
- The type of axioms to be retrived.
<T extends OWLAxiom> java.util.Set<T> getAxioms(AxiomType<T> axiomType, boolean includeImportsClosure)
axiomType
- The type of axioms to be retrived.includeImportsClosure
- if true
then axioms of the specified type will also be retrieved from
the imports closure of this ontology, if false
then axioms of the specified type will only
be retrieved from this ontology.
<T extends OWLAxiom> int getAxiomCount(AxiomType<T> axiomType)
axiomType
- The type of axiom to count
<T extends OWLAxiom> int getAxiomCount(AxiomType<T> axiomType, boolean includeImportsClosure)
axiomType
- The type of axiom to countincludeImportsClosure
- Specifies that the imports closure should be included when counting axioms
boolean containsAxiom(OWLAxiom axiom)
axiom
- The axiom to test for.
true
if the ontology contains the specified axioms, or false
if the ontology
doesn't contain the specified axiom.boolean containsAxiom(OWLAxiom axiom, boolean includeImportsClosure)
axiom
- The axiom to test for.includeImportsClosure
- if true
the imports closure of this ontology will be searched for the
specific axiom, if false
just this ontology will be searched.
true
if the ontology contains the specified axioms, or false
if the ontology
doesn't contain the specified axiom.java.util.Set<OWLClassAxiom> getGeneralClassAxioms()
OWLClass
es)OWLClass
es)
java.util.Set<OWLEntity> getReferencedEntities()
OWLEntity
objects. The set that is returned is a copy - it will not be updated if
the ontology changes. It is therefore safe to apply changes to this ontology while iterating over this
set.java.util.Set<OWLClass> getReferencedClasses()
java.util.Set<OWLClass> getReferencedClasses(boolean includeImportsClosure)
includeImportsClosure
- Specifies whether referenced classes should be drawn from this ontology or the imports
closure. If true
then the set of referenced classes will be from the imports closure of this
ontology, if false
then the set of referenced classes will just be from this ontology.
java.util.Set<OWLObjectProperty> getReferencedObjectProperties()
java.util.Set<OWLObjectProperty> getReferencedObjectProperties(boolean includeImportsClosure)
includeImportsClosure
- Specifies whether referenced object properties should be drawn from this ontology or the imports
closure. If true
then the set of referenced object properties will be from the imports closure of this
ontology, if false
then the set of referenced object properties will just be from this ontology.
java.util.Set<OWLDataProperty> getReferencedDataProperties()
java.util.Set<OWLDataProperty> getReferencedDataProperties(boolean includeImportsClosure)
includeImportsClosure
- Specifies whether referenced data properties should be drawn from this ontology or the imports
closure. If true
then the set of referenced data properties will be from the imports closure of this
ontology, if false
then the set of referenced data properties will just be from this ontology.
java.util.Set<OWLNamedIndividual> getReferencedIndividuals()
java.util.Set<OWLNamedIndividual> getReferencedIndividuals(boolean includeImportsClosure)
includeImportsClosure
- Specifies whether referenced named individuals should be drawn from this ontology or the imports
closure. If true
then the set of referenced named individuals will be from the imports closure of this
ontology, if false
then the set of referenced named individuals will just be from this ontology.
java.util.Set<OWLAnonymousIndividual> getReferencedAnonymousIndividuals()
java.util.Set<OWLDatatype> getReferencedDatatypes()
java.util.Set<OWLDatatype> getReferencedDatatypes(boolean includeImportsClosure)
includeImportsClosure
- Specifies whether referenced named individuals should be drawn from this ontology or the imports
closure of this ontology. If true
then the set of referenced named individuals will be from the
imports closure of this ontology, if false
then the set of referenced named individuals will just
be from this ontology.
java.util.Set<OWLAnnotationProperty> getReferencedAnnotationProperties()
java.util.Set<OWLAnnotationProperty> getReferencedAnnotationProperties(boolean includeImportsClosure)
java.util.Set<OWLAxiom> getReferencingAxioms(OWLEntity owlEntity)
owlEntity
- The entity that should be directly referred to by an axiom that appears in the results set.
java.util.Set<OWLAxiom> getReferencingAxioms(OWLEntity owlEntity, boolean includeImportsClosure)
owlEntity
- The entity that should be directly referred to by an axiom that appears in the results set.includeImportsClosure
- Specifies if the axioms returned should just be from this ontology, or from the
imports closure of this ontology. If true
the axioms returned will be from the imports closure
of this ontology, if false
the axioms returned will just be from this ontology.
java.util.Set<OWLAxiom> getReferencingAxioms(OWLAnonymousIndividual individual)
individual
- The individual
boolean containsEntityReference(OWLEntity owlEntity)
owlEntity
- The entity
true
if the ontology contains a reference to the specified entity, otherwise
false
The set that is returned is a copy - it will not be updated if the ontology changes.
It is therefore safe to apply changes to this ontology while iterating over this set.boolean containsEntityReference(OWLEntity owlEntity, boolean includeImportsClosure)
owlEntity
- The entityincludeImportsClosure
- Specifies whether the imports closure should be examined for the entity reference
or not.
true
if the ontology contains a reference to the specified entity, otherwise
false
The set that is returned is a copy - it will not be updated if the ontology changes.
It is therefore safe to apply changes to this ontology while iterating over this set.boolean containsEntityReference(IRI entityIRI)
boolean containsEntityReference(IRI entityIRI, boolean includeImportsClosure)
boolean isDeclared(OWLEntity owlEntity)
owlEntity
- The entity to be tested for
true
if the ontology contains a declaration for the specified entity, otherwise
false
.boolean isDeclared(OWLEntity owlEntity, boolean includeImportsClosure)
owlEntity
- The entity to be tested forincludeImportsClosure
- true
if the imports closure of this ontology should be examined,
false
if just this ontology should be examined.
true
if the ontology or its imports closure contains a declaration for the specified entity, otherwise
false
.boolean containsClassReference(IRI owlClassIRI)
owlClassIRI
- The IRI to test for.
true
if the ontology refers to a class with the specified IRI, otherwise false
boolean containsClassReference(IRI owlClassIRI, boolean includeImportsClosure)
boolean containsObjectPropertyReference(IRI propIRI)
propIRI
- The IRI of the property
true
if the ontology references (ontology signature contains) a property that has the
specified IRI.boolean containsObjectPropertyReference(IRI propIRI, boolean includeImportsClosure)
boolean containsDataPropertyReference(IRI propIRI)
propIRI
- The IRI to check for
true
if the ontology references (ontology signature contains) a property that has the
specified IRI.boolean containsDataPropertyReference(IRI propIRI, boolean includeImportsClosure)
boolean containsAnnotationPropertyReference(IRI propIRI)
propIRI
- The IRI to check for
true
if the ontology references (ontology signature contains) a property that has the
specified URI.boolean containsAnnotationPropertyReference(IRI propIRI, boolean includeImportsClosure)
boolean containsIndividualReference(IRI individualIRI)
individualIRI
- The IRI of the individual
true
if the ontology references (ontology signature contains) an individual that has the
specified IRI.boolean containsIndividualReference(IRI individualIRI, boolean includeImportsClosure)
boolean containsDatatypeReference(IRI datatypeIRI)
boolean containsDatatypeReference(IRI datatypeIRI, boolean includeImportsClosure)
java.util.Set<OWLEntity> getEntitiesWithIRI(IRI iri)
iri
- The IRI
java.util.Set<OWLEntity> getEntitiesWithIRI(IRI iri, boolean includeImportsClosure)
iri
- The IRIincludeImportsClosure
- Specifies if the imports closure signature should be taken into account
java.util.Set<OWLClassAxiom> getAxioms(OWLClass cls)
cls
- The class whose describing axioms are to be retrieved.
java.util.Set<OWLObjectPropertyAxiom> getAxioms(OWLObjectPropertyExpression prop)
prop
- The property whose defining axioms are to be retrieved.
java.util.Set<OWLDataPropertyAxiom> getAxioms(OWLDataProperty prop)
prop
- The property whose defining axioms are to be retrieved.
java.util.Set<OWLIndividualAxiom> getAxioms(OWLIndividual individual)
individual
- The individual whose defining axioms are to be retrieved.
java.util.Set<OWLAnnotationAxiom> getAxioms(OWLAnnotationProperty property)
property
- The property whose definition axioms are to be retrieved
java.util.Set<OWLDatatypeDefinitionAxiom> getAxioms(OWLDatatype datatype)
datatype
- The datatype
java.util.Set<OWLSubAnnotationPropertyOfAxiom> getSubAnnotationPropertyOfAxioms(OWLAnnotationProperty subProperty)
java.util.Set<OWLAnnotationPropertyDomainAxiom> getAnnotationPropertyDomainAxioms(OWLAnnotationProperty property)
java.util.Set<OWLAnnotationPropertyRangeAxiom> getAnnotationPropertyRangeAxioms(OWLAnnotationProperty property)
java.util.Set<OWLDeclarationAxiom> getDeclarationAxioms(OWLEntity subject)
subject
- The entity that is the subject of the set of returned axioms.
java.util.Set<OWLAnnotationAssertionAxiom> getAnnotationAssertionAxioms(OWLAnnotationSubject entity)
entity
- The entity whose annotations are to be retrieved.
java.util.Set<OWLSubClassOfAxiom> getSubClassAxiomsForSubClass(OWLClass cls)
cls
- The class that is equal to the left hand side of the axiom (subclass).
java.util.Set<OWLSubClassOfAxiom> getSubClassAxiomsForSuperClass(OWLClass cls)
cls
- The class
java.util.Set<OWLEquivalentClassesAxiom> getEquivalentClassesAxioms(OWLClass cls)
cls
- The class
java.util.Set<OWLDisjointClassesAxiom> getDisjointClassesAxioms(OWLClass cls)
cls
- The class that should be contained in the set of disjoint class axioms that will be returned.
java.util.Set<OWLDisjointUnionAxiom> getDisjointUnionAxioms(OWLClass owlClass)
owlClass
- The class that indexes the axioms to be retrieved.
java.util.Set<OWLHasKeyAxiom> getHasKeyAxioms(OWLClass cls)
cls
- The subject of the has key axioms
java.util.Set<OWLSubObjectPropertyOfAxiom> getObjectSubPropertyAxiomsForSubProperty(OWLObjectPropertyExpression property)
property
- The property which is on the left hand side of the axiom.
java.util.Set<OWLSubObjectPropertyOfAxiom> getObjectSubPropertyAxiomsForSuperProperty(OWLObjectPropertyExpression property)
java.util.Set<OWLObjectPropertyDomainAxiom> getObjectPropertyDomainAxioms(OWLObjectPropertyExpression property)
java.util.Set<OWLObjectPropertyRangeAxiom> getObjectPropertyRangeAxioms(OWLObjectPropertyExpression property)
java.util.Set<OWLInverseObjectPropertiesAxiom> getInverseObjectPropertyAxioms(OWLObjectPropertyExpression property)
java.util.Set<OWLEquivalentObjectPropertiesAxiom> getEquivalentObjectPropertiesAxioms(OWLObjectPropertyExpression property)
java.util.Set<OWLDisjointObjectPropertiesAxiom> getDisjointObjectPropertiesAxioms(OWLObjectPropertyExpression property)
java.util.Set<OWLFunctionalObjectPropertyAxiom> getFunctionalObjectPropertyAxioms(OWLObjectPropertyExpression property)
java.util.Set<OWLInverseFunctionalObjectPropertyAxiom> getInverseFunctionalObjectPropertyAxioms(OWLObjectPropertyExpression property)
java.util.Set<OWLSymmetricObjectPropertyAxiom> getSymmetricObjectPropertyAxioms(OWLObjectPropertyExpression property)
java.util.Set<OWLAsymmetricObjectPropertyAxiom> getAsymmetricObjectPropertyAxioms(OWLObjectPropertyExpression property)
property
- The property
null
if there is
no axiom that states this.java.util.Set<OWLReflexiveObjectPropertyAxiom> getReflexiveObjectPropertyAxioms(OWLObjectPropertyExpression property)
java.util.Set<OWLIrreflexiveObjectPropertyAxiom> getIrreflexiveObjectPropertyAxioms(OWLObjectPropertyExpression property)
java.util.Set<OWLTransitiveObjectPropertyAxiom> getTransitiveObjectPropertyAxioms(OWLObjectPropertyExpression property)
java.util.Set<OWLSubDataPropertyOfAxiom> getDataSubPropertyAxiomsForSubProperty(OWLDataProperty lhsProperty)
java.util.Set<OWLSubDataPropertyOfAxiom> getDataSubPropertyAxiomsForSuperProperty(OWLDataPropertyExpression property)
java.util.Set<OWLDataPropertyDomainAxiom> getDataPropertyDomainAxioms(OWLDataProperty property)
java.util.Set<OWLDataPropertyRangeAxiom> getDataPropertyRangeAxioms(OWLDataProperty property)
java.util.Set<OWLEquivalentDataPropertiesAxiom> getEquivalentDataPropertiesAxioms(OWLDataProperty property)
java.util.Set<OWLDisjointDataPropertiesAxiom> getDisjointDataPropertiesAxioms(OWLDataProperty property)
java.util.Set<OWLFunctionalDataPropertyAxiom> getFunctionalDataPropertyAxioms(OWLDataPropertyExpression property)
java.util.Set<OWLClassAssertionAxiom> getClassAssertionAxioms(OWLIndividual individual)
java.util.Set<OWLClassAssertionAxiom> getClassAssertionAxioms(OWLClass type)
java.util.Set<OWLDataPropertyAssertionAxiom> getDataPropertyAssertionAxioms(OWLIndividual individual)
java.util.Set<OWLObjectPropertyAssertionAxiom> getObjectPropertyAssertionAxioms(OWLIndividual individual)
java.util.Set<OWLNegativeObjectPropertyAssertionAxiom> getNegativeObjectPropertyAssertionAxioms(OWLIndividual individual)
java.util.Set<OWLNegativeDataPropertyAssertionAxiom> getNegativeDataPropertyAssertionAxioms(OWLIndividual individual)
java.util.Set<OWLSameIndividualAxiom> getSameIndividualAxioms(OWLIndividual individual)
java.util.Set<OWLDifferentIndividualsAxiom> getDifferentIndividualAxioms(OWLIndividual individual)
java.util.Set<OWLDatatypeDefinitionAxiom> getDatatypeDefinitions(OWLDatatype datatype)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |