D
- the type of the MORConcept
descriptor instantiated during
Concept.Sub.buildSubConcept()
through Concept.Sub.getNewSubConcept(Object, Object)
.public static interface MORConcept.Sub<D extends MORConcept> extends Concept.Sub<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLClass,D>, MORConcept
Concept.Sub
Semantic.Descriptor
implementation for OWLClass
.
It specify how to querySubConcept()
and writeSemantic()
for the
classes (i.e.: OWLClass
) tha are sub classes 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 |
addSubConcept(java.lang.String className)
It is an helper that just calls:
{@link #getSubConcept()}.add( {@link #getOntology()}.getOWLClass( propertyName))
in order to add a new class (given by name) in the Semantic.Axioms list. |
default boolean |
addSubConcept(org.semanticweb.owlapi.model.OWLClass cl)
It is an helper that just calls:
{@link #getSubConcept()}.add( cl)
in order to add a new class in the Semantic.Axioms list. |
default MORAxioms.Concepts |
querySubConcept()
Queries to the OWL representation for the sub classes of
this class. |
default boolean |
removeSubConcept(java.lang.String className)
It is an helper that just calls:
{@link #getSubConcept()}.remove( {@link #getOntology()}.getOWLClass( propertyName))
in order to remove a class (given by name) from the Semantic.Axioms list. |
default boolean |
removeSubConcept(org.semanticweb.owlapi.model.OWLClass cl)
It is an helper that just calls:
{@link #getSubConcept()}.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. |
buildSubConcept, getNewSubConcept, getSubConcept, readSemantic, synchroniseSubConceptFromSemantic, synchroniseSubConceptToSemantic
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 addSubConcept(java.lang.String className)
{@link #getSubConcept()}.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 addSubConcept(org.semanticweb.owlapi.model.OWLClass cl)
{@link #getSubConcept()}.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 removeSubConcept(java.lang.String className)
{@link #getSubConcept()}.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 removeSubConcept(org.semanticweb.owlapi.model.OWLClass cl)
{@link #getSubConcept()}.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 querySubConcept()
Concept.Sub
this
class.querySubConcept
in interface Concept.Sub<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLClass,D extends MORConcept>
Semantic.Axioms
contained the sub 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
).