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
buildInverseObjectProperty()
through getNewInverseObjectProperty(Object, Object)
.public static interface ObjectProperty.Inverse<O,J,D extends ObjectProperty<O,J>> extends ObjectProperty<O,J>
Semantic.Descriptor
for inverse object properties.
This Semantic.Descriptor
synchronises the inverse 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> |
buildInverseObjectProperty()
Create an
Semantic.Descriptor set where each element
represents the inverse object property of this property. |
Semantic.Axioms<J> |
getInverseObjectProperty()
Returns the
Semantic.Axioms that describes all the inverse object properties of
this grounded ObjectProperty ; from a no OOP point of view. |
D |
getNewInverseObjectProperty(J instance,
O ontology)
This method is called by
buildInverseObjectProperty() and
its purpose is to instantiate a new ObjectProperty to represent
an inverse property of this ObjectProperty Semantic.Descriptor . |
Semantic.Axioms<J> |
queryInverseObjectProperty()
Queries to the OWL representation for the inverse 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> |
synchroniseInverseObjectPropertyFromSemantic()
It calls
Semantic.SemanticAxioms.synchroniseFrom(Axioms) with queryInverseObjectProperty()
as input parameter. |
default Semantic.Axioms.SynchronisationIntent<J> |
synchroniseInverseObjectPropertyToSemantic()
It calls
Semantic.Axioms.synchroniseTo(Axioms) with queryInverseObjectProperty()
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> buildInverseObjectProperty()
Semantic.Descriptor
set where each element
represents the inverse object property of this
property.
Each of ObjectProperty
s are instantiated
through the method getNewInverseObjectProperty(Object, Object)
;
this is called for all getInverseObjectProperty()
.ObjectProperty
s that describes the
inverse relations of this
described ontological property.D getNewInverseObjectProperty(J instance, O ontology)
buildInverseObjectProperty()
and
its purpose is to instantiate a new ObjectProperty
to represent
an inverse property of this
ObjectProperty
Semantic.Descriptor
.instance
- the instance to ground the new inverse ObjectProperty
.ontology
- the ontology in which ground the new ObjectProperty
.Semantic.Descriptor
for all the inverse properties
of the one described by this
interface.Semantic.Axioms<J> getInverseObjectProperty()
Semantic.Axioms
that describes all the inverse object properties of
this
grounded ObjectProperty
; from a no OOP point of view.this
described property.Semantic.Axioms<J> queryInverseObjectProperty()
this
object property.Semantic.Axioms
contained the inverse properties of Semantic.Descriptor.getInstance()
,
into the OWL structure.default Semantic.Axioms.SynchronisationIntent<J> synchroniseInverseObjectPropertyToSemantic()
Semantic.Axioms.synchroniseTo(Axioms)
with queryInverseObjectProperty()
as input parameter. This computes the changes to be performed in the OWL representation
for synchronise it with respect to getInverseObjectProperty()
. This should
be done by Semantic.Descriptor.writeSemantic()
.this
structure with
the inverse properties of Semantic.Descriptor.getInstance()
; to the OWL representation.default Semantic.Axioms.SynchronisationIntent<J> synchroniseInverseObjectPropertyFromSemantic()
Semantic.SemanticAxioms.synchroniseFrom(Axioms)
with queryInverseObjectProperty()
as input parameter. This computes the changes to be performed into the getInverseObjectProperty()
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
.