From c1453dd4b040304f793f1e093b19eaf4712ba9bd Mon Sep 17 00:00:00 2001 From: Michael Hanke Date: Sat, 7 Feb 2026 11:16:25 +0100 Subject: [PATCH] feat: enable description of entities used in a Generation This enhancement enables using generic `Activity` objects (e.g., "Measuring") to be combined with specific entities (e.g., a measuring device of some kind). This allows for "combinatorial specificity", and avoid the need to spawn specific activity entities that combine instruments and processes in a single object. This extends the logic of annotating generation time and place within the association class. --- .../unreleased/examples/XYZDataItem-03-prov.json | 10 ++++++++++ .../unreleased/examples/XYZDataItem-03-prov.yaml | 6 ++++++ src/things-prov/unreleased.yaml | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/src/demo-research-information/unreleased/examples/XYZDataItem-03-prov.json b/src/demo-research-information/unreleased/examples/XYZDataItem-03-prov.json index 836d733..8973887 100644 --- a/src/demo-research-information/unreleased/examples/XYZDataItem-03-prov.json +++ b/src/demo-research-information/unreleased/examples/XYZDataItem-03-prov.json @@ -17,5 +17,15 @@ "schema_type": "dlthings:Attribution" } ], + "generated_by": { + "object": "sio:SIO_001054", + "schema_type": "dlthings:Generation", + "used": [ + { + "object": "http://snomed.info/id/701921001", + "schema_type": "dlthings:Usage" + } + ] + }, "@type": "XYZDataItem" } diff --git a/src/demo-research-information/unreleased/examples/XYZDataItem-03-prov.yaml b/src/demo-research-information/unreleased/examples/XYZDataItem-03-prov.yaml index 11aa902..0b164bd 100644 --- a/src/demo-research-information/unreleased/examples/XYZDataItem-03-prov.yaml +++ b/src/demo-research-information/unreleased/examples/XYZDataItem-03-prov.yaml @@ -14,3 +14,9 @@ attributed_to: roles: # Data contributor - marcrel:dtc +generated_by: + # measuring + object: sio:SIO_001054 + used: + # anemometer (physical object) + - object: http://snomed.info/id/701921001 diff --git a/src/things-prov/unreleased.yaml b/src/things-prov/unreleased.yaml index 5505ee3..8bd73f4 100644 --- a/src/things-prov/unreleased.yaml +++ b/src/things-prov/unreleased.yaml @@ -576,6 +576,8 @@ classes: Generation is the completion of production of a new entity by an activity. This entity did not exist before generation and becomes available for usage after this generation. + slots: + - used slot_usage: object: description: Generating activity. @@ -585,6 +587,12 @@ classes: description: Location where the generating activity took place. at_time: description: Timepoint when the generating activity happened. + used: + range: Usage + description: Entities used for the generation (e.g., instruments). + multivalued: true + inlined: true + inlined_as_list: true exact_mappings: - prov:Generation -- 2.54.1