No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-25 14:53:20 +02:00
.datalad chore: initialized non-annex dataset 2026-08-13 11:20:45 +02:00
.forgejo/workflows ci: modernize ruff workflows 2026-08-19 07:58:36 +02:00
docs chore: fix typos and ready for codespell 2026-08-13 11:37:23 +02:00
things_enrichment_tools chore: auto-reformat code to match conventions 2026-08-19 07:54:21 +02:00
tools fix: indentation fix after ruff reformatting 2026-08-25 14:53:20 +02:00
.gitignore feat: initial utility collection for Thing record enrichment 2026-08-15 13:29:32 +02:00
.noannex chore: initialized non-annex dataset 2026-08-13 11:20:45 +02:00
pyproject.toml chore: add project metadata and setup 2026-08-13 11:18:06 +02:00
README.md chore: simplify markdown markup 2026-08-19 08:31:18 +02:00

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 negotiation
  • tools/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 each Depiction of the record, provided the depiction has a kind included 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.