public interface OWLAxiomCollection extends HasAxioms, HasLogicalAxioms, HasAxiomsByType, HasContainsAxiom, HasImportsClosure
| Modifier and Type | Method and Description |
|---|---|
default <T extends OWLAxiom> |
axioms(AxiomType<T> axiomType,
Imports imports)
Gets all axioms of the specified type.
|
default java.util.stream.Stream<OWLAxiom> |
axioms(Imports imports) |
default java.util.stream.Stream<OWLAnnotationAxiom> |
axioms(OWLAnnotationProperty property)
Gets the axioms that form the definition/description of an annotation
property.
|
default java.util.stream.Stream<OWLAnnotationAxiom> |
axioms(OWLAnnotationProperty property,
Imports imports)
Gets the axioms that form the definition/description of an annotation
property.
|
java.util.stream.Stream<OWLClassAxiom> |
axioms(OWLClass cls)
Gets the axioms that form the definition/description of a class.
|
default java.util.stream.Stream<OWLClassAxiom> |
axioms(OWLClass cls,
Imports imports)
Gets the axioms that form the definition/description of a class.
|
java.util.stream.Stream<OWLDataPropertyAxiom> |
axioms(OWLDataProperty property)
Gets the axioms that form the definition/description of a data property.
|
default java.util.stream.Stream<OWLDataPropertyAxiom> |
axioms(OWLDataProperty property,
Imports imports)
Gets the axioms that form the definition/description of a data property.
|
java.util.stream.Stream<OWLDatatypeDefinitionAxiom> |
axioms(OWLDatatype datatype)
Gets the datatype definition axioms for the specified datatype.
|
default java.util.stream.Stream<OWLDatatypeDefinitionAxiom> |
axioms(OWLDatatype datatype,
Imports imports)
Gets the datatype definition axioms for the specified datatype.
|
java.util.stream.Stream<OWLIndividualAxiom> |
axioms(OWLIndividual individual)
Gets the axioms that form the definition/description of an individual.
|
default java.util.stream.Stream<OWLIndividualAxiom> |
axioms(OWLIndividual individual,
Imports imports)
Gets the axioms that form the definition/description of an individual.
|
java.util.stream.Stream<OWLObjectPropertyAxiom> |
axioms(OWLObjectPropertyExpression property)
Gets the axioms that form the definition/description of an object
property.
|
default java.util.stream.Stream<OWLObjectPropertyAxiom> |
axioms(OWLObjectPropertyExpression property,
Imports imports)
Gets the axioms that form the definition/description of an object
property.
|
java.util.stream.Stream<OWLAxiom> |
axiomsIgnoreAnnotations(OWLAxiom axiom)
Gets the set of axioms contained in this collection that have the same
"logical structure" as the specified axiom; i.e., all axioms that equal
the specified axiom, when ignoring annotations.
|
java.util.stream.Stream<OWLAxiom> |
axiomsIgnoreAnnotations(OWLAxiom axiom,
Imports includeImportsClosure)
Gets the set of axioms contained in this collection that have the same
"logical structure" as the specified axiom; i.e., all axioms that equal
the specified axiom, when ignoring annotations.
|
boolean |
containsAxiom(OWLAxiom axiom,
Imports includeImportsClosure,
AxiomAnnotations ignoreAnnotations)
Determines if this ontology contains the specified axiom, optionally
including the imports closure.
|
boolean |
containsAxiomIgnoreAnnotations(OWLAxiom axiom)
Determines if this ontology contains the specified axiom.
|
int |
getAxiomCount() |
<T extends OWLAxiom> |
getAxiomCount(AxiomType<T> axiomType)
Gets the axiom count of a specific type of axiom.
|
<T extends OWLAxiom> |
getAxiomCount(AxiomType<T> axiomType,
Imports includeImportsClosure)
Gets the axiom count of a specific type of axiom, optionally including
the imports closure.
|
int |
getAxiomCount(Imports includeImportsClosure) |
default <T extends OWLAxiom> |
getAxioms(AxiomType<T> axiomType,
Imports includeImportsClosure)
Deprecated.
use the stream method
|
default Set<OWLAxiom> |
getAxioms(Imports includeImportsClosure)
Deprecated.
use the stream method
|
default Set<OWLAnnotationAxiom> |
getAxioms(OWLAnnotationProperty property)
Deprecated.
use the stream method
|
default Set<OWLAnnotationAxiom> |
getAxioms(OWLAnnotationProperty property,
Imports includeImportsClosure)
Deprecated.
use the stream method
|
default Set<OWLClassAxiom> |
getAxioms(OWLClass cls)
Deprecated.
use the stream method
|
default Set<OWLClassAxiom> |
getAxioms(OWLClass cls,
Imports includeImportsClosure)
Deprecated.
use the stream method
|
default Set<OWLDataPropertyAxiom> |
getAxioms(OWLDataProperty property)
Deprecated.
use the stream method
|
default Set<OWLDataPropertyAxiom> |
getAxioms(OWLDataProperty property,
Imports includeImportsClosure)
Deprecated.
use the stream method
|
default Set<OWLDatatypeDefinitionAxiom> |
getAxioms(OWLDatatype datatype)
Deprecated.
use the stream method
|
default Set<OWLDatatypeDefinitionAxiom> |
getAxioms(OWLDatatype datatype,
Imports includeImportsClosure)
Deprecated.
use the stream method
|
default Set<OWLIndividualAxiom> |
getAxioms(OWLIndividual individual)
Deprecated.
use the stream method
|
default Set<OWLIndividualAxiom> |
getAxioms(OWLIndividual individual,
Imports includeImportsClosure)
Deprecated.
use the stream method
|
default Set<OWLObjectPropertyAxiom> |
getAxioms(OWLObjectPropertyExpression property)
Deprecated.
use the stream method
|
default Set<OWLObjectPropertyAxiom> |
getAxioms(OWLObjectPropertyExpression property,
Imports includeImportsClosure)
Deprecated.
use the stream method
|
default Set<OWLAxiom> |
getAxiomsIgnoreAnnotations(OWLAxiom axiom)
Deprecated.
use the stream method
|
default Set<OWLAxiom> |
getAxiomsIgnoreAnnotations(OWLAxiom axiom,
Imports includeImportsClosure)
Deprecated.
use the stream method
|
int |
getLogicalAxiomCount()
Gets the number of logical axioms in this collection.
|
int |
getLogicalAxiomCount(Imports includeImportsClosure)
Gets the number of logical axioms in this collection, optionally
including the imports closure.
|
default Set<OWLLogicalAxiom> |
getLogicalAxioms(Imports includeImportsClosure)
Deprecated.
use the stream method
|
default Set<OWLAxiom> |
getReferencingAxioms(OWLPrimitive owlEntity)
Deprecated.
use the stream method
|
default Set<OWLAxiom> |
getReferencingAxioms(OWLPrimitive owlEntity,
Imports includeImportsClosure)
Deprecated.
use the stream method
|
default java.util.stream.Stream<OWLLogicalAxiom> |
logicalAxioms(Imports imports)
Gets all axioms semantically relevant, i.e., all axioms that are not
annotation axioms or declaration axioms.
|
java.util.stream.Stream<OWLAxiom> |
referencingAxioms(OWLPrimitive owlEntity)
Gets the axioms where the specified
OWLPrimitive appears in the
signature of the axiom.Note that currently signatures contain OWLEntity only. |
default java.util.stream.Stream<OWLAxiom> |
referencingAxioms(OWLPrimitive owlEntity,
Imports imports)
Gets the axioms where the specified
OWLPrimitive appears in the
signature of the axiom.Note that currently signatures contain OWLEntity only. |
getLogicalAxioms, logicalAxiomsaxioms, equalAxioms, getAxiomscontainsAxiomgetImportsClosure, importsClosure@Deprecated default Set<OWLAxiom> getAxioms(Imports includeImportsClosure)
includeImportsClosure - if INCLUDED, include imports closure.default java.util.stream.Stream<OWLAxiom> axioms(Imports imports)
imports - if INCLUDED, include imports closure.int getAxiomCount()
int getAxiomCount(Imports includeImportsClosure)
includeImportsClosure - if INCLUDED, include imports closure.@Deprecated default Set<OWLLogicalAxiom> getLogicalAxioms(Imports includeImportsClosure)
includeImportsClosure - if INCLUDED, include imports closure.OWLLogicalAxiom,
optionally including the imports closure. The set that is
returned is a copy of the data.default java.util.stream.Stream<OWLLogicalAxiom> logicalAxioms(Imports imports)
imports - if INCLUDED, include imports closure.OWLLogicalAxiom,
optionally including the imports closure.int getLogicalAxiomCount()
int getLogicalAxiomCount(Imports includeImportsClosure)
includeImportsClosure - if INCLUDED, include imports closure.@Deprecated default <T extends OWLAxiom> Set<T> getAxioms(AxiomType<T> axiomType, Imports includeImportsClosure)
T - axiom typeaxiomType - The type of axioms to be retrived.includeImportsClosure - if INCLUDED, include imports closure.default <T extends OWLAxiom> java.util.stream.Stream<T> axioms(AxiomType<T> axiomType, Imports imports)
T - axiom typeaxiomType - The type of axioms to be retrived.imports - if INCLUDED, include imports closure.<T extends OWLAxiom> int getAxiomCount(AxiomType<T> axiomType)
T - axiom type classaxiomType - The type of axiom to count<T extends OWLAxiom> int getAxiomCount(AxiomType<T> axiomType, Imports includeImportsClosure)
T - axiom typeaxiomType - The type of axiom to countincludeImportsClosure - if INCLUDED, include imports closure.boolean containsAxiom(OWLAxiom axiom, Imports includeImportsClosure, AxiomAnnotations ignoreAnnotations)
axiom - The axiom to search.includeImportsClosure - if INCLUDED, include imports closure.ignoreAnnotations - if IGNORE_ANNOTATIONS, annotations are ignored when searching for
the axiom. For example, if the collection contains
SubClassOf(Annotation(p V) A B) then this method will
return true if the ontology contains
SubClassOf(A B) or SubClassOf(Annotation(q S) A B)
for any annotation property q and any annotation value
S.true if the ontology contains the specified axiom.boolean containsAxiomIgnoreAnnotations(OWLAxiom axiom)
axiom - The axiom to search.true if the ontology contains the specified axiom.@Deprecated default Set<OWLAxiom> getAxiomsIgnoreAnnotations(OWLAxiom axiom)
axiom - The axiom that the returned axioms must equal, ignoring
annotations.axiomA
and axiomB in the set,
axiomA.getAxiomWithoutAnnotations() is equal to
axiomB.getAxiomWithoutAnnotations(). The specified axiom
will be contained in the set.@Deprecated default Set<OWLAxiom> getAxiomsIgnoreAnnotations(OWLAxiom axiom, Imports includeImportsClosure)
axiom - The axiom that the returned axioms must equal, ignoring
annotations.includeImportsClosure - if INCLUDED, include imports closure.axiomA
and axiomB in the set,
axiomA.getAxiomWithoutAnnotations() is equal to
axiomB.getAxiomWithoutAnnotations(). The specified axiom
will be contained in the set.java.util.stream.Stream<OWLAxiom> axiomsIgnoreAnnotations(OWLAxiom axiom)
axiom - The axiom that the returned axioms must equal, ignoring
annotations.axiomA
and axiomB in the set,
axiomA.getAxiomWithoutAnnotations() is equal to
axiomB.getAxiomWithoutAnnotations(). The specified axiom
will be contained in the set.java.util.stream.Stream<OWLAxiom> axiomsIgnoreAnnotations(OWLAxiom axiom, Imports includeImportsClosure)
axiom - The axiom that the returned axioms must equal, ignoring
annotations.includeImportsClosure - if INCLUDED, include imports closure.axiomA
and axiomB in the set,
axiomA.getAxiomWithoutAnnotations() is equal to
axiomB.getAxiomWithoutAnnotations(). The specified axiom
will be contained in the set.@Deprecated default Set<OWLAxiom> getReferencingAxioms(OWLPrimitive owlEntity)
OWLPrimitive appears in the
signature of the axiom.OWLEntity only. This
method accepts OWLPrimitive so that also anonymous individuals, literals,
IRIs and annotation values can be passed in, although they are not
included in the axioms' signatures.owlEntity - The entity that should be directly referred to by all axioms in
the results set.java.util.stream.Stream<OWLAxiom> referencingAxioms(OWLPrimitive owlEntity)
OWLPrimitive appears in the
signature of the axiom.OWLEntity only. This
method accepts OWLPrimitive so that also anonymous individuals, literals,
IRIs and annotation values can be passed in, although they are not
included in the axioms' signatures.owlEntity - The entity that should be directly referred to by all axioms in
the results set.@Deprecated default Set<OWLAxiom> getReferencingAxioms(OWLPrimitive owlEntity, Imports includeImportsClosure)
OWLPrimitive appears in the
signature of the axiom.OWLEntity only. This
method accepts OWLPrimitive so that also anonymous individuals, literals,
IRIs and annotation values can be passed in, although they are not
included in the axioms' signatures.owlEntity - The entity that should be directly referred to by all axioms in
the results set.includeImportsClosure - if INCLUDED, include imports closure.default java.util.stream.Stream<OWLAxiom> referencingAxioms(OWLPrimitive owlEntity, Imports imports)
OWLPrimitive appears in the
signature of the axiom.OWLEntity only. This
method accepts OWLPrimitive so that also anonymous individuals, literals,
IRIs and annotation values can be passed in, although they are not
included in the axioms' signatures.owlEntity - The entity that should be directly referred to by all axioms in
the results set.imports - if INCLUDED, include imports closure.@Deprecated default Set<OWLClassAxiom> getAxioms(OWLClass cls)
cls - The class whose describing axioms are to be retrieved.java.util.stream.Stream<OWLClassAxiom> axioms(OWLClass cls)
cls - The class whose describing axioms are to be retrieved.@Deprecated default Set<OWLClassAxiom> getAxioms(OWLClass cls, Imports includeImportsClosure)
cls - The class whose describing axioms are to be retrieved.includeImportsClosure - if INCLUDED, include imports closure.default java.util.stream.Stream<OWLClassAxiom> axioms(OWLClass cls, Imports imports)
cls - The class whose describing axioms are to be retrieved.imports - if INCLUDED, include imports closure.@Deprecated default Set<OWLObjectPropertyAxiom> getAxioms(OWLObjectPropertyExpression property)
property - The property whose defining axioms are to be retrieved.java.util.stream.Stream<OWLObjectPropertyAxiom> axioms(OWLObjectPropertyExpression property)
property - The property whose defining axioms are to be retrieved.@Deprecated default Set<OWLObjectPropertyAxiom> getAxioms(OWLObjectPropertyExpression property, Imports includeImportsClosure)
property - The property whose defining axioms are to be retrieved.includeImportsClosure - if INCLUDED, include imports closure.default java.util.stream.Stream<OWLObjectPropertyAxiom> axioms(OWLObjectPropertyExpression property, Imports imports)
property - The property whose defining axioms are to be retrieved.imports - if INCLUDED, include imports closure.@Deprecated default Set<OWLDataPropertyAxiom> getAxioms(OWLDataProperty property)
property - The property whose defining axioms are to be retrieved.java.util.stream.Stream<OWLDataPropertyAxiom> axioms(OWLDataProperty property)
property - The property whose defining axioms are to be retrieved.@Deprecated default Set<OWLDataPropertyAxiom> getAxioms(OWLDataProperty property, Imports includeImportsClosure)
property - The property whose defining axioms are to be retrieved.includeImportsClosure - if INCLUDED, include imports closure.default java.util.stream.Stream<OWLDataPropertyAxiom> axioms(OWLDataProperty property, Imports imports)
property - The property whose defining axioms are to be retrieved.imports - if INCLUDED, include imports closure.@Deprecated default Set<OWLIndividualAxiom> getAxioms(OWLIndividual individual)
individual - The individual whose defining axioms are to be retrieved.java.util.stream.Stream<OWLIndividualAxiom> axioms(OWLIndividual individual)
individual - The individual whose defining axioms are to be retrieved.@Deprecated default Set<OWLIndividualAxiom> getAxioms(OWLIndividual individual, Imports includeImportsClosure)
individual - The individual whose defining axioms are to be retrieved.includeImportsClosure - if INCLUDED, include imports closure.default java.util.stream.Stream<OWLIndividualAxiom> axioms(OWLIndividual individual, Imports imports)
individual - The individual whose defining axioms are to be retrieved.imports - if INCLUDED, include imports closure.@Deprecated default Set<OWLAnnotationAxiom> getAxioms(OWLAnnotationProperty property)
property - The property whose definition axioms are to be retrieveddefault java.util.stream.Stream<OWLAnnotationAxiom> axioms(OWLAnnotationProperty property)
property - The property whose definition axioms are to be retrieved@Deprecated default Set<OWLAnnotationAxiom> getAxioms(OWLAnnotationProperty property, Imports includeImportsClosure)
property - The property whose definition axioms are to be retrievedincludeImportsClosure - if INCLUDED, include imports closure.default java.util.stream.Stream<OWLAnnotationAxiom> axioms(OWLAnnotationProperty property, Imports imports)
property - The property whose definition axioms are to be retrievedimports - if INCLUDED, include imports closure.@Deprecated default Set<OWLDatatypeDefinitionAxiom> getAxioms(OWLDatatype datatype)
datatype - The datatypejava.util.stream.Stream<OWLDatatypeDefinitionAxiom> axioms(OWLDatatype datatype)
datatype - The datatype@Deprecated default Set<OWLDatatypeDefinitionAxiom> getAxioms(OWLDatatype datatype, Imports includeImportsClosure)
datatype - The datatypeincludeImportsClosure - if INCLUDED, include imports closure.default java.util.stream.Stream<OWLDatatypeDefinitionAxiom> axioms(OWLDatatype datatype, Imports imports)
datatype - The datatypeimports - if INCLUDED, include imports closure.Copyright © 2017 The University of Manchester. All Rights Reserved.