public interface OWLSignature extends HasGetEntitiesInSignature, HasClassesInSignature, HasAnnotationPropertiesInSignature, HasObjectPropertiesInSignature, HasDataPropertiesInSignature, HasDatatypesInSignature, HasIndividualsInSignature, HasContainsEntityInSignature, HasImportsClosure
Modifier and Type | Method and Description |
---|---|
default Stream<OWLAnnotationProperty> |
annotationPropertiesInSignature(Imports imports)
Gets the annotation properties in the signature and optionally the imports closure.
|
default Stream<OWLClass> |
classesInSignature(Imports imports)
Gets the classes in the signature and optionally the imports closure.
|
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 properties, or named individuals in its signature.
|
default 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 properties, or named
individuals in its signature.
|
default boolean |
containsEntityInSignature(IRI entityIRI)
Determines if the signature contains an entity with the specified IRI.
|
default boolean |
containsEntityInSignature(IRI entityIRI,
Imports imports)
Determines if the signature contains an entity with the specified IRI.
|
default boolean |
containsEntityInSignature(OWLEntity owlEntity,
Imports imports)
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)
|
default boolean |
containsReference(OWLEntity entity,
Imports imports)
Deprecated.
|
default Stream<OWLDataProperty> |
dataPropertiesInSignature(Imports imports)
Gets the data properties in the signature and optionally the imports closure.
|
default Stream<OWLDatatype> |
datatypesInSignature(Imports imports)
Gets the datatypes in the signature and optionally the imports closure.
|
default Stream<OWLEntity> |
entitiesInSignature(IRI iri,
Imports imports)
Gets the entities in the signature that have the specified IRI.
|
default Set<OWLAnnotationProperty> |
getAnnotationPropertiesInSignature(Imports includeImportsClosure)
Gets the annotation properties in the signature and optionally the imports closure.
|
default Set<OWLClass> |
getClassesInSignature(Imports imports)
Gets the classes in the signature and optionally the imports closure.
|
default Set<OWLDataProperty> |
getDataPropertiesInSignature(Imports includeImportsClosure)
Gets the data properties in the signature and optionally the imports closure.
|
default Set<OWLDatatype> |
getDatatypesInSignature(Imports includeImportsClosure)
Gets the datatypes in the signature and optionally the imports closure.
|
default Set<OWLEntity> |
getEntitiesInSignature(IRI iri,
Imports includeImportsClosure)
Gets the entities in the signature that have the specified IRI.
|
default Set<OWLNamedIndividual> |
getIndividualsInSignature(Imports includeImportsClosure)
Gets the named individuals in the signature and optionally the imports closure.
|
default 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.
|
default Set<OWLAnonymousIndividual> |
getReferencedAnonymousIndividuals()
Gets the referenced anonymous individuals.
|
default Set<OWLAnonymousIndividual> |
getReferencedAnonymousIndividuals(Imports includeImportsClosure)
Gets the referenced anonymous individuals in the signature and optionally the imports
closure.
|
default Stream<OWLNamedIndividual> |
individualsInSignature(Imports imports)
Gets the named individuals in the signature and optionally the imports closure.
|
default Stream<OWLObjectProperty> |
objectPropertiesInSignature(Imports imports)
Gets the object properties in the signature and optionally the imports closure.
|
Stream<OWLAnonymousIndividual> |
referencedAnonymousIndividuals()
Gets the referenced anonymous individuals.
|
default Stream<OWLAnonymousIndividual> |
referencedAnonymousIndividuals(Imports imports)
Gets the referenced anonymous individuals in the signature and optionally the imports
closure.
|
entitiesInSignature, getEntitiesInSignature
classesInSignature, getClassesInSignature
annotationPropertiesInSignature, getAnnotationPropertiesInSignature
getObjectPropertiesInSignature, objectPropertiesInSignature
dataPropertiesInSignature, getDataPropertiesInSignature
datatypesInSignature, getDatatypesInSignature
getIndividualsInSignature, individualsInSignature
containsEntityInSignature
getImportsClosure, importsClosure
default Set<OWLClass> getClassesInSignature(Imports imports)
imports
- if INCLUDED, include imports closure.default Stream<OWLClass> classesInSignature(Imports imports)
imports
- if INCLUDED, include imports closure.default Set<OWLObjectProperty> getObjectPropertiesInSignature(Imports includeImportsClosure)
includeImportsClosure
- if INCLUDED, include imports closure.default Stream<OWLObjectProperty> objectPropertiesInSignature(Imports imports)
imports
- if INCLUDED, include imports closure.default Set<OWLDataProperty> getDataPropertiesInSignature(Imports includeImportsClosure)
includeImportsClosure
- if INCLUDED, include imports closure.default Stream<OWLDataProperty> dataPropertiesInSignature(Imports imports)
imports
- if INCLUDED, include imports closure.default Set<OWLNamedIndividual> getIndividualsInSignature(Imports includeImportsClosure)
includeImportsClosure
- if INCLUDED, include imports closure.default Stream<OWLNamedIndividual> individualsInSignature(Imports imports)
imports
- if INCLUDED, include imports closure.default Set<OWLAnonymousIndividual> getReferencedAnonymousIndividuals(Imports includeImportsClosure)
includeImportsClosure
- if INCLUDED, include imports closure.default Stream<OWLAnonymousIndividual> referencedAnonymousIndividuals(Imports imports)
imports
- if INCLUDED, include imports closure.default Set<OWLAnonymousIndividual> getReferencedAnonymousIndividuals()
Stream<OWLAnonymousIndividual> referencedAnonymousIndividuals()
default Set<OWLDatatype> getDatatypesInSignature(Imports includeImportsClosure)
includeImportsClosure
- if INCLUDED, include imports closure.default Stream<OWLDatatype> datatypesInSignature(Imports imports)
imports
- if INCLUDED, include imports closure.default Set<OWLAnnotationProperty> getAnnotationPropertiesInSignature(Imports includeImportsClosure)
includeImportsClosure
- if INCLUDED, include imports closure.default Stream<OWLAnnotationProperty> annotationPropertiesInSignature(Imports imports)
imports
- if INCLUDED, include imports closure.default boolean containsEntityInSignature(OWLEntity owlEntity, Imports imports)
owlEntity
- The entityimports
- if INCLUDED, include imports closure.true
if the signature or the import closure contains a reference to the
specified entity.default boolean containsEntityInSignature(IRI entityIRI, Imports imports)
entityIRI
- The IRI to test for.imports
- if INCLUDED, include imports closure.boolean containsClassInSignature(IRI owlClassIRI, Imports includeImportsClosure)
owlClassIRI
- The IRI of the class to check forincludeImportsClosure
- if INCLUDED, include imports closure.boolean containsObjectPropertyInSignature(IRI owlObjectPropertyIRI, Imports includeImportsClosure)
owlObjectPropertyIRI
- The IRI of the OWLObjectProperty to check forincludeImportsClosure
- if INCLUDED, include imports closure.boolean containsDataPropertyInSignature(IRI owlDataPropertyIRI, Imports includeImportsClosure)
owlDataPropertyIRI
- The IRI of the OWLDataProperty to check forincludeImportsClosure
- if INCLUDED, include imports closure.boolean containsAnnotationPropertyInSignature(IRI owlAnnotationPropertyIRI, Imports includeImportsClosure)
owlAnnotationPropertyIRI
- The IRI of the OWLAnnotationProperty to check forincludeImportsClosure
- if INCLUDED, include imports closure.boolean containsDatatypeInSignature(IRI owlDatatypeIRI, Imports includeImportsClosure)
owlDatatypeIRI
- The IRI of the OWLDatatype to check forincludeImportsClosure
- if INCLUDED, include imports closure.boolean containsIndividualInSignature(IRI owlIndividualIRI, Imports includeImportsClosure)
owlIndividualIRI
- The IRI of the OWLNamedIndividual to check forincludeImportsClosure
- if INCLUDED, include imports closure.boolean containsDatatypeInSignature(IRI owlDatatypeIRI)
owlDatatypeIRI
- The IRI of the OWLDatatype to check fordefault boolean containsEntityInSignature(IRI entityIRI)
entityIRI
- The IRI to test for.boolean containsClassInSignature(IRI owlClassIRI)
owlClassIRI
- The IRI of the class to check forboolean containsObjectPropertyInSignature(IRI owlObjectPropertyIRI)
owlObjectPropertyIRI
- The IRI of the OWLObjectProperty to check forboolean containsDataPropertyInSignature(IRI owlDataPropertyIRI)
owlDataPropertyIRI
- The IRI of the OWLDataProperty to check forboolean containsAnnotationPropertyInSignature(IRI owlAnnotationPropertyIRI)
owlAnnotationPropertyIRI
- The IRI of the OWLAnnotationProperty to check forboolean containsIndividualInSignature(IRI owlIndividualIRI)
owlIndividualIRI
- The IRI of the OWLNamedIndividual to check fordefault boolean containsEntitiesOfTypeInSignature(EntityType<?> type)
type
- type of entity to checkdefault boolean containsEntitiesOfTypeInSignature(EntityType<?> type, Imports includeImportsClosure)
type
- type of entity to checkincludeImportsClosure
- if INCLUDED, include imports closure.default Set<OWLEntity> getEntitiesInSignature(IRI iri, Imports includeImportsClosure)
iri
- The IRI of the entities to be retrieved.includeImportsClosure
- if INCLUDED, include imports closure.default Stream<OWLEntity> entitiesInSignature(IRI iri, Imports imports)
iri
- The IRI of the entities to be retrieved.imports
- if INCLUDED, include imports closure.Set<IRI> getPunnedIRIs(Imports includeImportsClosure)
includeImportsClosure
- if INCLUDED, include imports closure.@Deprecated default boolean containsReference(OWLEntity entity, Imports imports)
containsEntityInSignature(OWLEntity, Imports)
entity
- entity to checkimports
- if INCLUDED, include imports closure.@Deprecated boolean containsReference(OWLEntity entity)
entity
- entity to checkCopyright © 2020 The University of Manchester. All rights reserved.