Data Management

An SBVR to SQL Compiler

Date Added: Sep 2010
Format: PDF

While the SBVR standard has been in development for several years, no reference implementation of an SBVR parser has appeared in the open source domain, raising a barrier to entry for experimentation with the language. This paper presents the implementation of a compiler of SBVR structured English to SQL data models and queries, with SBVR logical formulation as an intermediate step. The compiler is implemented in OMeta/JS and targets browsers that support web SQL databases. The authors discuss each stage of their compiler as well as the optimizations and necessary tradeoffs.