[Developers] API for queries

Scott Meyer sm at metaweb.com
Thu May 3 18:57:12 UTC 2007


Larry Maccherone wrote:

> As an aside, I’m also curios about why implemented your own database.  
> I’m planning on using SQL.

While it is possible to represent a graph as SQL tables, the resulting
general purpose data model will perform abysmally as it will require
multiple joins or selects (sometimes both) for even the simplest
queries.

If you can expose a specific schema to SQL and your queries are
more tree-like than graphical, you may be able to get reasonable
performance, but neither of those restrictions work for us: we
need a general-purpose schema-last data model and we need to support
graphical queries.

As for the URL documentation,

http://www.freebase.com/view/documentation/

is a good start, chapter 4 specifically.

Regards,

-Scott




More information about the Developers mailing list