Computer Science and Information Systems 2009 Volume 6, Issue 2, Pages: 47-85
https://doi.org/10.2298/CSIS0902047M
Full text ( 4060 KB)
Cited by


Model transformations to bridge concrete and abstract syntax of web rule languages

Milanović Milan (GOOD OLD AI Network, FON-School of Business Administration, Belgrade)
Gašević Dragan (School of Computing and Information Systems, Athabasca University, Canada)
Giurca Adrian (Institute of Informatics, Brandenburg Technical University at Cottbus, Germany)
Wagner Gerd ORCID iD icon (Institute of Informatics, Brandenburg Technical University at Cottbus, Germany)
Lukichev Sergey (Institute of Informatics, Brandenburg Technical University at Cottbus, Germany)
Devedžić Vladan ORCID iD icon (GOOD OLD AI Network, FON-School of Business Administration, Belgrade)

This paper presents a solution to bridging the abstract and concrete syntax of a Web rule languages by using model transformations. Current specifications of Web rule languages such as Semantic Web Rule Language (SWRL) or RuleML define their abstract syntax (e.g., metamodel) and concrete syntax (e.g., XML schema) separately. Although the recent research in the area of Model-Driven Engineering (MDE) demonstrates that such a separation of two types of syntax is a good practice (due to the complexity of languages), one should also have tools that check validity of rules written in a concrete syntax with respect to the abstract syntax of the rule language. In this study, we use the REWERSE I1 Rule Markup Language (R2ML), SWRL, and Object Constraint Language (OCL), whose abstract syntax is defined by using metamodeling, while their textual concrete syntax is defined by using either XML/RDF schema or Extended Backus-Naur Form (EBNF) syntax. We bridge this gap by a bi-directional transformation defined in a model transformation language (ATLAS Transformation Language, ATL). This transformation allowed us to discover a number of issues in both web rule language metamodels and their corresponding concrete syntax, and thus make them fully compatible. This solution also enables for sharing web rules between different web rule languages.

Keywords: rules, MDE, syntax, transformations, languages, R2ML, OCL, SWRL