0

I need to query about 30000 entities from Freebase using Python on GAE. This has been my evenings journey so far:

Firstly, I attempted to use the solution using the 'cursor' key from here: how to increase freebase API result limit. But I hit the "Key cursor is a reserved word" error described here: Freebase "Key cursor is a reserved word". I followed the solution butI could not see how to get the cursor value back as described here: How to get cursor from mqlread() when using Freebase API?. This post recommends using the python freebase library:

freebase.mqlread(query, extended=True)

So I installed the freebase library on GAE following the instructions here: http://code.google.com/p/freebase-python/wiki/GoogleAppEngine. Next, I got the GAE error:

No module named uritemplate

So I ran "easy_install uritemplate" on my Mac and copied the installed uritemplate.egg file (no dir was installed) into my GAE app dir. But I still get the same error.

Community
  • 1
  • 1
waigani
  • 3,570
  • 5
  • 46
  • 71

1 Answers1

0

This is an example of how to use cursors: http://wiki.freebase.com/wiki/MQL_Read_Service#cursor:_return_albums_by_Bob_Dylan_3_at_a_time

You should not use the freebase-python library as it's not updated to deal with the new googleapis yet.