-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a fairly dirty commit that implements the conclusions from #30 (comment) This shows the path forward, but it does it by cutting quite a few corners that need fixing in subsequent changes (e.g., dataset can only have annexed files right now). However, none of these missing changes should be problematic -- merely laborious. I do not know when I can come back to this, to I prefer committing this state. it should pass all tests.
- Loading branch information
Showing
31 changed files
with
417 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/examples/datalad-dataset-version-schema/AnnexRemoteSE-dataserviceprops.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"meta_id": "annex:0b76362c-aa27-11ee-be29-b3b123281259", | ||
"uuid": "0b76362c-aa27-11ee-be29-b3b123281259", | ||
"endpoint_url": "s3://obj.example.com/v3", | ||
"@type": "AnnexRemoteSE" | ||
} |
9 changes: 9 additions & 0 deletions
9
src/examples/datalad-dataset-version-schema/AnnexRemoteSE-dataserviceprops.rdf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@prefix annex: <https://concepts.datalad.org/namespace/annex-uuid/> . | ||
@prefix dlco: <https://concepts.datalad.org/ontology/> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
|
||
annex:0b76362c-aa27-11ee-be29-b3b123281259 a dlco:AnnexRemoteSE ; | ||
dlco:endpoint_url "s3://obj.example.com/v3"^^xsd:anyURI ; | ||
dlco:uuid "0b76362c-aa27-11ee-be29-b3b123281259"^^<http://purl.obolibrary.org/obo/NCIT_C54100> . | ||
|
||
|
5 changes: 5 additions & 0 deletions
5
src/examples/datalad-dataset-version-schema/AnnexRemoteSE-dataserviceprops.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
meta_id: annex:0b76362c-aa27-11ee-be29-b3b123281259 | ||
uuid: 0b76362c-aa27-11ee-be29-b3b123281259 | ||
# uses a standard DataService slot to encode the remote | ||
# access target | ||
endpoint_url: s3://obj.example.com/v3 |
5 changes: 5 additions & 0 deletions
5
src/examples/datalad-dataset-version-schema/AnnexRemoteSE-minimal.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"meta_id": "annex:0b76362c-aa27-11ee-be29-b3b123281259", | ||
"uuid": "0b76362c-aa27-11ee-be29-b3b123281259", | ||
"@type": "AnnexRemoteSE" | ||
} |
7 changes: 7 additions & 0 deletions
7
src/examples/datalad-dataset-version-schema/AnnexRemoteSE-minimal.rdf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@prefix annex: <https://concepts.datalad.org/namespace/annex-uuid/> . | ||
@prefix dlco: <https://concepts.datalad.org/ontology/> . | ||
|
||
annex:0b76362c-aa27-11ee-be29-b3b123281259 a dlco:AnnexRemoteSE ; | ||
dlco:uuid "0b76362c-aa27-11ee-be29-b3b123281259"^^<http://purl.obolibrary.org/obo/NCIT_C54100> . | ||
|
||
|
2 changes: 2 additions & 0 deletions
2
src/examples/datalad-dataset-version-schema/AnnexRemoteSE-minimal.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
meta_id: annex:0b76362c-aa27-11ee-be29-b3b123281259 | ||
uuid: 0b76362c-aa27-11ee-be29-b3b123281259 |
37 changes: 37 additions & 0 deletions
37
src/examples/datalad-dataset-version-schema/DataladDatasetVersionSE-full.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"is_version_of": { | ||
"uuid": "0b76362c-aa27-11ee-be29-b3b123281259" | ||
}, | ||
"has_annex_remote": { | ||
"annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf": { | ||
"meta_id": "annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf", | ||
"uuid": "7e0bf3e7-7d46-4093-813e-b4009826c3bf" | ||
} | ||
}, | ||
"has_part": { | ||
"gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58": { | ||
"meta_id": "gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58", | ||
"gitsha": "b94ef1797f7bfc1ac979be122e1b538bbb0d1d58", | ||
"distribution": { | ||
"qualified_access": { | ||
"relation": "annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf", | ||
"access_id": "MD5E-s3425--32a617360d10e3dcbfdd0885e8d64ab8.txt" | ||
}, | ||
"byte_size": 3425, | ||
"checksum": { | ||
"algorithm": "md5", | ||
"digest": "32a617360d10e3dcbfdd0885e8d64ab8" | ||
} | ||
}, | ||
"meta_type": "dlco:AnnexedFileSE" | ||
} | ||
}, | ||
"qualified_part": [ | ||
{ | ||
"relation": "gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58", | ||
"at_location": "README.txt" | ||
} | ||
], | ||
"meta_type": "dlco:DataladDatasetVersionSE", | ||
"@type": "DataladDatasetVersionSE" | ||
} |
33 changes: 33 additions & 0 deletions
33
src/examples/datalad-dataset-version-schema/DataladDatasetVersionSE-full.rdf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
@prefix DCAT: <http://www.w3.org/ns/dcat#> . | ||
@prefix annex: <https://concepts.datalad.org/namespace/annex-uuid/> . | ||
@prefix dct: <http://purl.org/dc/terms/> . | ||
@prefix dlco: <https://concepts.datalad.org/ontology/> . | ||
@prefix gitsha: <https://concepts.datalad.org/namespace/gitsha/> . | ||
@prefix prov: <http://www.w3.org/ns/prov#> . | ||
@prefix spdx: <http://spdx.org/rdf/terms#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
|
||
annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf a dlco:AnnexRemoteSE ; | ||
dlco:uuid "7e0bf3e7-7d46-4093-813e-b4009826c3bf"^^<http://purl.obolibrary.org/obo/NCIT_C54100> . | ||
|
||
gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58 dlco:distribution [ a dlco:AnnexDistributionSE ; | ||
spdx:checksum [ a spdx:Checksum ; | ||
spdx:algorithm "md5"^^xsd:anyURI ; | ||
spdx:checksumValue "32a617360d10e3dcbfdd0885e8d64ab8"^^xsd:hexBinary ] ; | ||
DCAT:byteSize "3425"^^xsd:nonNegativeInteger ; | ||
dlco:qualified_access [ a dlco:QualifiedAnnexAccessSE ; | ||
dct:relation annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf ; | ||
dlco:access_id "MD5E-s3425--32a617360d10e3dcbfdd0885e8d64ab8.txt" ] ] ; | ||
dlco:gitsha "b94ef1797f7bfc1ac979be122e1b538bbb0d1d58"^^dlco:sha1 ; | ||
dlco:meta_type "dlco:AnnexedFileSE"^^xsd:anyURI . | ||
|
||
[] dct:hasPart gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58 ; | ||
DCAT:isVersionOf [ a dlco:DataladDatasetSE ; | ||
dlco:uuid "0b76362c-aa27-11ee-be29-b3b123281259"^^<http://purl.obolibrary.org/obo/NCIT_C54100> ] ; | ||
dlco:has_annex_remote annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf ; | ||
dlco:meta_type "dlco:DataladDatasetVersionSE"^^xsd:anyURI ; | ||
dlco:qualified_part [ a dlco:QualifiedPartSE ; | ||
dct:relation gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58 ; | ||
prov:atLocation "README.txt"^^dlco:PosixRelPath ] . | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
src/examples/datalad-dataset-version-schema/DataladDatasetVersionSE-minimal.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"is_version_of": { | ||
"uuid": "0b76362c-aa27-11ee-be29-b3b123281259" | ||
}, | ||
"meta_type": "dlco:DataladDatasetVersionSE", | ||
"@type": "DataladDatasetVersionSE" | ||
} |
9 changes: 9 additions & 0 deletions
9
src/examples/datalad-dataset-version-schema/DataladDatasetVersionSE-minimal.rdf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@prefix DCAT: <http://www.w3.org/ns/dcat#> . | ||
@prefix dlco: <https://concepts.datalad.org/ontology/> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
|
||
[] DCAT:isVersionOf [ a dlco:DataladDatasetSE ; | ||
dlco:uuid "0b76362c-aa27-11ee-be29-b3b123281259"^^<http://purl.obolibrary.org/obo/NCIT_C54100> ] ; | ||
dlco:meta_type "dlco:DataladDatasetVersionSE"^^xsd:anyURI . | ||
|
||
|
2 changes: 2 additions & 0 deletions
2
src/examples/datalad-dataset-version-schema/DataladDatasetVersionSE-minimal.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
is_version_of: | ||
uuid: 0b76362c-aa27-11ee-be29-b3b123281259 |
26 changes: 26 additions & 0 deletions
26
src/examples/datalad-dataset-version-schema/DataladDatasetVersionSE-part-availability.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"is_version_of": { | ||
"uuid": "0b76362c-aa27-11ee-be29-b3b123281259" | ||
}, | ||
"has_annex_remote": { | ||
"annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf": { | ||
"meta_id": "annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf", | ||
"uuid": "7e0bf3e7-7d46-4093-813e-b4009826c3bf" | ||
} | ||
}, | ||
"has_part": { | ||
"gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58": { | ||
"meta_id": "gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58", | ||
"gitsha": "b94ef1797f7bfc1ac979be122e1b538bbb0d1d58", | ||
"distribution": { | ||
"qualified_access": { | ||
"relation": "annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf", | ||
"access_id": "MD5E-s3425--32a617360d10e3dcbfdd0885e8d64ab8.txt" | ||
} | ||
}, | ||
"meta_type": "dlco:AnnexedFileSE" | ||
} | ||
}, | ||
"meta_type": "dlco:DataladDatasetVersionSE", | ||
"@type": "DataladDatasetVersionSE" | ||
} |
24 changes: 24 additions & 0 deletions
24
src/examples/datalad-dataset-version-schema/DataladDatasetVersionSE-part-availability.rdf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
@prefix DCAT: <http://www.w3.org/ns/dcat#> . | ||
@prefix annex: <https://concepts.datalad.org/namespace/annex-uuid/> . | ||
@prefix dct: <http://purl.org/dc/terms/> . | ||
@prefix dlco: <https://concepts.datalad.org/ontology/> . | ||
@prefix gitsha: <https://concepts.datalad.org/namespace/gitsha/> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
|
||
gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58 dlco:distribution [ a dlco:AnnexDistributionSE ; | ||
dlco:qualified_access [ a dlco:QualifiedAnnexAccessSE ; | ||
dct:relation annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf ; | ||
dlco:access_id "MD5E-s3425--32a617360d10e3dcbfdd0885e8d64ab8.txt" ] ] ; | ||
dlco:gitsha "b94ef1797f7bfc1ac979be122e1b538bbb0d1d58"^^dlco:sha1 ; | ||
dlco:meta_type "dlco:AnnexedFileSE"^^xsd:anyURI . | ||
|
||
annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf a dlco:AnnexRemoteSE ; | ||
dlco:uuid "7e0bf3e7-7d46-4093-813e-b4009826c3bf"^^<http://purl.obolibrary.org/obo/NCIT_C54100> . | ||
|
||
[] dct:hasPart gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58 ; | ||
DCAT:isVersionOf [ a dlco:DataladDatasetSE ; | ||
dlco:uuid "0b76362c-aa27-11ee-be29-b3b123281259"^^<http://purl.obolibrary.org/obo/NCIT_C54100> ] ; | ||
dlco:has_annex_remote annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf ; | ||
dlco:meta_type "dlco:DataladDatasetVersionSE"^^xsd:anyURI . | ||
|
||
|
13 changes: 13 additions & 0 deletions
13
src/examples/datalad-dataset-version-schema/DataladDatasetVersionSE-part-availability.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
is_version_of: | ||
uuid: 0b76362c-aa27-11ee-be29-b3b123281259 | ||
has_annex_remote: | ||
annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf: | ||
uuid: 7e0bf3e7-7d46-4093-813e-b4009826c3bf | ||
has_part: | ||
gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58: | ||
meta_type: dlco:AnnexedFileSE | ||
gitsha: b94ef1797f7bfc1ac979be122e1b538bbb0d1d58 | ||
distribution: | ||
qualified_access: | ||
access_id: MD5E-s3425--32a617360d10e3dcbfdd0885e8d64ab8.txt | ||
relation: annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf |
20 changes: 20 additions & 0 deletions
20
src/examples/datalad-dataset-version-schema/DataladDatasetVersionSE-part-location.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"is_version_of": { | ||
"uuid": "0b76362c-aa27-11ee-be29-b3b123281259" | ||
}, | ||
"has_part": { | ||
"gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58": { | ||
"meta_id": "gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58", | ||
"gitsha": "b94ef1797f7bfc1ac979be122e1b538bbb0d1d58", | ||
"meta_type": "dlco:AnnexedFileSE" | ||
} | ||
}, | ||
"qualified_part": [ | ||
{ | ||
"relation": "gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58", | ||
"at_location": "README.txt" | ||
} | ||
], | ||
"meta_type": "dlco:DataladDatasetVersionSE", | ||
"@type": "DataladDatasetVersionSE" | ||
} |
19 changes: 19 additions & 0 deletions
19
src/examples/datalad-dataset-version-schema/DataladDatasetVersionSE-part-location.rdf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@prefix DCAT: <http://www.w3.org/ns/dcat#> . | ||
@prefix dct: <http://purl.org/dc/terms/> . | ||
@prefix dlco: <https://concepts.datalad.org/ontology/> . | ||
@prefix gitsha: <https://concepts.datalad.org/namespace/gitsha/> . | ||
@prefix prov: <http://www.w3.org/ns/prov#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
|
||
gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58 dlco:gitsha "b94ef1797f7bfc1ac979be122e1b538bbb0d1d58"^^dlco:sha1 ; | ||
dlco:meta_type "dlco:AnnexedFileSE"^^xsd:anyURI . | ||
|
||
[] dct:hasPart gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58 ; | ||
DCAT:isVersionOf [ a dlco:DataladDatasetSE ; | ||
dlco:uuid "0b76362c-aa27-11ee-be29-b3b123281259"^^<http://purl.obolibrary.org/obo/NCIT_C54100> ] ; | ||
dlco:meta_type "dlco:DataladDatasetVersionSE"^^xsd:anyURI ; | ||
dlco:qualified_part [ a dlco:QualifiedPartSE ; | ||
dct:relation gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58 ; | ||
prov:atLocation "README.txt"^^dlco:PosixRelPath ] . | ||
|
||
|
11 changes: 11 additions & 0 deletions
11
src/examples/datalad-dataset-version-schema/DataladDatasetVersionSE-part-location.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
is_version_of: | ||
uuid: 0b76362c-aa27-11ee-be29-b3b123281259 | ||
has_part: | ||
gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58: | ||
meta_type: dlco:AnnexedFileSE | ||
gitsha: b94ef1797f7bfc1ac979be122e1b538bbb0d1d58 | ||
qualified_part: | ||
- at_location: README.txt | ||
# key aspect is this reference-by-id of the inline part specification | ||
# above | ||
relation: gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58 |
14 changes: 14 additions & 0 deletions
14
src/examples/datalad-dataset-version-schema/DataladDatasetVersionSE-part-types.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"is_version_of": { | ||
"uuid": "0b76362c-aa27-11ee-be29-b3b123281259" | ||
}, | ||
"has_part": { | ||
"gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58": { | ||
"meta_id": "gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58", | ||
"gitsha": "b94ef1797f7bfc1ac979be122e1b538bbb0d1d58", | ||
"meta_type": "dlco:AnnexedFileSE" | ||
} | ||
}, | ||
"meta_type": "dlco:DataladDatasetVersionSE", | ||
"@type": "DataladDatasetVersionSE" | ||
} |
15 changes: 15 additions & 0 deletions
15
src/examples/datalad-dataset-version-schema/DataladDatasetVersionSE-part-types.rdf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@prefix DCAT: <http://www.w3.org/ns/dcat#> . | ||
@prefix dct: <http://purl.org/dc/terms/> . | ||
@prefix dlco: <https://concepts.datalad.org/ontology/> . | ||
@prefix gitsha: <https://concepts.datalad.org/namespace/gitsha/> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
|
||
gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58 dlco:gitsha "b94ef1797f7bfc1ac979be122e1b538bbb0d1d58"^^dlco:sha1 ; | ||
dlco:meta_type "dlco:AnnexedFileSE"^^xsd:anyURI . | ||
|
||
[] dct:hasPart gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58 ; | ||
DCAT:isVersionOf [ a dlco:DataladDatasetSE ; | ||
dlco:uuid "0b76362c-aa27-11ee-be29-b3b123281259"^^<http://purl.obolibrary.org/obo/NCIT_C54100> ] ; | ||
dlco:meta_type "dlco:DataladDatasetVersionSE"^^xsd:anyURI . | ||
|
||
|
8 changes: 8 additions & 0 deletions
8
src/examples/datalad-dataset-version-schema/DataladDatasetVersionSE-part-types.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
is_version_of: | ||
uuid: 0b76362c-aa27-11ee-be29-b3b123281259 | ||
has_part: | ||
gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58: | ||
# this type-designator slot determines the object type used to | ||
# interpret this inline record | ||
meta_type: dlco:AnnexedFileSE | ||
gitsha: b94ef1797f7bfc1ac979be122e1b538bbb0d1d58 |
32 changes: 0 additions & 32 deletions
32
src/examples/datalad-dataset-version-schema/MonolithicDataladDatasetVersion-draft.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.