Query by DOI/ID across all implementations of DoiItem

Hello,

Is there a way to query a DoiItem by ID/DOI, without knowing its concrete type (book, dataset, journal article, etc.) first?

For example in

{
  work(id: "https://doi.org/10.5438/0014") {
    ...
  }
}

I’d like to replace work with something that matches all implementations of DoiItem. Or is Work the concrete supertype for all resource types?

If that matters, I’m only pulling fields that are defined in the interface.

Thanks!

Luc, yes, this is what you want to do, work covers all DoiItem, the difference is a technicality.

Awesome, thank you Martin!