ActiveFacts provides a semantic modeling language, the Constellation Query Language (CQL). CQL combines natural language verbalisation and formal logic, producing a formal language that reads like plain English. ActiveFacts converts semantic models from CQL to relational and object models in SQL, Ruby and other languages.
Gemfile gem 'activefacts', '~> 0.8.18'
install gem install activefacts -v 0.8.18