Microsoft Academic API, Knowledge graph search — ReferenceIDs always empty

只谈情不闲聊 提交于 2019-12-23 04:22:36

问题


I'm using the graph search method of the Microsoft Academic API to retrieve citation IDs and reference IDs for a paper. However, while retrieving citation IDs works, the reference IDs field is always empty, even for papers which should have linked references. For example, retrieving this publication through the API:

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]
    }
}

yields this response (I shortened the CitationIDs list for the sake of legibility):

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

One thing I've noticed is that the graph schema provided here (at the bottom of the page) doesn't match the schema shown here (some of the attributes were renamed, e.g. NormalizedPaperTitle -> NormalizedTitle), so I thought the field was perhaps renamed to something else.

What is the correct query to get reference IDs through the API?


回答1:


It should be ReferencesIDs, not ReferenceIDs



来源:https://stackoverflow.com/questions/42489315/microsoft-academic-api-knowledge-graph-search-referenceids-always-empty

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!