Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension of the metadata information sent to DataCite #61

Closed
yvgrossmann opened this issue Mar 28, 2023 · 9 comments · Fixed by #73
Closed

Extension of the metadata information sent to DataCite #61

yvgrossmann opened this issue Mar 28, 2023 · 9 comments · Fixed by #73
Assignees
Labels
enhancement New feature or request

Comments

@yvgrossmann
Copy link

yvgrossmann commented Mar 28, 2023

It might be useful to transfer further metadata information from Dataverse to DataCite, e.g.:

  • Topic Classifications
  • Study Type
  • Funding reference (Grant Information)
  • ...
@helkv
Copy link

helkv commented Apr 3, 2023

The Dataverse -> Datacite Metadata-Mapping is hard coded in Dataverse. The following Metadata are mapped:

  • identifier -> identifier
  • author -> creator
    • authorName -> creatorName
    • authorIdentifier -> nameIdentifier
    • authorAffiliation -> affiliation (added in Edmond # 43)
  • title -> title
  • publisher
  • publicationYear
  • resourceType
  • global file id -> relatedIdentifier (no global file id in Edmond/Dataverse)
  • dsDescriptionValue -> description
  • datasetContact & producer -> contributor (no datasetContectName/Affiliation & producer in Edmond/Dataverse)
    • datasetContectName & producerName -> contributorName
    • datasetContactAffiliation & producerAffiliation -> affiliation

@helkv
Copy link

helkv commented Apr 3, 2023

Related to #43

As described in #43: Changes in the export code would require a re-export afterwards:
https://guides.dataverse.org/en/latest/admin/metadataexport.html
However, a reexport does not send updated metadata to DataCite.

@yvgrossmann
Copy link
Author

Perhaps the presentation from Vaidas Morkevičius at the Dataverse Community Meeting 2023 is helpful to solve this issue: https://osf.io/7xjtw p. 27-29

@helkv helkv added the enhancement New feature or request label Jun 21, 2023
@yvgrossmann
Copy link
Author

My suggestions for the addition metadata mapping:

  • Topic Classifications
    • Term --> Subject (DataCite ID 6)
    • Vocabulary --> subjectScheme (DataCite ID 6.a)
    • Vocabulary URL --> valueURI (DataCite ID 6.c)
  • Study Type --> Subject (DataCite ID 6)
  • Funding reference (Grant Information) --> FundingReference (DataCite ID 19)

@yvgrossmann
Copy link
Author

@helkv
Copy link

helkv commented Aug 18, 2023

Solution approaches:

  1. Solution by Dataverse community
    There are several tickets and discussions about how to send more Metadata to DataCite.
    https://docs.google.com/document/d/1tNnvVh8jYY1g53BEwpJmMmm9w6Vgy_Q7RrmFjGnYOyA/edit
    https://docs.google.com/document/d/18Gw51vl14n9_s-zH_mpf-b2Mt7v5RJsNyPsNGSj6hmU/edit#heading=h.nj2o8up29v4c
    -> But up to now there is no solution implemented.

  2. Use of External Exporter
    External Exporters have been introduced to Dataverse with release v5.14. They can be used to create new selfcreated metadata export formats.
    https://guides.dataverse.org/en/5.14/developers/metadataexport.html
    -> But External Exporters are executed independent from and after the metadata xml is created and send to Datacite.

  3. Individual code adjustments
    The Dataverse code (DOIDataCiteRegisterService.generateXML()) can be adapted to extend the metadata send to DataCite. Examples for related implementations are:
    issue #5277: first implementation step for exporting related publicat… IQSS/dataverse#8357
    OpenAireExportUtil.writeFundingReferencesElement()
    -> But customizable metadata like Grant Information are not intended to be processed by the current implementation of the DOIDataCiteRegisterService.

helkv added a commit that referenced this issue Aug 28, 2023
Problem: formatAsInlineTags can not be changed in Jsoup => Alle xml Elements and Values are in new lines
helkv added a commit that referenced this issue Aug 28, 2023
Problem: Java reflection should not be used to change the inlineTags in Jsoup
helkv added a commit that referenced this issue Aug 28, 2023
helkv added a commit that referenced this issue Aug 28, 2023
Add 'Funding Reference' to DataCite Metadata XML using:
- Java DOM Parser
- Extra prettyPrint method
- Inner Class DataCiteMetadataUtil
@yvgrossmann
Copy link
Author

Using the DataCIte Metadata 4.4 I would suggest funderName (19.1) and and awardNumber (19.3).

@helkv
Copy link

helkv commented Oct 2, 2023

For now only Grant Information (Funding reference) is added as extension to the metadata send to DataCite.

Grant Information is mapped to the Datacite Metadata schema as follows:

  • Grant Information (grantNumber) -> fundingReference
    • Grant Agency (grantNumberAgency) -> funderName [required for fundingReference in the Datacite Metadata schema]
    • Grant Number (grantNumberValue) -> awardNumber

After publishing a Dataset the Grant Information should be displayed in the DataCite Metadata Export (Dataverse Actions: (published) Dataset -> Metadata -> Export Metadata -> DataCite).
After publishing the Grant Information Metadata should also exist on DataCite's side (DataCite Actions: Open the Metadata of the DOI of the Dataset in DataCite Fabrica).

@haarli
Copy link
Member

haarli commented Oct 6, 2023

Server: qa-edmond2 / qa.edmond.mpdl.mpg.de
Testdate: 08.10.2023
Browser: ff
Version: v5.14-mpdl-3
User: testuser1
Result: OK

helkv added a commit that referenced this issue Jul 2, 2024
- Fix after v6.2 Merge: Move prettyprint.xsl to the correct folder (otherwise prettyPrintXML method doesn't work and FundingReferences are not send to Datacite)
- Add some Unit Tests for DataCiteMetadataUtil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Closed
Development

Successfully merging a pull request may close this issue.

3 participants