University of Surrey

Test tubes in the lab Research in the ATI Dance Research

Generating SQL queries from SBVR rules

Moschoyiannis, S, Marinos, A and Krause, P (2010) Generating SQL queries from SBVR rules In: Rule ML 2010: The 4th International Web Rule Symposium: Research Based and Industry Focused, 2010-10-21 - 2010-10-23, Washington, DC, USA.

Available under License : See the attached licence file.

Download (386kB)
Text (licence)

Download (33kB)


Declarative technologies have made great strides in expressivity between SQL and SBVR. SBVR models are more expressive that SQL schemas, but not as imminently executable yet. In this paper, we complete the architecture of a system that can execute SBVR models. We do this by describing how SBVR rules can be transformed into SQL DML so that they can be automatically checked against the database using a standard SQL query. In particular, we describe a formalization of the basic structure of an SQL query which includes aggregate functions, arithmetic operations, grouping, and grouping on condition. We do this while staying within a predicate calculus semantics which can be related to the standard SBVR-LF specification and equip it with a concrete semantics for expressing business rules formally. Our approach to transforming SBVR rules into standard SQL queries is thus generic, and the resulting queries can be readily executed on a relational schema generated from the SBVR model.

Item Type: Conference or Workshop Item (Conference Paper)
Divisions : Faculty of Engineering and Physical Sciences > Computing Science
Authors :
Moschoyiannis, S
Marinos, A
Krause, P
Date : 2010
Identification Number : 10.1007/978-3-642-16289-3_12
Contributors :
ContributionNameEmailORCID BERLIN,
Additional Information : The original publication is available at
Depositing User : Symplectic Elements
Date Deposited : 29 Apr 2013 07:58
Last Modified : 31 Oct 2017 14:52

Actions (login required)

View Item View Item


Downloads per month over past year

Information about this web site

© The University of Surrey, Guildford, Surrey, GU2 7XH, United Kingdom.
+44 (0)1483 300800