D
- the type of the MORConcept
descriptor instantiated during
Concept.Equivalent.buildEquivalentConcept()
through Concept.Equivalent.getNewEquivalentConcept(Object, Object)
.public static interface MORConcept.Equivalent<D extends MORConcept> extends Concept.Equivalent<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLClass,D>, MORConcept
Concept.Equivalent
Semantic.Descriptor
implementation for OWLClass
.
It specify how to queryEquivalentConcept()
and writeSemantic()
for the
classes (i.e.: OWLClass
) tha are equivalent to the described one
(i.e.: Semantic.Descriptor.getInstance()
).
MORConcept.Classify<D extends MORIndividual>, MORConcept.Define, MORConcept.Disjoint<D extends MORConcept>, MORConcept.Equivalent<D extends MORConcept>, MORConcept.Sub<D extends MORConcept>, MORConcept.Super<D extends MORConcept>
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 |
addEquivalentConcept(java.lang.String className)
It is an helper that just calls:
{@link #getEquivalentConcept()}.add( {@link #getOntology()}.getOWLClass( propertyName))
in order to add a new class (given by name) in the Semantic.Axioms list. |
default boolean |
addEquivalentConcept(org.semanticweb.owlapi.model.OWLClass cl)
It is an helper that just calls:
{@link #getEquivalentConcept()}.add( cl)
in order to add a new class in the Semantic.Axioms list. |
default MORAxioms.Concepts |
queryEquivalentConcept()
Queries to the OWL representation for the equivalent classes of
this class. |
default boolean |
removeEquivalentConcept(java.lang.String className)
It is an helper that just calls:
{@link #getEquivalentConcept()}.remove( {@link #getOntology()}.getOWLClass( propertyName))
in order to remove a class (given by name) from the Semantic.Axioms list. |
default boolean |
removeEquivalentConcept(org.semanticweb.owlapi.model.OWLClass cl)
It is an helper that just calls:
{@link #getEquivalentConcept()}.remove( cl)
in order to remove a class 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. |
buildEquivalentConcept, getEquivalentConcept, getNewEquivalentConcept, readSemantic, synchroniseEquivalentConceptFromSemantic, synchroniseEquivalentConceptToSemantic
getGroundInstance, getGroundOntology
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 boolean addEquivalentConcept(java.lang.String className)
{@link #getEquivalentConcept()}.add( {@link #getOntology()}.getOWLClass( propertyName))
in order to add a new class (given by name) in the Semantic.Axioms
list.className
- the class name to add for synchronisation.true
if the axioms changed as a result of the call.default boolean addEquivalentConcept(org.semanticweb.owlapi.model.OWLClass cl)
{@link #getEquivalentConcept()}.add( cl)
in order to add a new class in the Semantic.Axioms
list.cl
- the class to add for synchronisation.true
if the axioms changed as a result of the call.default boolean removeEquivalentConcept(java.lang.String className)
{@link #getEquivalentConcept()}.remove( {@link #getOntology()}.getOWLClass( propertyName))
in order to remove a class (given by name) from the Semantic.Axioms
list.className
- the class name to remove for synchronisation.true
if an element was removed as a result of this call.default boolean removeEquivalentConcept(org.semanticweb.owlapi.model.OWLClass cl)
{@link #getEquivalentConcept()}.remove( cl)
in order to remove a class in the Semantic.Axioms
list.cl
- the class to remove for synchronisation.true
if an element was removed as a result of this call.default MORAxioms.Concepts queryEquivalentConcept()
Concept.Equivalent
this
class.queryEquivalentConcept
in interface Concept.Equivalent<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLClass,D extends MORConcept>
Semantic.Axioms
contained the equivalent classes to
the OWL structure of Semantic.Descriptor.getInstance()
.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
).