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

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

Research output: Contribution to journalArticleResearchpeer-review

4 Citations (Scopus)

Abstract

This paper presents a solution to bridging the abstract and concrete syntax of a Web rule languages by using model transforma-tions. 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 ei-ther 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.

Original languageEnglish
Pages (from-to)47-85
Number of pages39
JournalComputer Science and Information Systems
Volume6
Issue number2
DOIs
Publication statusPublished - 2009
Externally publishedYes

Keywords

  • Languages
  • MDE
  • OCL
  • R2ML
  • Rules
  • SWRL
  • Syntax
  • Transformations

Cite this