Generating SQL queries from SBVR rules
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...
Main Authors: | , , |
---|---|
Format: | Article in Journal/Newspaper |
Language: | English |
Published: |
Springer
2010
|
Subjects: | |
Online Access: | http://epubs.surrey.ac.uk/738714/1/Generating_SQL_from_SBVR_RuleML2010.pdf http://epubs.surrey.ac.uk/738714/2/SRI_deposit_agreement.pdf https://doi.org/10.1007/978-3-642-16289-3_12 |
id |
ftusurrey:oai:epubs.surrey.ac.uk:738714 |
---|---|
record_format |
openpolar |
spelling |
ftusurrey:oai:epubs.surrey.ac.uk:738714 2023-05-15T16:01:52+02:00 Generating SQL queries from SBVR rules Moschoyiannis, Sotiris Marinos, A Krause, Paul 2010 text http://epubs.surrey.ac.uk/738714/1/Generating_SQL_from_SBVR_RuleML2010.pdf http://epubs.surrey.ac.uk/738714/2/SRI_deposit_agreement.pdf https://doi.org/10.1007/978-3-642-16289-3_12 en eng Springer http://epubs.surrey.ac.uk/738714/ http://dx.doi.org/10.1007/978-3-642-16289-3_12 10.1007/978-3-642-16289-3_12 http://epubs.surrey.ac.uk/738714/1/Generating_SQL_from_SBVR_RuleML2010.pdf http://epubs.surrey.ac.uk/738714/2/SRI_deposit_agreement.pdf Moschoyiannis, Sotiris, Marinos, A and Krause, Paul (2010) Generating SQL queries from SBVR rules Lecture Notes in Computer Science: Semantic Web Rules, 6403. pp. 128-143. doi:10.1007/978-3-642-16289-3_12 attached Article PeerReviewed 2010 ftusurrey https://doi.org/10.1007/978-3-642-16289-3_12 2019-12-14T07:18:19Z 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. Article in Journal/Newspaper DML University of Surrey, Guildford: Surrey Scholarship Online. 128 143 |
institution |
Open Polar |
collection |
University of Surrey, Guildford: Surrey Scholarship Online. |
op_collection_id |
ftusurrey |
language |
English |
description |
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. |
format |
Article in Journal/Newspaper |
author |
Moschoyiannis, Sotiris Marinos, A Krause, Paul |
spellingShingle |
Moschoyiannis, Sotiris Marinos, A Krause, Paul Generating SQL queries from SBVR rules |
author_facet |
Moschoyiannis, Sotiris Marinos, A Krause, Paul |
author_sort |
Moschoyiannis, Sotiris |
title |
Generating SQL queries from SBVR rules |
title_short |
Generating SQL queries from SBVR rules |
title_full |
Generating SQL queries from SBVR rules |
title_fullStr |
Generating SQL queries from SBVR rules |
title_full_unstemmed |
Generating SQL queries from SBVR rules |
title_sort |
generating sql queries from sbvr rules |
publisher |
Springer |
publishDate |
2010 |
url |
http://epubs.surrey.ac.uk/738714/1/Generating_SQL_from_SBVR_RuleML2010.pdf http://epubs.surrey.ac.uk/738714/2/SRI_deposit_agreement.pdf https://doi.org/10.1007/978-3-642-16289-3_12 |
genre |
DML |
genre_facet |
DML |
op_relation |
http://epubs.surrey.ac.uk/738714/ http://dx.doi.org/10.1007/978-3-642-16289-3_12 10.1007/978-3-642-16289-3_12 http://epubs.surrey.ac.uk/738714/1/Generating_SQL_from_SBVR_RuleML2010.pdf http://epubs.surrey.ac.uk/738714/2/SRI_deposit_agreement.pdf Moschoyiannis, Sotiris, Marinos, A and Krause, Paul (2010) Generating SQL queries from SBVR rules Lecture Notes in Computer Science: Semantic Web Rules, 6403. pp. 128-143. doi:10.1007/978-3-642-16289-3_12 |
op_rights |
attached |
op_doi |
https://doi.org/10.1007/978-3-642-16289-3_12 |
container_start_page |
128 |
op_container_end_page |
143 |
_version_ |
1766397561879396352 |