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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.2.2 Release-KB component<br />

The Release-KB Component releases an instantiated knowledge base, referred through its<br />

identifier. Upon successful invocation, the component returns the identifier of the deleted<br />

knowledge base. Subsequent attempts of interaction with the knowledge base will raise an<br />

exceptional situation.<br />

Figure 3.22: Release-KB Component<br />

3.2.3 Import-XMI-to-KB component<br />

The Import-XMI-to-KB Component creates both schema and instances for an existing knowledge<br />

base in the Pellet repository. Schema and instances are extracted from an XMI file serializing a<br />

UML model (class and object <strong>di</strong>agram). The component in<strong>di</strong>rectly translates UML elements to<br />

Description Logic formalisms. This operation works only if the mandatory parameters KB and<br />

XMI are correctly set. Upon successful invocation, the component returns the identifiers of the<br />

inserted objects in the knowledge base.<br />

Figure 3.23: Import XMI to KB Component<br />

46

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

Saved successfully!

Ooh no, something went wrong!