OpenRefine协调服务无法正常工作 - mutliple与单个查询

时间:2015-12-23 01:35:15

标签: freebase openrefine

自发布以来,我一直在使用OpenRefine 2.6 Beta 1 w / o问题,之后使用以下对帐服务:

http://reconcile.freebaseapps.com/reconcile

然而,在过去的费用日里,我一直无法使用它。如果我转到URL:

http://reconcile.freebaseapps.com/

并输入多个查询:

{
  "query": "Ford",
  "type": "/people/person",
  "properties": [
    {
      "pid": "/people/person/place_of_birth",
      "v": "Detroit"
    }
  ]
}

我获得:

{
  "result": [
    {
      "id": "/m/0j8pb6y",
      "name": "Ford",
      "type": [
        {
          "id": "/people/person",
          "name": "Person"
        },
        {
          "id": "/common/topic",
          "name": "Topic"
        },
        {
          "id": "/geography/mountaineer",
          "name": "Mountaineer"
        }
      ],
      "notable": [],
      "score": 1.1546246,
      "match": false
    },
    {
      "id": "/m/01vd3gv",
      "name": "Ford",
      "type": [
        {
          "id": "/common/topic",
          "name": "Topic"
        },
        {
          "id": "/music/artist",
          "name": "Musical Artist"
        }
      ],
      "notable": [],
      "score": 1.0330245999999998,
      "match": false
    },
    {
      "id": "/m/0cmdhzt",
      "name": "James Meredith",
      "type": [
        {
          "id": "/common/topic",
          "name": "Topic"
        },
        {
          "id": "/people/person",
          "name": "Person"
        },
        {
          "id": "/military/military_person",
          "name": "Military Person"
        },
        {
          "id": "/people/deceased_person",
          "name": "Deceased Person"
        }
      ],
      "notable": [],
      "score": 0.0681692,
      "match": false
    }
  ],
  "duration": 369
}

但是,如果我尝试一个简单的查询:

{
  "query": "Ford"
}

我明白了:

Status: error Error:undefined

有关对帐服务发生情况的任何见解?我可以使用其他服务来取代freebaseapps.com吗?

由于

2 个答案:

答案 0 :(得分:1)

http://reconcile.freebaseapps.com/

查询参数中尝试此操作
{
  "q0": {
    "query": "Ford"
  }

}

出于某种原因,查询参数不接受单个查询,但在上面的格式中查询参数。我没有在OpenRefine中对此进行测试,因此您可能需要对其进行修改。

答案 1 :(得分:0)

我对这个日期并不确定,但Freebase在今年早些时候宣布将于2015年6月30日停止使用某些服务。也许服务是间歇性的,直到完全关闭?对不起,这个答案可能没什么帮助。