forked from orinoco/things-enrichment-tools
No description
- Python 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .datalad | ||
| .forgejo/workflows | ||
| docs | ||
| things_enrichment_tools | ||
| tools | ||
| .gitignore | ||
| .noannex | ||
| pyproject.toml | ||
| README.md | ||
Knowledge Enrichment
This repository hosts tools and workflows to enrich dumpthings knowledge pools with additional machine-generated records.
available tools
tools/scrape-calendar.py(used by.forgejo/workflows/scrape.yml): scrapes three FZJ funding calendars and adds their events as XYZCompetition records (research information scheme)tools/enrich-via-doi.py(used by.forgejo/workflows/enrich_publications.yml): reads publication records and extends them with external metadata available via doi.org content negotiationtools/get-depiction-urls.py(used by the 'from-model'-websites, e.g., https://hub.psychoinformatics.de/www/www-from-model/src/branch/main/.forgejo/workflows/register-depictions.yaml): Given metadata input, this script extracts download URLs for eachDepictionof the record, provided the depiction has akindincluded in the depiction-type argument. For each depiction distribution, it will output the record curie, the file extension and the url, to stdout.tools/scrape-juser.py(used by.forgejo/workflows/scrape-juser.yml): Given an xml export of publications in MARC21 format as provided by Juser (juser.fz-juelich.de), as well as a local cache of XYZPerson and XYZPublication records, this script generates new or updates existing Publication and Person records. Person records are submitted into a 'protected' inbox, whereas Publication records are submitted into a 'public' inbox.tools/trr379_q01_subject_records.py: Reads a TSV of participant rows, validates each subject ID, maps a simple recruiting-group code to standard ontology-style group identifiers, and then creates or updates corresponding subject records in a remote knowledge pool. For each subject, it ensures the record is typed as a human subject, linked to the given study, marked as generated by that study, optionally linked to a recruiting group, and tagged with an external identifier sourced from the input table. It only writes the record if something changed, reports per-subject status to stderr, and exits with an error code if any row had an invalid subject ID or unrecognized group code.