Towards a framework for writing executable natural language rules

Konstantinos Barmpis*, Dimitrios Kolovos, Justin Hingorani

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contribution


The creation of domain-specific data validation rules is commonly performed by the relevant domain experts. Such experts are often not acquainted with the low-level technologies used to actually execute these rules and will hence document them in some informal form, such as in natural language. In order to execute these rules, they need to be transformed by technical experts into a relevant executable language, such as SQL. The technical experts in turn are often not familiar with the business logic these rules are depicting and will thusly have to collaborate with the business experts to gain insight into the semantics of the rules. This paper presents an approach for writing financial data validation rules in constrained natural language, that can then be automatically transformed and executed against the data they are referring to. In order to achieve this, we use the Xtext framework for creating the editor where business experts can create their rules that can then be transformed into executable constraints. We evaluate this approach in terms of its extensibility, coverage and verboseness with respect to the business rules sent to specific UK banks submitting data under one of the Bank of England’s annual reviews.

Original languageEnglish
Title of host publicationModelling Foundations and Applications - 14th European Conference, ECMFA 2018, Held as Part of STAF 2018, Proceedings
Number of pages13
Volume10890 LNCS
ISBN (Electronic)9783319929972
ISBN (Print)9783319929965
Publication statusE-pub ahead of print - 29 May 2018
Event14th European Conference on Modelling Foundations and Applications, ECMFA 2018 Held as Part of STAF 2018 - Toulouse, France
Duration: 26 Jun 201828 Jun 2018

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume10890 LNCS
ISSN (Print)03029743
ISSN (Electronic)16113349


Conference14th European Conference on Modelling Foundations and Applications, ECMFA 2018 Held as Part of STAF 2018

Bibliographical note

© Springer International Publishing AG, part of Springer Nature 2018. This is an author-produced version of the published paper. Uploaded in accordance with the publisher’s self-archiving policy. Further copying may not be permitted; contact the publisher for details

Cite this