[Freebase-discuss] MQL source code
kurt at spaceship.com
Wed Mar 23 23:51:05 UTC 2011
On Wed, Mar 23, 2011 at 11:42:13PM +0000, Walker, Travis wrote:
> This is my first post so apologies if this is not the proper venue for my question.
> Does anyone know where/if I can get my hands on the actual MQL implementation code (or binary) that is used to power the online freebase MQL API? The closest thing I could find was mql-to-sql http://code.google.com/p/mql-to-sql/ - I would use this but it looks like it requires a custom mapping and I'm really interested in the entire freebase corpus from the data dump.
> My goals are as follows:
> 1) Download the freebase data dump - http://download.freebase.com/datadumps/latest/
> 2) Load into mysql
> 3) Install a MQL (mqlread) service locally
> 4) Use it for an internal project ;)
There are a bunch of reasons that won't currently work, but my
favorite is MQL execution speed. A wild guess is that the setup you
suggest could be 100x slower than Freebase. Is that acceptable?
> Any suggestions?
Why not throw the raw dump (not the per-type TSV dump) into your
favorite tuple store and use SPARQL? It won't be as elegant as MQL,
but it'll do much of what you want.
More information about the Freebase-discuss