public interface OWLSignature extends HasGetEntitiesInSignature, HasClassesInSignature, HasObjectPropertiesInSignature, HasDataPropertiesInSignature, HasDatatypesInSignature, HasIndividualsInSignature, HasAnnotationPropertiesInSignature, HasContainsEntityInSignature
Modifier and Type | Method and Description |
---|---|
boolean |
containsAnnotationPropertyInSignature(IRI owlAnnotationPropertyIRI)
Determines if the signature contains an OWLAnnotationProperty that has the specified IRI.
|
boolean |
containsAnnotationPropertyInSignature(IRI owlAnnotationPropertyIRI,
Imports includeImportsClosure)
Determines if the signature contains an OWLAnnotationProperty that has the specified IRI.
|
boolean |
containsClassInSignature(IRI owlClassIRI)
Determines if the signature contains an OWLClass that has the specified IRI.
|
boolean |
containsClassInSignature(IRI owlClassIRI,
Imports includeImportsClosure)
Determines if the signature contains an OWLClass that has the specified IRI.
|
boolean |
containsDataPropertyInSignature(IRI owlDataPropertyIRI)
Determines if the signature contains an OWLDataProperty that has the specified IRI.
|
boolean |
containsDataPropertyInSignature(IRI owlDataPropertyIRI,
Imports includeImportsClosure)
Determines if the signature contains an OWLDataProperty that has the specified IRI.
|
boolean |
containsDatatypeInSignature(IRI owlDatatypeIRI)
Determines if the signature contains an OWLDatatype that has the specified IRI.
|
boolean |
containsDatatypeInSignature(IRI owlDatatypeIRI,
Imports includeImportsClosure)
Determines if the signature contains an OWLDatatype that has the specified IRI.
|
default boolean |
containsEntitiesOfTypeInSignature(EntityType<?> type)
Determine whether the instance has entities of the specified type in its signature - e.g.,
whether an ontology has classes, object propertyies, or named individuals in its signature.
|
boolean |
containsEntitiesOfTypeInSignature(EntityType<?> type,
Imports includeImportsClosure)
Determine whether the instance has entities of the specified type in its signature or in its
import closure - e.g., whether an ontology has classes, object propertyies, or named
individuals in its signature.
|
boolean |
containsEntityInSignature(IRI entityIRI)
Determines if the signature contains an entity with the specified IRI.
|
boolean |
containsEntityInSignature(IRI entityIRI,
Imports includeImportsClosure)
Determines if the signature contains an entity with the specified IRI.
|
boolean |
containsEntityInSignature(OWLEntity owlEntity,
Imports includeImportsClosure)
Determines if the signature contains the specified entity.
|
boolean |
containsIndividualInSignature(IRI owlIndividualIRI)
Determines if the signature contains an OWLNamedIndividual that has the specified IRI.
|
boolean |
containsIndividualInSignature(IRI owlIndividualIRI,
Imports includeImportsClosure)
Determines if the signature contains an OWLNamedIndividual that has the specified IRI.
|
boolean |
containsObjectPropertyInSignature(IRI owlObjectPropertyIRI)
Determines if the signature contains an OWLObjectProperty that has the specified IRI.
|
boolean |
containsObjectPropertyInSignature(IRI owlObjectPropertyIRI,
Imports includeImportsClosure)
Determines if the signature contains an OWLObjectProperty that has the specified IRI.
|
boolean |
containsReference(OWLEntity entity)
|
boolean |
containsReference(OWLEntity entity,
Imports includeImportsClosure)
Deprecated.
|
Set<OWLAnnotationProperty> |
getAnnotationPropertiesInSignature(Imports includeImportsClosure)
Gets the annotation properties in the signature and optionally the imports closure.
|
Set<OWLClass> |
getClassesInSignature(Imports includeImportsClosure)
Gets the classes in the signature and optionally the imports closure.
|
Set<OWLDataProperty> |
getDataPropertiesInSignature(Imports includeImportsClosure)
Gets the data properties in the signature and optionally the imports closure.
|
Set<OWLDatatype> |
getDatatypesInSignature(Imports includeImportsClosure)
Gets the datatypes in the signature and optionally the imports closure.
|
Set<OWLEntity> |
getEntitiesInSignature(IRI iri,
Imports includeImportsClosure)
Gets the entities in the signature that have the specified IRI.
|
Set<OWLNamedIndividual> |
getIndividualsInSignature(Imports includeImportsClosure)
Gets the named individuals in the signature and optionally the imports closure.
|
Set<OWLObjectProperty> |
getObjectPropertiesInSignature(Imports includeImportsClosure)
Gets the object properties in the signature and optionally the imports closure.
|
Set<IRI> |
getPunnedIRIs(Imports includeImportsClosure)
Calculates the set of IRIs that are used for more than one entity type.
|
Set<OWLAnonymousIndividual> |
getReferencedAnonymousIndividuals(Imports includeImportsClosure)
Gets the referenced anonymous individuals in the signature and optionally the imports
closure.
|
getEntitiesInSignature
getClassesInSignature
getObjectPropertiesInSignature
getDataPropertiesInSignature
getDatatypesInSignature
getIndividualsInSignature
getAnnotationPropertiesInSignature
containsEntityInSignature
@Nonnull Set<OWLClass> getClassesInSignature(@Nonnull Imports includeImportsClosure)
includeImportsClosure
- if INCLUDED, include imports closure.@Nonnull Set<OWLObjectProperty> getObjectPropertiesInSignature(@Nonnull Imports includeImportsClosure)
includeImportsClosure
- if INCLUDED, include imports closure.@Nonnull Set<OWLDataProperty> getDataPropertiesInSignature(@Nonnull Imports includeImportsClosure)
includeImportsClosure
- if INCLUDED, include imports closure.@Nonnull Set<OWLNamedIndividual> getIndividualsInSignature(@Nonnull Imports includeImportsClosure)
includeImportsClosure
- if INCLUDED, include imports closure.@Nonnull Set<OWLAnonymousIndividual> getReferencedAnonymousIndividuals(@Nonnull Imports includeImportsClosure)
includeImportsClosure
- if INCLUDED, include imports closure.@Nonnull Set<OWLDatatype> getDatatypesInSignature(@Nonnull Imports includeImportsClosure)
includeImportsClosure
- if INCLUDED, include imports closure.@Nonnull Set<OWLAnnotationProperty> getAnnotationPropertiesInSignature(@Nonnull Imports includeImportsClosure)
includeImportsClosure
- if INCLUDED, include imports closure.boolean containsEntityInSignature(@Nonnull OWLEntity owlEntity, @Nonnull Imports includeImportsClosure)
owlEntity
- The entityincludeImportsClosure
- if INCLUDED, include imports closure.true
if the signature or the import closure contains a reference to the
specified entity.boolean containsEntityInSignature(@Nonnull IRI entityIRI, @Nonnull Imports includeImportsClosure)
entityIRI
- The IRI to test for.includeImportsClosure
- if INCLUDED, include imports closure.boolean containsClassInSignature(@Nonnull IRI owlClassIRI, @Nonnull Imports includeImportsClosure)
owlClassIRI
- The IRI of the class to check forincludeImportsClosure
- if INCLUDED, include imports closure.boolean containsObjectPropertyInSignature(@Nonnull IRI owlObjectPropertyIRI, @Nonnull Imports includeImportsClosure)
owlObjectPropertyIRI
- The IRI of the OWLObjectProperty to check forincludeImportsClosure
- if INCLUDED, include imports closure.boolean containsDataPropertyInSignature(@Nonnull IRI owlDataPropertyIRI, @Nonnull Imports includeImportsClosure)
owlDataPropertyIRI
- The IRI of the OWLDataProperty to check forincludeImportsClosure
- if INCLUDED, include imports closure.boolean containsAnnotationPropertyInSignature(@Nonnull IRI owlAnnotationPropertyIRI, @Nonnull Imports includeImportsClosure)
owlAnnotationPropertyIRI
- The IRI of the OWLAnnotationProperty to check forincludeImportsClosure
- if INCLUDED, include imports closure.boolean containsDatatypeInSignature(@Nonnull IRI owlDatatypeIRI, @Nonnull Imports includeImportsClosure)
owlDatatypeIRI
- The IRI of the OWLDatatype to check forincludeImportsClosure
- if INCLUDED, include imports closure.boolean containsIndividualInSignature(@Nonnull IRI owlIndividualIRI, @Nonnull Imports includeImportsClosure)
owlIndividualIRI
- The IRI of the OWLNamedIndividual to check forincludeImportsClosure
- if INCLUDED, include imports closure.boolean containsDatatypeInSignature(@Nonnull IRI owlDatatypeIRI)
owlDatatypeIRI
- The IRI of the OWLDatatype to check forboolean containsEntityInSignature(@Nonnull IRI entityIRI)
entityIRI
- The IRI to test for.boolean containsClassInSignature(@Nonnull IRI owlClassIRI)
owlClassIRI
- The IRI of the class to check forboolean containsObjectPropertyInSignature(@Nonnull IRI owlObjectPropertyIRI)
owlObjectPropertyIRI
- The IRI of the OWLObjectProperty to check forboolean containsDataPropertyInSignature(@Nonnull IRI owlDataPropertyIRI)
owlDataPropertyIRI
- The IRI of the OWLDataProperty to check forboolean containsAnnotationPropertyInSignature(@Nonnull IRI owlAnnotationPropertyIRI)
owlAnnotationPropertyIRI
- The IRI of the OWLAnnotationProperty to check forboolean containsIndividualInSignature(@Nonnull IRI owlIndividualIRI)
owlIndividualIRI
- The IRI of the OWLNamedIndividual to check fordefault boolean containsEntitiesOfTypeInSignature(EntityType<?> type)
type
- type of entity to checkboolean containsEntitiesOfTypeInSignature(EntityType<?> type, Imports includeImportsClosure)
type
- type of entity to checkincludeImportsClosure
- if INCLUDED, include imports closure.@Nonnull Set<OWLEntity> getEntitiesInSignature(@Nonnull IRI iri, @Nonnull Imports includeImportsClosure)
iri
- The IRI of the entitied to be retrieved.includeImportsClosure
- if INCLUDED, include imports closure.Set<IRI> getPunnedIRIs(@Nonnull Imports includeImportsClosure)
includeImportsClosure
- if INCLUDED, include imports closure.@Deprecated boolean containsReference(@Nonnull OWLEntity entity, @Nonnull Imports includeImportsClosure)
containsEntityInSignature(OWLEntity, Imports)
entity
- entity to checkincludeImportsClosure
- if INCLUDED, include imports closure.@Deprecated boolean containsReference(@Nonnull OWLEntity entity)
entity
- entity to checkCopyright © 2020 The University of Manchester. All rights reserved.