[Developers] cursor problem...
Marc Slayton
marc at metaweb.com
Mon Jul 27 17:41:56 UTC 2009
I'd like to get a few hundred values
returned from a simple query in freebase.
>From the docs, it seems like cursors are the
way to accomplish this. To understand how
cursors work, I tried pasting a few examples
into the mql editor.
I must be missing something obvious because even
the simple cursor examples from the mql guide do
not seem work.
For example, this query from section 4.2.4 of the
mql reference guide returns an error when pasted
into the query editor:
{
"cursor":true,
"query": [{
"type":"/music/album",
"artist":"The Police",
"name":null,
"limit":10
}]
}
The error:
http://tinyurl.com/kv2mtt
It seems like the editor doesn't recognize the
"cursor" directive in the query envelope.
I tried a few permutations of mql looking
for typos, but couldn't get things working.
Am I taking the wrong approach?
Could someone demonstrate the mql syntax needed to
retrieve more than 100 values from a simple query?
More information about the Developers
mailing list