/guid/9202a8c04000641f8000000006ad83d7 rename
author:
contributor:
published:
updated:
Jul 11, 2009 12:00:04AM UTC
source uri:
Summary
The mqlread service is used to perform read-only queries on Freebase data.
MQL...
Content
The mqlread service is used to perform read-only queries on Freebase data.
MQL queries must be wrapped in an envelope consisting of two JSON objects before being sent to mqlread. This is explained in detail in section 4.2.4 of the The MQL Reference Guide.
If you are writing Acre scripts, then you should use the convenient function acre.freebase.mqlread instead of issuing HTTP requests to this web service.
Full information on mqlread can be found in Chapter 4 of the MQL Reference Guide.
A single query:
http://api.freebase.com/api/service/mqlread?query={"query":[{"id":"/topic/en/edinburgh","key":[{"namespace":"/wikipedia/en_id","value":null}]}]}
Multiple queries in a single request:
http://api.freebase.com/api/service/mqlread?queries={"q0":{"query":[{"id":"/topic/en/edinburgh","key":[{"namespace":"/wikipedia/en_id","value":null}]}]},"q1":{"query":[{"id":"/topic/en/hamster","key":[{"namespace":"/wikipedia/en_id","value":null}]}]}}
Recent Discussions about None
There is no discussion about this document.
Start the Discussion »