Interface OWLInverseObjectPropertiesAxiom

All Superinterfaces:
Comparable<OWLObject>, HasAnnotationPropertiesInSignature, HasAnnotations, HasAnonymousIndividuals, HasClassesInSignature, HasComponents, HasContainsEntityInSignature, HasDataPropertiesInSignature, HasDatatypesInSignature, HasHashIndex, HasIndex, HasIndividualsInSignature, HasObjectPropertiesInSignature, HasOperands<OWLObjectPropertyExpression>, HasSignature, IsAnonymous, OWLAxiom, OWLLogicalAxiom, OWLNaryAxiom<OWLObjectPropertyExpression>, OWLNaryPropertyAxiom<OWLObjectPropertyExpression>, OWLObject, OWLObjectPropertyAxiom, OWLPropertyAxiom, Serializable
All Known Implementing Classes:
OWLInverseObjectPropertiesAxiomImpl

public interface OWLInverseObjectPropertiesAxiom extends OWLNaryPropertyAxiom<OWLObjectPropertyExpression>, OWLObjectPropertyAxiom
Represents an InverseObjectProperties axiom in the OWL 2 Specification.
Represents a statement that two properties are the inverse of each other. This property axiom contains a set of two properties. inverseOf(P, Q) is considered to be equal to inverseOf(Q, P) - i.e. the order in which the properties are specified isn't important.
Since:
2.0.0
Author:
Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
  • Method Details

    • getAxiomWithoutAnnotations

      OWLInverseObjectPropertiesAxiom getAxiomWithoutAnnotations()
      Description copied from interface: OWLAxiom
      Gets an axiom that is structurally equivalent to this axiom without annotations. This essentially returns a version of this axiom stripped of any annotations.
      Specified by:
      getAxiomWithoutAnnotations in interface OWLAxiom
      Returns:
      The axiom without annotations
    • hashIndex

      default int hashIndex()
      Specified by:
      hashIndex in interface HasHashIndex
      Returns:
      index for this type. This is not a hashcode for instances, rather a hashcode for the types.
    • asPairwiseAxioms

      Description copied from interface: OWLNaryAxiom
      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. Note that, aside from this exception, annotations on this axiom will not be copied to each axiom returned in the set of pairwise axioms.
      Note: This will contain all pairs, i.e., for the set "a, b, c" the pairs "a, b", "a, c", "b, c" will be returned. For some applications, only "a, b", "b, c" are required.
      Specified by:
      asPairwiseAxioms in interface OWLNaryAxiom<OWLObjectPropertyExpression>
      Returns:
      This axiom as a set of pairwise axioms.
    • splitToAnnotatedPairs

      Description copied from interface: OWLNaryAxiom
      Splits this axiom to pairs, including annotations. This method implements the process described at http://www.w3.org/TR/owl2-mapping-to-rdf/# Axioms_that_are_Translated_to_Multiple_Triples which is used, for example, in serializing EquivalentProperty axioms with three operands. Note that annotations on this axiom will be copied to each axiom returned in the set of pairwise axioms. Note: This will contain only the "An, An+1" pairs, i.e., for the set "a, b, c" the pairs "a, b" and "b, c" will be returned, but not "a, c".
      Specified by:
      splitToAnnotatedPairs in interface OWLNaryAxiom<OWLObjectPropertyExpression>
      Returns:
      This axiom as a set of pairwise axioms, annotations included.
    • getFirstProperty

      OWLObjectPropertyExpression getFirstProperty()
      Returns:
      the first of the two object properties.
    • getSecondProperty

      OWLObjectPropertyExpression getSecondProperty()
      Returns:
      the second of the two object properties.
    • asSubObjectPropertyOfAxioms

      Collection<OWLSubObjectPropertyOfAxiom> asSubObjectPropertyOfAxioms()
      Returns:
      the set of subproperty axioms equivalent
    • accept

      default void accept(OWLObjectVisitor visitor)
      Description copied from interface: OWLObject
      Accepts a visitor
      Specified by:
      accept in interface OWLObject
      Parameters:
      visitor - The visitor
    • accept

      default <O> O accept(OWLObjectVisitorEx<O> visitor)
      Description copied from interface: OWLObject
      Accepts a visitor
      Specified by:
      accept in interface OWLObject
      Type Parameters:
      O - visitor return type
      Parameters:
      visitor - The visitor
      Returns:
      visitor value
    • accept

      default void accept(OWLAxiomVisitor visitor)
      Specified by:
      accept in interface OWLAxiom
      Parameters:
      visitor - visitor to accept
    • accept

      default <O> O accept(OWLAxiomVisitorEx<O> visitor)
      Specified by:
      accept in interface OWLAxiom
      Type Parameters:
      O - visitor return type
      Parameters:
      visitor - visitor to accept
      Returns:
      visitor value
    • getAxiomType

      default AxiomType<?> getAxiomType()
      Description copied from interface: OWLAxiom
      Gets the axiom type for this axiom.
      Specified by:
      getAxiomType in interface OWLAxiom
      Returns:
      The axiom type that corresponds to the type of this axiom.