I am trying to execute an MQL query that will be executed using the Freebase API. I would like to get a summary of the topic and an image for the topic.
I was able to work out the query below, which will give me images related to the Bill Gates theme.
MQL:
[ { "/common/topic/image" : [ { "id" : null } ], "name" : "bill gates", "type" : "/people/person" } ]
Results:
[ { "/common/topic/image" : [ { "id" : "/guid/9202a8c04000641f8000000004fb4c01" }, { "id" : "/wikipedia/images/commons_id/4486276" } ], "name" : "Bill Gates", "type" : "/people/person" } ]
For those who have not previously worked in MQL, but are interested in playing with it. Check out the FreeBase MQL Query Editor .
billg profile page http://i.friendfeed.com/c31a22d9e439eb67b0feeb4ffd64c3b5ed9a8e16
UPDATE
The query I ended up using:
[ { "/common/topic/image" : [ { "id" : null } ], "article" : [ { "content" : null } ], "name" : "bill gates", "type" : "/common/topic" } ]
These results can be combined with narphorium's answer to provide evidence:
[ { "/common/topic/image" : [ { "id" : "/guid/9202a8c04000641f8000000004fb4c01" }, { "id" : "/wikipedia/images/commons_id/4486276" } ], "article" : [ { "content" : null }, { "content" : "/guid/9202a8c04000641f800000000903535d" } ], "name" : "Bill Gates", "type" : "/common/topic" } ]
freebase mql
Eric schoonover
source share