Closed oxinabox closed 6 years ago
See #42 for more
Instead of DOI content negotiation via doi.org
you can also go directly to data.datacite.org
and this allows you to use the DataCite content negotation service for DOIs from other registration agencies (currently only Crossref). For example (first DOI is from DataCite, second from Crossref):
curl -LH "Accept: application/vnd.schemaorg.ld+json" https://data.datacite.org/10.6084/m9.figshare.5350216.v1
curl -LH "Accept: application/vnd.schemaorg.ld+json" https://data.datacite.org/10.1371/journal.pbio.2001414
This of course also works for other content types. See https://github.com/datacite/bolognese for what is currently supported.
Ah fantastic, I had no idea that I could use the data.datacite.org
to work with DOIs issued by anyone other than DataCite.
Strictly speaking only Crossref at this point, as you need to build in the support for the respective metadata schema.
Closed in #43
Right now using #28 we support all DataCite DOI using the DataCite REST API. Well everything except getting the actual download URL. We also support more fully some DOIs using other services (E.g. DataDryad)
From https://github.com/oxinabox/DataDepsGenerators.jl/pull/28#issuecomment-397503502 some more thoughts we what we can get out of content negotiation https://citation.crosscite.org/docs.html
RDF is one of the most common formats for semantic web. it is supported by at least 3 of the DOI providers, including CrossRef and DataCite.
NB: This is a low priority, as for DataCite it gives us nothing new over #28 and will there are 40 million crossref DOIs they are mostly not data.
Contrast the below and notice that while current DataCite gives us more fields, it does not give us any additional useful fields.
They have the same set of useful fields -- which is to say everything we need except the actual URL.
Content-Negotiation: RDF-XML (Cross-Ref, DataCite, mEDRA, prob others)
Current: DataCite API (datacite only)
lyndon@agent:~$ curl -L https://api.datacite.org/works/10.6084/m9.figshare.5350216.v1