![](/img/trans.png)
[英]Freebase MQL query to retrieve country description by alpha 3 code
[英]Freebase returning empty results for MQL query of topic description
我尝试使用谷歌API免费库。 我使用以下查询搜索电影描述:
[{
"id": "/m/027pfg",
"name": null,
"/common/topic/description": []
}]
结果是:
{
"result": [{
"id": "/m/027pfg",
"name": "Big Fish",
"/common/topic/description": []
}]
}
网址:
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)
主题API:
https://www.googleapis.com/freebase/v1/topic/m/027pfg?filter=/common/topic
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.