public static interface MORDataProperty.Range extends DataProperty.Range<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,it.emarolab.amor.owlInterface.SemanticRestriction>, MORDataProperty
DataProperty.Range
Semantic.Descriptor
implementation for OWLDataProperty
.
It specify how to queryRangeDataProperty()
and writeSemantic()
for the
range restriction (i.e.: SemanticRestriction
) of the one described
by this class (i.e.: Semantic.Descriptor.getInstance()
).
MORDataProperty.Disjoint<D extends MORDataProperty>, MORDataProperty.Domain, MORDataProperty.Equivalent<D extends MORDataProperty>, MORDataProperty.Range, MORDataProperty.Sub<D extends MORDataProperty>, MORDataProperty.Super<D extends MORDataProperty>
MORGrounding.ConceptInstance, MORGrounding.DataInstance, MORGrounding.GroundBase<J extends org.semanticweb.owlapi.model.OWLObject>, MORGrounding.IndividualInstance, MORGrounding.ObjectInstance
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 boolean |
addRangeDataRestriction(java.lang.Class dataType)
Adds a new restriction to the described
Semantic.Axioms
(i.e.: getRangeDataProperty() )
based on rangeDataRestriction(Class) . |
MORAxioms.Restrictions |
getRangeDataProperty()
Returns the
Semantic.Axioms that describes all the restrictions of the
range of the described property; from a no OOP point of view. |
default MORAxioms.Restrictions |
queryRangeDataProperty()
Queries to the OWL representation for the range restrictions of
this data property. |
default it.emarolab.amor.owlInterface.SemanticRestriction |
rangeDataRestriction(java.lang.Class dataType)
Creates a new data property range restriction
(to be in conjunction with the others in the specific
Semantic.Axioms )
which restricts over an unique data type (see MORGrounding.getOWLDataType(Class) ). |
default boolean |
removeRangeDataRestriction(java.lang.Class dataType)
Removes a new restriction to the described
Semantic.Axioms
(i.e.: getRangeDataProperty() )
based on rangeDataRestriction(Class) . |
default java.util.List<Semantic.MappingIntent> |
writeSemantic()
This method is used to synchronise specific
Semantic.Axioms (or Semantic.SemanticAxioms )
to the ontology. |
readSemantic, synchroniseRangeDataPropertyFromSemantic, synchroniseRangeDataPropertyToSemantic
getGroundInstance, getGroundOntology, setFunctional, setNotFunctional
aMORlogging, getOntologyName, getOWLClass, getOWLDataFactory, getOWLDataProperty, getOWLDataType, getOWLIndividual, getOWLLiteral, getOWLName, getOWLName, getOWLObjectProperty, getOWLOntology, getReasoner, isCompleteQuery, isReasonedQuery, reason, saveOntology, saveOntology, setCompleteQuery, setReasonedQuery
getChangingIntent, getGround, getInstance, getIntent, getOntology, groundReason, writeSemanticInconsistencySafe, writeSemanticInconsistencySafe
copyGround
default it.emarolab.amor.owlInterface.SemanticRestriction rangeDataRestriction(java.lang.Class dataType)
Semantic.Axioms
)
which restricts over an unique data type (see MORGrounding.getOWLDataType(Class)
).dataType
- the value of the restriction.default boolean addRangeDataRestriction(java.lang.Class dataType)
Semantic.Axioms
(i.e.: getRangeDataProperty()
)
based on rangeDataRestriction(Class)
.dataType
- the value of the restriction.true
if a new restriction has been added to the
DataProperty.Range
.default boolean removeRangeDataRestriction(java.lang.Class dataType)
Semantic.Axioms
(i.e.: getRangeDataProperty()
)
based on rangeDataRestriction(Class)
.dataType
- the value of the restriction.true
if a new restriction has been removed from the
DataProperty.Range
.MORAxioms.Restrictions getRangeDataProperty()
DataProperty.Range
Semantic.Axioms
that describes all the restrictions of the
range of the described property; from a no OOP point of view.getRangeDataProperty
in interface DataProperty.Range<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,it.emarolab.amor.owlInterface.SemanticRestriction>
this
grounded the data property.default MORAxioms.Restrictions queryRangeDataProperty()
DataProperty.Range
this
data property.queryRangeDataProperty
in interface DataProperty.Range<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,it.emarolab.amor.owlInterface.SemanticRestriction>
Semantic.Axioms
contained the range restrictions of Semantic.Descriptor.getInstance()
,
into the OWL structure.default java.util.List<Semantic.MappingIntent> writeSemantic()
Semantic.Descriptor
Semantic.Axioms
(or Semantic.SemanticAxioms
)
to the ontology. It manipulates the OWL representation to be
equal to the OWLOOP structure. It is based on Axioms#synchroniseTo(Axioms)
.writeSemantic
in interface Semantic.Descriptor<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty>
Semantic.MappingIntent.getOntologyChanges()
field
initialised (i.e.: OWLOntologyChange
).