diff --git a/src/things/unreleased.yaml b/src/things/unreleased.yaml index 595ad08..276fe2c 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 @@ -572,6 +573,9 @@ classes: slots: - object - predicate + - annotations + - characterized_by + - editorial_notes slot_usage: object: required: true @@ -579,6 +583,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/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/examples/Statement-02-reify.json b/src/things/unreleased/examples/Statement-02-reify.json new file mode 100644 index 0000000..f25e2b3 --- /dev/null +++ b/src/things/unreleased/examples/Statement-02-reify.json @@ -0,0 +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 new file mode 100644 index 0000000..94bebdf --- /dev/null +++ b/src/things/unreleased/examples/Statement-02-reify.yaml @@ -0,0 +1,11 @@ +# 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 +annotations: + ex:review-requested: auto-generated annotations, review required +editorial_notes: + - This subject declaration appears to be too broad. 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/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/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 22c2cbe..dc7accf 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 @@ -573,6 +574,9 @@ classes: slots: - object - predicate + - annotations + - characterized_by + - editorial_notes slot_usage: object: required: true @@ -580,6 +584,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/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/examples/Statement-02-reify.json b/src/things/v2/examples/Statement-02-reify.json new file mode 100644 index 0000000..f25e2b3 --- /dev/null +++ b/src/things/v2/examples/Statement-02-reify.json @@ -0,0 +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 new file mode 100644 index 0000000..94bebdf --- /dev/null +++ b/src/things/v2/examples/Statement-02-reify.yaml @@ -0,0 +1,11 @@ +# 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 +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/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 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 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