Closed cessda-bitbucket-importer closed 1 year ago
Original comment by Mari Kleemola (GitHub: mari-k).
See also OpenAIRE requirements: https://guidelines.openaire.eu/en/latest/data/field_contributor.html from where the following is copy-pasted:
The syntax is:
info:eu-repo/grantAgreement/Funder/FundingProgram/ProjectID/
[Jurisdiction]/[ProjectName]/[ProjectAcronym]
where:
Funder
refers to the funding organization (e.g., EC
for European Commission, WT
for Wellcome Trust)FundingProgramme
refers to a specific programme (e.g., FP7
for Framework Programme Seven, H2020
for Horizon 2020)ProjectID
refers to a unique identifier in the scope of the funder (and maybe the programme), e.g. a grant agreement number.Jurisdiction
refers to the authority granted to a formally constituted legal body (e.g. EU
for European Union)ProjectName
contains the full name of the projectProjectAcronym
contains the project’s acronym.For OpenAIRE compatibility, the elements in square brackets are optional. The three-part namespace is mandatory when applicable (info:eu-repo/grantAgreement/Funder/FundingProgram/ProjectID
), while the six-parts namespace is recommended.
Original comment by Katja Moilanen.
Example from: https://guidelines.openaire.eu/en/latest/data/use_of_datacite.html#fundinginfo
Original comment by Taina Jääskeläinen.
Funding information should be ‘Optional’ since not all research have specific funders.
Original comment by Darren Bell (GitHub: darrenbell2).
I’m happy to insert grantNo as a new element but note that both “@agency” and “@role” are mandatory attributes of grantNo.
The CMM contains the following guidance:
@TainaFSD @KatjaMoilanen
Could you please specify what usage note you would like to accompany:
I am guessing that there is no CDC UI label as this is for OpenAire
Thanks, Darren
@Hilde Orten @MortenSikt fyi
Original comment by Katja Moilanen.
@darrenbell2 could you please explain, why @agency and @role must be mandatory?
If I checked correctly, @agency (AgencyOrganizationReference) and @role (FunderRole) are not mandatory in DDI-C (DDI-L). In DDI-C, there is only text in the description of the grantNo element “If more than one, indicate the appropriate agency using the "agency" attribute. If different funding agencies sponsored different stages of the production process, use the "role" attribute to distinguish the grant numbers.”.
I agree that it would be wise to have @agency as a mandatory attribute. If @role is mandatory, it is quite likely that a new vocabulary is needed.
Original comment by Darren Bell (GitHub: darrenbell2).
@KatjaMoilanen Sorry, my mistake - I misread the XSD schema file: agency and role are both indeed optional. Can you let me know if the following is OK? Thanks, Darren:
<!--****************************************************************************************-->
<!--FUNDING INFORMATION-->
<!--****************************************************************************************-->
<pr:Used xpath="/codeBook/stdyDscr/citation/prodStmt/grantNo" isRequired="false">
<r:Description>
<r:Content>Required: Optional</r:Content>
<r:Content>ElementType: Content element</r:Content>
<r:Content>ElementRepeatable: Yes</r:Content>
<r:Content>Usage: The identification code of the grant or other monetary award which provided funding for the Study.
Required for OpenAire. Indicate the appropriate agency using the "@‌agency" attribute.
If different funding agencies sponsored different stages of the production process,
use the "@‌role" attribute to distinguish the grant numbers.</r:Content>
</r:Description>
<pr:Instructions>
<r:Content><![CDATA[
<Constraints>
<OptionalNodeConstraint/>
</Constraints>
]]></r:Content>
</pr:Instructions>
</pr:Used>
<pr:Used xpath="/codeBook/stdyDscr/citation/prodStmt/grantNo/@‌agency" isRequired="false">
<r:Description>
<r:Content>Required: Mandatory if 'grantNo' element is present</r:Content>
<r:Content>ElementType: Attribute</r:Content>
<r:Content>Usage: Agency which provided the funding.</r:Content>
</r:Description>
<pr:Instructions>
<r:Content>
<![CDATA[
<Constraints>
<MandatoryNodeIfParentPresentConstraint/>
</Constraints>
]]>
</r:Content>
</pr:Instructions>
</pr:Used>
<pr:Used xpath="/codeBook/stdyDscr/citation/prodStmt/grantNo/@‌role" isRequired="false">
<r:Description>
<r:Content>Required: Optional/r:Content>
<r:Content>ElementType: Attribute</r:Content>
<r:Content>Usage: If different funding agencies sponsored different stages of the production process,
use the "@‌role" attribute to distinguish the grant numbers.</r:Content>
</r:Description>
<pr:Instructions>
<r:Content><![CDATA[
<Constraints>
<OptionalNodeConstraint/>
</Constraints>
]]></r:Content>
</pr:Instructions>
</pr:Used>
Original comment by Katja Moilanen.
I checked this issue with @TainaFSD .
Suggestion how to change the text of the grantNo element Usage
Original comment by Darren Bell (GitHub: darrenbell2).
Following implemented in cdc25_profile.xml; cdc25_profile_mono.xml; cdc_122_profile.xml; cdc_122_profile_mono.xml
<!--****************************************************************************************-->
<!--FUNDING INFORMATION-->
<!--****************************************************************************************-->
<pr:Used xpath="/codeBook/stdyDscr/citation/prodStmt/grantNo" isRequired="false">
<r:Description>
<r:Content>Required: Optional</r:Content>
<r:Content>ElementType: Content element</r:Content>
<r:Content>ElementRepeatable: Yes</r:Content>
<r:Content>Usage: The identification code of the grant or other monetary award which provided funding for the Study.
Required for OpenAire. If you know that the funder is included in the OpenAire list of Funders,
see the instructions for grantNo syntax here:
<https://guidelines.openaire.eu/en/latest/data/field_contributor.html#nameidentifier-ma-o> .
Indicate the appropriate agency using the "@‌agency" attribute.
If different funding agencies sponsored different stages of the production process,
use the "@‌role" attribute to distinguish the grant numbers.</r:Content>
</r:Description>
<pr:Instructions>
<r:Content><![CDATA[
<Constraints>
<OptionalNodeConstraint/>
</Constraints>
]]></r:Content>
</pr:Instructions>
</pr:Used>
<pr:Used xpath="/codeBook/stdyDscr/citation/prodStmt/grantNo/@‌agency" isRequired="false">
<r:Description>
<r:Content>Required: Optional</r:Content>
<r:Content>ElementType: Attribute</r:Content>
<r:Content>Usage: Agency which provided the funding.</r:Content>
</r:Description>
<pr:Instructions>
<r:Content><![CDATA[
<Constraints>
<OptionalNodeConstraint/>
</Constraints>
]]></r:Content>
</pr:Instructions>
</pr:Used>
<pr:Used xpath="/codeBook/stdyDscr/citation/prodStmt/grantNo/@‌role" isRequired="false">
<r:Description>
<r:Content>Required: Mandatory if 'grantNo' element is present</r:Content>
<r:Content>ElementType: Attribute</r:Content>
<r:Content>Usage: If different funding agencies sponsored different stages of the production process,
use the "@‌role" attribute to distinguish the grant numbers.</r:Content>
</r:Description>
<pr:Instructions>
<r:Content><![CDATA[
<Constraints>
<OptionalNodeConstraint/>
</Constraints>
]]></r:Content>
</pr:Instructions>
</pr:Used>
Original comment by Darren Bell (GitHub: darrenbell2).
@KatjaMoilanen I’ve inserted this into the codebook profiles. Should this also go into the CDC3.2 profile?
Based on the CMM, the following seem to be appropriate:
1.1.6.2 - ddi:DDIInstance/s:StudyUnit/r:FundingInformation/GrantNumber
1.1.6.3 - ddi:DDIInstance/s:StudyUnit/r:FundingInformation/Description
Thanks, Darren
Original comment by Taina Jääskeläinen.
Notes:
Yes, it should go into the CDC3.2.
Original comment by Katja Moilanen.
Here is the mapping between DDI2.5 and DDI3.2
DDI2.5 //grantNo/@agency -- DDI3.2 //r:FundingInformation/r:AgencyOrganizationReference + (r:URN or/and (r:Agency and r:ID and r:Version)) + r:TypeOfObject
DDI2.5 //grantNo/@role -- DDI3.2 //r:FundingInformation/r:FunderRole
DDI2.5 //grantNo -- DDI3.2 //r:FundingInformation/r:GrantNumber
Original comment by Katja Moilanen.
Taina also noted, that language attribute is useful for DDI files with multiple languages. DDI2.5 has //grantNo/@xml:lang but there seems to be no xml:lang in DDI3.2 for funding information.
Original comment by Darren Bell (GitHub: darrenbell2).
In summary, this is what I have now implemented in the different profiles:
cdc25_profile.xml, cdc122_profile.xml
cdc25_profile_mono.xml, cdc122_profile_mono.xml,
cdc32_profile.xml
eqb_25_profile.xml, eqb32_profile.xml
NOTE - I HAVE NOT INCLUDED LANGUAGE INFORMATION AS THERE IS NO ALIGNMENT HERE BETWEEN 2.5 and 3.2
Original comment by Darren Bell (GitHub: darrenbell2).
@KatjaMoilanen @TainaFSD could you please confirm that this can be closed? Thanks, Darren
Original comment by Darren Bell (GitHub: darrenbell2).
Correction to earlier comment:
In summary, this is what I have now implemented in the different profiles:
cdc25_profile.xml, cdc122_profile.xml
cdc25_profile_mono.xml, cdc122_profile_mono.xml,
cdc32_profile.xml
eqb_25_profile.xml, eqb32_profile.xml
NOTE - I HAVE NOT INCLUDED LANGUAGE INFORMATION AS THERE IS NO ALIGNMENT HERE BETWEEN 2.5 and 3.2
Original comment by Katja Moilanen.
@darrenbell2 If I was looking at the correct version of the profile, the attribute role (DDI-C) was still “Mandatory if ‘grantNo' is present’:
<pr:Used xpath="/codeBook/stdyDscr/citation/prodStmt/grantNo/@‌role" isRequired="false">
<r:Description>
<r:Content>Required: Mandatory if 'grantNo' element is present</r:Content>
<r:Content>ElementType: Attribute</r:Content>
<r:Content>Usage: If different funding agencies sponsored different stages of the production process,
use the "@‌role" attribute to distinguish the grant numbers.</r:Content>
</r:Description>
Original comment by Katja Moilanen.
@TainaFSD do you know if there is already suitable vocabulary for the role attribute or will it just be used as free text field?
Original comment by Taina Jääskeläinen.
No suitable vocabulary. DDI CV Group could draw up a vocabulary for types of funder, if needed, that should be possible.
But if it is about what kind of a role the funder has had, the situations are too varied for a controlled vocabulary. Or if it is the same role: financial contribution for two funders, the role attribute would not be useful for differentiating the two. But this might also apply to types of funders, e.g. if both are private foundations.
An easy, pragmatic solution might be to instruct people just to enter into the role attribute: ‘Funder 1’, ‘Funder 2’,' Funder 3' etc. since it is an attribute and perhaps should not contain long texts.
Original comment by Darren Bell (GitHub: darrenbell2).
Corrections need as /codeBook/stdyDscr/citation/prodStmt/grantNo/@role still marked as "Mandatory if parent present" cf. Katja's comment 22/08/22
Original comment by Darren Bell (GitHub: darrenbell2).
cdc25_profile.xml, cdc25_profile_mono.xml, cdc122_profile.xml, cdc122_profile_mono.xml:
cdc32_profile.xml:
Committed to mdo_d6 branch
Original comment by Darren Bell (GitHub: darrenbell2).
Committed to mdo_d6 branch (commit note says issue 64 which is wrong)
Original report on BitBucket by Taina Jääskeläinen.
Carsten said the next version profiles should have grant number and funder information for OpenAire.
Consulted Katja on where this information could live in DDI 2.5. She said:
Do you agree, Darren?
For CDC, minimum information on funders is enough. OpenAire has further requirements.