This Ruby-on-Rails plugin provides access to the Freebase API ( Freebase is a collaborative, semantic database similar to Wikipedia only for structured data. provides a JSON-over-HTTP API that this library uses.

Currently only reads are implemented. Contributions, API Suggestions, bug reports are welcome!

This code is ALPHA. The API will change, features will be added. It probably has a bug or two in it. Use it at your own peril.


Christopher Eppstein ([email protected])


Copyright © 2007 Christopher Eppstein


Released under the MIT license


Install the plugin: script/plugin install svn://

Then copy freebase.yml to your rails config directory

Usage Examples

See the following examples:


  • Pat Allan ([email protected]) provided code snippets that exemplified automatic freebase class creation when the class is first referenced.