-
Notifications
You must be signed in to change notification settings - Fork 2
/
dataset-version.yaml
391 lines (364 loc) · 11.2 KB
/
dataset-version.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
id: https://concepts.datalad.org/schemas/dataset-version
name: dataset-version
version: UNRELEASED
status: bibo:status/draft
title: Schema for a generic dataset version record
description: |
This is a schema that a DataLad dataset generator/updator would understand
for importing a non-DataLad dataset specification.
There is [dedicated documentation](about) with general information on the
purpose and basic principles of this schema.
comments:
- ALL CONTENT HERE IS UNRELEASED AND MAY CHANGE ANY TIME
see_also: https://concepts.datalad.org/schemas/dataset-version/about
license: MIT
prefixes:
bibo: http://purl.org/ontology/bibo/
CiTO: http://purl.org/spar/cito/
DCAT: http://www.w3.org/ns/dcat#
dcterms: http://purl.org/dc/terms/
dlco: https://concepts.datalad.org/ontology/
dlns: https://concepts.datalad.org/ns/
dpv: https://w3id.org/dpv#
linkml: https://w3id.org/linkml/
obo: http://purl.obolibrary.org/obo/
prov: http://www.w3.org/ns/prov#
RDFS: http://www.w3.org/2000/01/rdf-schema#
schema: http://schema.org/
spdx: http://spdx.org/rdf/terms#
licenses: http://spdx.org/licenses/
customlicenses: https://concepts.datalad.org/ns/custom-licenses/
marcrel: http://id.loc.gov/vocabulary/relators/
emit_prefixes:
- CiTO
- DCAT
- dlco
- licenses
- customlicenses
- marcrel
- obo
- prov
imports:
- ../ontology/schema_utils
- ../ontology/common
- ../ontology/data
- ../ontology/datasets
- ../ontology/projects
classes:
TypedObject:
class_uri: dlco:TypedObject
is_a: MetadataObject
mixins:
- HasRequiredMetaTypeDesignator
description: >-
Schema-specific implementation of [TypedObject](https://concepts.datalad.org/ontology/TypedObject).
DistributionObject:
class_uri: dlco:DistributionObject
is_a: TypedObject
description: >-
Schema-specific implementation of [Object](https://concepts.datalad.org/ontology/Object).
mixins:
- Distribution
slots:
- meta_code
slot_usage:
has_part:
multivalued: true
inlined: true
inlined_as_list: true
range: DistributionObject
license:
inlined: false
range: LicenseDocumentObject
qualified_attribution:
inlined: true
inlined_as_list: true
multivalued: true
range: AgentInfluenceObject
FileContainerObject:
class_uri: dlco:FileContainerObject
is_a: DistributionObject
mixins:
- FileContainer
description: >-
Schema-specific implementation of [FileContainerObject](https://concepts.datalad.org/ontology/FileContainerObject).
slot_usage:
qualified_part:
multivalued: true
inlined: true
inlined_as_list: true
range: FileContainerItemObject
FileContainerItemObject:
class_uri: dlco:FileContainerItemObject
is_a: MetadataObject
mixins:
- FileContainerItem
description: >-
Schema-specific implementation of [FileContainerItemObject](https://concepts.datalad.org/ontology/FileContainerItemObject).
slot_usage:
relation:
inlined: false
range: DistributionObject
DigitalDocumentObject:
class_uri: dlco:DigitalDocumentObject
is_a: DistributionObject
mixins:
- DigitalDocument
description: >-
Schema-specific implementation of [DigitalDocumentObject](https://concepts.datalad.org/ontology/DigitalDocumentObject).
slot_usage:
license:
inlined: false
range: LicenseDocumentObject
DatasetVersionObject:
class_uri: dlco:DatasetVersionObject
is_a: MetadataObject
mixins:
- Dataset
description: >-
Schema-specific implementation of [DatasetVersionObject](https://concepts.datalad.org/ontology/DatasetVersionObject).
attributes:
custom_licenses:
multivalued: true
inlined: true
range: LicenseDocumentObject
description: >-
Container to declare custom licenses.
slots:
- properties
slot_usage:
distribution:
inlined: true
multivalued: false
range: FileContainerObject
#range: GitTreeObject
#has_part:
# inlined: true
# multivalued: true
# range: DatasetVersionObject
# #range: GitShaIDedObject
identifier:
range: IdentifierObject
inlined: true
multivalued: true
is_version_of:
range: string
todos:
- make URL/URI
#range: DataladDatasetObject
#qualified_part:
# inlined: true
# inlined_as_list: true
# multivalued: true
# range: GitShaIDedPartObject
license:
range: LicenseDocumentObject
was_attributed_to:
inlined: true
inlined_as_list: true
multivalued: true
range: AgentObject
was_generated_by:
inlined: true
inlined_as_list: true
multivalued: true
range: ActivityObject
properties:
inlined: true
qualified_attribution:
inlined: true
inlined_as_list: true
multivalued: true
range: AgentInfluenceObject
qualified_relation:
inlined: true
inlined_as_list: true
multivalued: true
range: EntityInfluenceObject
relation:
inlined: true
inlined_as_list: true
multivalued: true
range: EntityObject
ActivityObject:
class_uri: dlco:ActivityObject
is_a: MetadataObject
mixins:
- Activity
description: >-
Schema-specific implementation of [ActivityObject](https://concepts.datalad.org/ontology/ActivityObject).
slot_usage:
at_location:
inlined: true
range: LocationObject
identifier:
range: IdentifierObject
inlined: true
multivalued: true
AgentObject:
class_uri: dlco:AgentObject
is_a: TypedObject
mixins:
- Agent
slot_usage:
identifier:
range: IdentifierObject
inlined: true
multivalued: true
description: >-
Schema-specific implementation of [AgentObject](https://concepts.datalad.org/ontology/AgentObject).
slots:
- meta_code
PersonObject:
class_uri: dlco:PersonObject
is_a: AgentObject
mixins:
- Person
description: >-
Schema-specific implementation of [PersonObject](https://concepts.datalad.org/ontology/PersonObject).
ResearchContributorObject:
class_uri: dlco:ResearchContributorObject
is_a: PersonObject
mixins:
- ResearchContributor
description: >-
Schema-specific implementation of [ResearchContributorObject](https://concepts.datalad.org/ontology/ResearchContributorObject).
slot_usage:
affiliation:
range: OrganizationObject
OrganizationObject:
class_uri: dlco:OrganizationObject
is_a: AgentObject
mixins:
- Organization
description: >-
Schema-specific implementation of [OrganizationObject](https://concepts.datalad.org/ontology/OrganizationObject).
IdentifierObject:
class_uri: dlco:IdentifierObject
mixins:
- Identifier
slots:
- meta_id
description: >-
Schema-specific implementation of [IdentifierObject](https://concepts.datalad.org/ontology/IdentifierObject).
EntityObject:
class_uri: dlco:EntityObject
is_a: TypedObject
mixins:
- Entity
slots:
- meta_code
slot_usage:
identifier:
range: IdentifierObject
inlined: true
multivalued: true
description: >-
Schema-specific implementation of [EntityObject](https://concepts.datalad.org/ontology/EntityObject).
AgentRoleObject:
class_uri: dlco:AgentRoleObject
is_a: MetadataObject
mixins:
- Role
description: >-
Schema-specific implementation of [AgentRoleObject](https://concepts.datalad.org/ontology/AgentRoleObject).
slots:
- meta_id
id_prefixes:
- marcrel
- dpv
id_prefixes_are_closed: false
comments:
- To indicate a (GDPR) data controller, use `dpv:DataController`
notes:
- We went for MARC relators as ID prefix, because of the comprehensiveness
- This class only has a `meta_id` slot, because it is sufficient for identification of a Role via any of the supported CURIE prefix schema(s).
see_also:
- https://id.loc.gov/vocabulary/relators.html
AgentInfluenceObject:
class_uri: dlco:AgentInfluenceObject
is_a: MetadataObject
mixins:
- AgentInfluence
description: >-
Schema-specific implementation of [AgentInfluenceObject](https://concepts.datalad.org/ontology/AgentInfluenceObject).
slot_usage:
agent:
range: AgentObject
had_role:
multivalued: true
range: AgentRoleObject
EntityInfluenceObject:
class_uri: dlco:EntityInfluenceObject
is_a: MetadataObject
mixins:
- EntityInfluence
description: >-
Schema-specific implementation of [EntityInfluenceObject](https://concepts.datalad.org/ontology/EntityInfluenceObject).
slot_usage:
entity:
range: EntityObject
had_role:
multivalued: true
range: EntityRoleObject
EntityRoleObject:
class_uri: dlco:EntityRoleObject
is_a: MetadataObject
mixins:
- Role
description: >-
Schema-specific implementation of [EntityRoleObject](https://concepts.datalad.org/ontology/EntityRoleObject).
slots:
- meta_id
id_prefixes:
- CiTO
- schema
id_prefixes_are_closed: false
comments:
- To declare a funding role, use `schema:funding`
- To identify an authoritative data description publication, use `CiTO:citesAsAuthority`
- To a publication that used a data resources, use `CiTO:isCitedAsDataSourceBy`
GrantObject:
class_uri: dlco:GrantObject
is_a: EntityObject
mixins:
- Grant
description: >-
Schema-specific implementation of [GrantObject](https://concepts.datalad.org/ontology/GrantObject).
LicenseDocumentObject:
class_uri: dlco:LicenseDocumentObject
is_a: MetadataObject
mixins:
- LicenseDocument
description: >-
Schema-specific implementation of [LicenseDocumentObject](https://concepts.datalad.org/ontology/LicenseDocumentObject).
slots:
- meta_id
slot_usage:
identifier:
range: IdentifierObject
inlined: true
multivalued: true
todos:
- rethink use of `meta_id` here, there is `identifier` which is just as strict. If a license is contained in a dataset (in a file), a document-local identifier seems more appropriate
PublicationObject:
class_uri: dlco:PublicationObject
is_a: EntityObject
mixins:
- Publication
description: >-
Schema-specific implementation of [PublicationObject](https://concepts.datalad.org/ontology/PublicationObject).
LocationObject:
class_uri: dlco:LocationObject
is_a: MetadataObject
mixins:
- Location
description: >-
Schema-specific implementation of [LocationObject](https://concepts.datalad.org/ontology/LocationObject).
RecordedVariableObject:
class_uri: dlco:RecordedVariableObject
is_a: EntityObject
mixins:
- RecordedVariable
description: >-
Schema-specific implementation of [RecordedVariableObject](https://concepts.datalad.org/ontology/RecordedVariableObject).