public class HierarchicalObjectPropertyDesc extends ObjectPropertyGround implements ObjectPropertyExpression.Sub<HierarchicalObjectPropertyDesc>, ObjectPropertyExpression.Super<HierarchicalObjectPropertyDesc>
ObjectPropertyExpression
interfaces:
ObjectPropertyExpression.Sub
: to describe that an ObjectProperty subsumes another ObjectProperty.ObjectPropertyExpression.Super
: to describe that an ObjectProperty super-sumes another ObjectProperty.FullObjectPropertyDesc
for an example of a 'compound' Individual Descriptor that implements all ObjectPropertyExpressions.
ObjectPropertyExpression.Disjoint<D extends ObjectPropertyExpression>, ObjectPropertyExpression.Domain, ObjectPropertyExpression.Equivalent<D extends ObjectPropertyExpression>, ObjectPropertyExpression.Inverse<D extends ObjectPropertyExpression>, ObjectPropertyExpression.Range, ObjectPropertyExpression.Sub<D extends ObjectPropertyExpression>, ObjectPropertyExpression.Super<D extends ObjectPropertyExpression>
Axiom.Descriptor.OntologyReference
DescriptorGroundInterface.ConceptGroundInstance, DescriptorGroundInterface.DataGroundInstance, DescriptorGroundInterface.GroundInstance<J extends org.semanticweb.owlapi.model.OWLObject>, DescriptorGroundInterface.IndividualGroundInstance, DescriptorGroundInterface.ObjectGroundInstance
Axiom.Descriptor<O,J>, Axiom.EntitySet<Y>, Axiom.ExpressionEntity<S,Y>, Axiom.ExpressionEntitySet<F extends Axiom.ExpressionEntity<?,Y>,Y>, Axiom.Ground<O,J>, Axiom.MappingIntent<I extends Axiom.Ground,C>
NL
Constructor and Description |
---|
HierarchicalObjectPropertyDesc(org.semanticweb.owlapi.model.OWLObjectProperty instance,
it.emarolab.amor.owlInterface.OWLReferences onto) |
HierarchicalObjectPropertyDesc(org.semanticweb.owlapi.model.OWLObjectProperty instance,
java.lang.String ontoName) |
HierarchicalObjectPropertyDesc(org.semanticweb.owlapi.model.OWLObjectProperty instance,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath) |
HierarchicalObjectPropertyDesc(org.semanticweb.owlapi.model.OWLObjectProperty instance,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath,
boolean bufferingChanges) |
HierarchicalObjectPropertyDesc(java.lang.String instanceName,
it.emarolab.amor.owlInterface.OWLReferences onto) |
HierarchicalObjectPropertyDesc(java.lang.String instanceName,
java.lang.String ontoName) |
HierarchicalObjectPropertyDesc(java.lang.String instanceName,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath) |
HierarchicalObjectPropertyDesc(java.lang.String instanceName,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath,
boolean bufferingChanges) |
Modifier and Type | Method and Description |
---|---|
HierarchicalObjectPropertyDesc |
getNewSubObjectProperty(org.semanticweb.owlapi.model.OWLObjectProperty instance,
it.emarolab.amor.owlInterface.OWLReferences ontology)
This method is called by
ObjectProperty.Sub.buildSubObjectProperties() and
its purpose is to instantiate a new ObjectProperty to represent
a sub property of this ObjectProperty Descriptor . |
HierarchicalObjectPropertyDesc |
getNewSuperObjectProperty(org.semanticweb.owlapi.model.OWLObjectProperty instance,
it.emarolab.amor.owlInterface.OWLReferences ontology)
This method is called by
ObjectProperty.Super.buildSuperObjectProperties() and
its purpose is to instantiate a new ObjectProperty to represent
a super property of this ObjectProperty Descriptor . |
ObjectProperties |
getSubObjectProperties()
Returns the
EntitySet that describes all the sub object properties of
this grounded ObjectProperty ; from a no OOP point of view. |
ObjectProperties |
getSuperObjectProperties()
Returns the
EntitySet that describes all the super object properties of
this grounded ObjectProperty ; from a no OOP point of view. |
java.util.List<Axiom.MappingIntent> |
readAxioms()
This method is used to update specific
Axiom.EntitySet (or Axiom.ExpressionEntitySet ) by synchronizing
the internal state of the descriptor with the queried OWL structure, such that they are equal. |
java.lang.String |
toString() |
java.util.List<Axiom.MappingIntent> |
writeAxioms()
This method is used to update the ontology with a specific
Axiom.EntitySet (or Axiom.ExpressionEntitySet )
by synchronizing the OWL representation with the internal state of the descriptor, such that they are equal. |
getGround, getNewGround, getNewGround
copyGround, equals, getGroundInstanceName, hashCode, reason, setGround, setGroundInstance, setGroundInstance
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addSubObjectProperty, addSubObjectProperty, querySubObjectProperties, removeSubObjectProperty, removeSubObjectProperty
buildSubObjectProperties, synchroniseSubObjectPropertiesFromExpressionAxioms, synchroniseSubObjectPropertiesToExpressionAxioms
addSuperObjectProperty, addSuperObjectProperty, querySuperObjectProperties, removeSuperObjectProperty, removeSuperObjectProperty
buildSuperObjectProperties, synchroniseSuperObjectPropertiesFromExpressionAxioms, synchroniseSuperObjectPropertiesToExpressionAxioms
getGroundInstance, getGroundOntology, setAsymmetric, setFunctional, setInverseFunctional, setIrreflexive, setNotAsymmetric, setNotFunctional, setNotInverseFunctional, setNotIrreflexive, setNotReflexive, setNotSymmetric, setNotTransitive, setReflexive, setSymmetric, setTransitive
activateAMORlogging, getChangingIntent, getGround, getGroundInstanceName, getInstance, getIntent, getOntologyReference, groundReason, writeAxiomsReasonReadAxioms, writeAxiomsReasonReadAxioms
getOntologyName, getOWLClass, getOWLDataFactory, getOWLDataProperty, getOWLDataType, getOWLIndividual, getOWLLiteral, getOWLName, getOWLName, getOWLObjectProperty, getOWLOntology, getOWLReasoner, isCompleteQuery, isReasonedQuery, reason, saveOntology, saveOntology, setCompleteQuery, setReasonedQuery
copyGround
public HierarchicalObjectPropertyDesc(org.semanticweb.owlapi.model.OWLObjectProperty instance, it.emarolab.amor.owlInterface.OWLReferences onto)
public HierarchicalObjectPropertyDesc(java.lang.String instanceName, it.emarolab.amor.owlInterface.OWLReferences onto)
public HierarchicalObjectPropertyDesc(org.semanticweb.owlapi.model.OWLObjectProperty instance, java.lang.String ontoName)
public HierarchicalObjectPropertyDesc(org.semanticweb.owlapi.model.OWLObjectProperty instance, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath)
public HierarchicalObjectPropertyDesc(org.semanticweb.owlapi.model.OWLObjectProperty instance, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath, boolean bufferingChanges)
public HierarchicalObjectPropertyDesc(java.lang.String instanceName, java.lang.String ontoName)
public HierarchicalObjectPropertyDesc(java.lang.String instanceName, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath)
public HierarchicalObjectPropertyDesc(java.lang.String instanceName, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath, boolean bufferingChanges)
public java.util.List<Axiom.MappingIntent> readAxioms()
Axiom.Descriptor
Axiom.EntitySet
(or Axiom.ExpressionEntitySet
) by synchronizing
the internal state of the descriptor with the queried OWL structure, such that they are equal.
It is based on EntitySet#synchroniseFrom(EntitySet)
.readAxioms
in interface Axiom.Descriptor<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLObjectProperty>
readAxioms
in interface ObjectProperty.Sub<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLObjectProperty,HierarchicalObjectPropertyDesc>
readAxioms
in interface ObjectProperty.Super<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLObjectProperty,HierarchicalObjectPropertyDesc>
Axiom.EntitySet
during the reading.
Note that the elements of the returned list, may not have the Axiom.MappingIntent.getOntologyChanges()
field
initialised (i.e.: Void
).public java.util.List<Axiom.MappingIntent> writeAxioms()
Axiom.Descriptor
Axiom.EntitySet
(or Axiom.ExpressionEntitySet
)
by synchronizing the OWL representation with the internal state of the descriptor, such that they are equal.
It is based on EntitySet#synchroniseTo(EntitySet)
.writeAxioms
in interface Axiom.Descriptor<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLObjectProperty>
writeAxioms
in interface ObjectPropertyExpression.Sub<HierarchicalObjectPropertyDesc>
writeAxioms
in interface ObjectPropertyExpression.Super<HierarchicalObjectPropertyDesc>
Axiom.MappingIntent.getOntologyChanges()
field
initialised (i.e.: OWLOntologyChange
).public HierarchicalObjectPropertyDesc getNewSubObjectProperty(org.semanticweb.owlapi.model.OWLObjectProperty instance, it.emarolab.amor.owlInterface.OWLReferences ontology)
ObjectProperty.Sub
ObjectProperty.Sub.buildSubObjectProperties()
and
its purpose is to instantiate a new ObjectProperty
to represent
a sub property of this
ObjectProperty
Descriptor
.getNewSubObjectProperty
in interface ObjectProperty.Sub<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLObjectProperty,HierarchicalObjectPropertyDesc>
instance
- the instance to ground the new sub ObjectProperty
.ontology
- the ontology in which ground the new ObjectProperty
.Axiom.Descriptor
for all the sub properties
of the one described by this
interface.public ObjectProperties getSubObjectProperties()
ObjectProperty.Sub
EntitySet
that describes all the sub object properties of
this
grounded ObjectProperty
; from a no OOP point of view.getSubObjectProperties
in interface ObjectProperty.Sub<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLObjectProperty,HierarchicalObjectPropertyDesc>
getSubObjectProperties
in interface ObjectPropertyExpression.Sub<HierarchicalObjectPropertyDesc>
this
described property.public HierarchicalObjectPropertyDesc getNewSuperObjectProperty(org.semanticweb.owlapi.model.OWLObjectProperty instance, it.emarolab.amor.owlInterface.OWLReferences ontology)
ObjectProperty.Super
ObjectProperty.Super.buildSuperObjectProperties()
and
its purpose is to instantiate a new ObjectProperty
to represent
a super property of this
ObjectProperty
Descriptor
.getNewSuperObjectProperty
in interface ObjectProperty.Super<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLObjectProperty,HierarchicalObjectPropertyDesc>
instance
- the instance to ground the new super ObjectProperty
.ontology
- the ontology in which ground the new ObjectProperty
.Axiom.Descriptor
for all the super properties
of the one described by this
interface.public ObjectProperties getSuperObjectProperties()
ObjectProperty.Super
EntitySet
that describes all the super object properties of
this
grounded ObjectProperty
; from a no OOP point of view.getSuperObjectProperties
in interface ObjectProperty.Super<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLObjectProperty,HierarchicalObjectPropertyDesc>
getSuperObjectProperties
in interface ObjectPropertyExpression.Super<HierarchicalObjectPropertyDesc>
this
described property.public java.lang.String toString()
toString
in class java.lang.Object