Sharing OCL Constraints by Using Web Rules

Milan Milanović, Dragan Gašević, Adrian Giurca, Gerd Wagner, Vladan Devedžić

Abstract


This paper presents an MDE-based approach to interchanging rules between the Object Constraint Language (OCL) and REWERSE I1 Rule Markup Language (R2ML). The R2ML tends to be a standard rule markup language by following up the W3C initiative for Rule Interchange Format (RIF). The main benefit of this approach is that the transformations between languages are completely based on the languages' abstract syntax (i.e., metamodels) and in this way we keep the focus on the language concepts rather than on technical issues caused by different concrete syntax. In the current implementation, we have supported translation of the OCL invariants into the R2ML integrity rules. While most of the OCL expression could be represented in the R2ML and other rule languages, we have also identified that collection operators could only be partially supported in other rule languages (e.g., SWRL).

Full Text:

PDF


DOI: http://dx.doi.org/10.14279/tuj.eceasst.9.99

DOI (PDF): http://dx.doi.org/10.14279/tuj.eceasst.9.99.108

Hosted By Universitätsbibliothek TU Berlin.