D
- the type of the MORObjectProperty
descriptor instantiated during
ObjectProperty.Equivalent.buildEquivalentObjectProperty()
through ObjectProperty.Equivalent.getNewEquivalentObjectProperty(Object, Object)
.public static interface MORObjectProperty.Equivalent<D extends MORObjectProperty> extends ObjectProperty.Equivalent<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLObjectProperty,D>, MORObjectProperty
ObjectProperty.Equivalent
Semantic.Descriptor
implementation for OWLObjectProperty
.
It specify how to queryEquivalentObjectProperty()
()} and writeSemantic()
for the
equivalent object properties (i.e.: OWLObjectProperty
) from the one described
by this class (i.e.: Semantic.Descriptor.getInstance()
).
MORGrounding.ConceptInstance, MORGrounding.DataInstance, MORGrounding.GroundBase<J extends org.semanticweb.owlapi.model.OWLObject>, MORGrounding.IndividualInstance, MORGrounding.ObjectInstance
MORObjectProperty.Disjoint<D extends MORObjectProperty>, MORObjectProperty.Domain, MORObjectProperty.Equivalent<D extends MORObjectProperty>, MORObjectProperty.Inverse<D extends MORObjectProperty>, MORObjectProperty.Range, MORObjectProperty.Sub<D extends MORObjectProperty>, MORObjectProperty.Super<D extends MORObjectProperty>
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 |
addEquivalentObjectProperty(java.lang.String propertyName)
It is an helper that just calls:
{@link #getEquivalentObjectProperty()}.add( {@link #getOntology()}.getOWLObjectProperty( propertyName))
in order to add a new object property (given by name) in the Semantic.Axioms list. |
default boolean |
addEquivalentObjectProperty(org.semanticweb.owlapi.model.OWLObjectProperty property)
It is an helper that just calls:
{@link #getEquivalentObjectProperty()}.add( property)
in order to add a new object property in the Semantic.Axioms list. |
MORAxioms.ObjectLinks |
getEquivalentObjectProperty()
Returns the
Semantic.Axioms that describes all the equivalent object properties of
this grounded ObjectProperty ; from a no OOP point of view. |
default MORAxioms.ObjectLinks |
queryEquivalentObjectProperty()
Queries to the OWL representation for the equivalent properties of
this object property. |
default boolean |
removeEquivalentObjectProperty(java.lang.String propertyName)
It is an helper that just calls:
{@link #getEquivalentObjectProperty()}.remove( {@link #getOntology()}.getOWLObjectProperty( propertyName))
in order to remove an object property (given by name) from the Semantic.Axioms list. |
default boolean |
removeEquivalentObjectProperty(org.semanticweb.owlapi.model.OWLObjectProperty property)
It is an helper that just calls:
{@link #getEquivalentObjectProperty()}.remove( property)
in order to remove an object property in the Semantic.Axioms list. |
default java.util.List<Semantic.MappingIntent> |
writeSemantic()
This method is used to synchronise specific
Semantic.Axioms (or Semantic.SemanticAxioms )
to the ontology. |
aMORlogging, getOntologyName, getOWLClass, getOWLDataFactory, getOWLDataProperty, getOWLDataType, getOWLIndividual, getOWLLiteral, getOWLName, getOWLName, getOWLObjectProperty, getOWLOntology, getReasoner, isCompleteQuery, isReasonedQuery, reason, saveOntology, saveOntology, setCompleteQuery, setReasonedQuery
getGroundInstance, getGroundOntology, setAsymmetric, setFunctional, setInverseFunctional, setIrreflexive, setNotAsymmetric, setNotFunctional, setNotInverseFunctional, setNotIrreflexive, setNotReflexive, setNotSymmetric, setNotTransitive, setReflexive, setSymmetric, setTransitive
buildEquivalentObjectProperty, getNewEquivalentObjectProperty, readSemantic, synchroniseEquivalentObjectPropertyFromSemantic, synchroniseEquivalentObjectPropertyToSemantic
getChangingIntent, getGround, getInstance, getIntent, getOntology, groundReason, writeSemanticInconsistencySafe, writeSemanticInconsistencySafe
copyGround
default boolean addEquivalentObjectProperty(java.lang.String propertyName)
{@link #getEquivalentObjectProperty()}.add( {@link #getOntology()}.getOWLObjectProperty( propertyName))
in order to add a new object property (given by name) in the Semantic.Axioms
list.propertyName
- the property name to add for synchronisation.true
if the axioms changed as a result of the call.default boolean addEquivalentObjectProperty(org.semanticweb.owlapi.model.OWLObjectProperty property)
{@link #getEquivalentObjectProperty()}.add( property)
in order to add a new object property in the Semantic.Axioms
list.property
- the property to add for synchronisation.true
if the axioms changed as a result of the call.default boolean removeEquivalentObjectProperty(java.lang.String propertyName)
{@link #getEquivalentObjectProperty()}.remove( {@link #getOntology()}.getOWLObjectProperty( propertyName))
in order to remove an object property (given by name) from the Semantic.Axioms
list.propertyName
- the property name to remove for synchronisation.true
if an element was removed as a result of this call.default boolean removeEquivalentObjectProperty(org.semanticweb.owlapi.model.OWLObjectProperty property)
{@link #getEquivalentObjectProperty()}.remove( property)
in order to remove an object property in the Semantic.Axioms
list.property
- the property to remove for synchronisation.true
if an element was removed as a result of this call.MORAxioms.ObjectLinks getEquivalentObjectProperty()
ObjectProperty.Equivalent
Semantic.Axioms
that describes all the equivalent object properties of
this
grounded ObjectProperty
; from a no OOP point of view.getEquivalentObjectProperty
in interface ObjectProperty.Equivalent<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLObjectProperty,D extends MORObjectProperty>
this
described property.default MORAxioms.ObjectLinks queryEquivalentObjectProperty()
ObjectProperty.Equivalent
this
object property.queryEquivalentObjectProperty
in interface ObjectProperty.Equivalent<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLObjectProperty,D extends MORObjectProperty>
Semantic.Axioms
contained the equivalent properties 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<O,J>
Semantic.MappingIntent.getOntologyChanges()
field
initialised (i.e.: OWLOntologyChange
).