Microsoft Academic API,知识图搜索 - ReferenceID始终为空

时间:2017-02-27 15:18:25

标签: json web-services api azure microsoft-cognitive

我正在使用Microsoft Academic API的graph search方法来检索论文的引文ID和引用ID。但是,在检索引文ID时,引用ID字段始终为空,即使对于应该具有链接引用的纸张也是如此。例如,通过API检索this publication

POST https://westus.api.cognitive.microsoft.com/academic/v1.0/graph/search?mode=json
Content-Type: application/json
Host: westus.api.cognitive.microsoft.com
Ocp-Apim-Subscription-Key: my-api-key

{  
    "path": "/paper",
    "paper": {  
        "select": [  
            "OriginalTitle",
            "CitationIDs",
            "ReferenceIDs"
        ],
        "type": "Paper",
        "id": [2059999322]
    }
}

产生此响应(为了易读性,我缩短了CitationIDs列表):

{
    "Results": [
        [
            {
                "CellID": 2059999322, 
                "CitationIDs": "[630584464,2053566310,2239657960,...]",  
                "OriginalTitle": "Biodistribution of colloidal gold nanoparticles after intravenous administration: Effect of particle size", 
                "ReferenceIDs": ""
            }
        ]
    ]
}

我注意到的一件事是提供的图表架构here(在页面底部)与显示的架构here不匹配(某些属性已重命名,例如NormalizedPaperTitle - > NormalizedTitle),所以我认为该字段可能已重命名为其他内容。

通过API获取参考ID的正确查询是什么?

1 个答案:

答案 0 :(得分:2)

应该是ReferencesIDs,而不是ReferenceIDs