Graph raw mapper: map new information in Relation #65

Closed
opened 2020-12-07 16:48:07 +01:00 by alessia.bardi · 5 comments

Due to https://issue.openaire.research-infrastructures.eu/issues/6226, Miriam is going to add to ODF and OAF records in the aggregator new information about the fact that a link to a project has been validated by a funder.

The oaf:project element will therefore contain two new information:

  • validated (true, false, empty) - the attribute might not exist
  • validationDate (a date) - the attribute might not exist

In https://issue.openaire.research-infrastructures.eu/issues/6227#note-2 I proposed the following:

<oaf:projectid validated="true" validationDate="2020-01-03">snsf________::125306</oaf:projectid>

But please sync with @miriam.baglioni on the final format of the field to process.

When validated is empty, false or does not exist, it can be skipped. The information we care about is when it is true.

If the same record has two links to the same project and only one is validated, then the link is validated (i.e. validated=true wins)

The target property in the Relation class have the same names and are already defined.

Please work on a dedicated branch that could be included only on beta first.

Due to https://issue.openaire.research-infrastructures.eu/issues/6226, Miriam is going to add to ODF and OAF records in the aggregator new information about the fact that a link to a project has been validated by a funder. The oaf:project element will therefore contain two new information: * validated (true, false, empty) - the attribute might not exist * validationDate (a date) - the attribute might not exist In https://issue.openaire.research-infrastructures.eu/issues/6227#note-2 I proposed the following: `<oaf:projectid validated="true" validationDate="2020-01-03">snsf________::125306</oaf:projectid>` But please sync with @miriam.baglioni on the final format of the field to process. When validated is empty, false or does not exist, it can be skipped. The information we care about is when it is true. If the same record has two links to the same project and only one is validated, then the link is validated (i.e. validated=true wins) The target property in the Relation class have the same names and are already defined. Please work on a dedicated branch that could be included only on beta first.
alessia.bardi added the
enhancement
label 2020-12-07 16:48:07 +01:00
michele.artini was assigned by alessia.bardi 2020-12-07 16:48:07 +01:00
Member

The final format of the relation will be:

<oaf:projectid  validationDate=“2020-01-03">snsf________::125306</oaf:projectid>

because the boolean validated can be calculated as validationDate != null

The final format of the relation will be: ``` <oaf:projectid validationDate=“2020-01-03">snsf________::125306</oaf:projectid> ``` because the boolean validated can be calculated as validationDate != null
Member

I performd the PR from branch rel_project_validation.

I performd the PR from branch **rel_project_validation**.

Please, set for validated relations a trust higher than that for non validated relations.

Please, set for validated relations a trust higher than that for non validated relations.
Member

I set a trust = 0.999 for validated rels

I set a trust = 0.999 for validated rels

PR integrated on the master branch in 4705144918

PR integrated on the master branch in https://code-repo.d4science.org/D-Net/dnet-hadoop/commit/4705144918aa41dc6349e7b9ad357e8899afe670
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 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#65
No description provided.