public class OWLSameIndividualAxiomImpl extends OWLNaryIndividualAxiomImpl implements OWLSameIndividualAxiom
Constructor and Description |
---|
OWLSameIndividualAxiomImpl(List<OWLIndividual> individuals,
Collection<OWLAnnotation> annotations) |
Modifier and Type | Method and Description |
---|---|
Set<OWLSubClassOfAxiom> |
asOWLSubClassOfAxioms() |
Collection<OWLSameIndividualAxiom> |
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 |
containsAnonymousIndividuals()
Determines whether this axiom contains anonymous individuals.
|
<T extends OWLAxiom> |
getAnnotatedAxiom(Stream<OWLAnnotation> anns)
Gets a copy of this axiom that is annotated with the specified annotations.
|
OWLSameIndividualAxiom |
getAxiomWithoutAnnotations()
Gets an axiom that is structurally equivalent to this axiom without annotations.
|
Collection<OWLSameIndividualAxiom> |
splitToAnnotatedPairs()
Splits this axiom to pairs, including annotations.
|
getIndividualsAsList, getOperandsAsList, individuals
annotations, annotationsAsList, getNNF, isAnnotated
annotationPropertiesInSignature, anonymousIndividuals, classesInSignature, compareTo, containsEntityInSignature, dataPropertiesInSignature, datatypesInSignature, equals, hashCode, individualsInSignature, nestedClassExpressions, objectPropertiesInSignature, signature, toString
accept, accept, accept, accept, getAxiomType, hashIndex
components, componentsAnnotationsFirst, componentsWithoutAnnotations, getIndividuals, getIndividualsAsList, individuals, initHashCode, operands
isLogicalAxiom
equalsIgnoreAnnotations, getAnnotatedAxiom, getAnnotatedAxiom, getAnnotatedAxiom, getAnnotatedAxiom, getAxiomWithoutAnnotations, getAxiomWithoutAnnotations, getNNF, isAnnotated, isAnnotationAxiom, isAxiom, isIndividual, isOfType, isOfType, isOfType, typeIndex
getNestedClassExpressions, hashIteration, hasSharedStructure, isAnonymousExpression, isBottomEntity, isIRI, isOntology, isTopEntity, nestedClassExpressions
compareTo
getSignature, signature, unsortedSignature
containsEntityInSignature
anonymousIndividuals, getAnonymousIndividuals
classesInSignature, getClassesInSignature
getObjectPropertiesInSignature, objectPropertiesInSignature
dataPropertiesInSignature, getDataPropertiesInSignature
getIndividualsInSignature, individualsInSignature
datatypesInSignature, getDatatypesInSignature
annotationPropertiesInSignature, getAnnotationPropertiesInSignature
isAnonymous, isNamed
annotations, annotations, annotations, annotationsAsList, getAnnotations, getAnnotations
allMatch, allMatchAllPairs, anyMatch, anyMatchAllPairs, forEach, forEachAllPairs, walkAllPairwise, walkPairwise
getOperandsAsList
addAnonymousIndividualsToSet, addSignatureEntitiesToSet
public OWLSameIndividualAxiomImpl(List<OWLIndividual> individuals, Collection<OWLAnnotation> annotations)
individuals
- individuals (list must be sorted in the factory)annotations
- annotations on the axiompublic OWLSameIndividualAxiom getAxiomWithoutAnnotations()
OWLAxiom
getAxiomWithoutAnnotations
in interface OWLAxiom
getAxiomWithoutAnnotations
in interface OWLSameIndividualAxiom
public <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns)
OWLAxiom
getAnnotatedAxiom
in interface OWLAxiom
T
- typeanns
- The annotations that will be added to existing annotations to annotate the
copy of this axiomOWLAxiom#getAnnotations()
method.public Collection<OWLSameIndividualAxiom> asPairwiseAxioms()
OWLNaryAxiom
asPairwiseAxioms
in interface OWLNaryAxiom<OWLIndividual>
asPairwiseAxioms
in interface OWLSameIndividualAxiom
public Collection<OWLSameIndividualAxiom> splitToAnnotatedPairs()
OWLNaryAxiom
splitToAnnotatedPairs
in interface OWLNaryAxiom<OWLIndividual>
splitToAnnotatedPairs
in interface OWLSameIndividualAxiom
public boolean containsAnonymousIndividuals()
OWLSameIndividualAxiom
containsAnonymousIndividuals
in interface OWLSameIndividualAxiom
true
if this axioms contains anonymous individual axiomspublic Set<OWLSubClassOfAxiom> asOWLSubClassOfAxioms()
asOWLSubClassOfAxioms
in interface OWLSubClassOfAxiomSetShortCut
Copyright © 2020 The University of Manchester. All rights reserved.