[Developers] Python query not working?

Christopher R. Maden crism at metaweb.com
Tue Jul 22 14:00:31 UTC 2008


Chris Mahon wrote:
> Trying to use the query generated by this page in my Python app:
> 
> http://sandbox.freebase.com/view/en/xbox_360?pid=%2Fcvg%2Fcvg_platform%2Fgames_on_this_platform
> 
> I've clicked on Use Results, and copied the query under "See the query". 
> I copied the code on this page, but replace the query in it with the one 
> from the page above:
> 
> http://code.google.com/p/freebase-python/source/browse/trunk/freebase-api/examples/get_albums.py
> 
> I'm using freebase-python, basically just gives me a MQL error. I've 
> used the basic query that gets all of stings albums, works fine.
> 
> Any ideas?

What is the MQL error you are getting?

Exactly how did you replace the query in the sample code?  Did you 
replace the entire Sting query, including the curly braces, with the 
entire Xbox query, including the square brackets?

~Chris
-- 
Christopher R. Maden
Data Architect
Freebase.com: <URL: http://www.freebase.com/ >
Metaweb Technologes, Inc. <URL: http://www.metaweb.com/ >


More information about the Developers mailing list