Thesis full text (PDF) - Politecnico di Milano
Thesis full text (PDF) - Politecnico di Milano
Thesis full text (PDF) - Politecnico di Milano
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Figure 3.14: Add Instance Component<br />
Similarly to the Add Class Component, the Add Datatype Component, Add Property Component,<br />
Add Property Value Component, and Add Instance Component insert new axioms in the<br />
knowledge base respectively regar<strong>di</strong>ng UML datatypes, properties, property values, and<br />
instances. A mandatory insertion con<strong>di</strong>tion in<strong>di</strong>cates the name of the datatype/ property/<br />
propertyvalue/ instance to be inserted in the knowledge base. Further con<strong>di</strong>tions may be applied<br />
to specify related axioms that need to be inserted as well.<br />
3.1.14 Remove Components<br />
The Remove components remove existing axioms in the knowledge base regar<strong>di</strong>ng UML<br />
elements. Similar to Add components, every component is defined upon one of the UML<br />
primitives of Class, Datatype, Property, Generalization, Slot, and Instance, and it is invoked for<br />
exactly one UML element instantiating the UML primitive upon which the component is<br />
defined. It updates the knowledge base either by deleting the UML element and every axiom<br />
defined upon it, or by <strong>di</strong>sassociating the UML element from other existing elements.<br />
The generic graphical depiction of a Remove component is shown in figure 3.15 and is<br />
analogous to the one for Add components. The component is defined by the central Remove<br />
Name Component UML class (main class), representing the main UML primitive upon which<br />
the component is defined, and by a set of UML compositions representing the relations of the<br />
main UML primitive with other UML primitives that may be explored for the insertion of<br />
knowledge. There is one mandatory UML composition modeling the (main) element<br />
instantiating the main UML primitive. In case the elements of the main UML primitive are not<br />
40