O
- the type of ontology in which the axioms for classes will be applied.J
- the type of the described object property
(it also represents the type of Semantic.Axioms
managed by this Semantic.Descriptor
.D
- the type of the ObjectProperty
descriptor instantiated during
buildEquivalentObjectProperty()
through getNewEquivalentObjectProperty(Object, Object)
.public static interface ObjectProperty.Equivalent<O,J,D extends ObjectProperty<O,J>> extends ObjectProperty<O,J>
Semantic.Descriptor
for equivalent object properties.
This Semantic.Descriptor
synchronises the equivalent object properties of this
property (i.e.: the Semantic.Ground.getGroundInstance()
).
ObjectProperty.Disjoint<O,J,D extends ObjectProperty<O,J>>, ObjectProperty.Domain<O,J,Y>, ObjectProperty.Equivalent<O,J,D extends ObjectProperty<O,J>>, ObjectProperty.Inverse<O,J,D extends ObjectProperty<O,J>>, ObjectProperty.Range<O,J,Y>, ObjectProperty.Sub<O,J,D extends ObjectProperty<O,J>>, ObjectProperty.Super<O,J,D extends ObjectProperty<O,J>>
Semantic.Axioms<Y>, Semantic.Descriptor<O,J>, Semantic.Ground<O,J>, Semantic.MappingIntent<I extends Semantic.Ground,C>, Semantic.SemanticAxiom<S,Y>, Semantic.SemanticAxioms<F extends Semantic.SemanticAxiom<?,Y>,Y>
Modifier and Type | Method and Description |
---|---|
default java.util.Set<D> |
buildEquivalentObjectProperty()
Create an
Semantic.Descriptor set where each element
represents the disjointed object property of this property. |
Semantic.Axioms<J> |
getEquivalentObjectProperty()
Returns the
Semantic.Axioms that describes all the equivalent object properties of
this grounded ObjectProperty ; from a no OOP point of view. |
D |
getNewEquivalentObjectProperty(J instance,
O ontology)
This method is called by
buildEquivalentObjectProperty() and
its purpose is to instantiate a new ObjectProperty to represent
an equivalent property of this ObjectProperty Semantic.Descriptor . |
Semantic.Axioms<J> |
queryEquivalentObjectProperty()
Queries to the OWL representation for the equivalent properties of
this object property. |
default java.util.List<Semantic.MappingIntent> |
readSemantic()
This method is used to synchronise specific
Semantic.Axioms (or Semantic.SemanticAxioms )
from the ontology. |
default Semantic.Axioms.SynchronisationIntent<J> |
synchroniseEquivalentObjectPropertyFromSemantic()
It calls
Semantic.SemanticAxioms.synchroniseFrom(Axioms) with queryEquivalentObjectProperty()
as input parameter. |
default Semantic.Axioms.SynchronisationIntent<J> |
synchroniseEquivalentObjectPropertyToSemantic()
It calls
Semantic.Axioms.synchroniseTo(Axioms) with queryEquivalentObjectProperty()
as input parameter. |
setAsymmetric, setFunctional, setInverseFunctional, setIrreflexive, setNotAsymmetric, setNotFunctional, setNotInverseFunctional, setNotIrreflexive, setNotReflexive, setNotSymmetric, setNotTransitive, setReflexive, setSymmetric, setTransitive
getChangingIntent, getGround, getInstance, getIntent, getOntology, groundReason, writeSemantic, writeSemanticInconsistencySafe, writeSemanticInconsistencySafe
default java.util.List<Semantic.MappingIntent> readSemantic()
Semantic.Descriptor
Semantic.Axioms
(or Semantic.SemanticAxioms
)
from the ontology. It manipulates the OWLLOOP representation to be
equal to the queried OWL structure. It is based on Axioms#synchroniseFrom(Axioms)
.readSemantic
in interface Semantic.Descriptor<O,J>
Semantic.Axioms
during the reading.
Those objects may not have the Semantic.MappingIntent.getOntologyChanges()
field
initialised (i.e.: Void
).default java.util.Set<D> buildEquivalentObjectProperty()
Semantic.Descriptor
set where each element
represents the disjointed object property of this
property.
Each of ObjectProperty
s are instantiated
through the method getNewEquivalentObjectProperty(Object, Object)
;
this is called for all getEquivalentObjectProperty()
.ObjectProperty
s that describes the
equivalent relations of this
described ontological property.D getNewEquivalentObjectProperty(J instance, O ontology)
buildEquivalentObjectProperty()
and
its purpose is to instantiate a new ObjectProperty
to represent
an equivalent property of this
ObjectProperty
Semantic.Descriptor
.instance
- the instance to ground the new equivalent ObjectProperty
.ontology
- the ontology in which ground the new ObjectProperty
.Semantic.Descriptor
for all the equivalent properties
of the one described by this
interface.Semantic.Axioms<J> getEquivalentObjectProperty()
Semantic.Axioms
that describes all the equivalent object properties of
this
grounded ObjectProperty
; from a no OOP point of view.this
described property.Semantic.Axioms<J> queryEquivalentObjectProperty()
this
object property.Semantic.Axioms
contained the equivalent properties of Semantic.Descriptor.getInstance()
,
into the OWL structure.default Semantic.Axioms.SynchronisationIntent<J> synchroniseEquivalentObjectPropertyToSemantic()
Semantic.Axioms.synchroniseTo(Axioms)
with queryEquivalentObjectProperty()
as input parameter. This computes the changes to be performed in the OWL representation
for synchronise it with respect to getEquivalentObjectProperty()
. This should
be done by Semantic.Descriptor.writeSemantic()
.this
structure with
the equivalent properties of Semantic.Descriptor.getInstance()
; to the OWL representation.default Semantic.Axioms.SynchronisationIntent<J> synchroniseEquivalentObjectPropertyFromSemantic()
Semantic.SemanticAxioms.synchroniseFrom(Axioms)
with queryEquivalentObjectProperty()
as input parameter. This computes the changes to be performed into the getEquivalentObjectProperty()
in order to synchronise it with respect to an OWL representation. This is
be done by readSemantic()
.Semantic.Descriptor.getInstance()
;
from an OWL representation to this
Semantic.Descriptor
.