COAR based resource & irish tender fields #25

Merged
alessia.bardi merged 5 commits from resource_types into master 6 months ago
Owner

This PR introduces the support for

  1. a new instance level instanceTypeMapping field meant to host
  • the original types mapped from the transformed records
  • the relative coar-based type mapped by using the new vocabulary openaire::coar_resource_types_3_1
  • the resource type corresponding to the coar-based one, from the vocabulary openaire::user_resource_types
  1. a new result level result meta type metaResourceType, to be populated using the new coar-based instance type using the vocabulary openaire::meta_resource_types
  2. new result level fields to support the activities in the Irish tender
  • isGreen
  • openAccessColor
  • isInDiamondJournal
  • publiclyFunded

Provided that those 4 fields will be calculated in the context of the stats workflow that, working on the post-dedup graph will then export them as an actionset. As consequence, they should never be merged with another record that include the same information. Therefore, the logic for merging them has been defined as follows

  • for all the boolean flags (isGreen, isInDiamondJournal, publiclyFunded), the merge operation produces true only when at least one of the two records being merged contain a true value;
  • for the openAccessColor field, the merge operation is permitted only when the value comes only from one of the two records being merged, or when both expose the same value. In case of discordant value, null is produced as result of the merge operation.
This PR introduces the support for 1. a new instance level `instanceTypeMapping` field meant to host * the original types mapped from the transformed records * the relative coar-based type mapped by using the new vocabulary `openaire::coar_resource_types_3_1` * the resource type corresponding to the coar-based one, from the vocabulary `openaire::user_resource_types` 2. a new result level result meta type `metaResourceType`, to be populated using the new coar-based instance type using the vocabulary `openaire::meta_resource_types` 3. new result level fields to support the activities in the Irish tender * `isGreen` * `openAccessColor` * `isInDiamondJournal` * `publiclyFunded` Provided that those 4 fields will be calculated in the context of the stats workflow that, working on the post-dedup graph will then export them as an actionset. As consequence, they should never be merged with another record that include the same information. Therefore, the logic for merging them has been defined as follows * for all the boolean flags (`isGreen`, `isInDiamondJournal`, `publiclyFunded`), the merge operation produces true only when at least one of the two records being merged contain a true value; * for the `openAccessColor` field, the merge operation is permitted only when the value comes only from one of the two records being merged, or when both expose the same value. In case of discordant value, null is produced as result of the merge operation.
claudio.atzori added 3 commits 6 months ago
claudio.atzori requested review from alessia.bardi 6 months ago
claudio.atzori requested review from miriam.baglioni 6 months ago
claudio.atzori added 2 commits 6 months ago
Collaborator

The PR can be merged. Just verify if in the enumerator for the open access colours green was missing by mistake

The PR can be merged. Just verify if in the enumerator for the open access colours green was missing by mistake
alessia.bardi approved these changes 6 months ago
Owner

The PR can be merged. Just verify if in the enumerator for the open access colours green was missing by mistake

We do not need green in the enumerator because a publication can be gold/hybrid/bronze AND green (or not green if the post print is not available in Open Access). As explained by Ioanna, the color and the "green" are in fact orthogonal.

> The PR can be merged. Just verify if in the enumerator for the open access colours green was missing by mistake We do not need green in the enumerator because a publication can be gold/hybrid/bronze AND green (or not green if the post print is not available in Open Access). As explained by Ioanna, the color and the "green" are in fact orthogonal.
alessia.bardi merged commit 77a12c0a2d into master 6 months ago
alessia.bardi deleted branch resource_types 6 months ago

Reviewers

miriam.baglioni was requested for review 6 months ago
alessia.bardi approved these changes 6 months ago
The pull request has been merged as 77a12c0a2d.
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 resource_types master
git pull origin resource_types

Step 2:

Merge the changes and update on Gitea.
git checkout master
git merge --no-ff resource_types
git push origin master
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
3 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/dhp-schemas#25
Loading…
There is no content yet.