-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbia_mifa_models.shacl.ttl
More file actions
358 lines (343 loc) · 15.5 KB
/
bia_mifa_models.shacl.ttl
File metadata and controls
358 lines (343 loc) · 15.5 KB
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
@prefix WIKIDATA_PROPERTY: <https://www.wikidata.org/prop/> .
@prefix bia_mifa_models: <https://w3id.org/BioImage-Archive/bia-mifa-models/> .
@prefix pav: <http://purl.org/pav/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix schema1: <http://schema.org/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
bia_mifa_models:Annotations a sh:NodeShape ;
sh:closed true ;
sh:description "A set of annotations for an AI-ready dataset" ;
sh:ignoredProperties ( rdf:type ) ;
sh:property [ sh:class bia_mifa_models:FileLevelMetadata ;
sh:description "a collection of the file level metadata for each annotation" ;
sh:nodeKind sh:IRI ;
sh:order 6 ;
sh:path bia_mifa_models:file_metadata ],
[ sh:datatype xsd:string ;
sh:description "Which images from the dataset were annotated, and what percentage of the data has been annotated from what is available" ;
sh:maxCount 1 ;
sh:order 3 ;
sh:path bia_mifa_models:annotation_coverage ],
[ sh:datatype xsd:string ;
sh:description "Confidence on annotation accuracy" ;
sh:maxCount 1 ;
sh:order 4 ;
sh:path bia_mifa_models:annotation_confidence_level ],
[ sh:class bia_mifa_models:Author ;
sh:description "a collection of the authors of a study" ;
sh:nodeKind sh:BlankNode ;
sh:order 5 ;
sh:path bia_mifa_models:authors ],
[ sh:datatype xsd:string ;
sh:description "Rules used to generate annotations" ;
sh:maxCount 1 ;
sh:order 2 ;
sh:path bia_mifa_models:annotation_criteria ],
[ sh:datatype xsd:string ;
sh:description "Short descriptive summary indicating the type of annotation and how it was generated" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:order 0 ;
sh:path bia_mifa_models:annotation_overview ],
[ sh:datatype xsd:string ;
sh:description "Description of how the annotations were created. For example, were the annotations crowdsourced or expertly annotated, produced by a human or software, what software was used, when were the annotations created, protocols used for consensus and quality assurance" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:order 1 ;
sh:path bia_mifa_models:annotation_method ] ;
sh:targetClass bia_mifa_models:Annotations .
bia_mifa_models:AuthorCollection a sh:NodeShape ;
sh:closed false ;
sh:description "A holder for Author objects" ;
sh:ignoredProperties ( rdf:type ) ;
sh:property [ sh:class bia_mifa_models:Author ;
sh:description "a collection of the authors of a study" ;
sh:nodeKind sh:BlankNode ;
sh:order 0 ;
sh:path bia_mifa_models:authors ] ;
sh:targetClass bia_mifa_models:AuthorCollection .
bia_mifa_models:FileLevelMetadataCollection a sh:NodeShape ;
sh:closed false ;
sh:description "A holder for FileLevelMetadata objects" ;
sh:ignoredProperties ( rdf:type ) ;
sh:property [ sh:class bia_mifa_models:FileLevelMetadata ;
sh:description "a collection of the file level metadata for each annotation" ;
sh:nodeKind sh:IRI ;
sh:order 0 ;
sh:path bia_mifa_models:file_metadata ] ;
sh:targetClass bia_mifa_models:FileLevelMetadataCollection .
bia_mifa_models:GrantReferenceCollection a sh:NodeShape ;
sh:closed false ;
sh:description "A holder for GrantReference objects" ;
sh:ignoredProperties ( rdf:type ) ;
sh:property [ sh:class bia_mifa_models:GrantReference ;
sh:description "a collection of grant ids and funder names associated with the study" ;
sh:nodeKind sh:IRI ;
sh:order 0 ;
sh:path bia_mifa_models:grants ] ;
sh:targetClass bia_mifa_models:GrantReferenceCollection .
bia_mifa_models:Links a sh:NodeShape ;
sh:closed false ;
sh:description "Links related to the study" ;
sh:ignoredProperties ( rdf:type ) ;
sh:property [ sh:datatype xsd:string ;
sh:description "The description of the linked content" ;
sh:order 1 ;
sh:path bia_mifa_models:link_description ],
[ sh:description "URL of relevant link" ;
sh:minCount 1 ;
sh:order 0 ;
sh:path bia_mifa_models:link_url ] ;
sh:targetClass bia_mifa_models:Links .
bia_mifa_models:OrganisationInfoCollection a sh:NodeShape ;
sh:closed false ;
sh:description "A holder for OrganisationInfo objects" ;
sh:ignoredProperties ( rdf:type ) ;
sh:property [ sh:class bia_mifa_models:OrganisationInfo ;
sh:description "a collection of the name and address of organisations authors are affiliated with" ;
sh:nodeKind sh:BlankNode ;
sh:order 0 ;
sh:path bia_mifa_models:organisation ] ;
sh:targetClass bia_mifa_models:OrganisationInfoCollection .
bia_mifa_models:PublicationsCollection a sh:NodeShape ;
sh:closed false ;
sh:description "A holder for Publications objects" ;
sh:ignoredProperties ( rdf:type ) ;
sh:property [ sh:class bia_mifa_models:Publications ;
sh:description "a collection of publications associated with a study" ;
sh:nodeKind sh:IRI ;
sh:order 0 ;
sh:path bia_mifa_models:publications ] ;
sh:targetClass bia_mifa_models:PublicationsCollection .
bia_mifa_models:Study a sh:NodeShape ;
sh:closed true ;
sh:description "General information about the study" ;
sh:ignoredProperties ( rdf:type ) ;
sh:property [ sh:datatype xsd:string ;
sh:description "Description of how the study was funded" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:order 6 ;
sh:path bia_mifa_models:funding_statement ],
[ sh:datatype xsd:string ;
sh:description "The description of the linked content" ;
sh:order 10 ;
sh:path bia_mifa_models:link_description ],
[ sh:datatype xsd:string ;
sh:description "Keywords or tags used to describe the dataset" ;
sh:minCount 1 ;
sh:order 2 ;
sh:path schema1:keywords ],
[ sh:datatype xsd:string ;
sh:description "Brief description of the detaset. Must contain the biological application of the dataset" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:order 1 ;
sh:path schema1:description ],
[ sh:description "Link to the models that have been trained with this dataset (if any). This could be links to GitHub or repositories like the BioImage Zoo." ;
sh:order 4 ;
sh:path bia_mifa_models:ai_models_trained ],
[ sh:datatype xsd:string ;
sh:description "The title for your dataset. This will be displayed when search results including your data are shown. Often this will be the same as an associated publication." ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:order 0 ;
sh:path schema1:title ],
[ sh:class bia_mifa_models:Author ;
sh:description "a collection of the authors of a study" ;
sh:nodeKind sh:BlankNode ;
sh:order 8 ;
sh:path bia_mifa_models:authors ],
[ sh:description "URL of relevant link" ;
sh:minCount 1 ;
sh:order 9 ;
sh:path bia_mifa_models:link_url ],
[ sh:description "The license under which the data are available" ;
sh:in ( <https://creativecommons.org/publicdomain/zero/1.0/> <https://creativecommons.org/licenses/by/4.0/> ) ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:order 3 ;
sh:path schema1:license ],
[ sh:class bia_mifa_models:Publications ;
sh:description "a collection of publications associated with a study" ;
sh:nodeKind sh:IRI ;
sh:order 7 ;
sh:path bia_mifa_models:publications ],
[ sh:datatype xsd:string ;
sh:description "Any people or groups that should be acknowledged as part of the dataset" ;
sh:maxCount 1 ;
sh:order 5 ;
sh:path bia_mifa_models:acknowledgements ],
[ sh:class bia_mifa_models:GrantReference ;
sh:description "a collection of grant ids and funder names associated with the study" ;
sh:nodeKind sh:IRI ;
sh:order 11 ;
sh:path bia_mifa_models:grants ] ;
sh:targetClass bia_mifa_models:Study .
bia_mifa_models:Version a sh:NodeShape ;
sh:closed true ;
sh:description "Information about the dataset version" ;
sh:ignoredProperties ( rdf:type ) ;
sh:property [ sh:datatype xsd:dateTime ;
sh:description "Date and time when the version was created" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:order 1 ;
sh:path pav:authoredOn ],
[ sh:datatype xsd:string ;
sh:description "Textual description of changes compared to previous version" ;
sh:maxCount 1 ;
sh:order 2 ;
sh:path bia_mifa_models:changes ],
[ sh:datatype xsd:string ;
sh:description "Unique version number" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:order 0 ;
sh:path pav:version ],
[ sh:description "Pointer to previous version" ;
sh:maxCount 1 ;
sh:order 3 ;
sh:path pav:previousVersion ] ;
sh:targetClass bia_mifa_models:Version .
bia_mifa_models:FileLevelMetadata a sh:NodeShape ;
sh:closed true ;
sh:description "metadata atributes that must be detailed at the file level" ;
sh:ignoredProperties ( rdf:type ) ;
sh:property [ sh:datatype xsd:string ;
sh:description "The identifier for the annotation" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:order 0 ;
sh:path schema1:identifier ],
[ sh:datatype xsd:dateTime ;
sh:description "Date and time when the annotation was created" ;
sh:maxCount 1 ;
sh:order 5 ;
sh:path pav:authoredOn ],
[ sh:description "Annotation type, for example class labels, segmentation masks, counts..." ;
sh:in ( "class_labels" "bounding_boxes" "counts" "derived_annotations" "geometrical_annotations" "graphs" "point_annotations" "segmentation_mask" "tracks" "weak_annotations" "other" ) ;
sh:minCount 1 ;
sh:order 1 ;
sh:path bia_mifa_models:annotation_type ],
[ sh:datatype xsd:string ;
sh:description "Spatial information for non-pixel annotations" ;
sh:maxCount 1 ;
sh:order 4 ;
sh:path bia_mifa_models:spatial_information ],
[ sh:datatype xsd:string ;
sh:description "Any transformations required to link the images to the annotations" ;
sh:maxCount 1 ;
sh:order 3 ;
sh:path bia_mifa_models:transformations ],
[ sh:datatype xsd:string ;
sh:description "identifier of the source image from which the annotation originated" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:order 2 ;
sh:path bia_mifa_models:source_image_id ] ;
sh:targetClass bia_mifa_models:FileLevelMetadata .
bia_mifa_models:GrantReference a sh:NodeShape ;
sh:closed true ;
sh:description "Information about grant ID and funding body that funded the study" ;
sh:ignoredProperties ( rdf:type ) ;
sh:property [ sh:datatype xsd:string ;
sh:description "The identifier for the grant" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:order 0 ;
sh:path schema1:identifier ],
[ sh:datatype xsd:string ;
sh:description "The funding body provididing support" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:order 1 ;
sh:path schema1:funder ] ;
sh:targetClass bia_mifa_models:GrantReference .
bia_mifa_models:OrganisationInfo a sh:NodeShape ;
sh:closed true ;
sh:description "Information about the organisation the author is affiliated with" ;
sh:ignoredProperties ( rdf:type ) ;
sh:property [ sh:datatype xsd:string ;
sh:description "Organisation address" ;
sh:maxCount 1 ;
sh:order 1 ;
sh:path schema1:name ],
[ sh:datatype xsd:string ;
sh:description "Organisation name" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:order 0 ;
sh:path schema1:name ],
[ sh:description "Identifier for the Research Organization Registry" ;
sh:maxCount 1 ;
sh:order 2 ;
sh:path WIKIDATA_PROPERTY:P6782 ] ;
sh:targetClass bia_mifa_models:OrganisationInfo .
bia_mifa_models:Publications a sh:NodeShape ;
sh:closed true ;
sh:description "Information about any publications associated with the dataset" ;
sh:ignoredProperties ( rdf:type ) ;
sh:property [ sh:description "Identifier for journal articles/abstracts in PubMed" ;
sh:maxCount 1 ;
sh:order 4 ;
sh:path WIKIDATA_PROPERTY:P698 ],
[ sh:datatype xsd:string ;
sh:description "Authors of associated publication" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:order 1 ;
sh:path schema1:author ],
[ sh:description "Digital Object Identifier (DOI)" ;
sh:maxCount 1 ;
sh:order 2 ;
sh:path WIKIDATA_PROPERTY:P356 ],
[ sh:datatype xsd:string ;
sh:description "Year of publication" ;
sh:maxCount 1 ;
sh:order 3 ;
sh:path bia_mifa_models:publication_year ],
[ sh:datatype xsd:string ;
sh:description "The title for a publication associated to the dataset" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:order 0 ;
sh:path schema1:title ] ;
sh:targetClass bia_mifa_models:Publications .
bia_mifa_models:Author a sh:NodeShape ;
sh:closed true ;
sh:description "Information about the authors" ;
sh:ignoredProperties ( rdf:type ) ;
sh:property [ sh:class bia_mifa_models:OrganisationInfo ;
sh:description "a collection of the name and address of organisations authors are affiliated with" ;
sh:nodeKind sh:BlankNode ;
sh:order 5 ;
sh:path bia_mifa_models:organisation ],
[ sh:description "A unique identifier for an author" ;
sh:maxCount 1 ;
sh:order 3 ;
sh:path WIKIDATA_PROPERTY:P496 ],
[ sh:datatype xsd:string ;
sh:description "Email address of a person" ;
sh:maxCount 1 ;
sh:order 2 ;
sh:path schema1:email ;
sh:pattern "^\\S+@[\\S+\\.]+\\S+" ],
[ sh:datatype xsd:string ;
sh:description "First name for an author" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:order 0 ;
sh:path schema1:name ],
[ sh:datatype xsd:string ;
sh:description "Last name for an author" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:order 1 ;
sh:path schema1:name ],
[ sh:datatype xsd:string ;
sh:description "Role of the author when creating the dataset" ;
sh:order 4 ;
sh:path schema1:roleName ] ;
sh:targetClass bia_mifa_models:Author .