25.10.2014 Views

Thesis full text (PDF) - Politecnico di Milano

Thesis full text (PDF) - Politecnico di Milano

Thesis full text (PDF) - Politecnico di Milano

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

components (Table 4.3) is implemented for managing the whole knowledge base content<br />

(Create-KB, Release-KB, Import-XMI-to-KB, Export-XMI-from-KB). Those for<br />

ad<strong>di</strong>ng/removing in<strong>di</strong>vidual knowledge are implemented are summarized respectively in table<br />

4.4 and table 4.5.<br />

Create KB Unit<br />

Output: OK-link transfers the identifier of the created knowledge<br />

base instance. KO-link transfers the error code.<br />

Release KB Unit Input: mandatory identifier of the knowledge base instance to be<br />

deleted.<br />

Output: OK-link: identifier of the deleted knowledge base instance.<br />

KO-link: error code.<br />

Import XMI to KB Unit Input: mandatory identifiers of the knowledge base instance and of<br />

the XMI file to be imported.<br />

Output: OK-link: set of imported axioms. KO-link: error code<br />

Export KB to XMI Unit Input: mandatory identifier of the knowledge base instance to be<br />

exported and mandatory XMI file.<br />

Output: OK-link: set of exported axioms. KO-link: error code<br />

Table 4.3: WebML manage knowledge base components<br />

Description<br />

Output: OK-link: set of added axioms. KO-link: error code<br />

Add ClassAxiom<br />

Add DatatypeAxiom<br />

Add PropertyAxiom<br />

Add InstanceAxiom<br />

Input: mandatory name for class, optional names for <strong>di</strong>sjoint classes,<br />

defined instances and properties.<br />

Input: mandatory name for datatype, optional names for defined<br />

properties and values.<br />

Input: mandatory name for property, optional names for <strong>di</strong>sjoint and<br />

inverse properties, assigned instances, defining classes and datatypes.<br />

Input: mandatory name for instance, optional names for assigned<br />

instances and defining classes.<br />

72

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!