public interface OWLEquivalentClassesAxiom extends OWLNaryClassAxiom
Modifier and Type | Method and Description |
---|---|
Set<OWLEquivalentClassesAxiom> |
asPairwiseAxioms()
Gets this axiom as a set of pairwise axioms; if the axiom contains only two operands,
the axiom itself is returned unchanged, including its annotations.
|
boolean |
containsNamedEquivalentClass()
Determines if this equivalent classes axiom contains at least one named
class (excluding owl:Thing or owl:Nothing).
|
boolean |
containsOWLNothing()
Determines if this class axiom makes a class expression equivalent to
nothing.
|
boolean |
containsOWLThing()
Determines if this class axiom makes a class expression equivalent to
thing.
|
OWLEquivalentClassesAxiom |
getAxiomWithoutAnnotations()
Gets an axiom that is structurally equivalent to this axiom without annotations.
|
Set<OWLClass> |
getNamedClasses()
Gets the named classes (excluding owl:Thing and owl:Nothing) that are in
this equivalent classes axiom.
|
Set<OWLEquivalentClassesAxiom> |
splitToAnnotatedPairs()
Splits this axiom to pairs, including annotations.
|
contains, getClassExpressions, getClassExpressionsAsList, getClassExpressionsMinus
accept, accept, equalsIgnoreAnnotations, getAnnotatedAxiom, getAnnotations, getAnnotations, getAxiomType, getNNF, isAnnotated, isAnnotationAxiom, isLogicalAxiom, isOfType, isOfType
accept, accept, getNestedClassExpressions, isBottomEntity, isIndividual, isIRI, isTopEntity, toString
compareTo
getSignature
containsEntityInSignature
getAnonymousIndividuals
getClassesInSignature
getObjectPropertiesInSignature
getDataPropertiesInSignature
getIndividualsInSignature
getDatatypesInSignature
getAnnotationPropertiesInSignature
isAnonymous, isNamed
walkPairwise
asOWLSubClassOfAxioms
boolean containsNamedEquivalentClass()
true
if the axiom contains at least one named class
otherwise false
. Note that this method will return
false
if the only named classes are owl:Thing or
owl:Nothing.@Nonnull Set<OWLClass> getNamedClasses()
boolean containsOWLNothing()
true
if this axiom contains owl:Nothing as an equivalent
class.boolean containsOWLThing()
true
if this axioms contains owl:Thing as an equivalent
class.@Nonnull Set<OWLEquivalentClassesAxiom> asPairwiseAxioms()
OWLNaryAxiom
asPairwiseAxioms
in interface OWLNaryAxiom<OWLClassExpression>
@Nonnull Set<OWLEquivalentClassesAxiom> splitToAnnotatedPairs()
OWLNaryAxiom
splitToAnnotatedPairs
in interface OWLNaryAxiom<OWLClassExpression>
@Nonnull OWLEquivalentClassesAxiom getAxiomWithoutAnnotations()
OWLAxiom
getAxiomWithoutAnnotations
in interface OWLAxiom
Copyright © 2020 The University of Manchester. All rights reserved.