@cripp For this use case, you’ll want to use the citations attribute like this:
{
publication(id: "https://doi.org/10.1212/WNL.0000000000005942") {
titles {
title
}
citations {
nodes {
doi
titles {
title
}
}
}
}
}
Your original query is returning the Crossref DOI metadata.
Similarly, if we look at the Dryad DOI, we can see the source of the citation link, which is a RelatedIdentifier (note this is different from RelatedItem):
Query:
{
work (id:"https://doi.org/10.5061/dryad.37628q6") {
titles {
title
}
relatedIdentifiers {
relatedIdentifier
relatedIdentifierType
relationType
resourceTypeGeneral
}
}
}
@KellyStathis thank you again kelly… can I ask maybe a very basic question. I noted in the Datacite metadata that “Crossref uses a different method for capturing linking events in the metadata”. So since my DOIs for the pub were from crossref, is it appropriate to use the DataCite GraphQL to find data citations in the references or Relation Type.
Yes, you can use the DataCite GraphQL API to find data citations from Crossref articles.
I should note that at this time, citations sourced from Crossref metadata only include links between scholarly literature and datasets (not other resource types). These links are currently pulled from Crossref’s Scholix index. However, since you are specifically looking at data citation, GraphQL will work!.
Is it possible to query in an API call specifically for a item type…like below? Not sure if feasible in the call, or if this has to be filtered after. A