[Developers] query API - overuse and sanctions?
Faye Harris
faye at metaweb.com
Fri May 8 19:10:37 UTC 2009
Hi Michael,
This works:
http://www.freebase.com/api/service/mqlread?query={%22query%22:{%22limit%22:1,%22type%22%20:%22/people/person%22,%22name%22:%22Samuel%20Adams%22,%22a:name%22:null,%22id%22%20:%20null}}
Your query has two "name:value" pairs. Add an arbitrary property prefix
to the second one, so the new query is:
{"query":{"limit":1,"type" :"/people/person","name":"Samuel
Adams","a:name":null,"id" : null}}
-- Faye
Michael Callaghan wrote:
> Kirrily
>
> http://www.freebase.com/api/service/mqlread?query={%22query%22:{%22limit%22:1,%22type%22%20:%22/people/person%22,%22name%22:%22Samuel%20Adams%22,%22name%22:null,%22id%22%20:%20null}}
> <http://www.freebase.com/api/service/mqlread?query=%7B%22query%22:%7B%22limit%22:1,%22type%22%20:%22/people/person%22,%22name%22:%22Samuel%20Adams%22,%22name%22:null,%22id%22%20:%20null%7D%7D>
>
> Thanks for the numbers.
>
> As for the query, I just tried the above on a different computer and
> good ol' Jack Abramoff came back ... (Note, it's the mqlread service
> and not the queryeditor as in your link)
>
> Michael
>
>
>
> 2009/5/8 Kirrily Robert <kirrily at metaweb.com <mailto:kirrily at metaweb.com>>
>
> On 08/05/2009, at 9:54 AM, Michael Callaghan wrote:
>
> > {"query":{"limit":1,"type" :"/people/person","name":"Samuel
> > Adams","name":null,"id" : null}
>
>
> Looks OK to me:
> http://www.freebase.com/app/queryeditor?q={%22limit
> <http://www.freebase.com/app/queryeditor?q=%7B%22limit>
> %22%3A%201%2C%20%22type%22%3A%20%22%2Fpeople%2Fperson%22%2C%20%22name
> %22%3A%20%22Samuel%20Adams%22%2C%20%22ns0%3Aname%22%3A%20null%2C
> %20%22id%22%3A%20null%20}
>
> Wrt API overuse, just FYI, our limit is 100,000 queries per day. "A
> few thousand" shouldn't affect you.
>
> K.
>
> --
> Kirrily Robert
> Freebase Community Director
> kirrily at metaweb.com <mailto:kirrily at metaweb.com>
>
>
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com <mailto:Developers at freebase.com>
> http://lists.freebase.com/mailman/listinfo/developers
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
>
More information about the Developers
mailing list