adding funding to flat data #89
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
inm7/inm7-concepts!89
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "grant"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is an effort parallel to #87, also motivated by inm7/annotate.inm7.de-data#24.
It seems #87 has gained a life on its own, so even though doing things here would lead to (easy) merge conflicts (e.g. in dataset slot assignment / shacl order) it feels preferable to open this new PR here to streamline discussions.
It also seems that this PR might become obsolete due to ongoing development in https://github.com/psychoinformatics-de/datalad-concepts/ (e.g. "flat schema" with a FlatThing), this is useful for me to make sure that I am on the right track regarding the flat schemas overall, and have my reasoning checked.
Here's my reasoning:
We need to add a funding slot to the dataset (to allow funding attribution). It should allow interoperability with two schemas in particular, DataLad-catalog and DataLad-concepts. Here's the information we need to convey:
name("of the funding source, such as a funder or grant scheme"),identifier("of the fund, such as a grant number"),description(free-form).pid, has one directly defined property (sponsor, range:Agent), and many inherited properties.In summary, based on the above, I want the following properties for a dataset's funding item:
name,description,identifier,funder / name,funder / identifier. To get there:I think I don't want to import
dlres:Grantdirectly (e.g. it would come with range: Agent, something we don't have a notion for), I want to create something "lighter" (right?).By being a Thing, a newly-defined Grant inherits a description slot. By having a curation aid mixin, it also inherits identifiers. I need to add name and funder. It's probably reasonable to make these two slots required.
It seems fair to narrow down the range of a funder to an Organization, which flat-data schema imports from flat-base, and call the slot
funding_organization. The Organization already has a name (direct) and identifiers (fromCurationAid) which checks our boxes.37215cc0e638aa80653aWIP: adding funding to flat datato adding funding to flat data@ -127,0 +136,4 @@Source of funding (such as a specific grant). Used for fundingacknowledgements.range: Grantmultivalued: trueFTR: I am including this
funding_sourcesasfundingin theresource-mixinschema over at datalad-concepts.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.