Model Validation in Ontology Based Transformations


Jesus Almendros  (1)
Luis Iribarne  (2)


(1)  Information System Group
jalmen@ual.es
http://www.ual.es/~jalmen

(2)  Applied Computing Group
Luis.Iribarne@ual.es
http://www.ual.es/~liribarn

University of Almeria
04120 Almeria
SPAIN
 



Abstract

Model Driven Engineering (MDE) is an emerging approach of software engineering. MDE emphasizes the construction of models from which the implementation should be derived by applying model transformations. The Ontology Definition Meta-model (ODM) has been proposed as a profile for UML models of the Web Ontology Language (OWL).  In this context, transformations of UML models can be mapped to ODM/OWL transformations. On the other hand, model validation is a crucial task in model transformation. Meta-modeling permits to give a syntactic structure to source and target models. Nevertheless, semantic requirements have to be imposed to source and target models. A given transformation will be sound when source and target models fulfill the syntactic and semantic requirements. In this paper, we present an approach for model validation in ODM based transformations. Adopting a logic programming based transformational approach we will show how transform and validate models. Properties to be validated range from structural and semantic requirements of models (pre and post conditions) to properties of the transformation (invariants). The approach has been applied to the well-known example of model transformation: the Entity-Relationship (ER) to Relational Model (RM) transformation.






Contents

1. Models

    1.1. Model A
    1.2. Model B
    1.3. Metamodel A
    1.4. Metamodel B
    1.5. Object model A
    1.6. Object model B


2. Prolog material

3. Validation rules

4. Instructions





1. Models




[
home ]







[
home ]







[
home ] [ OWL ]







[
home ] [ OWL ]







[
home ] [ OWL ]






[
home ] [ OWL ]





2. Prolog material



Model Transformation in Prolog
[ download ] [ HTML version ]


[
home ]




3. Validation Rules



Prolog-based validation rules [ download ] [ HTML version ]


[ home ]




4. Intructions

In order to test our prototype you should download and install SWI-Prolog from www.swi-prolog.org.

After, you should load the prototype by:

?- [transformation].

Now, you can transform the model A into the model B:

?-  transform('modelA.owl', 'modelB.owl').



[ home ]



(c) Jesus Almendros and Luis Iribarne
University of Almeria, 2012
Almeria, Spain