4

I try and use the google API freebase. I search for films description using the following query:

[{ 
  "id": "/m/027pfg", 
  "name": null, 
  "/common/topic/description": [] 
}] 

which result in :

{ 
  "result": [{ 
    "id": "/m/027pfg", 
    "name": "Big Fish", 
    "/common/topic/description": [] 
  }] 
} 

the url:

http://www.freebase.com/query?autorun=1&q=%5B%7B%22id%22:%22/m/027pfg%22,%22name%22:null,%22/common/topic/description

but in the page itself: "http://www.freebase.com/m/027pfg" I do see the description of the film. this happenes alot and I can not get the info I need.

Tom Morris
  • 10,490
  • 32
  • 53
Gidi
  • 181
  • 1
  • 10

1 Answers1

5

The MQL API does not return entity descriptions. In order to get the descriptions, you'll need to use either the Search API or the Topic API.

Search API:

https://www.googleapis.com/freebase/v1/search?query=/m/027pfg&output=(description)

Topic API:

https://www.googleapis.com/freebase/v1/topic/m/027pfg?filter=/common/topic
Shawn Simister
  • 4,613
  • 1
  • 26
  • 31
  • thank you. do you know maybe how can I get info about all movies in their Api consecutively? – Gidi May 08 '13 at 09:34
  • Freebase has information on over 200,000 movies right now. The data dumps are probably the best way to get them all. https://developers.google.com/freebase/data – Shawn Simister May 08 '13 at 17:46
  • I downloaded the tsv file. Can you tell me please What would the best way to approach the data and parse it? – Gidi May 09 '13 at 14:24
  • Can you please post that as a separate question. – Shawn Simister May 09 '13 at 18:13
  • http://stackoverflow.com/questions/16476981/google-api-freebase-data-dumps-parsing-using-c-sharp – Gidi May 10 '13 at 07:09
  • http://stackoverflow.com/questions/16537725/freebase-google-api-data-dumps-seatrching-for-all-films – Gidi May 14 '13 at 07:49