-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.json
802 lines (777 loc) · 38.8 KB
/
config.example.json
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
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
{
"preload_ontologies": [
{
"graph": "http://id.loc.gov/vocabulary/iso639-1",
"ontology_url": "https://csse-uoft.github.io/ontologies/iso639-1.rdf"
},
{
"graph": "https://www.iana.org/assignments/media-types",
"ontology_url": "https://csse-uoft.github.io/ontologies/iana-media-types.owl"
}
],
"maturity_model": [
{
"title": "Maturity Level 1 (Basic Information)",
"name": "maturity_level_1",
"fields": [
{
"name": "theme",
"label": "Domain / Topic",
"type": "text",
"short_description": "Domain or topic of the dataset being cataloged.",
"long_description": "The theme or topic of the catalogue entry. Please select from an existing topic, such as Transportation, Housing, etc. Please refer to the taxonomy of topics available.",
"category": "content"
},
{
"ckanField": "title",
"short_description": "Title for the Dataset.",
"long_description": "Title for the dataset. The value should be descriptive of the dataset. Vague or general terms should be avoided. Duplicate titles in a series should be postfixed with a counter. Often assigned by the creator or publisher.",
"category": "content"
},
{
"ckanField": "organization_and_visibility"
},
{
"ckanField": "description",
"short_description": "A description of the dataset.",
"long_description": "This property holds a descriptive text introducing the dataset, context, and if applicable, stakeholders. Often provided by the creator or publisher.",
"category": "content"
},
{
"ckanField": "tags",
"short_description": "Keywords/tags categorizing the dataset.",
"long_description": "Keywords/tags categorizing the dataset. Often provided by the creator or publisher. The keywords can be added, but suitable keywords should be selected from existing values, if possible. A controlled vocabulary of keywords, organized as a taxonomy, is created for each domain/topic.",
"category": "content"
},
{
"name": "file_format",
"label": "Format (CSV, XLS, TXT, PDF, etc)",
"short_description": "Format of the dataset.",
"long_description": "Format of the dataset can indicate its file type (e.g. csv, pdf, ttl). If multiple types are available, the types are separated by commas (“csv, ttl, pdf”).",
"type": "multiple_select",
"optionsFromQuery": {
"text": "label",
"value": "s",
"query": "select * where {?s a <http://purl.org/dc/terms/MediaType>. ?s <http://www.w3.org/2000/01/rdf-schema#label> ?label.}"
},
"allowNewOption": false,
"category": "content"
},
{
"name": "file_size",
"label": "Dataset Size",
"type": "number",
"short_description": "Dataset size in megabytes.",
"long_description": "Total size of the datasets in this catalogue entry Saved as an integer of megabtyes (MB).Dataset size in megabytes.",
"category": "content"
},
{
"name": "unique_metadata_identifier",
"label": "Metadata Identifier",
"short_description": "Metadata identifier – can be used as the unique identifier for catalogue entry",
"long_description": "Unique identifier for the metadata catalogue. Often assigned by the creator or publisher.",
"type": "text",
"category": "content"
},
{
"name": "published_date",
"label": "Published Date",
"type": "date",
"short_description": "Published date of the dataset.",
"long_description": "Published date of the dataset is the data when the dataset was first made accessible to the public. Often provided by the creator or publisher.",
"category": "provenance"
},
{
"name": "time_span_start",
"label": "Time Span (start date)",
"type": "date",
"short_description": "Start date of the data in the dataset.",
"long_description": "First date the data was collected for. This is not the date it was collected but the earliest date of the data values.",
"category": "tempo_geo"
},
{
"name": "time_span_end",
"label": "Time Span (end date)",
"type": "date",
"short_description": "End date of time data in the dataset.",
"long_description": "Last date the data was collected for. This is not the date it was collected but the latest date of the data values.",
"category": "tempo_geo"
},
{
"name": "geo_span",
"label": "GeoSpatial Area Span",
"type": "text",
"short_description": "A spatial region or named place the dataset covers.",
"long_description": "This data represents the geospatial area the dataset covers. This may be captured as a data column or simply defined by the creator or publisher.",
"category": "tempo_geo"
}
]
},
{
"title": "Maturity Level 2 (Access)",
"name": "maturity_level_2",
"fields": [
{
"name": "access_category",
"label": "Access category",
"short_description": "Type of access granted for the dataset (open, closed, etc).",
"long_description": "Access category provides a description of the licensing rights for accessing the dataset. Often provided by the rights owner, creator or publisher.",
"type": "text",
"category": "access"
},
{
"ckanField": "license_id",
"short_description": "License used to access the dataset.",
"long_description": "License used to access the dataset. Often provided by the creator or publisher. A license should be selected from existing licenses. A custom license can be added if an applicable license is not available. The licenses must be defined externally, meaning, a temporary or placeholder license or should not be added. ",
"category": "access"
},
{
"name": "limits_on_use",
"label": "Limits on use",
"type": "text",
"short_description": "Limits on use of data.",
"long_description": "Limits on use (e.g., academic purposes). Information provided generally provides more detail on the terms and access rights beyond the license. Usually provided by the rights owner, creator, or publisher.",
"category": "access"
},
{
"name": "location",
"label": "Location",
"short_description": "Location of the dataset.",
"long_description": "Location where the dataset can be accessed, such as a URL.",
"category": "access"
},
{
"name": "data_service",
"label": "Data Service",
"short_description": "Data service for accessing a dataset.",
"long_description": "Data service for accessing a dataset. This references the architecture being used to host and manage access to the datasets, such as CKAN, Dataverse, etc.",
"category": "ownership"
},
{
"name": "owner",
"label": "Owner",
"type": "text",
"short_description": "Owner of the dataset.",
"long_description": "Owner's name or authoring organization for the dataset.",
"category": "ownership"
},
{
"name": "access_steward",
"label": "Contact Point",
"type": "text",
"short_description": "Who to contact regarding access.",
"long_description": "The access rights steward is the point of contact (either a person or an organization) to gain access to the dataset. Usually provided by the rights owner, creator, or publisher.",
"category": "access"
},
{
"name": "publisher",
"label": "Publisher",
"short_description": "Publisher of the dataset.",
"long_description": "Publisher's name or authoring organization for the dataset.",
"category": "ownership"
},
{
"name": "publisher_email",
"label": "Publisher Email",
"short_description": "Email of the publisher.",
"long_description": "Email of the dataset's publisher. Can be used to contact the author directly.",
"category": "ownership"
},
{
"ckanField": "author",
"short_description": "Author of the dataset.",
"long_description": "Author's name or authoring organization for the dataset.",
"category": "ownership"
},
{
"ckanField": "author_email",
"short_description": "Email of the author.",
"long_description": "Email of the dataset's author. Can be used to contact the author directly.",
"category": "ownership"
},
{
"name": "accessed_date",
"label": "Accessed At",
"short_description": "Date the data and metadata was accessed.",
"long_description": "Date the data and metadata was accessed. This date identifies when the dataset and metadata were reviewed for entry into CUDC. Usually, this is provided by data curator or the data owner if provided indirectly from the owner.",
"type": "date",
"category": "content"
}
]
},
{
"title": "Maturity Level 3 (Content)",
"name": "maturity_level_3",
"fields": [
{
"name": "unique_identifier",
"label": "Identifier",
"short_description": "Unique identifier for the dataset.",
"long_description": "Unique identifier for the dataset. Often assigned by the creator or publisher.",
"type": "text",
"category": "content"
},
{
"name": "language",
"label": "Language",
"type": "multiple_select",
"optionsFromQuery": {
"text": "label",
"value": "s",
"query": "select * from <http://id.loc.gov/vocabulary/iso639-1> where {?s <http://www.w3.org/2004/02/skos/core#prefLabel> ?label. FILTER (lang(?label) = 'en')}"
},
"short_description": "Language(s) of the dataset",
"long_description": "Language(s) of the dataset capture what language the data is in. It does not reflect the language o the metadata associated with it.",
"category": "content"
},
{
"name": "description_document",
"label": "Link to dataset description",
"type": "text",
"short_description": "A URL to an external document describing the dataset.",
"long_description": "A URL to an external document describing the dataset. Often this would be a website that provides additional details about the dataset. It can also link to a document (e.g. PDF) or a resource of some sort (e.g. LinkedData object).",
"category": "content"
},
{
"name": "persistent_identifier",
"label": "Persistent Identifier",
"short_description": "Data is identified by a persistent identifier.",
"long_description": "Data is identified by a persistent identifier. A unique identifier can be in any format, as long as it is unique within some context. Often, this is stored as a unique resource identifier (URI).",
"category": "content",
"type": "single_select",
"options": [
{
"text": "N/A",
"value": ""
},
{
"text": "Yes",
"value": "Yes"
},
{
"text": "No",
"value": "No"
}
]
},
{
"name": "global_unique_identifier",
"label": "Globally Unique Identifier",
"short_description": "Data is identified by a persistent and globally unique identifier.",
"long_description": "Data is identified by a persistent and globally unique identifier. A unique identifier can be in any format as long as it is globally unique. Often, this is stored as a unique resource identifier (URI).",
"category": "content",
"type": "single_select",
"options": [
{
"text": "N/A",
"value": ""
},
{
"text": "Yes",
"value": "Yes"
},
{
"text": "No",
"value": "No"
}
]
},
{
"name": "contains_individual_data",
"label": "Contains Individual Data",
"short_description": "Does the data hold individualized data?",
"long_description": "Captures whether the dataset holds data about individuals in a population? If yes, the dataset is aggregated at the individual level. If not, the data is aggerated. This does not mean the individuals cannot be inferred from the dataset. Other metadata properties are required to indicate whether individuals can be inferred from the dataset or not.",
"category": "content",
"type": "single_select",
"options": [
{
"text": "N/A",
"value": ""
},
{
"text": "Yes",
"value": "Yes"
},
{
"text": "No",
"value": "No"
}
]
},
{
"name": "contains_identifiable_individual_data",
"label": "Contains Identifiable Data",
"type": "single_select",
"short_description": "Does the data hold identifiable individual data?",
"long_description": "Does the data hold identifiable individual data that can be used to uniquely identify an individual data was collected about? If yes, the dataset is not anonymized.",
"category": "content",
"options": [
{
"text": "N/A",
"value": ""
},
{
"text": "Yes",
"value": "Yes"
},
{
"text": "No",
"value": "No"
}
]
},
{
"name": "contains_indigenous_data",
"label": "Contains Indigenous Data",
"type": "single_select",
"short_description": "Does the data hold data about Indigenous communities?",
"long_description": "Does the data hold data about Indigenous communities? If yes, the dataset should comply with OCAP principles (Ownership, Control, Access, Possession). See https://fnigc.ca/ocap-training/ for more information.",
"category": "content",
"options": [
{
"text": "N/A",
"value": ""
},
{
"text": "Yes",
"value": "Yes"
},
{
"text": "No",
"value": "No"
}
]
}
]
},
{
"title": "Maturity Level 4 (Privacy)",
"name": "maturity_level_4",
"fields": [
{
"ckanField": "version",
"short_description": "Version of the datatset",
"long_description": "A literal representing the version of this dataset. It can be a number (e.g. v1.1) a date (e.g. Jan 1, 2022) or a textual description (e.g. 'First version published for public use').",
"category": "content"
},
{
"ckanField": "source",
"short_description": "Source of the dataset.",
"long_description": "Source where the dataset can be accessed, such as a URL.",
"category": "access"
},
{
"name": "version_info",
"label": "Version notes",
"type": "text",
"short_description": "Version notes about the dataset.",
"long_description": "Additional information about the version, such as date the dataset was published, reasons for publishing, changes from previous version, etc.",
"category": "provenance"
},
{
"name": "version_dataset",
"label": "Is version of another dataset",
"type": "text",
"short_description": "Link to dataset that it is a version of.",
"long_description": "Often a dataset is a version of another dataset. This new version may be an updated or revised in some other way, such as a processed version with additional analysis, aggregation level, or quality improvements. This property is a link to a dataset the catalogued dataset is an updated version of.",
"category": "provenance"
},
{
"name": "dataset_versions",
"label": "Other versions",
"type": "text",
"short_description": "Link to datasets that are versions of it.",
"long_description": "Often a dataset is a version of another dataset. This new version may be an updated or revised in some other way, such as a processed version with additional analysis, aggregation level, or quality improvements. This property is a link to a dataset the catalogued dataset is the original version of.",
"category": "provenance"
},
{
"name": "provenance",
"label": "Provenance Text",
"type": "text",
"short_description": "Provenance Text of the data.",
"long_description": "Provenance of the data, identifying who created the previous versions, who has used them, etc.",
"category": "provenance"
},
{
"name": "provenance_url",
"label": "Provenance URL",
"type": "text",
"short_description": "Provenance URL of the data.",
"long_description": "If there is additional documentation about the provenance of the catalogued dataset, this property stores a URL to the external location where this information is available.",
"category": "provenance"
},
{
"name": "temporal_resolution",
"label": "Temporal resolution",
"type": "text",
"short_description": "Describes how granular the date/time data in the dataset is.",
"long_description": "Describes how granular the date/time data in the dataset is. Usually, this explains the level of aggregation provided by the dataset. For example, time-series data can be by minute, hour, year, or season.",
"category": "tempo_geo"
},
{
"name": "geospatial_resolution_in_meters",
"label": "GeoSpatial resolution in meters",
"type": "text",
"short_description": "Describes how granular (in meters) geospatial data is in the dataset.",
"long_description": "Describes how granular (in meters) geospatial data is in the dataset. Usually, this explains the level of aggregation provided by the dataset. For example, geospatial information can be stored in 1 meter detail, 5 meters, 1000 meters, etc.",
"category": "tempo_geo"
},
{
"name": "geospatial_resolution",
"label": "GeoSpatial resolution (in regions)",
"type": "text",
"short_description": "Describes how granular (in regions) geospatial data is in the dataset.",
"long_description": "Describes how granular (in regions) geospatial data is in the dataset. Usually, this explains the level of aggregation provided by the dataset. For example, geospatial information can be at the city, province, region, or country level. It can also be stored as a polygon defined by longitude/latitude coordinates.",
"category": "tempo_geo"
}
]
},
{
"title": "Maturity Level 5 (Indigenous Data)",
"name": "maturity_level_5",
"fields": [
{
"name": "indigenous_community_permission",
"label": "Indigenous Community Permission",
"type": "text",
"short_description": "Who holds the Indigenous Community Permission. Who to contact regarding access to a dataset that has data about Indigenous communities.",
"long_description": "Who holds the Indigenous Community Permission. The Indigenous access rights steward is the point of contact (either a person or an organization) to gain access to the dataset. It is an agent that has the right to manage access rights to Indigenous data. That person can be Indigenous themselves or a non-Indigenous agent that acts as the steward for access rights to the data. Usually provided by the previous rights owner, creator, or publisher.",
"category": "access"
},
{
"name": "community_steward",
"label": "Community Permission",
"type": "text",
"short_description": "Community permission (who gave permission).",
"long_description": "Community permission identifies the person or contact information indicating who tocontact about gaining permission to use the data that belongs to an entire comunity. This comunity steward speaks on behalf of the enture community regarding access to the dataset.",
"category": "ownership"
},
{
"name": "indigenous_span",
"label": "The Indigenous communities the dataset is about",
"type": "text",
"short_description": "Indigenous communities from which data is derived.",
"long_description": "Indigenous communities from which data is derived. this represents the community coverage of the communities that provided the data or are the subject of data stored in the dataset.",
"category": "tempo_geo"
}
]
},
{
"title": "Maturity Level 6 (Quality)",
"name": "maturity_level_6",
"fields": [
{
"name": "number_of_rows",
"label": "Number of data rows",
"short_description": "If tabular dataset, total number of rows.",
"long_description": "If tabular dataset, total number of data rows. Tabular could be a CSV file, an Excel file, a relational database, etc.",
"category": "statistical"
},
{
"name": "number_of_columns",
"label": "Number of data columns",
"short_description": "If tabular dataset, total number of unique columns.",
"long_description": "If tabular dataset, total number of unique columns, across all sheets (if an Excel type file). Tabular could be a CSV file, an Excel file, a relational database, etc.",
"category": "statistical"
},
{
"name": "number_of_cells",
"label": "Number of data cells",
"short_description": "If tabular dataset, total number of cells with data.",
"long_description": "If tabular dataset, total number of data cells with data, i.e. not empty cells. Tabular could be a CSV file, an Excel file, a relational database, etc.",
"category": "statistical"
},
{
"name": "number_of_triples",
"label": "Number of data relations",
"short_description": "If RDF dataset, total number of triples.",
"long_description": "If RDF dataset, total number of triples.",
"category": "statistical"
},
{
"name": "number_of_entities",
"label": "Number of entities",
"short_description": "If RDF dataset, total number of entities.",
"long_description": "If RDF dataset, total number of entities (i.e. concepts used in the dataset).",
"category": "statistical"
},
{
"name": "number_of_properties",
"label": "Number of data properties",
"short_description": "If RDF dataset, total number of unique properties used by the triples.",
"long_description": "If RDF dataset, total number of unique properties used in this dataset.",
"category": "statistical"
},
{
"name": "quality_annotation",
"label": "Data quality",
"short_description": "Describes the quality of the data in the dataset.",
"long_description": "Quality of the data can be a simple description (e.g. \"high quality for 80%\"), a simple scale (e.g. \"3 out of 4\") or specific values and metrics (e.g. \"80% of cells re missing\").",
"category": "statistical",
"type": "text"
},
{
"name": "quality_dimension_metric",
"label": "Metric for data quality",
"short_description": "A metric used to measure the quality of the data, such as missing values or invalid formats.",
"long_description": "Quality metrics can be any metrics used to measure the quality of the dataset as a whole. For example, the VIMO metrics are used to measure how many cells are valid, invalid, missing, or outliers.",
"category": "statistical",
"type": "text"
}
]
}
],
"mappings": {
"@context": {
"xsd": "http://www.w3.org/2001/XMLSchema#",
"owl": "http://www.w3.org/2002/07/owl#",
"dcat": "http://www.w3.org/ns/dcat#",
"skos": "http://www.w3.org/2004/02/skos/core#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"dct": "http://purl.org/dc/terms/",
"foaf": "http://xmlns.com/foaf/0.1/",
"cudr": "http://data.urbandatacentre.ca/",
"cudrc": "http://data.urbandatacentre.ca/catalogue/",
"fair": "http://ontology.eil.utoronto.ca/fair#",
"adms": "http://www.w3.org/ns/adms#",
"locn": "http://www.w3.org/ns/locn#",
"odrl": "http://www.w3.org/ns/odrl/2/",
"prov": "http://www.w3.org/ns/prov#",
"oa": "http://www.w3.org/ns/oa#",
"vcard": "http://www.w3.org/2006/vcard/ns#",
"dqv": "http://www.w3.org/ns/dqv#",
"sc": "http://schema.org/"
},
"@id": "http://data.urbandatacentre.ca/catalogue/{ckanField.id}",
"@type": "http://data.urbandatacentre.ca/catalogue",
"dcat:theme": {
"@type": "skos:Concept",
"@id": "http://data.urbandatacentre.ca/theme/{quote_url(theme.lower())}",
"skos:prefLabel": "{theme}"
},
"dct:title": {
"@type": "xsd:string",
"@value": "{ckanField.title}"
},
"dct:description": "{ckanField.description}",
"dcat:keyword": "eval(mapFromCKANTags(ckanField.tags))",
"dct:issued": {
"@type": "xsd:date",
"@value": "{to_date(published_date)}"
},
"cudr:hasTemporalStart": {
"@type": "xsd:date",
"@value": "{to_date(time_span_start)}"
},
"cudr:hasTemporalEnd": {
"@type": "xsd:date",
"@value": "{to_date(time_span_end)}"
},
"dct:spatial": {
"@type": "dct:Location",
"@id": "http://data.urbandatacentre.ca/geo/{quote_url(geo_span.lower())}",
"locn:geometry": "{geo_span}"
},
"dct:identifier": "{unique_identifier}",
"cudr:accessCategory": "{access_category}",
"dct:license": "eval(mapFromCKANLicense(license_id))",
"dcat:accessURL": {
"@id": "{quote_url(location)}"
},
"cudr:catalogueEntryIdentifier": "{unique_metadata_identifier}",
"cudr:file_size": {
"@type": "xsd:decimal",
"@value": "{file_size}"
},
"dcat:accessService": {
"@id": "http://data.urbandatacentre.ca/data_service/{generate_uuid()}",
"@type": "dcat:DataService",
"dcat:endpointURL": "{data_service}"
},
"dct:rightsHolder": {
"@id": "http://data.urbandatacentre.ca/owner/{generate_uuid()}",
"@type": [
"foaf:Agent"
],
"foaf:name": "{owner}"
},
"dcat:contactPoint": {
"@id": "http://data.urbandatacentre.ca/contact_point/{generate_uuid()}",
"@type":"vcard:Individual",
"vcard:fn": "{access_steward}"
},
"dct:publisher": {
"@id": "http://data.urbandatacentre.ca/publisher/{generate_uuid()}",
"@type": [
"foaf:Agent"
],
"foaf:name": "{publisher}",
"foaf:mbox": "{publisher_email}"
},
"dct:creator": {
"@id": "http://data.urbandatacentre.ca/creator/{generate_uuid()}",
"@type": [
"foaf:Agent"
],
"foaf:mbox": "{ckanField.author_email}",
"foaf:name": "{ckanField.author}"
},
"cudr:accessedAt": {
"@type": "xsd:date",
"@value": "{to_date(accessed_date)}"
},
"dcat:landingPage": {
"@id": "{quote_url(description_document)}"
},
"dct:language": "eval(split_to_uris(language))",
"fair:rda-f1-01d": {
"@type": "xsd:boolean",
"@value": "{to_bool(persistent_identifier)}"
},
"fair:rda-f1-02d": {
"@type": "xsd:boolean",
"@value": "{to_bool(global_unique_identifier)}"
},
"dct:format": "eval(split_to_uris(file_format))",
"dcat:downloadURL": {
"@id": "{quote_url(ckanField.source)}"
},
"owl:versionInfo": "{version_info}",
"adms:versionNotes": "{ckanField.version}",
"dct:isVersionOf": "{version_dataset}",
"dct:hasVersion": "{dataset_versions}",
"dct:provenance": {
"@id": "http://data.urbandatacentre.ca/provenance/{generate_uuid()}",
"@type": "dct:ProvenanceStatement",
"prov:value": "{provenance}",
"prov:wasQuotedFrom": "{provenance_url}"
},
"dcat:temporalResolution": "{temporal_resolution}",
"dcat:spatialResolutionInMeters": {
"@type": "xsd:decimal",
"@value": "{geospatial_resolution_in_meters}"
},
"cudr:spatialResolutionInRegion": {
"@id": "http://data.urbandatacentre.ca/administrativeArea/{generate_uuid()}",
"@type" : "sc:AdministrativeArea",
"sc:name": "{geospatial_resolution}"
},
"cudr:containsIndividualData": {
"@type": "xsd:boolean",
"@value": "{to_bool(contains_individual_data)}"
},
"cudr:containsIdentifiableIndividualData": {
"@type": "xsd:boolean",
"@value": "{to_bool(contains_identifiable_individual_data)}"
},
"cudr:containsIndigenousData": {
"@type": "xsd:boolean",
"@value": "{to_bool(contains_indigenous_data)}"
},
"odrl:hasPolicy": {
"@type" : "odrl:Policy",
"@value" : "{limits_on_use}"
},
"cudr:indigenousRightsHolder": {
"@id": "http://data.urbandatacentre.ca/indigenousRightsHolder/{generate_uuid()}",
"@type": [
"foaf:Agent"
],
"foaf:name": "{indigenous_community_permission}"
},
"cudr:communityRightsHolder": {
"@id": "http://data.urbandatacentre.ca/communityRightsHolder/{generate_uuid()}",
"@type": [
"foaf:Agent"
],
"foaf:name": "{community_steward}"
},
"cudr:spatialIndigenousCommunity": {
"@type": "dct:Location",
"@id": "http://data.urbandatacentre.ca/geo/{quote_url(indigenous_span.lower())}",
"locn:geometry": "{indigenous_span}"
},
"fair:rda-r1.3-01d": {
"@type": "xsd:boolean",
"@value": "{to_bool(fair_rda_r1_3_01d)}"
},
"fair:rda-i1-01d": {
"@type": "xsd:boolean",
"@value": "{to_bool(fair_rda_i1_01d)}"
},
"fair:rda-i1-02d": {
"@type": "xsd:boolean",
"@value": "{to_bool(fair_rda_i1_02d)}"
},
"fair:rda-i2-01d": {
"@type": "xsd:boolean",
"@value": "{to_bool(fair_rda_i2_01d)}"
},
"fair:rda-i3-01d": {
"@type": "xsd:boolean",
"@value": "{to_bool(fair_rda_i3_01d)}"
},
"fair:rda-a1.2-01d": {
"@type": "xsd:boolean",
"@value": "{to_bool(fair_rda_a1_2_01d)}"
},
"fair:rda-a1-02d": {
"@type": "xsd:boolean",
"@value": "{to_bool(fair_rda_a1_02d)}"
},
"fair:rda-a1-03d": {
"@type": "xsd:boolean",
"@value": "{to_bool(fair_rda_a1_03d)}"
},
"fair:rda-a1-04d": {
"@type": "xsd:boolean",
"@value": "{to_bool(fair_rda_a1_04d)}"
},
"fair:rda-a1-05d": {
"@type": "xsd:boolean",
"@value": "{to_bool(fair_rda_a1_05d)}"
},
"fair:rda-a1.1-01d": {
"@type": "xsd:boolean",
"@value": "{to_bool(fair_rda_a1_1_01d)}"
},
"cudr:rows": {
"@type": "xsd:integer",
"@value": "{number_of_rows}"
},
"cudr:columns": {
"@type": "xsd:integer",
"@value": "{number_of_columns}"
},
"cudr:cells": {
"@type": "xsd:integer",
"@value": "{number_of_cells}"
},
"cudr:triples": {
"@type": "xsd:integer",
"@value": "{number_of_triples}"
},
"cudr:entities": {
"@type": "xsd:integer",
"@value": "{number_of_entities}"
},
"cudr:properties": {
"@type": "xsd:integer",
"@value": "{number_of_properties}"
},
"dqv:hasQualityAnnotation": {
"@id": "http://data.urbandatacentre.ca/qualityAnnotation/{generate_uuid()}",
"@type": "dqv:QualityAnnotation",
"oa:motivatedBy": {
"@id": "oa:assessing"
},
"oa:hasBody": {
"@id": "http://data.urbandatacentre.ca/qualityAnnotation/body/{generate_uuid()}",
"@type": "oa:TextualBody",
"rdf:value": "{quality_annotation}"
}
},
"dqv:inDimension": "TODO"
}
}