From 59bd66a56faec48c95d1ac605bd0634b540a06e9 Mon Sep 17 00:00:00 2001 From: Michael Hanke Date: Wed, 10 Apr 2024 15:46:00 +0200 Subject: [PATCH 1/2] Move `conforms_to` into `distribution` schema It was misplaced in `prov` and is too specific for `Thing`, for my taste. --- src/distribution/unreleased.yaml | 11 +++++++++++ src/prov/unreleased.yaml | 13 ------------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/src/distribution/unreleased.yaml b/src/distribution/unreleased.yaml index 2104a18..c3ddeab 100644 --- a/src/distribution/unreleased.yaml +++ b/src/distribution/unreleased.yaml @@ -169,6 +169,16 @@ slots: exact_mappings: - spdx:checksum + conforms_to: + slot_uri: dlprov:conforms_to + description: >- + An established standard to which the subject conforms. + range: uriorcurie + comments: + - This property SHOULD be used to indicate the model, schema, ontology, view or profile that this representation of a dataset conforms to. This is (generally) a complementary concern to the media-type or format. + exact_mappings: + - dcterms:conformsTo + date_modified: slot_uri: dldist:date_modified description: >- @@ -400,6 +410,7 @@ classes: slots: - byte_size - checksum + - conforms_to - date_modified - date_published # TODO multivalued? diff --git a/src/prov/unreleased.yaml b/src/prov/unreleased.yaml index 0a9260a..2c0e25e 100644 --- a/src/prov/unreleased.yaml +++ b/src/prov/unreleased.yaml @@ -111,18 +111,6 @@ slots: broad_mappings: - prov:influencer - conforms_to: - slot_uri: dlprov:conforms_to - description: >- - An established standard to which the subject conforms. - range: uriorcurie - comments: - - This property SHOULD be used to indicate the model, schema, ontology, view or profile that this representation of a dataset conforms to. This is (generally) a complementary concern to the media-type or format. - exact_mappings: - - dcterms:conformsTo - todos: - - Consider making a `Things` property - ended_at: slot_uri: dlprov:ended_at description: >- @@ -368,7 +356,6 @@ classes: A physical, digital, conceptual, or other kind of thing with some fixed aspects; entities may be real or imaginary. slots: - - conforms_to - qualified_attribution - qualified_derivation - qualified_relation From abe37352c7f24cc991104f1d37333d9c47d1fdea Mon Sep 17 00:00:00 2001 From: Michael Hanke Date: Wed, 10 Apr 2024 16:03:29 +0200 Subject: [PATCH 2/2] Minor fixups --- mkdocs.yml | 4 ++++ src/distribution/unreleased.yaml | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index 6b6dd11..240b054 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -7,12 +7,16 @@ nav: - Thing (unreleased): s/thing/unreleased/index.md - Provenance (unreleased): s/prov/unreleased/index.md - Distribution (unreleased): s/distribution/unreleased/index.md + - Scientific data distribution (unreleased): s/datalad-dataset/unreleased/index.md plugins: - mermaid2 - redirects: redirect_maps: # map unversioned URLs to the latest version + 's/thing/index.md': 's/thing/unreleased/index.md' + 's/prov/index.md': 's/prov/unreleased/index.md' 's/distribution/index.md': 's/distribution/unreleased/index.md' + 's/sdd/index.md': 's/sdd/unreleased/index.md' - search site_author: DataLad Team site_description: diff --git a/src/distribution/unreleased.yaml b/src/distribution/unreleased.yaml index c3ddeab..9ee0619 100644 --- a/src/distribution/unreleased.yaml +++ b/src/distribution/unreleased.yaml @@ -362,10 +362,6 @@ slots: classes: - # - # activities - # - # # agents # @@ -460,7 +456,6 @@ classes: - keyword - landing_page - version - #- was_generated_by slot_usage: is_part_of: range: Resource