title types from datacite records #188

Merged
sandro.labruzzo merged 1 commits from datacite_title_mapping into beta 2 years ago
Owner

This PR extends the mapping applied to datacite records towards the graph internal model. It considers the title type attribute:

  • when present it is mapped as it is;
  • when missing, the title is considered to be the main title
  <titles>
    <title xml:lang="en-US">Full DataCite XML Example</title>
    <title xml:lang="en-US" titleType="Subtitle">Demonstration of DataCite Properties.</title>
  </titles>

Example from https://support.datacite.org/docs/schema-metadata-examples-v41

This PR extends the mapping applied to datacite records towards the graph internal model. It considers the title type attribute: - when present it is mapped as it is; - when missing, the title is considered to be the main title ``` <titles> <title xml:lang="en-US">Full DataCite XML Example</title> <title xml:lang="en-US" titleType="Subtitle">Demonstration of DataCite Properties.</title> </titles> ``` Example from https://support.datacite.org/docs/schema-metadata-examples-v41
claudio.atzori added the
enhancement
label 2 years ago
miriam.baglioni was assigned by claudio.atzori 2 years ago
sandro.labruzzo was assigned by claudio.atzori 2 years ago
claudio.atzori added 1 commit 2 years ago
Owner

The code seems ok! I proceed to merge the pull request.

The code seems ok! I proceed to merge the pull request.
sandro.labruzzo merged commit 7a3819144d into beta 2 years ago
sandro.labruzzo deleted branch datacite_title_mapping 2 years ago
The pull request has been merged as 7a3819144d.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b datacite_title_mapping beta
git pull origin datacite_title_mapping

Step 2:

Merge the changes and update on Gitea.
git checkout beta
git merge --no-ff datacite_title_mapping
git push origin beta
Sign in to join this conversation.
No reviewers
No Milestone
No project
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: D-Net/dnet-hadoop#188
Loading…
There is no content yet.