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

Set collectedfrom to OpenAIRE in all the relations exported by the IIS #1483

Open
marekhorst opened this issue Oct 17, 2024 · 2 comments
Open
Assignees

Comments

@marekhorst
Copy link
Member

marekhorst commented Oct 17, 2024

Originally requested in: https://support.openaire.eu/issues/10050.

The goal is to add to all IIS-exported relationships a collectedfrom element pointing to OpenAIRE itself, indicating that the relationship (e.g., a funding reference) was provided by an OpenAIRE (mining) algorithm.

OpenAIRE is a recognized datasource within the Graph, with an official name and identifier. The elements in the collectedfrom list are of type eu.dnetlib.dhp.schema.oaf.KeyValue, requiring the key and value fields to be set. The values to use are:

key: 10|infrastruct_::f66f1bd369679b5b077dcdf006089556
value: OpenAIRE

@marekhorst
Copy link
Member Author

marekhorst commented Oct 17, 2024

The collectedfrom value should not be hardcoded, even in the workflow.xml definition as a default value, but it should be introduced in the config-default.template XML file stored in this repository:

https://git.icm.edu.pl/openaire/iis-deployment/-/blob/master/deploy/apps/primary/wf/primary/main/config-default/config-default.template

@marekhorst
Copy link
Member Author

marekhorst commented Oct 18, 2024

export_relation_collectedfrom_value is the parameter name to convey the value to be stored by exporter module in Relation#collectedfrom[].value.

It was already introduced in the default-config.template file in the configuration git repo:
https://git.icm.edu.pl/openaire/iis-deployment/-/commit/e12d3e4a23517b8e1d5601aa077c0293d8f08d40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant