github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

cjheath / activefacts

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 8
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • master ✓
    • multiword
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

A semantic modeling and query language (CQL) and application runtime (the Constellation API) — Read more

  cancel

http://dataconstellation.com/ActiveFacts

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Added MetamodelNext, so folk can see where I want to go 
Clifford Heath (author)
Sat Nov 07 14:24:37 -0800 2009
commit  f125b8f0f7bab0ac3da0ac819aeb96b2aff18b51
tree    b7f01ff60754103bdcbf0bb8cea375511133a3e3
parent  ef1592bf152d2ecac4f144c2f4f784817a35f380
activefacts /
name age
history
message
file .gitignore Loading commit data...
file History.txt
file LICENSE
file Manifest.txt
file README.rdoc
file Rakefile
directory adhoc/
directory bin/
directory css/
file download.html
directory examples/
directory images/
file index.html
directory lib/
directory patches/
directory script/
directory spec/
file status.html
file why.html
README.rdoc

activefacts

  • dataconstellation.com/ActiveFacts/

DESCRIPTION:

ActiveFacts is a semantic modeling toolkit, comprising an implementation of the Constellation Query Language, the Constellation API, and code generators that receive CQL or ORM (Object Role Modeling files, from NORMA) to emit CQL, Ruby and SQL.

Semantic modeling is a refinement of fact-based modeling techniques that draw on natural language verbalisation and formal logic. Fact based modeling is essentially the same as relational modeling in the sixth normal form. The tools provided here automatically condense that to third normal form for efficient storage. They also generate object models as a Ruby module which has an effective mapping to both the original semantic model and to the generated SQL.

The result is a formal language that reads like plain English, and allows creation of relational and object models that are guaranteed equivalent, and much more stable in the face of schema evolution than SQL is.

FEATURES/PROBLEMS:

 * Queries are parsed, but not yet generated to SQL. DDL is complete.

 * The Constellation API lacks SQL persistence (but is already useful;
   the CQL compiler uses the generated Ruby code extensively)

 * Re-invoking a fact type to add new readings doesn't work

 * Some types of external constraints (when adjectives mis-match)
   don't yet pass the CQL parser's semantic analysis.

 * Validation of semantic models (and many other areas) is incomplete

 * There's no interactive CQL interpreter yet; the cql command merely
   shows the parse tree.

SYNOPSIS:

  afgen --sql/server myfile.cql
  afgen --ruby myfile.cql
  afgen --cql myfile.orm

REQUIREMENTS:

  • Treetop parser generator
  • Optional: NORMA, see <www.ormfoundation.org/files/> (needs Visual Studio pro edition), if you want to use ORM

INSTALL:

  • sudo gem install activefacts

LICENSE:

Copyright © 2008 Clifford Heath.

This software is provided ‘as-is’, without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server