Gid*_*idi 4 freebase google-api
我尝试使用google API freebase.我使用以下查询搜索电影描述:
[{
"id": "/m/027pfg",
"name": null,
"/common/topic/description": []
}]
Run Code Online (Sandbox Code Playgroud)
结果是:
{
"result": [{
"id": "/m/027pfg",
"name": "Big Fish",
"/common/topic/description": []
}]
}
Run Code Online (Sandbox Code Playgroud)
网址:
http://www.freebase.com/query?autorun=1&q=%5B%7B%22id%22:%22/m/027pfg%22,%22name%22:null,%22/common/topic/description
但在页面本身:" http://www.freebase.com/m/027pfg "我确实看到了电影的描述.这发生了很多,我无法得到我需要的信息.
该MQL API不返回实体描述.为了获得描述,您需要使用Search API或Topic API.
搜索API:
https://www.googleapis.com/freebase/v1/search?query=/m/027pfg&output=(description)
Run Code Online (Sandbox Code Playgroud)
主题API:
https://www.googleapis.com/freebase/v1/topic/m/027pfg?filter=/common/topic
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
895 次 |
| 最近记录: |