PID Graph - Publication DOIs to return relateditems Dataset DOI

Hello all,
I have a particular user scenario that I am trying to use the DataCite GraphQL for. I have a list of about 500 publication DOIs (minted by Crossref) and want to search the PID graph for related datasets. I found an example of a publication (https://doi.org/10.1212/wnl.0000000000005942) that has a dataset in dryad (Dryad Data -- Valproic acid is protective in cellular and worm models of oculopharyngeal muscular dystrophy). I would assume it would be returned in the relatedItem but its null. Any ideas what I am doing wrong? Is this feasible with the PID graph?

{
publication (id:“https://doi.org/10.1212/WNL.0000000000005942”) {
titles{
title
}
relatedItems{
titles{
title
}
relatedItemType
relatedItemIdentifier{
relatedItemIdentifier
relatedItemIdentifierType
}
}
}
}

I get:
{
“data”: {
“publication”: {
“titles”: [
{
“title”: “Valproic acid is protective in cellular and worm models of oculopharyngeal muscular dystrophy”
}
],
“relatedItems”: null
}
}
}

thank you all

Thanks for reaching out @cripp - I’m tagging @KellyStathis who I’m sure will be able to help - or know someone who can (thanks Kelly!)

Thanks for the tag @alicemeadows!

@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
      
    }
  }
}

Response:

{
  "data": {
    "work": {
      "titles": [
        {
          "title": "Data from: Valproic acid is protective in cellular and worm models of oculopharyngeal muscular dystrophy"
        }
      ],
      "relatedIdentifiers": [
        {
          "relatedIdentifier": "10.1212/wnl.0000000000005942",
          "relatedIdentifierType": "DOI",
          "relationType": "IsCitedBy",
          "resourceTypeGeneral": null
        }
      ]
    }
  }
}

Some more information from our support site that might be helpful:

Let me know if you have any questions!

1 Like

Thank you kindly! I will definitely give this a try with the other crossref DOIs I have to see if we can find datasets of the paper. Kind regards!

1 Like

@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!.

Hello all,

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

{
publication(id: “https://doi.org/10.1212/WNL.0000000000005942”) {
titles {
title
}
citations {
nodes {
type: dataset
doi
titles {
title
}
}
}
}
}

Thank you everyone!!

Hi @cripp apologies for the delay! Yes, this is possible by adding the resourceTypeId facet on citations like this:

{
  publication (id: "https://doi.org/10.1212/WNL.0000000000005942") {
    titles {
    	title
    }
    citations (resourceTypeId: "Dataset") {
      nodes {
        doi
        titles {
          title
        }
      }
    }
  }
}