Microsoft Academic Graph Search - retrieving all papers from a journal within a time-frame?

断了今生、忘了曾经 提交于 2020-01-05 06:04:29

问题


I'm currently trying to learn how to use Microsoft Knowledge API, specifically the Graph Search method. I want to try and retrieve all the publications made by a specified journal initially, and then try and provide a time-frame for results returned.

Current request:

{
  "path": "/author/PaperIDs/paper/JournalID/journal",
  "author": {
    "type": "Author",
    "select": [ "DisplayAuthorName" ],
    "match": { "Name": "jim miles" }
  },
  "paper": {
    "type": "Paper",
    "select": [ "OriginalTitle", "CitationCount", "PublishYear", "DOI", "OriginalVenue" , "JournalID"],
    "return": { "PublishYear": { "gt": 2013, "lt": 2015 } }
  },
    "journal": {
    "type": "Journal",
    "select": [ "Name", "NormalizedName", "NormalizedShortName"]
  }
}

Documents used to get this far:
Schema
API Reference

What is missing from my understanding to create this request? Is there another set of documentation available, as the Microsoft references lack basic information such as lists of attributes available for a given context (i.e. journal).


回答1:


If your task is to get all publications from a specific journal in a specific time frame, the Evaluate API should meet your needs and has a well-documented schema.

For example, the following expression would get you papers in the journal "Educational Technology Research and Development" between the year 2013 and 2015: And(Composite(J.JId=114840262),Y=[2013,2015])

Sample URL: https://api.labs.cognitive.microsoft.com/academic/v1.0/evaluate?expr=And(Composite(J.JId=114840262),Y=[2013,2015])&model=latest&count=10&offset=0&attributes=Id,Ti,J.JN,J.JId,Y&subscription-key=your_subscription_key



来源:https://stackoverflow.com/questions/51100350/microsoft-academic-graph-search-retrieving-all-papers-from-a-journal-within-a

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