Skip to content

Commit

Permalink
Discontinue repurposing dcat:type for metadata object identification
Browse files Browse the repository at this point in the history
Swicthed to out standard `meta_type` property for that.
  • Loading branch information
mih committed Jan 3, 2024
1 parent 0d9c623 commit fb16e8b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"meta_type": "dlco:MonolithicDataladDatasetVersion",
"qualified_part": [
{
"relation": {
"type": "dlco:AnnexedFile",
"meta_type": "dlco:AnnexedFile",
"distribution": {
"byte_size": 3425,
"checksum": {
Expand All @@ -18,7 +19,6 @@
"at_location": "README.txt"
}
],
"type": "dlco:MonolithicDataladDatasetVersion",
"uuid": "0b76362c-aa27-11ee-be29-b3b123281259",
"has_annex_remote": {
"annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf a dlco:AnnexRemote ;
dlco:uuid "7e0bf3e7-7d46-4093-813e-b4009826c3bf"^^<http://purl.obolibrary.org/obo/NCIT_C54100> .

[] dlco:has_annex_remote annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf ;
dlco:meta_type "dlco:MonolithicDataladDatasetVersion"^^xsd:anyURI ;
dlco:qualified_part [ a dlco:QualifiedPart ;
dct:relation [ dlco:distribution [ a dlco:AnnexDistribution ;
spdx:checksum [ a spdx:Checksum ;
Expand All @@ -19,9 +20,8 @@ annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf a dlco:AnnexRemote ;
dlco:qualified_access [ a dlco:QualifiedAnnexAccess ;
dct:relation annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf ;
dlco:access_id "MD5E-s3425--32a617360d10e3dcbfdd0885e8d64ab8.txt" ] ] ;
dlco:type "dlco:AnnexedFile"^^xsd:anyURI ] ;
dlco:meta_type "dlco:AnnexedFile"^^xsd:anyURI ] ;
prov:atLocation "README.txt"^^dlco:PosixRelPath ] ;
dlco:type "dlco:MonolithicDataladDatasetVersion"^^xsd:anyURI ;
dlco:uuid "0b76362c-aa27-11ee-be29-b3b123281259"^^<http://purl.obolibrary.org/obo/NCIT_C54100> .


Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ has_annex_remote:
qualified_part:
- at_location: README.txt
relation:
type: dlco:AnnexedFile
meta_type: dlco:AnnexedFile
distribution:
byte_size: 3425
checksum:
Expand Down
2 changes: 1 addition & 1 deletion src/linkml/datalad-dataset-version-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ classes:
multivalued: true
inlined: true
comments:
- The propert `has_annex_remote` is for defining all remotes inline
- The property `has_annex_remote` is for defining all remotes inline
with a meta_id index key, such that they can be referenced in a
lean fashion in `QualifiedAnnexAccess` instances.
6 changes: 2 additions & 4 deletions src/linkml/datasets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,10 @@ slots:
- DCAT:qualifiedRelation
range: QualifiedPart

# TODO semantically identical to `meta_type` -- think which way to consolidate
# in the scope of DCAT v3 `type` is a standard property of a `Resource`
type:
designates_type: true
description: >-
The nature of the resource.
range: uriorcurie
range: string
exact_mappings:
- dct:type

Expand All @@ -109,6 +106,7 @@ classes:
class_uri: DCAT:Resource
slots:
- has_part
- meta_type
- qualified_part
- type
slot_usage:
Expand Down

0 comments on commit fb16e8b

Please sign in to comment.