COAR based resource & irish tender fields #25

Merged
alessia.bardi merged 5 commits from resource_types into master 2023-10-25 11:08:50 +02:00

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 2023-10-16 14:33:09 +02:00
claudio.atzori requested review from alessia.bardi 2023-10-17 10:23:30 +02:00
claudio.atzori requested review from miriam.baglioni 2023-10-17 10:23:30 +02:00
claudio.atzori added 2 commits 2023-10-25 10:02:22 +02:00

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 2023-10-25 11:04:13 +02:00

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 2023-10-25 11:08:50 +02:00
alessia.bardi deleted branch resource_types 2023-10-25 11:08:50 +02:00
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
No description provided.