在mql中返回notable_for

时间:2014-01-08 02:35:41

标签: freebase

我的代码:

[{
  "id": null,
  "name": null,
  "/common/topic/alias": [],
  "/common/topic/notable_for": [],
  "limit": 100,
  "type": "/sports/sport"
}]

Link

"/common/topic/alias"被罚款,但notable_for始终为空。我还尝试过:null[{}]{}/common/notable_for,这会产生架构错误。

如何在上面的notable_for示例中返回每个实例的/sports/sport值?

1 个答案:

答案 0 :(得分:0)

notable_for数据与Freebase中的其他事实分开计算,无法从MQL API访问。但是,它可以从Search APITopic APIRDF data dumps获取。

搜索API:

https://www.googleapis.com/freebase/v1/search?filter=(all+type:/sports/sport)&output=(/common/topic/alias)

主题API:

https://www.googleapis.com/freebase/v1/topic/m/071k0