public class FullIndividualDesc extends IndividualGround implements IndividualExpression.Disjoint<FullIndividualDesc>, IndividualExpression.Equivalent<FullIndividualDesc>, IndividualExpression.Type<FullClassDesc>, IndividualExpression.ObjectLink<FullObjectPropertyDesc>, IndividualExpression.DataLink<FullDataPropertyDesc>
IndividualExpression
interfaces.
Axioms in this descriptor's internal state (i.e., OWLOOP representation) can be synchronized to/from an OWL ontology.
FullIndividualDesc
can synchronize all the axioms, that are based on the following IndividualExpressions:
IndividualExpression.Equivalent
: to describe an Individual same-as another Individual.IndividualExpression.Disjoint
: to describe an Individual different from another Individual.IndividualExpression.Type
: to describe the Type/s (i.e., class/es) of an Individual.IndividualExpression.ObjectLink
: to describe an ObjectProperty and Individuals related via that ObjectProperty, for an Individual.IndividualExpression.DataLink
: to describe an DataProperty and Individuals related via that DataProperty, for an Individual.
IndividualExpression.DataLink<D extends DataPropertyExpression>, IndividualExpression.Disjoint<D extends IndividualExpression>, IndividualExpression.Equivalent<D extends IndividualExpression>, IndividualExpression.ObjectLink<D extends ObjectPropertyExpression>, IndividualExpression.Type<D extends ClassExpression>
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 |
---|
FullIndividualDesc(org.semanticweb.owlapi.model.OWLNamedIndividual instance,
it.emarolab.amor.owlInterface.OWLReferences onto) |
FullIndividualDesc(org.semanticweb.owlapi.model.OWLNamedIndividual instance,
java.lang.String ontoName) |
FullIndividualDesc(org.semanticweb.owlapi.model.OWLNamedIndividual instance,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath) |
FullIndividualDesc(org.semanticweb.owlapi.model.OWLNamedIndividual instance,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath,
boolean bufferingChanges) |
FullIndividualDesc(java.lang.String instanceName,
it.emarolab.amor.owlInterface.OWLReferences onto) |
FullIndividualDesc(java.lang.String instanceName,
java.lang.String ontoName) |
FullIndividualDesc(java.lang.String instanceName,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath) |
FullIndividualDesc(java.lang.String instanceName,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath,
boolean bufferingChanges) |
Modifier and Type | Method and Description |
---|---|
DataLinkSet |
getDataProperties()
Returns the
EntitySet that describes the specified data properties applied to
this Individual ; from a no OOP point of view. |
Individuals |
getDisjointIndividuals()
Returns the
EntitySet that describes all the different individualDescriptor from
this Individual ; from a no OOP point of view. |
Individuals |
getEquivalentIndividuals()
Returns the
EntitySet that describes all the equivalent individualDescriptor from
this Individual ; from a no OOP point of view. |
FullDataPropertyDesc |
getNewDataProperty(DataLinks instance,
it.emarolab.amor.owlInterface.OWLReferences ontology)
This method is called by
Individual.DataLink.buildDataProperties() and
its purpose is to instantiate a new DataProperty to represent
a data value applied to this Individual Descriptor . |
FullIndividualDesc |
getNewDisjointIndividual(org.semanticweb.owlapi.model.OWLNamedIndividual instance,
it.emarolab.amor.owlInterface.OWLReferences ontology)
This method is called by
Individual.Disjoint.buildDisjointIndividuals() and
its purpose is to instantiate a new Individual to represent
an equivalent individualDescriptor from this Individual Descriptor . |
FullIndividualDesc |
getNewEquivalentIndividual(org.semanticweb.owlapi.model.OWLNamedIndividual instance,
it.emarolab.amor.owlInterface.OWLReferences ontology)
This method is called by
Individual.Equivalent.buildEquivalentIndividuals() and
its purpose is to instantiate a new Individual to represent
a different individualDescriptor from this Individual Descriptor . |
FullObjectPropertyDesc |
getNewObjectProperty(ObjectLinks instance,
it.emarolab.amor.owlInterface.OWLReferences ontology)
This method is called by
Individual.ObjectLink.buildObjectProperties() and
its purpose is to instantiate a new ObjectProperty to represent
an object value applied to this Individual Descriptor . |
FullClassDesc |
getNewType(org.semanticweb.owlapi.model.OWLClass instance,
it.emarolab.amor.owlInterface.OWLReferences ontology)
This method is called by
Individual.Type.buildTypes() and
its purpose is to instantiate a new Class to represent
the types of this Individual Descriptor . |
ObjectLinkSet |
getObjectProperties()
Returns the
EntitySet that describes the specified object properties applied to
this Individual ; from a no OOP point of view. |
Classes |
getTypes()
Returns the
EntitySet that describes all the classes in which
this Individual is belonging to, 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
addDisjointIndividual, addDisjointIndividual, queryDisjointIndividuals, removeDisjointIndividual, removeDisjointIndividual
buildDisjointIndividuals, synchroniseDisjointIndividualsFromExpressionAxioms, synchroniseDisjointIndividualsToExpressionAxioms
addEquivalentIndividual, addEquivalentIndividual, queryEquivalentIndividuals, removeEquivalentIndividual, removeEquivalentIndividual
buildEquivalentIndividuals, synchroniseEquivalentIndividualsFromExpressionAxioms, synchroniseEquivalentIndividualsToExpressionAxioms
addTypeIndividual, addTypeIndividual, queryTypes, removeTypeIndividual, removeTypeIndividual
buildTypes, synchroniseTypesFromExpressionAxioms, synchroniseTypesToExpressionAxioms
addObject, addObject, addObject, addObject, addObject, addObject, addObject, addObject, addObject, addObject, getIndividualFromObjectProperty, getIndividualFromObjectProperty, getIndividualsFromObjectProperty, getIndividualsFromObjectProperty, queryObjectProperties, removeEmptyDataProprtySet, removeObject, removeObject, removeObject, removeObject, removeObject
buildObjectProperties, synchroniseObjectPropertiesFromExpressionAxioms, synchroniseObjectPropertiesToExpressionAxioms
addData, addData, addData, addData, addData, addData, addData, addData, addObject, addObject, getLiteralFromDataProperty, getLiteralFromDataProperty, getLiteralsFromDataProperty, getLiteralsFromDataProperty, queryDataProperties, removeData, removeData, removeData, removeData, removeData
buildDataProperties, synchroniseDataPropertiesFromExpressionAxioms, synchroniseDataPropertiesToExpressionAxioms
getGroundInstance, getGroundOntology
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 FullIndividualDesc(org.semanticweb.owlapi.model.OWLNamedIndividual instance, it.emarolab.amor.owlInterface.OWLReferences onto)
public FullIndividualDesc(java.lang.String instanceName, it.emarolab.amor.owlInterface.OWLReferences onto)
public FullIndividualDesc(org.semanticweb.owlapi.model.OWLNamedIndividual instance, java.lang.String ontoName)
public FullIndividualDesc(org.semanticweb.owlapi.model.OWLNamedIndividual instance, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath)
public FullIndividualDesc(org.semanticweb.owlapi.model.OWLNamedIndividual instance, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath, boolean bufferingChanges)
public FullIndividualDesc(java.lang.String instanceName, java.lang.String ontoName)
public FullIndividualDesc(java.lang.String instanceName, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath)
public FullIndividualDesc(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.OWLNamedIndividual>
readAxioms
in interface Individual.DataLink<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLNamedIndividual,DataLinks,org.semanticweb.owlapi.model.OWLDataProperty,FullDataPropertyDesc>
readAxioms
in interface Individual.Disjoint<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLNamedIndividual,FullIndividualDesc>
readAxioms
in interface Individual.Equivalent<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLNamedIndividual,FullIndividualDesc>
readAxioms
in interface Individual.ObjectLink<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLNamedIndividual,ObjectLinks,org.semanticweb.owlapi.model.OWLObjectProperty,FullObjectPropertyDesc>
readAxioms
in interface Individual.Type<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLNamedIndividual,org.semanticweb.owlapi.model.OWLClass,FullClassDesc>
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.OWLNamedIndividual>
writeAxioms
in interface IndividualExpression.DataLink<FullDataPropertyDesc>
writeAxioms
in interface IndividualExpression.Disjoint<FullIndividualDesc>
writeAxioms
in interface IndividualExpression.Equivalent<FullIndividualDesc>
writeAxioms
in interface IndividualExpression.ObjectLink<FullObjectPropertyDesc>
writeAxioms
in interface IndividualExpression.Type<FullClassDesc>
Axiom.MappingIntent.getOntologyChanges()
field
initialised (i.e.: OWLOntologyChange
).public FullIndividualDesc getNewDisjointIndividual(org.semanticweb.owlapi.model.OWLNamedIndividual instance, it.emarolab.amor.owlInterface.OWLReferences ontology)
Individual.Disjoint
Individual.Disjoint.buildDisjointIndividuals()
and
its purpose is to instantiate a new Individual
to represent
an equivalent individualDescriptor from this
Individual
Descriptor
.getNewDisjointIndividual
in interface Individual.Disjoint<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLNamedIndividual,FullIndividualDesc>
instance
- the instance to ground the new Individual
.ontology
- the ontology in which ground the new Individual
.Axiom.Descriptor
for all the individuals
that are equivalent from the one described by this
interface.public Individuals getDisjointIndividuals()
Individual.Disjoint
EntitySet
that describes all the different individualDescriptor from
this
Individual
; from a no OOP point of view.getDisjointIndividuals
in interface Individual.Disjoint<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLNamedIndividual,FullIndividualDesc>
getDisjointIndividuals
in interface IndividualExpression.Disjoint<FullIndividualDesc>
this
individualDescriptor.public FullIndividualDesc getNewEquivalentIndividual(org.semanticweb.owlapi.model.OWLNamedIndividual instance, it.emarolab.amor.owlInterface.OWLReferences ontology)
Individual.Equivalent
Individual.Equivalent.buildEquivalentIndividuals()
and
its purpose is to instantiate a new Individual
to represent
a different individualDescriptor from this
Individual
Descriptor
.getNewEquivalentIndividual
in interface Individual.Equivalent<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLNamedIndividual,FullIndividualDesc>
instance
- the instance to ground the new Individual
.ontology
- the ontology in which ground the new Individual
.Axiom.Descriptor
for all the individuals
that are different from the one described by this
interface.public Individuals getEquivalentIndividuals()
Individual.Equivalent
EntitySet
that describes all the equivalent individualDescriptor from
this
Individual
; from a no OOP point of view.getEquivalentIndividuals
in interface Individual.Equivalent<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLNamedIndividual,FullIndividualDesc>
getEquivalentIndividuals
in interface IndividualExpression.Equivalent<FullIndividualDesc>
this
individualDescriptor.public FullClassDesc getNewType(org.semanticweb.owlapi.model.OWLClass instance, it.emarolab.amor.owlInterface.OWLReferences ontology)
Individual.Type
Individual.Type.buildTypes()
and
its purpose is to instantiate a new Class
to represent
the types of this
Individual
Descriptor
.getNewType
in interface Individual.Type<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLNamedIndividual,org.semanticweb.owlapi.model.OWLClass,FullClassDesc>
instance
- the instance to ground the new Class
.ontology
- the ontology in which ground the new Class
.Axiom.Descriptor
for all the classes
in which this
individualDescriptor is belonging to.public Classes getTypes()
Individual.Type
EntitySet
that describes all the classes in which
this
Individual
is belonging to, from a no OOP point of view.getTypes
in interface Individual.Type<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLNamedIndividual,org.semanticweb.owlapi.model.OWLClass,FullClassDesc>
getTypes
in interface IndividualExpression.Type<FullClassDesc>
this
individualDescriptor.public FullObjectPropertyDesc getNewObjectProperty(ObjectLinks instance, it.emarolab.amor.owlInterface.OWLReferences ontology)
Individual.ObjectLink
Individual.ObjectLink.buildObjectProperties()
and
its purpose is to instantiate a new ObjectProperty
to represent
an object value applied to this
Individual
Descriptor
.getNewObjectProperty
in interface Individual.ObjectLink<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLNamedIndividual,ObjectLinks,org.semanticweb.owlapi.model.OWLObjectProperty,FullObjectPropertyDesc>
instance
- the instance to ground the new ObjectProperty
.ontology
- the ontology in which ground the new ObjectProperty
.Axiom.Descriptor
for all the object properties
that are applied to this
interface.public ObjectLinkSet getObjectProperties()
Individual.ObjectLink
EntitySet
that describes the specified object properties applied to
this
Individual
; from a no OOP point of view.getObjectProperties
in interface Individual.ObjectLink<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLNamedIndividual,ObjectLinks,org.semanticweb.owlapi.model.OWLObjectProperty,FullObjectPropertyDesc>
getObjectProperties
in interface IndividualExpression.ObjectLink<FullObjectPropertyDesc>
this
individualDescriptor.public FullDataPropertyDesc getNewDataProperty(DataLinks instance, it.emarolab.amor.owlInterface.OWLReferences ontology)
Individual.DataLink
Individual.DataLink.buildDataProperties()
and
its purpose is to instantiate a new DataProperty
to represent
a data value applied to this
Individual
Descriptor
.getNewDataProperty
in interface Individual.DataLink<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLNamedIndividual,DataLinks,org.semanticweb.owlapi.model.OWLDataProperty,FullDataPropertyDesc>
instance
- the instance to ground the new Individual.DataLink
.ontology
- the ontology in which ground the new DataProperty
.Axiom.Descriptor
for all the data properties
that are applied to this
interface.public DataLinkSet getDataProperties()
Individual.DataLink
EntitySet
that describes the specified data properties applied to
this
Individual
; from a no OOP point of view.getDataProperties
in interface Individual.DataLink<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLNamedIndividual,DataLinks,org.semanticweb.owlapi.model.OWLDataProperty,FullDataPropertyDesc>
getDataProperties
in interface IndividualExpression.DataLink<FullDataPropertyDesc>
this
individualDescriptor.public java.lang.String toString()
toString
in class java.lang.Object