Setup of a metadata / annotation module #4

Open
opened 2025-06-10 09:06:52 +00:00 by adina · 4 comments
Owner

One element of the workshop materials must be new content on metadata tooling and annotation. This is pretty fuzzy in my head so far -- likely due to the fact that there is few if any real-world usage of it at the moment.

For now, I mostly have open questions I'd like to discuss:

Technical prerequisites: The technical setup somewhat determines the shape of the module.

  • If I understood it correctly, the annotation tool needs to be deployed somewhere in order to use it, e.g., https://annotate.inm7.de/s/.
    • It feels unreasonable complex to expect workshop participants or external instructors to deploy an instance. Can we provide a "workshop instance"?
    • If not: what are the technical elements that need setting up, what infrastructure is needed?
  • Annotation and retrieval need a token with a specific scope. What could make sense here?
    • A workshop-specific token (all participants can access other participants metadata?)
    • A user-specific token (each user only annotates for themselves?)
    • A global token that accumulates metadata over workshops unless we wipe the data?
  • User versus admin perspective: I guess there are two views on the metadata system, one from the perspective of a user annotating the editor, and one from the perspective of an admin that gets to see some more of the inner workings. Which of those views is relevant to what extent?
    • What role does curation play? I understand that users can submit specific metadata given a token with a specific scope, but that, eg. in the INM-7 scenarios, further curation by an authority is necessary to actually get the data into the knowledge collection. From an admin perspective, it would be good to see how that works - from a user perspective not so much.
    • Access to the backend (ie where data is stored) may be needed for an admin perspective. How is the data organized, and why? (I myself have no idea about this - is there documentation about it somewhere?)
    • For admins: How to create tokens, and what to consider when setting scopes?
  • Queries are probably a very important bit in this module
    • Is that functionality already implemented?
  • Forgejo integration: If I understood it correctly, the idea is to plug the annotation tools and forgejo together to become a document management system (i.e., different tokens allow placing files and metadata into different orgs and repos)
    • Same question about a workshop instance - can we provide one?
    • To what level shall datalad play a role in this? e.g., can we clone resulting metadata datasets (if the metadata becomes a dataset eventually?)

Content: What can be a useful demo?

  • Scope of showcase / how much can we show?
    • Annotation,
    • curation,
    • query,
    • ...?
  • Narrative:
    • We can start with annotation/editor
    • Or we can start with a query (i.e., show them a desired "end result")
  • Example: What are possible things to annotate exemplary?
    • A psychological study?
    • A "toy artifact" (e.g., "a pen from your desk", "the oldest file on your computer", "your last publication", ...)
    • A person record (i.e., user management?)
One element of the workshop materials must be new content on metadata tooling and annotation. This is pretty fuzzy in my head so far -- likely due to the fact that there is few if any real-world usage of it at the moment. For now, I mostly have open questions I'd like to discuss: **Technical prerequisites**: The technical setup somewhat determines the shape of the module. - If I understood it correctly, the annotation tool needs to be deployed somewhere in order to use it, e.g., https://annotate.inm7.de/s/. - It feels unreasonable complex to expect workshop participants or external instructors to deploy an instance. Can we provide a "workshop instance"? - If not: what are the technical elements that need setting up, what infrastructure is needed? - Annotation and retrieval need a token with a specific scope. What could make sense here? - A workshop-specific token (all participants can access other participants metadata?) - A user-specific token (each user only annotates for themselves?) - A global token that accumulates metadata over workshops unless we wipe the data? - User versus admin perspective: I guess there are two views on the metadata system, one from the perspective of a user annotating the editor, and one from the perspective of an admin that gets to see some more of the inner workings. Which of those views is relevant to what extent? - What role does curation play? I understand that users can submit specific metadata given a token with a specific scope, but that, eg. in the INM-7 scenarios, further curation by an authority is necessary to actually get the data into the knowledge collection. From an admin perspective, it would be good to see how that works - from a user perspective not so much. - Access to the backend (ie where data is stored) may be needed for an admin perspective. How is the data organized, and why? (I myself have no idea about this - is there documentation about it somewhere?) - For admins: How to create tokens, and what to consider when setting scopes? - Queries are probably a very important bit in this module - Is that functionality already implemented? - Forgejo integration: If I understood it correctly, the idea is to plug the annotation tools and forgejo together to become a document management system (i.e., different tokens allow placing files and metadata into different orgs and repos) - Same question about a workshop instance - can we provide one? - To what level shall datalad play a role in this? e.g., can we clone resulting metadata datasets (if the metadata becomes a dataset eventually?) **Content**: What can be a useful demo? - Scope of showcase / how much can we show? - Annotation, - curation, - query, - ...? - Narrative: - We can start with annotation/editor - Or we can start with a query (i.e., show them a desired "end result") - Example: What are possible things to annotate exemplary? - A psychological study? - A "toy artifact" (e.g., "a pen from your desk", "the oldest file on your computer", "your last publication", ...) - A person record (i.e., user management?)
Author
Owner
  • instance: We can provide a workshop instance
  • token: Christian: ideally at least shared across workshop participants
  • admin side:
    • There are no answers yet, just ongoing technical challenges: Curation is currently a "merge problem" (what's the diff between submitted and existing record? Do you want to accept only parts of the record?). Curation is not going through any validation (like the editor does)
    • For June: note that there can be a curation process
    • API puts records in directory structure. Each record ultimately becomes an annexed file (makes diffing hard, but allows data privacy/data removal without history rewriting). The annexed files are the storage representation. The storage API (dumpthings) allows to access the files for queries. At the moment, dumpthings can only "give me one record" or "give me all the records". More complex queries need further work -> mih pursues GraphQL approach for this (ongoing work). Private repo with records: https://cerebra.fz-juelich.de/inm7/user-management
    • Stephan notes: User view, Curation, and Admin perspective should be three distinct things in the context of the workshop. For the workshop in June, we have a lack of material that describes the components generally so that others can understand what the framework is (could fit well into paper writing effort, too)
  • Stephan: Module could feed from Michael's workshop on annotation; we should start from there: https://files.inm7.de/mih/talks/rdm-concept-trr379/#/
- instance: We can provide a workshop instance - token: Christian: ideally at least shared across workshop participants - admin side: - There are no answers yet, just ongoing technical challenges: Curation is currently a "merge problem" (what's the diff between submitted and existing record? Do you want to accept only parts of the record?). Curation is not going through any validation (like the editor does) - For June: note that there can be a curation process - API puts records in directory structure. Each record ultimately becomes an annexed file (makes diffing hard, but allows data privacy/data removal without history rewriting). The annexed files are the storage representation. The storage API (dumpthings) allows to access the files for queries. At the moment, dumpthings can only "give me one record" or "give me all the records". More complex queries need further work -> mih pursues GraphQL approach for this (ongoing work). Private repo with records: https://cerebra.fz-juelich.de/inm7/user-management - Stephan notes: User view, Curation, and Admin perspective should be three distinct things in the context of the workshop. For the workshop in June, we have a lack of material that describes the components generally so that others can understand what the framework is (could fit well into paper writing effort, too) - Stephan: Module could feed from Michael's workshop on annotation; we should start from there: https://files.inm7.de/mih/talks/rdm-concept-trr379/#/
Author
Owner

I'm retroactively documenting how we did it in the workshop in Aachen.

Day 1: a brief intro into "identifiers": https://slides.edu.datalad.org/modules/identifiers.html#/
Day 2: hands-on DataLad teaching, with a ~1 hour slot by @jsheunis:
- theoretical overview of the system: https://slides.edu.datalad.org/modules/modeling-annotation-discovery.html#/
- including a hands-on data annotation at annotate.edu.datalad.org (linked in the slides)

The annotation instance had the palmer penguin dataset metadata. Stephan clicked through things to show the depth of the information, and ultimately arrived at the "Person" / "author" information. There he encouraged everyone to submit their own person records.

There was no practical input about curation or how this looks on the file system. The plan is to wipe the metadata that was submitted during the workshop eventually.

I'm retroactively documenting how we did it in the [workshop in Aachen](https://slides.edu.datalad.org/workshops/2025-DKZ.2R.html#/). Day 1: a brief intro into "identifiers": https://slides.edu.datalad.org/modules/identifiers.html#/ Day 2: hands-on DataLad teaching, with a ~1 hour slot by @jsheunis: - theoretical overview of the system: https://slides.edu.datalad.org/modules/modeling-annotation-discovery.html#/ - including a hands-on data annotation at annotate.edu.datalad.org (linked in the slides) The annotation instance had the palmer penguin dataset metadata. Stephan clicked through things to show the depth of the information, and ultimately arrived at the "Person" / "author" information. There he encouraged everyone to submit their own person records. There was no practical input about curation or how this looks on the file system. The plan is to wipe the metadata that was submitted during the workshop eventually.
Author
Owner

What's needed for the future is directly tied to development efforts.
What comes to my mind immediately is

  • query
  • annotation task with existing files
  • administrative side of things, including "how do I deploy this myself"?
What's needed for the future is directly tied to development efforts. What comes to my mind immediately is - [ ] query - [ ] annotation task with existing files - [ ] administrative side of things, including "how do I deploy this myself"?
Owner

Making a note here: I have several slides that I created for the Aachen workshop in a local branch, some of them might be useful for this module. Will push them whenever I remember again, or when someone else pokes me with a stick.

Making a note here: I have several slides that I created for the Aachen workshop in a local branch, some of them might be useful for this module. Will push them whenever I remember again, or when someone else pokes me with a stick.
Sign in to join this conversation.
No labels
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
edu/slides#4
No description provided.