【问题标题】:Freebase MQL Query - Not Returning ResultsFreebase MQL 查询 - 不返回结果
【发布时间】:2013-04-07 05:08:47
【问题描述】:

我正在尝试几个非常简单的查询来从 Freebase 检索政党的成员,特别是英国工党。我无法让他们返回任何结果,并且欢迎任何关于为什么会这样的想法:

查询 1:

[{
    "id": "/m/01c9x",
    "name": null,
    "/government/political_party/politicians_in_this_party": []
}]

查询 2:

[{
  "type": "/government/politician",
  "mid": null,
  "name": null,
  "/government/politician/party": {
      "mid": "/m/01c9x"
  }
}]

我正在尝试在以下站点运行它们:http://www.freebase.com/query

非常感谢。

【问题讨论】:

    标签: freebase mql


    【解决方案1】:

    与聚会的联系是通过日期调解的,因此您需要更进一步:

    [{
      "type": "/government/politician",
      "mid": null,
      "name": null,
      "party": [{
        "party": {
          "id": "/m/01c9x"
        }
      }]
    }]
    

    如果您想在特定日期通过派对成员进行限制,您可以使用中介节点上的fromto 属性。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多