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. |