public class MORDomainObjectProperty extends MORObjectPropertyBase implements MORObjectProperty.Domain, MORObjectProperty.Range
This is an example of how use the Semantic.Descriptor
s for implement
an object property that is synchronised w.r.t. its MORObjectProperty.Domain
and MORObjectProperty.Range
restrictions.
Its purpose is only to instanciate the MORAxioms.Restrictions
for the
respective descriptions, as well as call both interfaces in the
readSemantic()
and writeSemantic()
methods.
All its constructions are based on MORObjectPropertyBase
in order
to automatically manage an MORGrounding.ObjectInstance
ground.
You may want to use this class (see also MORDefinitionObjectProperty
and MORHierarchicalObjectProperty
,as well as other classes in the
it.emarolab.owloop.aMORDescriptor.utility
package) as templates to build a specific
MORObjectProperty
descriptor that fits your needs and maximises the
OWL synchronisation efficiency for object properties.
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>
Constructor and Description |
---|
MORDomainObjectProperty(java.lang.String instanceName,
it.emarolab.amor.owlInterface.OWLReferences onto) |
MORDomainObjectProperty(java.lang.String instanceName,
java.lang.String ontoName) |
MORDomainObjectProperty(java.lang.String instanceName,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath) |
MORDomainObjectProperty(java.lang.String instanceName,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath,
boolean bufferingChanges) |
MORDomainObjectProperty(org.semanticweb.owlapi.model.OWLObjectProperty instance,
it.emarolab.amor.owlInterface.OWLReferences onto) |
MORDomainObjectProperty(org.semanticweb.owlapi.model.OWLObjectProperty instance,
java.lang.String ontoName) |
MORDomainObjectProperty(org.semanticweb.owlapi.model.OWLObjectProperty instance,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath) |
MORDomainObjectProperty(org.semanticweb.owlapi.model.OWLObjectProperty instance,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath,
boolean bufferingChanges) |
Modifier and Type | Method and Description |
---|---|
MORAxioms.Restrictions |
getDomainObjectProperty()
Returns the
Semantic.Axioms that describes all the restrictions of the
domain of the described property; from a no OOP point of view. |
MORAxioms.Restrictions |
getRangeObjectProperty()
Returns the
Semantic.Axioms that describes all the restrictions of the
range of the described property; from a no OOP point of view. |
java.util.List<Semantic.MappingIntent> |
readSemantic()
This method is used to synchronise specific
Semantic.Axioms (or Semantic.SemanticAxioms )
from the ontology. |
java.lang.String |
toString() |
java.util.List<Semantic.MappingIntent> |
writeSemantic()
This method is used to synchronise specific
Semantic.Axioms (or Semantic.SemanticAxioms )
to the ontology. |
copyGround, equals, hashCode, reason, setGround, setInstance, setInstance
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
addDomainClassRestriction, addDomainClassRestriction, addDomainExactDataRestriction, addDomainExactDataRestriction, addDomainExactObjectRestriction, addDomainExactObjectRestriction, addDomainMaxDataRestriction, addDomainMaxDataRestriction, addDomainMaxObjectRestriction, addDomainMaxObjectRestriction, addDomainMinDataRestriction, addDomainMinDataRestriction, addDomainMinObjectRestriction, addDomainMinObjectRestriction, addDomainOnlyDataRestriction, addDomainOnlyDataRestriction, addDomainOnlyObjectRestriction, addDomainOnlyObjectRestriction, addDomainSomeDataRestriction, addDomainSomeDataRestriction, addDomainSomeObjectRestriction, addDomainSomeObjectRestriction, domainClassRestriction, domainClassRestriction, domainExactDataRestriction, domainExactDataRestriction, domainExactObjectRestriction, domainExactObjectRestriction, domainMaxDataRestriction, domainMaxDataRestriction, domainMaxObjectRestriction, domainMaxObjectRestriction, domainMinDataRestriction, domainMinDataRestriction, domainMinObjectRestriction, domainMinObjectRestriction, domainOnlyDataRestriction, domainOnlyDataRestriction, domainOnlyObjectRestriction, domainOnlyObjectRestriction, domainSomeDataRestriction, domainSomeDataRestriction, domainSomeObjectRestriction, domainSomeObjectRestriction, queryDomainObjectProperty, removeDomainClassRestriction, removeDomainClassRestriction, removeDomainExactDataRestriction, removeDomainExactDataRestriction, removeDomainExactObjectRestriction, removeDomainExactObjectRestriction, removeDomainMaxDataRestriction, removeDomainMaxDataRestriction, removeDomainMaxObjectRestriction, removeDomainMaxObjectRestriction, removeDomainMinDataRestriction, removeDomainMinDataRestriction, removeDomainMinObjectRestriction, removeDomainMinObjectRestriction, removeDomainOnlyDataRestriction, removeDomainOnlyDataRestriction, removeDomainOnlyObjectRestriction, removeDomainOnlyObjectRestriction, removeDomainSomeDataRestriction, removeDomainSomeDataRestriction, removeDomainSomeObjectRestriction, removeDomainSomeObjectRestriction
addRangeClassRestriction, addRangeClassRestriction, addRangeExactDataRestriction, addRangeExactDataRestriction, addRangeExactObjectRestriction, addRangeExactObjectRestriction, addRangeMaxDataRestriction, addRangeMaxDataRestriction, addRangeMaxObjectRestriction, addRangeMaxObjectRestriction, addRangeMinDataRestriction, addRangeMinDataRestriction, addRangeMinObjectRestriction, addRangeMinObjectRestriction, addRangeOnlyDataRestriction, addRangeOnlyDataRestriction, addRangeOnlyObjectRestriction, addRangeOnlyObjectRestriction, addRangeSomeDataRestriction, addRangeSomeDataRestriction, addRangeSomeObjectRestriction, addRangeSomeObjectRestriction, queryRangeObjectProperty, rangeClassRestriction, rangeClassRestriction, rangeExactDataRestriction, rangeExactDataRestriction, rangeExactObjectRestriction, rangeExactObjectRestriction, rangeMaxDataRestriction, rangeMaxDataRestriction, rangeMaxObjectRestriction, rangeMaxObjectRestriction, rangeMinDataRestriction, rangeMinDataRestriction, rangeMinObjectRestriction, rangeMinObjectRestriction, rangeOnlyDataRestriction, rangeOnlyDataRestriction, rangeOnlyObjectRestriction, rangeOnlyObjectRestriction, rangeSomeDataRestriction, rangeSomeDataRestriction, rangeSomeObjectRestriction, rangeSomeObjectRestriction, removeRangeClassRestriction, removeRangeClassRestriction, removeRangeExactDataRestriction, removeRangeExactDataRestriction, removeRangeExactObjectRestriction, removeRangeExactObjectRestriction, removeRangeMaxDataRestriction, removeRangeMaxDataRestriction, removeRangeMaxObjectRestriction, removeRangeMaxObjectRestriction, removeRangeMinDataRestriction, removeRangeMinDataRestriction, removeRangeMinObjectRestriction, removeRangeMinObjectRestriction, removeRangeOnlyDataRestriction, removeRangeOnlyDataRestriction, removeRangeOnlyObjectRestriction, removeRangeOnlyObjectRestriction, removeRangeSomeDataRestriction, removeRangeSomeDataRestriction, removeRangeSomeObjectRestriction, removeRangeSomeObjectRestriction
getGround, getNewGround, getNewGround
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
synchroniseDomainObjectPropertyFromSemantic, synchroniseDomainObjectPropertyToSemantic
synchroniseRangeObjectPropertyFromSemantic, synchroniseRangeObjectPropertyToSemantic
getChangingIntent, getGround, getInstance, getIntent, getOntology, groundReason, writeSemanticInconsistencySafe, writeSemanticInconsistencySafe
copyGround
public MORDomainObjectProperty(java.lang.String instanceName, it.emarolab.amor.owlInterface.OWLReferences onto)
public MORDomainObjectProperty(java.lang.String instanceName, java.lang.String ontoName)
public MORDomainObjectProperty(java.lang.String instanceName, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath)
public MORDomainObjectProperty(java.lang.String instanceName, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath, boolean bufferingChanges)
public MORDomainObjectProperty(org.semanticweb.owlapi.model.OWLObjectProperty instance, it.emarolab.amor.owlInterface.OWLReferences onto)
public MORDomainObjectProperty(org.semanticweb.owlapi.model.OWLObjectProperty instance, java.lang.String ontoName)
public MORDomainObjectProperty(org.semanticweb.owlapi.model.OWLObjectProperty instance, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath)
public MORDomainObjectProperty(org.semanticweb.owlapi.model.OWLObjectProperty instance, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath, boolean bufferingChanges)
public 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 ObjectProperty.Domain<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLObjectProperty,it.emarolab.amor.owlInterface.SemanticRestriction>
readSemantic
in interface ObjectProperty.Range<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLObjectProperty,it.emarolab.amor.owlInterface.SemanticRestriction>
readSemantic
in interface Semantic.Descriptor<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLObjectProperty>
Semantic.Axioms
during the reading.
Those objects may not have the Semantic.MappingIntent.getOntologyChanges()
field
initialised (i.e.: Void
).public 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 MORObjectProperty.Domain
writeSemantic
in interface MORObjectProperty.Range
writeSemantic
in interface Semantic.Descriptor<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLObjectProperty>
Semantic.MappingIntent.getOntologyChanges()
field
initialised (i.e.: OWLOntologyChange
).public MORAxioms.Restrictions getDomainObjectProperty()
ObjectProperty.Domain
Semantic.Axioms
that describes all the restrictions of the
domain of the described property; from a no OOP point of view.getDomainObjectProperty
in interface MORObjectProperty.Domain
getDomainObjectProperty
in interface ObjectProperty.Domain<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLObjectProperty,it.emarolab.amor.owlInterface.SemanticRestriction>
this
grounded the object property.public MORAxioms.Restrictions getRangeObjectProperty()
ObjectProperty.Range
Semantic.Axioms
that describes all the restrictions of the
range of the described property; from a no OOP point of view.getRangeObjectProperty
in interface MORObjectProperty.Range
getRangeObjectProperty
in interface ObjectProperty.Range<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLObjectProperty,it.emarolab.amor.owlInterface.SemanticRestriction>
this
grounded the object property.public java.lang.String toString()
toString
in class java.lang.Object