User story
As a researcher, I am looking for more information about another researcher with a common name, but don’t know his/her ORCID ID.
Query strategy
Sometimes we need more information than the name to find the ORCID ID of a particular researcher. This can be additional information such as the affiliation, but a list of publications associated with the researcher can also be very helpful. We therefore query for the researcher by name, and then show not only the given name, family name and affiliations, but also three publications with publication year, publication venue, title and co-authors, including their affiliation. The query in this example returns 648 records on April 13, 2020.
Why GraphQL
This is a rather common problem, and often not possible to address with a single REST API call.
This could be turned into a discovery service for finding ORCID IDs of researchers by building a simple Javascript application using this or similar GraphQL queries.
Use the following query in the GraphQL client at https://api.datacite.org/graphql
{
people(query: "John AND Smith") {
totalCount
nodes {
id
givenName
familyName
name
affiliation {
name
}
works(first: 3) {
nodes {
id
publicationYear
titles {
title
}
creators {
id
name
affiliation {
id
name
}
}
subjects {
subject
}
}
}
}
}
}