27.03.2014 Views

SEKE 2012 Proceedings - Knowledge Systems Institute

SEKE 2012 Proceedings - Knowledge Systems Institute

SEKE 2012 Proceedings - Knowledge Systems Institute

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.

transformation of UML diagrams directly, but offer ontology<br />

modeling utilizing UML profiles (compare [4][pg.2ff]). In this<br />

alternative approach users have to explicitly specify OWL elements<br />

using UML syntax[1], while conventional tools typically<br />

try to extract implicit information from UML elements[2].<br />

Only the latter approach is relevant for CDL-Flex, hence only<br />

one representative, i. e., TwoUseToolkit 2 , will be outlined in<br />

this paper. Other examples for hybrid tools are Altova Semantic<br />

Works,UMLtoOWL by Gasevic et al. which is described in [3]<br />

and VisioOWL.<br />

Purebred transformation tools have been compared and<br />

evaluated based on portability, traceability, their transformation<br />

approach, up-to-dateness, availability of documentation,<br />

support, usability and surplus value for CDL-Flex. The major<br />

prerequisite was that the UML to OWL transformation feature<br />

is executable or that, if the tool/feature is not available, it is<br />

somehow justified, why the tool is capable to transform UML<br />

into OWL.<br />

A. Evaluation Results<br />

None of the tools transformed VP XMI 1.2 or 2.1 into valid<br />

OWL 2 DL. All scripts completed within a reasonable time<br />

(in other words: none of the programs crashed), but also none<br />

of the tools correctly transformed a single UML element into<br />

its valid OWL counterpart. The tools either terminated before<br />

an OWL file was created or the root element of the resulting<br />

OWL XML/RDF file was empty.<br />

Most of the tools passed their own reference model tests,<br />

which means that they successfully translated the examples<br />

(XMI files) they provided into valid OWL ontologies, which<br />

has been validated using OWL Validator by University of<br />

Manchester (ManchesterValidator) 3 . Transformation of Leinhos’<br />

UML2OWL 4 reference models failed when the models<br />

were opened in Poseidon for UML SE 6.0.2 and re-exported<br />

into XMI 1.2. Dia 5 successfully imported MS Visio XSD<br />

files, but crashed during OWL export, because the Visio file<br />

could not be saved as a valid Dia file (tested with Ubuntu<br />

11.04). OntoStudio 6 seemed quite interesting and provides<br />

a pliable GUI (Eclipse based). However, UML 2 is only<br />

available for ObjectLogics. NeOn Toolkit 7 , which is a derivate<br />

of OntoStudio claims to provide transformation functionality<br />

as well, but version 2.5.1 misses any feature. Eclipse offers<br />

an entire UML modeling environment (EMF; ATL; UML2 or<br />

Papyrus project) and ATL transformation performed well for<br />

the distributed XMI 2.1 reference examples, but the flip side<br />

of the coin is that most of the Eclipse modeling tools are still<br />

in incubation. Detailed evaluation results and a comprehensive<br />

comparison of available tools in tabular form are provided in<br />

[4][p.2ff].<br />

2 http://code.google.com/p/twouse<br />

3 http://owl.cs.manchester.ac.uk/validator<br />

4 http://diplom.ooyoo.de/index.php?page=download<br />

5 http://projects.gnome.org/dia/<br />

6 http://www.ontoprise.de/de/produkte/ontostudio/<br />

7 http://neon-toolkit.org/wiki/Main Page<br />

B. ODM-ATL Implementation (Bridging UML - OWL)<br />

ATL 8 is an Eclipse-based model transformation language<br />

that provides ways to produce a set of target models out of<br />

a set of source models. It originally has been initiated by<br />

Object Management Group (OMG) and is part of Eclipse’s<br />

Model To Model Transformation (M2M) project. One of the<br />

transformation use cases for ATL is the Ontology Defnition<br />

Meta Model (ODM) implementation for bridging UML<br />

and OWL. Hillairet 9 provides the most current project files<br />

(including samples) as well as the source files for reverse<br />

transformation (OWL2UML) of OWL. Evaluation showed<br />

that the tool transforms XMI 2.1 UML models accurate, if<br />

they have been designed using Eclipse’s UML2 plug-in or<br />

Papyrus, which both implement OMG’s XMI 2.1 standard.<br />

Transformation of VP XMI 2.1 caused exceptions and resulted<br />

in an empty OWL file.<br />

Eclipse ATL’s transformation approach is based on different<br />

meta levels, as defined by OMG (compare [5]). ATL is used to<br />

transform UML 2.0 (XMI 2.1) input files into OWL metadata,<br />

based on OWL.ecore. Eclipse ecore is a meta language inspired<br />

by MOF 1.4 and is used to define platform independent<br />

models [6]. Once the XMI input file has been transformed into<br />

OWL ecore format, the AM3 plugin serializes OWL resulting<br />

in valid OWL RDF/XML output.<br />

The ATL approach is elegant, though transformation rules<br />

are defined in a single, transparent file. ATL supports syntax<br />

highlighting and debugging. Transformation rules are intuitive<br />

to interpret and may be easier to read than XSLT, because the<br />

rules do not follow an XML sytanx. Helper functions can be<br />

defined and allow more freedom for the developer. ATL is easy<br />

adaptable. Drawbacks are that the Eclipse environment is hard<br />

to setup. ATL UML2OWL project requires Eclipse Eclipse<br />

Modeling Framework (EMF), UML2 and AM3. Some of those<br />

components are still in incubation phase and incompatible<br />

either among themselves or with some versions of Eclipse.<br />

Furthermore, ecore/ATL training effort is high. Developers<br />

have to dive into the EMF concept to gain a deeper understanding<br />

and learn ATL, which can be time consuming.<br />

C. TwoUse Toolkit<br />

The TwoUse Toolkit originated from an European project. It<br />

implements the current OMG and W3C standards for software<br />

design, code generation and OWL ontology engineering.[7]<br />

All components are implemented as Eclipse plug-ins. The<br />

aim of TwoUse toolkit is to enable Semantic Web Software<br />

Engineering and Model Driven Semantic Web. Thus, besides<br />

extensive browsing and querying support (e.g. SPARQL), it<br />

offers different graphically design tools for modeling of OWL<br />

ontologies:<br />

• UML editor for modelling and transformation of UML<br />

profiles into OWL ontology functional syntax.<br />

• TwoUse Graphical Editor for directly creating ontologies<br />

(some design elements have been adopted from Protégé).<br />

8 http://www.eclipse.org/atl<br />

9 http://perso.univ-lr.fr/ghillair/projects.html<br />

731

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

Saved successfully!

Ooh no, something went wrong!