From 4b8d87c133b416fdc92ad1b421287cdc86829972 Mon Sep 17 00:00:00 2001 From: Michael Hanke Date: Thu, 26 Mar 2026 07:03:36 +0100 Subject: [PATCH 1/4] fix: avoid undefined prefix in examples, use full URI --- src/things/unreleased/examples/Thing-04-relations.json | 4 ++-- src/things/unreleased/examples/Thing-04-relations.yaml | 2 +- src/things/unreleased/examples/Thing-05-publication.json | 6 +++--- src/things/unreleased/examples/Thing-05-publication.yaml | 4 ++-- src/things/v2/examples/Thing-04-relations.json | 4 ++-- src/things/v2/examples/Thing-04-relations.yaml | 2 +- src/things/v2/examples/Thing-05-publication.json | 6 +++--- src/things/v2/examples/Thing-05-publication.yaml | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/things/unreleased/examples/Thing-04-relations.json b/src/things/unreleased/examples/Thing-04-relations.json index e5d63dd..0bd1bb5 100644 --- a/src/things/unreleased/examples/Thing-04-relations.json +++ b/src/things/unreleased/examples/Thing-04-relations.json @@ -1,8 +1,8 @@ { "pid": "https://doi.org/10.21105/joss.03262", "relations": { - "ISSN:2475-9066": { - "pid": "ISSN:2475-9066", + "http://identifiers.org/issn/2475-9066": { + "pid": "http://identifiers.org/issn/2475-9066", "attributes": [ { "predicate": "ex:title", diff --git a/src/things/unreleased/examples/Thing-04-relations.yaml b/src/things/unreleased/examples/Thing-04-relations.yaml index 6fd691e..6c60006 100644 --- a/src/things/unreleased/examples/Thing-04-relations.yaml +++ b/src/things/unreleased/examples/Thing-04-relations.yaml @@ -4,7 +4,7 @@ pid: https://doi.org/10.21105/joss.03262 relations: # the containing journal - ISSN:2475-9066: + http://identifiers.org/issn/2475-9066: # inlined information attributes: - predicate: ex:title diff --git a/src/things/unreleased/examples/Thing-05-publication.json b/src/things/unreleased/examples/Thing-05-publication.json index 65a4e26..3d90303 100644 --- a/src/things/unreleased/examples/Thing-05-publication.json +++ b/src/things/unreleased/examples/Thing-05-publication.json @@ -1,8 +1,8 @@ { "pid": "https://doi.org/10.1038/s41597-022-01163-2", "relations": { - "ISSN:2052-4463": { - "pid": "ISSN:2052-4463", + "http://identifiers.org/issn/2052-4463": { + "pid": "http://identifiers.org/issn/2052-4463", "exact_mappings": [ "bibo:Journal" ], @@ -114,7 +114,7 @@ ], "characterized_by": [ { - "object": "ISSN:2052-4463", + "object": "http://identifiers.org/issn/2052-4463", "predicate": "ex:isPartOf" }, { diff --git a/src/things/unreleased/examples/Thing-05-publication.yaml b/src/things/unreleased/examples/Thing-05-publication.yaml index d37d5e2..0ccbed4 100644 --- a/src/things/unreleased/examples/Thing-05-publication.yaml +++ b/src/things/unreleased/examples/Thing-05-publication.yaml @@ -8,7 +8,7 @@ exact_mappings: description: "Large-scale datasets present unique opportunities to perform scientific investigations with unprecedented breadth. However, they also pose considerable challenges for the findability, accessibility, interoperability, and reusability (FAIR) of research outcomes due to infrastructure limitations, data usage constraints, or software license restrictions. Here we introduce a DataLad-based, domain-agnostic framework suitable for reproducible data processing in compliance with open science mandates. The framework attempts to minimize platform idiosyncrasies and performance-related complexities. It affords the capture of machine-actionable computational provenance records that can be used to retrace and verify the origins of research outcomes, as well as be re-executed independent of the original computing infrastructure. We demonstrate the framework’s performance using two showcases: one highlighting data sharing and transparency (using the studyforrest.org dataset) and another highlighting scalability (using the largest public brain imaging dataset available: the UK Biobank dataset)." relations: # the containing journal with some information on it - ISSN:2052-4463: + http://identifiers.org/issn/2052-4463: exact_mappings: - bibo:Journal attributes: @@ -59,7 +59,7 @@ attributes: characterized_by: # containing journal - predicate: ex:isPartOf - object: ISSN:2052-4463 + object: http://identifiers.org/issn/2052-4463 # related topics - predicate: ex:subject object: https://www.nature.com/subjects/data-processing diff --git a/src/things/v2/examples/Thing-04-relations.json b/src/things/v2/examples/Thing-04-relations.json index e5d63dd..0bd1bb5 100644 --- a/src/things/v2/examples/Thing-04-relations.json +++ b/src/things/v2/examples/Thing-04-relations.json @@ -1,8 +1,8 @@ { "pid": "https://doi.org/10.21105/joss.03262", "relations": { - "ISSN:2475-9066": { - "pid": "ISSN:2475-9066", + "http://identifiers.org/issn/2475-9066": { + "pid": "http://identifiers.org/issn/2475-9066", "attributes": [ { "predicate": "ex:title", diff --git a/src/things/v2/examples/Thing-04-relations.yaml b/src/things/v2/examples/Thing-04-relations.yaml index 6fd691e..6c60006 100644 --- a/src/things/v2/examples/Thing-04-relations.yaml +++ b/src/things/v2/examples/Thing-04-relations.yaml @@ -4,7 +4,7 @@ pid: https://doi.org/10.21105/joss.03262 relations: # the containing journal - ISSN:2475-9066: + http://identifiers.org/issn/2475-9066: # inlined information attributes: - predicate: ex:title diff --git a/src/things/v2/examples/Thing-05-publication.json b/src/things/v2/examples/Thing-05-publication.json index 65a4e26..3d90303 100644 --- a/src/things/v2/examples/Thing-05-publication.json +++ b/src/things/v2/examples/Thing-05-publication.json @@ -1,8 +1,8 @@ { "pid": "https://doi.org/10.1038/s41597-022-01163-2", "relations": { - "ISSN:2052-4463": { - "pid": "ISSN:2052-4463", + "http://identifiers.org/issn/2052-4463": { + "pid": "http://identifiers.org/issn/2052-4463", "exact_mappings": [ "bibo:Journal" ], @@ -114,7 +114,7 @@ ], "characterized_by": [ { - "object": "ISSN:2052-4463", + "object": "http://identifiers.org/issn/2052-4463", "predicate": "ex:isPartOf" }, { diff --git a/src/things/v2/examples/Thing-05-publication.yaml b/src/things/v2/examples/Thing-05-publication.yaml index d37d5e2..0ccbed4 100644 --- a/src/things/v2/examples/Thing-05-publication.yaml +++ b/src/things/v2/examples/Thing-05-publication.yaml @@ -8,7 +8,7 @@ exact_mappings: description: "Large-scale datasets present unique opportunities to perform scientific investigations with unprecedented breadth. However, they also pose considerable challenges for the findability, accessibility, interoperability, and reusability (FAIR) of research outcomes due to infrastructure limitations, data usage constraints, or software license restrictions. Here we introduce a DataLad-based, domain-agnostic framework suitable for reproducible data processing in compliance with open science mandates. The framework attempts to minimize platform idiosyncrasies and performance-related complexities. It affords the capture of machine-actionable computational provenance records that can be used to retrace and verify the origins of research outcomes, as well as be re-executed independent of the original computing infrastructure. We demonstrate the framework’s performance using two showcases: one highlighting data sharing and transparency (using the studyforrest.org dataset) and another highlighting scalability (using the largest public brain imaging dataset available: the UK Biobank dataset)." relations: # the containing journal with some information on it - ISSN:2052-4463: + http://identifiers.org/issn/2052-4463: exact_mappings: - bibo:Journal attributes: @@ -59,7 +59,7 @@ attributes: characterized_by: # containing journal - predicate: ex:isPartOf - object: ISSN:2052-4463 + object: http://identifiers.org/issn/2052-4463 # related topics - predicate: ex:subject object: https://www.nature.com/subjects/data-processing -- 2.54.1 From b2bbd8c7d09aed4da224f7c1c861ed02d898fbe3 Mon Sep 17 00:00:00 2001 From: Michael Hanke Date: Thu, 26 Mar 2026 08:00:47 +0100 Subject: [PATCH 2/4] feat: add `Thing` interface to `Identifier` in `things/v2+` This enables basic thing features to be used for identifiers. Examples are: annotations to indicate deprecations, and provenance. Importantly, this feature is likely making identifier subclasses unnecessary. Instead of having, e.g., and `ORCID` Identifier subclass, an appropriate URI can simply be assigned to its `kind` property (e.g., http://purl.obolibrary.org/obo/IAO_0000708). --- src/things/unreleased.yaml | 3 ++- .../examples/Identifier-03-thingprops.json | 13 +++++++++++++ .../examples/Identifier-03-thingprops.yaml | 5 +++++ .../unreleased/validation/Identifier.valid.cfg.yaml | 1 + src/things/v2.yaml | 3 ++- .../v2/examples/Identifier-03-thingprops.json | 13 +++++++++++++ .../v2/examples/Identifier-03-thingprops.yaml | 5 +++++ src/things/v2/validation/Identifier.valid.cfg.yaml | 1 + 8 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 src/things/unreleased/examples/Identifier-03-thingprops.json create mode 100644 src/things/unreleased/examples/Identifier-03-thingprops.yaml create mode 100644 src/things/v2/examples/Identifier-03-thingprops.json create mode 100644 src/things/v2/examples/Identifier-03-thingprops.yaml diff --git a/src/things/unreleased.yaml b/src/things/unreleased.yaml index 595ad08..2a37d1e 100644 --- a/src/things/unreleased.yaml +++ b/src/things/unreleased.yaml @@ -537,6 +537,8 @@ classes: Identifier: class_uri: dlthings:Identifier + mixins: + - ThingMixin description: >- An identifier is a label that uniquely identifies an item in a particular context. Some identifiers are globally unique. All @@ -544,7 +546,6 @@ classes: slots: - creator - notation - - schema_type slot_usage: notation: required: true diff --git a/src/things/unreleased/examples/Identifier-03-thingprops.json b/src/things/unreleased/examples/Identifier-03-thingprops.json new file mode 100644 index 0000000..a6f2ef0 --- /dev/null +++ b/src/things/unreleased/examples/Identifier-03-thingprops.json @@ -0,0 +1,13 @@ +{ + "notation": "1234567", + "creator": "ex:org1", + "annotations": { + "ex:replaced-by": { + "annotation_tag": "ex:replaced-by", + "annotation_value": "1234567new" + } + }, + "kind": "ex:sap-project-id", + "schema_type": "dlthings:Identifier", + "@type": "Identifier" +} diff --git a/src/things/unreleased/examples/Identifier-03-thingprops.yaml b/src/things/unreleased/examples/Identifier-03-thingprops.yaml new file mode 100644 index 0000000..c503b08 --- /dev/null +++ b/src/things/unreleased/examples/Identifier-03-thingprops.yaml @@ -0,0 +1,5 @@ +creator: ex:org1 +notation: "1234567" +kind: ex:sap-project-id +annotations: + ex:replaced-by: "1234567new" diff --git a/src/things/unreleased/validation/Identifier.valid.cfg.yaml b/src/things/unreleased/validation/Identifier.valid.cfg.yaml index 925eec1..b1c01c4 100644 --- a/src/things/unreleased/validation/Identifier.valid.cfg.yaml +++ b/src/things/unreleased/validation/Identifier.valid.cfg.yaml @@ -3,6 +3,7 @@ target_class: Identifier data_sources: - src/things/unreleased/examples/Identifier-01-minimal.yaml - src/things/unreleased/examples/Identifier-02-full.yaml + - src/things/unreleased/examples/Identifier-03-thingprops.yaml plugins: JsonschemaValidationPlugin: closed: true diff --git a/src/things/v2.yaml b/src/things/v2.yaml index 22c2cbe..b9d41fb 100644 --- a/src/things/v2.yaml +++ b/src/things/v2.yaml @@ -538,6 +538,8 @@ classes: Identifier: class_uri: dlthings:Identifier + mixins: + - ThingMixin description: >- An identifier is a label that uniquely identifies an item in a particular context. Some identifiers are globally unique. All @@ -545,7 +547,6 @@ classes: slots: - creator - notation - - schema_type slot_usage: notation: required: true diff --git a/src/things/v2/examples/Identifier-03-thingprops.json b/src/things/v2/examples/Identifier-03-thingprops.json new file mode 100644 index 0000000..a6f2ef0 --- /dev/null +++ b/src/things/v2/examples/Identifier-03-thingprops.json @@ -0,0 +1,13 @@ +{ + "notation": "1234567", + "creator": "ex:org1", + "annotations": { + "ex:replaced-by": { + "annotation_tag": "ex:replaced-by", + "annotation_value": "1234567new" + } + }, + "kind": "ex:sap-project-id", + "schema_type": "dlthings:Identifier", + "@type": "Identifier" +} diff --git a/src/things/v2/examples/Identifier-03-thingprops.yaml b/src/things/v2/examples/Identifier-03-thingprops.yaml new file mode 100644 index 0000000..c503b08 --- /dev/null +++ b/src/things/v2/examples/Identifier-03-thingprops.yaml @@ -0,0 +1,5 @@ +creator: ex:org1 +notation: "1234567" +kind: ex:sap-project-id +annotations: + ex:replaced-by: "1234567new" diff --git a/src/things/v2/validation/Identifier.valid.cfg.yaml b/src/things/v2/validation/Identifier.valid.cfg.yaml index dc32a1d..8371e76 100644 --- a/src/things/v2/validation/Identifier.valid.cfg.yaml +++ b/src/things/v2/validation/Identifier.valid.cfg.yaml @@ -3,6 +3,7 @@ target_class: Identifier data_sources: - src/things/v2/examples/Identifier-01-minimal.yaml - src/things/v2/examples/Identifier-02-full.yaml + - src/things/v2/examples/Identifier-03-thingprops.yaml plugins: JsonschemaValidationPlugin: closed: true -- 2.54.1 From cbc52fef2939349598e8ab21a91a668a8d075ab3 Mon Sep 17 00:00:00 2001 From: Michael Hanke Date: Thu, 26 Mar 2026 08:33:05 +0100 Subject: [PATCH 3/4] feat: support statement reification In other words: make statements about statement. A main use case is to be able to express provenance for individual statements within a record. This is already possible for attributes. This changes brings this feature to `Statement` also, thereby making the schema more homogeneous. --- src/things/unreleased.yaml | 6 ++++++ .../unreleased/examples/Statement-02-reify.json | 11 +++++++++++ .../unreleased/examples/Statement-02-reify.yaml | 7 +++++++ .../unreleased/validation/Statement.valid.cfg.yaml | 1 + src/things/v2.yaml | 6 ++++++ src/things/v2/examples/Statement-02-reify.json | 11 +++++++++++ src/things/v2/examples/Statement-02-reify.yaml | 7 +++++++ src/things/v2/validation/Statement.valid.cfg.yaml | 1 + 8 files changed, 50 insertions(+) create mode 100644 src/things/unreleased/examples/Statement-02-reify.json create mode 100644 src/things/unreleased/examples/Statement-02-reify.yaml create mode 100644 src/things/v2/examples/Statement-02-reify.json create mode 100644 src/things/v2/examples/Statement-02-reify.yaml diff --git a/src/things/unreleased.yaml b/src/things/unreleased.yaml index 2a37d1e..b61851c 100644 --- a/src/things/unreleased.yaml +++ b/src/things/unreleased.yaml @@ -573,6 +573,7 @@ classes: slots: - object - predicate + - characterized_by slot_usage: object: required: true @@ -580,6 +581,11 @@ classes: predicate: range: Property required: true + characterized_by: + description: >- + Make statements about statement, also known as reification. + see_also: + - https://patterns.dataincubator.org/book/reified-statement.html exact_mappings: - rdf:Statement diff --git a/src/things/unreleased/examples/Statement-02-reify.json b/src/things/unreleased/examples/Statement-02-reify.json new file mode 100644 index 0000000..d2c6936 --- /dev/null +++ b/src/things/unreleased/examples/Statement-02-reify.json @@ -0,0 +1,11 @@ +{ + "object": "https://helmholtz.de", + "predicate": "ex:subject", + "characterized_by": [ + { + "object": "ex:my-scraper-script", + "predicate": "http://www.w3.org/ns/prov#wasGeneratedBy" + } + ], + "@type": "Statement" +} diff --git a/src/things/unreleased/examples/Statement-02-reify.yaml b/src/things/unreleased/examples/Statement-02-reify.yaml new file mode 100644 index 0000000..fb32bcf --- /dev/null +++ b/src/things/unreleased/examples/Statement-02-reify.yaml @@ -0,0 +1,7 @@ +# make statements about a statement (reification), here annotating +# generation provenance (of this statement) +predicate: ex:subject +object: https://helmholtz.de +characterized_by: + - predicate: http://www.w3.org/ns/prov#wasGeneratedBy + object: ex:my-scraper-script diff --git a/src/things/unreleased/validation/Statement.valid.cfg.yaml b/src/things/unreleased/validation/Statement.valid.cfg.yaml index 090e325..bfaee0c 100644 --- a/src/things/unreleased/validation/Statement.valid.cfg.yaml +++ b/src/things/unreleased/validation/Statement.valid.cfg.yaml @@ -2,6 +2,7 @@ schema: src/things/unreleased.yaml target_class: Statement data_sources: - src/things/unreleased/examples/Statement-01-minimal.yaml + - src/things/unreleased/examples/Statement-02-reify.yaml plugins: JsonschemaValidationPlugin: closed: true diff --git a/src/things/v2.yaml b/src/things/v2.yaml index b9d41fb..d442034 100644 --- a/src/things/v2.yaml +++ b/src/things/v2.yaml @@ -574,6 +574,7 @@ classes: slots: - object - predicate + - characterized_by slot_usage: object: required: true @@ -581,6 +582,11 @@ classes: predicate: range: Property required: true + characterized_by: + description: >- + Make statements about statement, also known as reification. + see_also: + - https://patterns.dataincubator.org/book/reified-statement.html exact_mappings: - rdf:Statement diff --git a/src/things/v2/examples/Statement-02-reify.json b/src/things/v2/examples/Statement-02-reify.json new file mode 100644 index 0000000..d2c6936 --- /dev/null +++ b/src/things/v2/examples/Statement-02-reify.json @@ -0,0 +1,11 @@ +{ + "object": "https://helmholtz.de", + "predicate": "ex:subject", + "characterized_by": [ + { + "object": "ex:my-scraper-script", + "predicate": "http://www.w3.org/ns/prov#wasGeneratedBy" + } + ], + "@type": "Statement" +} diff --git a/src/things/v2/examples/Statement-02-reify.yaml b/src/things/v2/examples/Statement-02-reify.yaml new file mode 100644 index 0000000..fb32bcf --- /dev/null +++ b/src/things/v2/examples/Statement-02-reify.yaml @@ -0,0 +1,7 @@ +# make statements about a statement (reification), here annotating +# generation provenance (of this statement) +predicate: ex:subject +object: https://helmholtz.de +characterized_by: + - predicate: http://www.w3.org/ns/prov#wasGeneratedBy + object: ex:my-scraper-script diff --git a/src/things/v2/validation/Statement.valid.cfg.yaml b/src/things/v2/validation/Statement.valid.cfg.yaml index 3fd86ce..2850fa4 100644 --- a/src/things/v2/validation/Statement.valid.cfg.yaml +++ b/src/things/v2/validation/Statement.valid.cfg.yaml @@ -2,6 +2,7 @@ schema: src/things/v2.yaml target_class: Statement data_sources: - src/things/v2/examples/Statement-01-minimal.yaml + - src/things/v2/examples/Statement-02-reify.yaml plugins: JsonschemaValidationPlugin: closed: true -- 2.54.1 From 2933e25088df974d4f39ddaac9a0da7580a0cb12 Mon Sep 17 00:00:00 2001 From: Michael Hanke Date: Thu, 26 Mar 2026 08:48:23 +0100 Subject: [PATCH 4/4] feat: add standard annotations and notes to `Statement` reification This further equalizes the expressiveness of statements compared to attributes. Providing the full `Thing` interface for a `Statement` continues to make little sense to me. Any semantic mappings appear to be better placed with the respective predicate and/or object, rather than with their combination in a `Statement`. --- src/things/unreleased.yaml | 2 ++ src/things/unreleased/examples/Statement-02-reify.json | 9 +++++++++ src/things/unreleased/examples/Statement-02-reify.yaml | 4 ++++ src/things/v2.yaml | 2 ++ src/things/v2/examples/Statement-02-reify.json | 9 +++++++++ src/things/v2/examples/Statement-02-reify.yaml | 4 ++++ 6 files changed, 30 insertions(+) diff --git a/src/things/unreleased.yaml b/src/things/unreleased.yaml index b61851c..276fe2c 100644 --- a/src/things/unreleased.yaml +++ b/src/things/unreleased.yaml @@ -573,7 +573,9 @@ classes: slots: - object - predicate + - annotations - characterized_by + - editorial_notes slot_usage: object: required: true diff --git a/src/things/unreleased/examples/Statement-02-reify.json b/src/things/unreleased/examples/Statement-02-reify.json index d2c6936..f25e2b3 100644 --- a/src/things/unreleased/examples/Statement-02-reify.json +++ b/src/things/unreleased/examples/Statement-02-reify.json @@ -1,11 +1,20 @@ { "object": "https://helmholtz.de", "predicate": "ex:subject", + "annotations": { + "ex:review-requested": { + "annotation_tag": "ex:review-requested", + "annotation_value": "auto-generated annotations, review required" + } + }, "characterized_by": [ { "object": "ex:my-scraper-script", "predicate": "http://www.w3.org/ns/prov#wasGeneratedBy" } ], + "editorial_notes": [ + "This subject declaration appears to be too broad." + ], "@type": "Statement" } diff --git a/src/things/unreleased/examples/Statement-02-reify.yaml b/src/things/unreleased/examples/Statement-02-reify.yaml index fb32bcf..94bebdf 100644 --- a/src/things/unreleased/examples/Statement-02-reify.yaml +++ b/src/things/unreleased/examples/Statement-02-reify.yaml @@ -5,3 +5,7 @@ object: https://helmholtz.de characterized_by: - predicate: http://www.w3.org/ns/prov#wasGeneratedBy object: ex:my-scraper-script +annotations: + ex:review-requested: auto-generated annotations, review required +editorial_notes: + - This subject declaration appears to be too broad. diff --git a/src/things/v2.yaml b/src/things/v2.yaml index d442034..dc7accf 100644 --- a/src/things/v2.yaml +++ b/src/things/v2.yaml @@ -574,7 +574,9 @@ classes: slots: - object - predicate + - annotations - characterized_by + - editorial_notes slot_usage: object: required: true diff --git a/src/things/v2/examples/Statement-02-reify.json b/src/things/v2/examples/Statement-02-reify.json index d2c6936..f25e2b3 100644 --- a/src/things/v2/examples/Statement-02-reify.json +++ b/src/things/v2/examples/Statement-02-reify.json @@ -1,11 +1,20 @@ { "object": "https://helmholtz.de", "predicate": "ex:subject", + "annotations": { + "ex:review-requested": { + "annotation_tag": "ex:review-requested", + "annotation_value": "auto-generated annotations, review required" + } + }, "characterized_by": [ { "object": "ex:my-scraper-script", "predicate": "http://www.w3.org/ns/prov#wasGeneratedBy" } ], + "editorial_notes": [ + "This subject declaration appears to be too broad." + ], "@type": "Statement" } diff --git a/src/things/v2/examples/Statement-02-reify.yaml b/src/things/v2/examples/Statement-02-reify.yaml index fb32bcf..94bebdf 100644 --- a/src/things/v2/examples/Statement-02-reify.yaml +++ b/src/things/v2/examples/Statement-02-reify.yaml @@ -5,3 +5,7 @@ object: https://helmholtz.de characterized_by: - predicate: http://www.w3.org/ns/prov#wasGeneratedBy object: ex:my-scraper-script +annotations: + ex:review-requested: auto-generated annotations, review required +editorial_notes: + - This subject declaration appears to be too broad. -- 2.54.1