问题描述
我正在使用 图搜索 Microsoft Academic API 用于检索论文的引文 ID 和参考 ID 的方法.然而,虽然检索引文 ID 有效,但参考 ID 字段始终为空,即使对于应该具有链接参考的论文也是如此.例如,通过 API 检索此出版物:
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]
}
}
产生此响应(为了清晰起见,我缩短了 CitationID 列表):
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": ""
}
]
]
}
我注意到的一件事是图架构在这里(在页面底部)与显示的架构不匹配 此处(某些属性已重命名,例如 NormalizedPaperTitle -> NormalizedTitle),所以我认为该字段可能已重命名为其他内容.
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.
通过 API 获取参考 ID 的正确查询是什么?
What is the correct query to get reference IDs through the API?
推荐答案
应该是ReferencesIDs
,而不是ReferenceIDs
这篇关于Microsoft Academic API、知识图搜索——ReferenceID 始终为空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!