O
- the type of ontology in which the axioms for classes will be applied.J
- the type of the described data property
(it also represents the type of Semantic.Axioms
managed by this Semantic.Descriptor
.D
- the type of the DataProperty
descriptor instantiated during
buildEquivalentDataProperty()
through getNewEquivalentDataProperty(Object, Object)
.public static interface DataProperty.Equivalent<O,J,D extends DataProperty<O,J>> extends DataProperty<O,J>
Semantic.Descriptor
for equivalent data properties.
This Semantic.Descriptor
synchronises the equivalent data properties of this
property (i.e.: the Semantic.Ground.getGroundInstance()
).
DataProperty.Disjoint<O,J,D extends DataProperty<O,J>>, DataProperty.Domain<O,J,Y>, DataProperty.Equivalent<O,J,D extends DataProperty<O,J>>, DataProperty.Range<O,J,Y>, DataProperty.Sub<O,J,D extends DataProperty<O,J>>, DataProperty.Super<O,J,D extends DataProperty<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> |
buildEquivalentDataProperty()
Create an
Semantic.Descriptor set where each element
represents the disjointed data property of this property. |
Semantic.Axioms<J> |
getEquivalentDataProperty()
Returns the
Semantic.Axioms that describes all the equivalent data properties of
this grounded DataProperty ; from a no OOP point of view. |
D |
getNewEquivalentDataProperty(J instance,
O ontology)
This method is called by
buildEquivalentDataProperty() and
its purpose is to instantiate a new DataProperty to represent
an equivalent property of this DataProperty Semantic.Descriptor . |
Semantic.Axioms<J> |
queryEquivalentDataProperty()
Queries to the OWL representation for the equivalent properties of
this data 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> |
synchroniseEquivalentDataPropertyFromSemantic()
It calls
Semantic.SemanticAxioms.synchroniseFrom(Axioms) with queryEquivalentDataProperty()
as input parameter. |
default Semantic.Axioms.SynchronisationIntent<J> |
synchroniseEquivalentDataPropertyToSemantic()
It calls
Semantic.Axioms.synchroniseTo(Axioms) with queryEquivalentDataProperty()
as input parameter. |
setFunctional, setNotFunctional
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> buildEquivalentDataProperty()
Semantic.Descriptor
set where each element
represents the disjointed data property of this
property.
Each of DataProperty
s are instantiated
through the method getNewEquivalentDataProperty(Object, Object)
;
this is called for all getEquivalentDataProperty()
.DataProperty
s that describes the
equivalent relations of this
described ontological property.D getNewEquivalentDataProperty(J instance, O ontology)
buildEquivalentDataProperty()
and
its purpose is to instantiate a new DataProperty
to represent
an equivalent property of this
DataProperty
Semantic.Descriptor
.instance
- the instance to ground the new equivalent DataProperty
.ontology
- the ontology in which ground the new DataProperty
.Semantic.Descriptor
for all the equivalent properties
of the one described by this
interface.Semantic.Axioms<J> getEquivalentDataProperty()
Semantic.Axioms
that describes all the equivalent data properties of
this
grounded DataProperty
; from a no OOP point of view.this
described property.Semantic.Axioms<J> queryEquivalentDataProperty()
this
data property.Semantic.Axioms
contained the equivalent properties of Semantic.Descriptor.getInstance()
,
into the OWL structure.default Semantic.Axioms.SynchronisationIntent<J> synchroniseEquivalentDataPropertyToSemantic()
Semantic.Axioms.synchroniseTo(Axioms)
with queryEquivalentDataProperty()
as input parameter. This computes the changes to be performed in the OWL representation
for synchronise it with respect to getEquivalentDataProperty()
. 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> synchroniseEquivalentDataPropertyFromSemantic()
Semantic.SemanticAxioms.synchroniseFrom(Axioms)
with queryEquivalentDataProperty()
as input parameter. This computes the changes to be performed into the getEquivalentDataProperty()
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
.