ActiveFacts provides the Constellation Query Language (CQL), a fact modeling and query language. CQL combines a controlled natural language verbalisation with formal logic, producing a formal language that reads like plain English. ActiveFacts compiles fact models in CQL and generates relational and object models in SQL, Ruby and other languages.
The ActiveFacts API is a Ruby DSL for managing constellations of elementary facts. Each fact is either existential (a value or an entity), characteristic (boolean) or binary relational (A rel B). Relational facts are consistently co-referenced, so you can traverse them efficiently in any direction. Each constellation maintains constraints over the fact population.
Core meta-model for fact-based models (schema). This gem provides the core representations for the Fact Modeling tools of ActiveFacts.
Create and represent composite schemas, schema transforms and data transforms over a fact-based model
Compiler for the Constellation Query Language, part of the ActiveFacts suite for Fact Modeling
Code generators for the ActiveFacts Fact Modeling suite, including the Constellation Query Language
ORM format importer for the ActiveFacts fact modeling suite. Install the Natural ORM Architect from http://ormfoundation.org to produce input files.
Example models in the Constellation Query Language for use with ActiveFacts
Relational mapping for fact models. Part of the ActiveFacts suite.