Linked metadata tools for information management

Stephan Heunis, Adina Wagner, Alex Waite, Christian Mönch, Jenna Swarthout Goddard, Laura Waite, Małgorzata Wierzba, Michael Hanke, Michał Szczepanik, Venkatesh Hariharapura Shivashankar

Institute of Neuroscience and Medicine, Brain & Behavior (INM-7), Research Centre Jülich
Institute of Systems Neuroscience, Medical Faculty, Heinrich Heine University Düsseldorf

@datalad@fosstodon.org       http://psychoinformatics.de
✉️ s.heunis@fz-juelich.de

Why am I giving this talk?

fairdata

Why am I giving this talk?

fairdata

What is the goal?

fairdata Wilkinson, et al. 2016. The FAIR Guiding Principles for scientific data management and stewardship. https://doi.org/10.1038/sdata.2016.18

What is the goal?

fairdata Wilkinson, et al. 2016. The FAIR Guiding Principles for scientific data management and stewardship. https://doi.org/10.1038/sdata.2016.18

What is the goal?

Discoverable DataLad datasets

fairdata Hanke. 2025. DataLad beyond Git - Connecting to the rest of the world

Text-based RDF and
existing standards

rdf_existing_standards

Text-based RDF and
existing standards

rdf_existing_standards

Text-based RDF and
existing standards

rdf_existing_standards

Marrying structure and semantics

model_your_data1

Marrying structure and semantics

model_your_data2

Marrying structure and semantics

model_your_data3

Marrying structure and semantics
LinkML schema class

model_your_data4
Source: datalad-concepts/social

Low-tech schema components

lowtech1

Low-tech schema components

lowtech2

Low-tech schema components
Persistent identifier is key

lowtech3

Low-tech schema components
Persistent identifier is key

pid_mapping

From schema to tools

model_your_data

From schema to tools

model_your_data

From schema to tools
shacl-vue

model_your_data

From schema to tools
shacl-vue (demo 🎬)

model_your_data

From schema to tools
dump-things

model_your_data

From schema to tools
dump-things (demo 🎬)


Get all records of a specific class (paginated):

    curl -X GET \
        'https://penguins.edu.datalad.org/api/datamgt/records/p/XYZFileFormat' \
        -G \
        --data-urlencode 'size=100' \
        --data-urlencode 'page=1'
   
Get a specific record, in TTL format:

    curl -X GET \
        'https://penguins.edu.datalad.org/api/datamgt/record?pid=https://example.org/ns/demo/penguins/study/penguins' \
        -G \
        --data-urlencode 'format=ttl'
   
Submit a specific record using a token:

    curl -X POST "https://penguins.edu.datalad.org/api/datamgt/record/XYZFileFormat" \
        -H "Content-Type: application/json" \
        -H "X-DumpThings-Token: ${MYTOKEN}" \
        --data '{
            "description": "A file compression format mostly used for color and greyscale photographs",
            "exact_mappings": [
                "http://purl.obolibrary.org/obo/NCIT_C48230"
            ],
            "pid": "https://example.org/ns/demo/penguins/fformat/jpeg",
            "name": "Joint Photographic Experts Group Format (JPEG)",
            "short_name": "JPEG"
        }'
   
Delete a specific record using a token:

    curl -X DELETE "https://penguins.edu.datalad.org/api/datamgt/record?pid=https://example.org/ns/demo/penguins/fformat/jpeg" \ 
        -H "X-DumpThings-Token: ${MYTOKEN}"
   

The whole stack

model_your_data

Forgejo-based user/token management

model_your_data

Current use cases

  1. Penguin Data Annotation:

  2. TRR379 research collaboration tools:

Core messages

  1. Open worldness, we do not prescribe a specific schema, we provide reusable schema components
  2. If you model your data, you can get the annotation tool + storage/retrieval API + (eventually) structured and semantically precise metadata for ~free
  3. The stack is an ideal metadata companion to DataLad's data/domain-agnostic approach
  4. Lean data sovereignty: self-host these tools and grow your interoperable metadata space, without replacing existing centralized solutions
  5. We have the tools to generate semantic and structured metadata for optimal discoverability, but what about the discovery?
  6. This is a moving train... but there are many stations

Reflections...

Modeling concepts: the initial goal was to serialize a DataLad dataset and we started thinking about the concepts underlying git and how to express it in linked data; I remember at some point being very frustrated with my inability to understand JSON-LD framing. Then Michał mentioned LinkML, seemingly out of the blue, and things changed drastically when we started using it. It does not come without challenges though.

shacl-vue: we were first inspired into the direction of SHACL after seeing a demo of Coscine in a meeting at Aachen. I also came across a shacl-form implementation at the ULB Darmstadt, which I learnt a bunch from.

Pooling application: Michael wanted a name for one of our annotation UI deployments and was looking for a word that describes the act of putting a lot of information into application. He thought of "pool" based on some semantically similar concept in a debian archive. Only after that naming exercise did we develop the whole idea of a pooling application being the receptacle for the decentralized crowdsourcing of information.

dumpthings: we were literally like “people are going to be annotating a lot of data, and we need a place to just dump those things somewhere”

What's next

  1. Helpers for (de)serialization between datalad datasets and common standards
  2. Curation application
  3. Integration into Electronic Case Reporting Form (Case-E)
  4. Crowdsourcing annotations of DataLad Registry

More use cases

Automation from schemas

model_your_data

Automation from schemas: UI editor

Automation from schemas: UI editor

Automation from schemas: forms

Automation from schemas: viewers

Automation from schemas: querying

  • i.e. cohort searches/queries. And then...
  • ...metadata-based dataset generation, which gives us...
  • ...on-demand access!

Linking topics

  • Question about modularization of modules in the context of public/private data
  • git-annex: content-based ID of an object, UUIDs of remotes
  • forgejo-aneksajo: p2phttp support for uploading files from shacl-vue