CrossRef / rest-api-doc

Documentation for Crossref's REST API. For questions or suggestions, see https://community.crossref.org/
Other
741 stars 269 forks source link

are Author Affiliations present in the CrossRef API? #416

Closed VladimirAlexiev closed 6 years ago

VladimirAlexiev commented 6 years ago

Hopefully this is a stupid question and I should have read the documentation better:

Is there some way to get author affiliations from CrossRef? Eg http://api.crossref.org/works/10.1186/1756-8722-5-3 has empty array affiliation for each author, while curl -HAccept:application/rdf+xml http://data.crossref.org/10.1186/1756-8722-5-3
returns an author URL like http://id.crossref.org/contributor/byung-lee-3uizp0ko5j7op
but that URL does not resolve (I also asked in this twitter discussion).

Or maybe there are no affiliations for that journal? Could you give an example of a journal with affiliations?

(I also asked at labs@crossref.org and https://twitter.com/opencitations/status/1023923782887587841)

VladimirAlexiev commented 6 years ago

@gbilder replied:

  1. To see records that have affiliations: https://api.crossref.org/works?filter=has-affiliation:true
  2. Those ids (e.g. http://id.crossref.org/contributor/byung-lee-3uizp0ko5j7op ) are not meant to resolve. They are “blank nodes.” https://en.wikipedia.org/wiki/Blank_node

Thanks!

The JSON includes affiliation.name eg "IIB-INTECH; Consejo Nacional de Investigaciones Científicas y Técnicas-Universidad Nacional de San Martín; B1650HMP Buenos Aires Argentina"

curl http://api.crossref.org/works/10.1111/nph.13032  

but Turtle doesn't include such info

curl -L -HAccept:text/turtle http://data.crossref.org/10.1111/nph.13032