-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.json
1553 lines (1553 loc) · 108 KB
/
config.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
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"sections": {
"tunes": "tunes",
"choco": "choco",
"musow": "musoW",
"organs": "organs",
"fonn": "fonn",
"wikidata": "Wikidata",
"tonalities": "Tonalities",
"bells": "Bells",
"musicbo": "MusicBo",
"sound_and_vision": "Sound and Vision"
},
"operations": [
"Count",
"Sort"
],
"templates": {
"template_01": {
"name": "statistics",
"img_path": "/static/img/analytics.png",
"default_color": [
"#39c6b4",
"#17cf31"
],
"main_feature": "Present charts and explanations in a personalised canvas. Include bar charts, line charts, doughnut charts and more!"
}
},
"chart_types": [
"barchart",
"linechart",
"doughnutchart",
"scatterplot"
],
"data_sources": {
"musow": {
"discover_music_data_on_the_web": {
"iri_base": "https://w3id.org/musow/",
"query_method": "sparql_endpoint",
"github": "",
"sparql_endpoint": "https://projects.dharc.unibo.it/musow/sparql",
"rest_api": "http://127.0.0.1:8081/musow/v1",
"color_code": [
"#e8b67f",
"#0621e0"
],
"logo_path": "",
"template_mode": "statistics",
"section_name": "musoW",
"title": "Discover music data on the Web",
"subtitle": "",
"curator": "Marilena Daquino",
"description": "musoW is a catalogue of musical resources available on the web realized with the idea to support teachers in music education, creative industries, historians, and musicologists in finding what they need.",
"dynamic_elements": [
{
"position": 0,
"operations": [],
"type": "text",
"text": "<p>The catalogue includes descriptions of several music-related web resources, with a focus on those that serve or allow users to manipulate music data in any form.</p>",
"extra_queries": []
},
{
"position": 1,
"operations": [],
"type": "count",
"count_query": "SELECT (COUNT(*) AS ?count) WHERE {?s ?p <https://w3id.org/musow/vocab/repository>.}",
"count_label": "Repositories",
"extra_queries": []
},
{
"position": 2,
"operations": [],
"type": "count",
"count_query": "SELECT (COUNT(*) AS ?count) WHERE {?s ?p <https://w3id.org/musow/vocab/catalogue>.}",
"count_label": "Catalogues",
"extra_queries": []
},
{
"position": 3,
"operations": [],
"type": "count",
"count_query": "SELECT (COUNT(*) AS ?count) WHERE {?s ?p <https://w3id.org/musow/vocab/dataset>.}",
"count_label": "Datasets",
"extra_queries": []
},
{
"position": 4,
"operations": [],
"type": "count",
"count_query": "SELECT (COUNT(*) AS ?count) WHERE {?s ?p <https://w3id.org/musow/vocab/digital-library>.}",
"count_label": "Digital Libraries",
"extra_queries": []
},
{
"position": 5,
"operations": [],
"type": "chart",
"chart_type": "barchart",
"chart_title": "Content Overview",
"chart_query": "PREFIX musow: <https://w3id.org/musow/vocab/> \r\nSELECT ?label (COUNT(?content) AS ?count) \r\nWHERE { {?content ?p musow:repository . musow:repository rdfs:label ?label .} UNION {?content ?p musow:catalogue . musow:catalogue rdfs:label ?label .} UNION {?content ?p musow:dataset . musow:dataset rdfs:label ?label .} UNION {?content ?p musow:digital-library . musow:digital-library rdfs:label ?label .} UNION {?content ?p musow:software . musow:software rdfs:label ?label .} } GROUP BY ?label",
"chart_series": "resources",
"chart_legend": {
"x": "resource type",
"y": "count"
},
"extra_queries": []
},
{
"position": 6,
"operations": [],
"type": "text",
"text": "<p>While collecting information about resources is important, we also focused on understanding the potential audience of the resources. We discovered that most of surveyed resources are targeted to scholars.</p>",
"extra_queries": []
},
{
"position": 7,
"operations": [],
"type": "chart",
"chart_type": "doughnutchart",
"chart_title": "Audiences",
"chart_query": "SELECT ?label WHERE { ?entry ?p <https://w3id.org/musow/vocab/repository> . ?entry <https://schema.org/audience> ?audience . ?audience rdfs:label ?label . }",
"chart_series": "",
"chart_legend": {
"x": "",
"y": ""
},
"extra_queries": []
}
],
"action": "save"
}
},
"wikidata": {
"relations_between_museums": {
"sparql_endpoint": "https://query.wikidata.org/bigdata/namespace/wdq/sparql",
"template_mode": "relations",
"title": "Relations between museums",
"color_code": [
"#5904bb",
"#73fa79"
],
"section_name": "Wikidata",
"subtitle": "Explore relations between artists in museums",
"description": "Search for museums, choose from the list of results, click on the buttons that appear next to the result and keep exploring relations. New tables will appear, including more actions and relations to explore.",
"action": "save",
"dynamic_elements": [
{
"position": 1,
"type": "textsearch",
"textsearch_title": "Search a museum",
"textsearch_query": "SELECT DISTINCT ?item ?itemLabel ?country ?countryLabel WHERE {\r\n SERVICE wikibase:mwapi {\r\n bd:serviceParam wikibase:endpoint \"www.wikidata.org\";\r\n wikibase:api \"EntitySearch\";\r\n mwapi:search \"<<searchterm>>\";\r\n mwapi:language \"en\".\r\n ?item wikibase:apiOutputItem mwapi:item.\r\n }\r\n ?item (wdt:P279|wdt:P31) wd:Q207694 ; wdt:P17 ?country .\r\nSERVICE wikibase:label { \r\n bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\"\r\n }\r\n} LIMIT 20 ",
"textsearch_userinput": "orsay",
"operations": []
},
{
"position": 2,
"type": "tablevalueaction",
"tablevalueaction_title": "show similar museums",
"tablevalueaction_column": "item",
"tablevalueaction_table": "1__textsearch_query",
"tablevalueaction_query": "SELECT DISTINCT ?museum ?museumLabel ?place ?placeLabel\r\nWHERE { \r\n?artwork p:P276 / ps:P276 <<item>> ; wdt:P170 ?artist ; wdt:P135 wd:Q40415 .\r\n?artwork2 wdt:P170 ?artist ; p:P276 / ps:P276 ?museum .\r\n?museum wdt:P17 ?place .\r\nSERVICE wikibase:label { \r\n bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\"\r\n }\r\n}\r\nLIMIT 10",
"operations": []
},
{
"position": 3,
"type": "tablevalueaction",
"tablevalueaction_title": "show impressionists",
"tablevalueaction_column": "item",
"tablevalueaction_table": "1__textsearch_query",
"tablevalueaction_query": "SELECT DISTINCT ?artist ?artistLabel WHERE {\r\n ?stmt (ps:P276 | ps:P195) <<item>> .\r\n ?artwork (p:P276 | p:P195 | p:P217) ?stmt ; wdt:P170 ?artist .\r\n ?artist wdt:P135 wd:Q40415 .\r\n SERVICE wikibase:label { \r\n bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\"\r\n }\r\n}\r\n",
"operations": []
},
{
"position": 4,
"type": "tablevalueaction",
"tablevalueaction_title": "show other museums in this country",
"tablevalueaction_column": "country",
"tablevalueaction_table": "1__textsearch_query",
"tablevalueaction_query": "SELECT DISTINCT ?other ?otherLabel \r\nWHERE { \r\n ?other wdt:P17 <<country>>. \r\n ?other (wdt:P279|wdt:P31) wd:Q33506.\r\nSERVICE wikibase:label { \r\n bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\"\r\n }\r\n}\r\nLIMIT 10",
"operations": []
},
{
"position": 5,
"type": "tablevalueaction",
"tablevalueaction_title": "show birthplace",
"tablevalueaction_column": "artist",
"tablevalueaction_table": "3__textsearch_query",
"tablevalueaction_query": "SELECT ?place ?placeLabel\r\nWHERE {<<artist>> wdt:P27 ?place .\r\nSERVICE wikibase:label { \r\n bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\"\r\n }\r\n}",
"operations": []
},
{
"position": 6,
"type": "textsearch",
"textsearch_title": "Search artist",
"textsearch_query": "SELECT DISTINCT ?item ?itemLabel ?country ?countryLabel WHERE {\r\n SERVICE wikibase:mwapi {\r\n bd:serviceParam wikibase:endpoint \"www.wikidata.org\";\r\n wikibase:api \"EntitySearch\";\r\n mwapi:search \"<<searchterm>>\";\r\n mwapi:language \"en\".\r\n ?item wikibase:apiOutputItem mwapi:item.\r\n }\r\n ?item (wdt:P279|wdt:P31) wd:Q207694 ; wdt:P17 ?country .\r\nSERVICE wikibase:label { \r\n bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\"\r\n }\r\n} LIMIT 20 ",
"textsearch_userinput": "",
"operations": []
},
{
"position": 7,
"type": "tablevalueaction",
"tablevalueaction_title": "thingy",
"tablevalueaction_column": "country",
"tablevalueaction_table": "6__textsearch_query",
"tablevalueaction_query": "SELECT DISTINCT ?other ?otherLabel \r\nWHERE { \r\n ?other wdt:P17 <<country>>. \r\n ?other (wdt:P279|wdt:P31) wd:Q33506.\r\nSERVICE wikibase:label { \r\n bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\"\r\n }\r\n}\r\nLIMIT 10",
"operations": []
},
{
"position": 8,
"type": "tablevalueaction",
"tablevalueaction_title": "shared artists",
"tablevalueaction_column": "museum",
"tablevalueaction_table": "2__textsearch_query",
"tablevalueaction_query": "SELECT DISTINCT ?artist ?artistLabel \r\nWHERE {\r\n?stmt (ps:P276 | ps:P195) <<item>> .\r\n ?artwork (p:P276 | p:P195 | p:P217) ?stmt ; wdt:P170 ?artist .\r\n?stmt2 (ps:P276 | ps:P195) <<museum>> .\r\n ?artwork2 (p:P276 | p:P195 | p:P217) ?stmt2 ; wdt:P170 ?artist \r\n SERVICE wikibase:label { \r\n bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\"\r\n }\r\n.} LIMIT 20",
"operations": []
}
],
"curator": "Marilena Daquino"
},
"relations_between_music_bands_an_exploration": {
"sparql_endpoint": "https://query.wikidata.org/sparql",
"template_mode": "statistics",
"title": "Relations between music bands - An exploration",
"color_code": [
"#24d3ff",
"#5565e2"
],
"section_name": "wikidata",
"subtitle": "Explore relations, connections and resources between music bands with wikidata",
"curator": "Marco Grasso",
"description": "Search for music bands, choose from the list of results, click on the buttons that appear next to the result and keep exploring relations. New tables will appear, including more actions and relations to explore.\r\n\r\n",
"dynamic_elements": [
{
"position": 0,
"operations": [],
"type": "textsearch",
"textsearch_userinput": "",
"textsearch_title": "Search music band",
"textsearch_query": "SELECT DISTINCT ?band ?bandLabel ?category ?categoryLabel ?country ?countryLabel WHERE {\r\n SERVICE wikibase:mwapi {\r\n bd:serviceParam wikibase:endpoint \"www.wikidata.org\";\r\n wikibase:api \"EntitySearch\";\r\n mwapi:search <<searchterm>>;\r\n mwapi:language \"en\".\r\n ?band wikibase:apiOutputItem mwapi:item.\r\n }\r\n {\r\n {?band wdt:P31 ?category ; wdt:P495 ?country .\r\n ?category wdt:P31 wd:Q105756498 . }\r\n UNION\r\n {?band wdt:P31 ?category ; wdt:P495 ?country .\r\n ?category wdt:P279 wd:Q2088357 }\r\n }\r\nSERVICE wikibase:label { \r\n bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\"\r\n }\r\n} LIMIT 10",
"textsearch": {
"band": [
"Show music genres",
"Show members"
],
"country": [
"Other bands from this country"
],
"genre": [
"Show band of same genre"
]
},
"extra_queries": [],
"map_filters": []
},
{
"position": 1,
"operations": [],
"type": "action",
"action_title": "Show music genres",
"action_query": "SELECT DISTINCT ?genre ?genreLabel\r\nWHERE { \r\n <<item>> wdt:P136 ?genre .\r\n\r\nSERVICE wikibase:label { \r\n bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\"\r\n }\r\n}\r\nLIMIT 20\r\n",
"extra_queries": [],
"map_filters": []
},
{
"position": 2,
"operations": [],
"type": "action",
"action_title": "Show members",
"action_query": "SELECT DISTINCT ?member ?memberLabel ?image\r\nWHERE { \r\n <<item>> wdt:P527 ?member . \r\n OPTIONAL { ?member wdt:P18 ?image . }\r\n\r\nSERVICE wikibase:label { \r\n bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\"\r\n }\r\n}\r\nLIMIT 20",
"extra_queries": [],
"map_filters": []
},
{
"position": 3,
"operations": [],
"type": "action",
"action_title": "Other bands from this country",
"action_query": "SELECT DISTINCT ?band ?bandLabel ?category ?categoryLabel WHERE { \r\n ?band wdt:P495 <<item>> . \r\n ?band wdt:P31 ?category .\r\n ?category wdt:P31 wd:Q105756498 .\r\n\r\nSERVICE wikibase:label { \r\n bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\"\r\n }\r\n}\r\nLIMIT 20",
"extra_queries": [],
"map_filters": []
},
{
"position": 4,
"operations": [],
"type": "action",
"action_title": "Show band of same genre",
"action_query": "SELECT DISTINCT ?band ?bandLabel ?category ?categoryLabel ?country ?countryLabel WHERE {\r\n ?band wdt:P31 ?category ; wdt:P495 ?country ; wdt:P136 <<item>> .\r\n ?category wdt:P279 wd:Q2088357 \r\nSERVICE wikibase:label { \r\n bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\"\r\n }\r\n} LIMIT 20",
"extra_queries": [],
"map_filters": []
}
]
},
"mapping_us_recording_studios": {
"sparql_endpoint": "https://query.wikidata.org/bigdata/namespace/wdq/sparql",
"template_mode": "statistics",
"title": "Mapping US Recording Studios",
"color_code": [
"#39c6b4",
"#17cf31"
],
"section_name": "wikidata",
"subtitle": "Two maps show recording studios in the world",
"curator": "Marco Grasso",
"description": "Important recording studios are more than just bricks, mortar, and audio equipment to musicians. Let's map all the recording studios locations available on wikidata and lets take a closer look at recording studios in the US.",
"dynamic_elements": [
{
"position": 0,
"operations": [],
"type": "map",
"map_title": "Recording studios in the World",
"map_points_query": "SELECT DISTINCT ?point ?pointLabel ?villeIdLabel ?lat ?long\r\nWHERE\r\n{\r\n ?point wdt:P31 wd:Q746369. #recording studio\r\n ?point wdt:P131 ?villeId.\r\n ?point p:P625 ?statement.\r\n ?statement psv:P625 ?node.\r\n ?node wikibase:geoLatitude ?lat.\r\n ?node wikibase:geoLongitude ?long.\r\n SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\". }\r\n}",
"extra_queries": [],
"map_filters": []
},
{
"position": 1,
"operations": [],
"type": "map",
"map_title": "Recording studios in the US",
"map_points_query": "SELECT DISTINCT ?point ?pointLabel ?villeIdLabel ?lat ?long\r\nWHERE {\r\n?point wdt:P31 wd:Q746369; wdt:P17 wd:Q30;\r\nwdt:P131 ?villeId; p:P625 ?statement.\r\n?statement psv:P625 ?node. ?node wikibase:geoLatitude ?lat ; wikibase:geoLongitude ?long.\r\nSERVICE wikibase:label { bd:serviceParam wikibase:language \"en\". } }",
"map_filters": [
{
"map_filter_query": "SELECT DISTINCT ?point ?filter ?filterLabel\r\nWHERE {\r\n?point wdt:P31 wd:Q746369; wdt:P17 wd:Q30 .\r\n?point wdt:P131 ?filter. ?filter rdfs:label ?filterLabel .\r\nFILTER(LANG(?filterLabel) = \"\" || LANGMATCHES(LANG(?filterLabel), \"en\")). }",
"extra_id": "1685349578592_0",
"position": 0,
"map_filter_title": "Cities"
}
],
"extra_queries": []
},
{
"position": 2,
"operations": [],
"type": "textsearch",
"textsearch_userinput": "",
"textsearch_title": "Search country",
"textsearch_query": "SELECT DISTINCT ?pic ?sheep ?sheepLabel ?color ?colorLabel ?status ?statusLabel ?country ?countryLabel\r\nWHERE {\r\n SERVICE wikibase:mwapi {\r\n bd:serviceParam wikibase:endpoint \"www.wikidata.org\";\r\n wikibase:api \"EntitySearch\";\r\n mwapi:search <<searchterm>>; #country\r\n mwapi:language \"en\".\r\n ?country wikibase:apiOutputItem mwapi:item.\r\n }\r\n ?sheep wdt:P31 wd:Q15622363 .\r\n ?sheep wdt:P495 ?country .\r\n ?sheep wdt:P2371 ?status .\r\n OPTIONAL {?sheep wdt:P18 ?pic ; wdt:P462 ?color }\r\n SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\".}\r\n FILTER regex(str(?pic), \"jpg\").\r\n}\r\nORDER BY ?sheep\r\nLIMIT 5\r\n\r\n\r\n\r\n",
"textsearch": {
"country": [
"Other animals"
]
},
"extra_queries": [],
"map_filters": []
},
{
"position": 3,
"operations": [],
"type": "action",
"action_title": "Other animals",
"action_query": "SELECT DISTINCT ?pic ?animal ?animalLabel (SAMPLE(?colorlabel) as ?Colour)\r\nWHERE {\r\n ?animal wdt:P279* wd:Q729 .\r\n ?animal wdt:P495 <<item>> .\r\n ?animal wdt:P18 ?pic .\r\n ?animal wdt:P462 ?color .\r\n SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\".}\r\n SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\".\r\n ?color rdfs:label ?colorlabel.\r\n }\r\n FILTER regex(str(?pic), \"jpg\").\r\n}\r\nGROUP BY ?pic ?animal ?animalLabel\r\nLIMIT 10\r\n\r\n\r\n\r\n\r\n",
"extra_queries": [],
"map_filters": []
}
]
},
"through_the_prism_of_diversity": {
"sparql_endpoint": "https://query.wikidata.org/sparql",
"template_mode": "statistics",
"title": "Through the Prism of Diversity",
"color_code": [
"#3aee96",
"#49b681"
],
"section_name": "wikidata",
"subtitle": "Discover the Intriguing Links: Human Origins, Eye Colours, and Feline Companions Unveiled!",
"curator": "Giulia Renda",
"description": "Come join us on an exciting journey that combines data visualizations and storytelling, revealing the captivating connections between human origins, eye colours, and the special bonds we form with our beloved feline pals. This concise data story takes you deep into the realms of human history, genetic diversity, and the irresistible charm of our mysterious furry companions. Get ready to be amazed!",
"dynamic_elements": [
{
"position": 0,
"operations": [],
"type": "count",
"count_query": "SELECT (COUNT(*) AS ?count)\r\nWHERE {\r\n ?item wdt:P31 wd:Q5 .\r\n}",
"count_label": "Number of humans in Wikidata",
"extra_queries": [],
"map_filters": []
},
{
"position": 1,
"operations": [],
"type": "text",
"text": "<p>With a staggering count of more that 10 millions individuals, the vast and diverse realm of humanity comes to life within the expansive realm of Wikidata. This digital repository of knowledge encapsulates a wealth of information about people from all walks of life, spanning cultures, eras, and continents.</p>",
"extra_queries": [],
"map_filters": []
},
{
"position": 2,
"operations": [],
"type": "map",
"map_title": "Continents Revealed: Mapping the Birthplaces of some Individuals",
"map_points_query": "SELECT DISTINCT ?point ?pointLabel ?personLabel ?lat ?long\r\nWHERE {\r\n SERVICE wikibase:label { bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\" }\r\n ?person wdt:P31 wd:Q5;\r\n wdt:P19 ?point .\r\n \r\n ?point wdt:P31 wd:Q5107 .\r\n ?point p:P625 ?statement.\r\n ?statement psv:P625 ?node.\r\n ?node wikibase:geoLatitude ?lat.\r\n ?node wikibase:geoLongitude ?long.\r\n}",
"extra_queries": [],
"map_filters": []
},
{
"position": 3,
"operations": [],
"type": "chart",
"chart_type": "barchart",
"chart_title": "Eye Candy: the Kaleidoscope of Common Eye Colours",
"chart_query": "SELECT ?label (COUNT(?human) AS ?count)\r\nWHERE\r\n{\r\n ?human wdt:P31 wd:Q5.\r\n ?human wdt:P1340 ?eyeColor.\r\n ?eyeColor rdfs:label ?label .\r\n FILTER(lang(?label) = \"en\")\r\n\r\n}\r\nGROUP BY ?label\r\nORDER BY DESC(?count)\r\nLIMIT 10",
"chart_series": "Humans per colour",
"chart_legend": {
"x": "colour",
"y": "n. of humans"
},
"extra_queries": [],
"map_filters": []
},
{
"position": 4,
"operations": [],
"type": "text",
"text": "<p>From rich chocolate browns to sparkling emeralds, and from oceanic blues to mysterious hazels, behold the mesmerising kaleidoscope of eye colours that captivate our hearts. Each slice of the chart gives you a sneak peek into the abundance of people rocking those fabulous eye hues, letting you see the relative popularity at a glance.</p>",
"extra_queries": [],
"map_filters": []
},
{
"position": 5,
"operations": [],
"type": "text",
"text": "<h2>Paws and Companions: Exploring the Pet Owners among Wikidata's Human Tapestry</h2>",
"extra_queries": [],
"map_filters": []
},
{
"position": 6,
"operations": [],
"type": "count",
"count_query": "SELECT (COUNT(DISTINCT ?human) AS ?count)\r\nWHERE \r\n{\r\n ?cat wdt:P31 wd:Q146.\r\n ?human wdt:P31 wd:Q5 .\r\n ?human wdt:P1429|wdt:P1830 ?cat .\r\n SERVICE wikibase:label { bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\". }\r\n}",
"count_label": "Known Cat Owners in Wikidata",
"extra_queries": [],
"map_filters": []
},
{
"position": 7,
"operations": [],
"type": "text",
"text": "<p> Let's take a closer look at these incredible duos.</p>",
"extra_queries": [],
"map_filters": []
},
{
"position": 8,
"operations": [],
"type": "table",
"table_title": "Purrfect Pals: Cat Owners and Their Furry Friends",
"table_query": "SELECT DISTINCT ?human ?humanLabel ?cat ?catLabel ?birthDate ?birthPlace ?birthPlaceLabel ?breed ?breedLabel ?pic\r\nWHERE \r\n{\r\n ?cat wdt:P31 wd:Q146.\r\n ?human wdt:P31 wd:Q5 .\r\n ?human wdt:P1429|wdt:P1830 ?cat .\r\n OPTIONAL { ?cat wdt:P569 ?birthDate . }\r\n OPTIONAL { ?cat wdt:P19 ?birthPlace . }\r\n OPTIONAL { ?cat wdt:P4743 ?breed . }\r\n OPTIONAL { ?cat wdt:P18 ?pic . }\r\n SERVICE wikibase:label { bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\". }\r\n}",
"extra_queries": [],
"map_filters": []
},
{
"position": 9,
"operations": [],
"type": "text",
"text": "<p>Each entry unveils a unique story of love, devotion, and the extraordinary bonds forged between humans and their beloved pets.</p>",
"extra_queries": [],
"map_filters": []
},
{
"position": 10,
"operations": [],
"type": "text",
"text": "<p>Building upon the cool cats listed in the table, we've got a whole lot more to uncover about their intriguing characteristics. Want to know about similar breeds, hair colours, or even the reasons behind their goodbyes? Just pick a cat's name from the table, and get ready to be blown away by the awesome info that's waiting for you. Let the adventure begin!</p>",
"extra_queries": [],
"map_filters": []
},
{
"position": 11,
"operations": [],
"type": "textsearch",
"textsearch_userinput": "",
"textsearch_title": "Find your cat",
"textsearch_query": "SELECT DISTINCT ?cat ?catLabel ?deathCause ?deathCauseLabel\r\nWHERE {\r\n ?cat wdt:P31 wd:Q146;\r\n rdfs:label ?catLabel .\r\n?cat wdt:P509 ?deathCause .\r\n ?deathCause rdfs:label ?deathCauseLabel .\r\n FILTER (lang(?deathCauseLabel) = 'en')\r\nFILTER regex(str(?catLabel), <<searchterm>>, 'i')\r\nFILTER (lang(?catLabel) = 'en')\r\n}",
"textsearch": {
"breed": [
"same breed"
],
"cat": [
"same breed",
"same colour"
],
"deathCause": [
"same death"
],
"hairColour": [
"same colour"
]
},
"extra_queries": [],
"map_filters": []
},
{
"position": 12,
"operations": [],
"type": "action",
"action_title": "same breed",
"action_query": "SELECT ?cat ?catLabel ?owner ?ownerLabel WHERE { \r\n?cat wdt:P4743 <<item>> .\r\n?owner wdt:P1429|wdt:P1830 ?cat .\r\nSERVICE wikibase:label {\r\n bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\"\r\n }}",
"extra_queries": [],
"map_filters": []
},
{
"position": 13,
"operations": [],
"type": "action",
"action_title": "same breed",
"action_query": "SELECT ?cat ?catLabel ?owner ?ownerLabel WHERE { \r\n<<item> wdt:P4743 ?breed .\r\n?cat wdt:P4743 ?breed .\r\n?owner wdt:P1429|wdt:P1830 ?cat .\r\nSERVICE wikibase:label {\r\n bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\"\r\n }}",
"extra_queries": [],
"map_filters": []
},
{
"position": 14,
"operations": [],
"type": "action",
"action_title": "same colour",
"action_query": "SELECT ?cat ?catLabel ?owner ?ownerLabel WHERE { \r\n<<item>> wdt:P1884|wdt:P462 ?hairColour .\r\n?cat wdt:P1884|wdt:P462 ?hairColour .\r\n?owner wdt:P1429|wdt:P1830 ?cat .\r\nSERVICE wikibase:label {\r\n bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\"\r\n }}",
"extra_queries": [],
"map_filters": []
},
{
"position": 15,
"operations": [],
"type": "action",
"action_title": "same death",
"action_query": "SELECT ?cat ?catLabel ?owner ?ownerLabel WHERE { \r\n?cat wdt:P509 <<item>> .\r\n?owner wdt:P1429|wdt:P1830 ?cat .\r\nSERVICE wikibase:label {\r\n bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\"\r\n }}",
"extra_queries": [],
"map_filters": []
}
]
},
"d": {
"sparql_endpoint": "d",
"template_mode": "statistics",
"title": "d",
"color_code": [
"#39c6b4",
"#17cf31"
],
"section_name": "wikidata",
"subtitle": "",
"curator": "",
"description": "",
"dynamic_elements": []
}
},
"sound_and_vision": {
"dutch_broadcast_concert_collection": {
"sparql_endpoint": "https://cat.apis.beeldengeluid.nl/sparql",
"template_mode": "statistics",
"title": "Dutch Broadcast Concert Collection",
"color_code": [
"#05c8f0",
"#ff00bc"
],
"section_name": "Sound and Vision",
"subtitle": "Exploring live concerts on Dutch television and radio",
"curator": "Mari Wigham",
"description": "The Dutch Broadcast Concert Collection (Dutch name MOZ - Muziekopnamen Zendgemachtigden) contains recordings of concerts broadcast live by Dutch public service broadcasters, and metadata describing the recordings, including related persons.",
"action": "save",
"dynamic_elements": [
{
"position": 0,
"operations": [],
"type": "count",
"count_query": "PREFIX schema: <http://schema.org/>\r\nPREFIX sdo: <https://schema.org/>\r\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\r\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\r\n\r\n\r\nSELECT DISTINCT (COUNT(?program) AS ?count) \r\nWHERE { \r\n\r\n \t?series <https://schema.org/name> \"Muziekopnamen Zendgemachtigden (MOZ)\"^^xsd:string . \r\n\t?season sdo:partOfSeries ?series . \r\n ?program sdo:partOfSeason ?season . \r\n}",
"count_label": "concerts",
"extra_queries": []
},
{
"position": 1,
"operations": [],
"type": "count",
"count_query": "PREFIX schema: <http://schema.org/>\r\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\r\nPREFIX sdo: <https://schema.org/>\r\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\r\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\r\n\r\nSELECT (COUNT(distinct ?entityName) as ?count)\r\nWHERE {\r\n?series <https://schema.org/name> \"Muziekopnamen Zendgemachtigden (MOZ)\"^^xsd:string . \r\n\t?season sdo:partOfSeries ?series . \r\n ?program_uri sdo:partOfSeason ?season . \r\n {\r\n ?program_uri a sdo:CreativeWork ;\r\n (sdo:about|sdo:mentions|sdo:creator|sdo:contributor|sdo:actor|sdo:crew|sdo:performer)/\r\n (sdo:about|sdo:mentions|sdo:creator|sdo:contributor|sdo:actor|sdo:crew|sdo:performer) ?entity .\r\n ?entity skos:prefLabel ?entityName\r\n }\r\n UNION\r\n {\r\n ?program_uri sdo:isPartOfSeason ?season .\r\n\r\n ?season (sdo:about|sdo:mentions|sdo:creator|sdo:contributor|sdo:actor|sdo:crew|sdo:performer)/\r\n (sdo:about|sdo:mentions|sdo:creator|sdo:contributor|sdo:actor|sdo:crew|sdo:performer) ?entity .\r\n\r\n ?entity skos:prefLabel ?entityName\r\n }\r\n UNION\r\n {\r\n ?program_uri sdo:isPartOfSeason/sdo:isPartOfSeries ?series .\r\n\r\n ?series (sdo:about|sdo:mentions|sdo:creator|sdo:contributor|sdo:actor|sdo:crew|sdo:performer)/\r\n (sdo:about|sdo:mentions|sdo:creator|sdo:contributor|sdo:actor|sdo:crew|sdo:performer) ?entity .\r\n\r\n ?entity skos:prefLabel ?entityName\r\n }\r\n UNION\r\n {\r\n ?scene sdo:hasPart ?program_uri.\r\n\r\n ?scene (sdo:about|sdo:mentions|sdo:creator|sdo:contributor|sdo:actor|sdo:crew|sdo:performer)/\r\n (sdo:about|sdo:mentions|sdo:creator|sdo:contributor|sdo:actor|sdo:crew|sdo:performer) ?entity .\r\n\r\n ?entity skos:prefLabel ?entityName \r\n }\r\n} ",
"count_label": "related persons",
"extra_queries": []
},
{
"position": 2,
"operations": [],
"type": "chart",
"chart_type": "linechart",
"chart_title": "Distribution of concerts over time",
"chart_query": "PREFIX schema: <http://schema.org/>\r\nPREFIX sdo: <https://schema.org/>\r\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\r\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\r\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\r\n\r\n\r\nSELECT ?label\r\nWHERE {\r\n \t?series <https://schema.org/name> \"Muziekopnamen Zendgemachtigden (MOZ)\"^^xsd:string . \r\n\t?season sdo:partOfSeries ?series . \r\n ?program sdo:partOfSeason ?season . \r\n ?program <https://schema.org/datePublished> ?date .\r\n BIND(substr(?date, 1, 4) as ?label)} ",
"chart_series": "concerts",
"chart_legend": {
"x": "year",
"y": "concerts"
},
"extra_queries": []
},
{
"position": 3,
"operations": [],
"type": "text",
"text": "<p>The concerts span a time range from 1934 through to the present day. Note that the data point in 1900 comes from a concert that cannot be more precisely dated than to the twentieth century.</p>",
"extra_queries": []
},
{
"position": 4,
"operations": [],
"type": "chart",
"chart_type": "doughnutchart",
"chart_title": "Roles of persons in the concert collection",
"chart_query": "PREFIX schema: <http://schema.org/>\r\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\r\nPREFIX sdo: <https://schema.org/>\r\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\r\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\r\n\r\n# Toon alleen items die ook op GPP te bekijken/beluisteren zijn.\r\nSELECT ?count ?label\r\nWHERE{\r\n {\r\nSELECT (COUNT(distinct ?entityName) as ?count) ?role\r\nWHERE {\r\n?series <https://schema.org/name> \"Muziekopnamen Zendgemachtigden (MOZ)\"^^xsd:string . \r\n\t?season sdo:partOfSeries ?series . \r\n ?program_uri sdo:partOfSeason ?season . \r\n ?program_uri a sdo:CreativeWork .\r\n ?program_uri ?role ?roleEntity . ?roleEntity ?role ?entity .\r\n ?entity skos:prefLabel ?entityName\r\n } group by ?role LIMIT 3}\r\n?role rdfs:label ?label}order by desc(?count)",
"chart_series": "",
"chart_legend": {
"x": "",
"y": ""
},
"extra_queries": []
},
{
"position": 5,
"operations": [],
"type": "text",
"text": "<p>Persons in the collection either performed music, or created it, or were simply mentioned in the concert metadata. The donut chart above shows that most of the persons included in the collection have the role of performer (linked to concerts with the property byArtist).</p>",
"extra_queries": []
},
{
"position": 6,
"operations": [],
"type": "chart",
"chart_type": "barchart",
"chart_title": "Top 5 most frequently occurring creators",
"chart_query": "PREFIX schema: <http://schema.org/>\r\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\r\nPREFIX sdo: <https://schema.org/>\r\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\r\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\r\n\r\n# Toon alleen items die ook op GPP te bekijken/beluisteren zijn.\r\nSELECT ?count ?label\r\nWHERE{\r\n {\r\nSELECT (COUNT(distinct ?program_uri) as ?count) ?label\r\nWHERE {\r\n?series <https://schema.org/name> \"Muziekopnamen Zendgemachtigden (MOZ)\"^^xsd:string . \r\n\t?season sdo:partOfSeries ?series . \r\n ?program_uri sdo:partOfSeason ?season . \r\n {\r\n ?program_uri a sdo:CreativeWork ;\r\n sdo:creator/sdo:creator ?entity .\r\n ?entity skos:prefLabel ?label\r\n }\r\n UNION\r\n {\r\n ?program_uri sdo:isPartOfSeason ?season .\r\n\r\n ?season sdo:creator/sdo:creator ?entity .\r\n\r\n ?entity skos:prefLabel ?label\r\n }\r\n UNION\r\n {\r\n ?program_uri sdo:isPartOfSeason/sdo:isPartOfSeries ?series .\r\n\r\n ?series sdo:creator/sdo:creator ?entity .\r\n\r\n ?entity skos:prefLabel ?label\r\n }\r\n UNION\r\n {\r\n ?scene sdo:hasPart ?program_uri.\r\n\r\n ?scene sdo:creator/sdo:creator?entity .\r\n\r\n ?entity skos:prefLabel ?label \r\n }\r\n } group by ?label }}order by desc(?count) LIMIT 5",
"chart_series": "N. of creators",
"chart_legend": {
"x": "creator",
"y": "frequency "
},
"extra_queries": []
},
{
"position": 7,
"operations": [],
"type": "text",
"text": "<p>This graph shows the top five most frequently occurring creators in the concert collection. International classical composers such as Beethoven and Mozart are mixed with modern musicians such as Jean-Pierre Gabri\u00ebl, who conducts multiple orchestras in the Netherlands, Ron Ford, a Dutch-American composer, and Myrthe van Dijk, who composed songs for the iconic 'Kinderen voor Kinderen' youth choir.</p>",
"extra_queries": []
},
{
"position": 8,
"operations": [],
"type": "chart",
"chart_type": "barchart",
"chart_title": "Top 10 most frequently occurring performers",
"chart_query": "PREFIX schema: <http://schema.org/>\r\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\r\nPREFIX sdo: <https://schema.org/>\r\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\r\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\r\n\r\n# Toon alleen items die ook op GPP te bekijken/beluisteren zijn.\r\nSELECT ?count ?label\r\nWHERE{\r\n {\r\nSELECT (COUNT(distinct ?program_uri) as ?count) ?label\r\nWHERE {\r\n?series <https://schema.org/name> \"Muziekopnamen Zendgemachtigden (MOZ)\"^^xsd:string . \r\n\t?season sdo:partOfSeries ?series . \r\n ?program_uri sdo:partOfSeason ?season . \r\n {\r\n ?program_uri a sdo:CreativeWork ;\r\n sdo:byArtist/sdo:byArtist ?entity .\r\n ?entity skos:prefLabel ?label\r\n }\r\n UNION\r\n {\r\n ?program_uri sdo:isPartOfSeason ?season .\r\n\r\n ?season sdo:byArtist/sdo:byArtist ?entity .\r\n\r\n ?entity skos:prefLabel ?label\r\n }\r\n UNION\r\n {\r\n ?program_uri sdo:isPartOfSeason/sdo:isPartOfSeries ?series .\r\n\r\n ?series sdo:byArtist/sdo:byArtist ?entity .\r\n\r\n ?entity skos:prefLabel ?label\r\n }\r\n UNION\r\n {\r\n ?scene sdo:hasPart ?program_uri.\r\n\r\n ?scene sdo:byArtist/sdo:byArtist ?entity .\r\n\r\n ?entity skos:prefLabel ?label \r\n }\r\n } group by ?label }}order by desc(?count) LIMIT 10",
"chart_series": "N. of performers",
"chart_legend": {
"x": "performer",
"y": "frequency"
},
"extra_queries": []
},
{
"position": 9,
"operations": [],
"type": "text",
"text": "<p>Plotting the top ten performers reveals that the collection has an emphasis on music performed by orchestras, choirs and ensembles. Dolf van der Linden, a Dutch conductor, and Marinus Voorberg, a Dutch conductor and pianist, also feature in the top ten.</p>",
"extra_queries": []
},
{
"position": 10,
"operations": [],
"type": "text",
"text": "<p>All concerts are under copyright. They were produced by a variety of production companies</p>",
"extra_queries": []
},
{
"position": 11,
"operations": [],
"type": "chart",
"chart_type": "barchart",
"chart_title": "Top 10 production companies",
"chart_query": "PREFIX skos: <http://www.w3.org/2004/02/skos/core#>\r\nSELECT ?label ?count\r\nWHERE\r\n{\r\n {\r\nSELECT distinct ?label (COUNT(?program_uri) AS ?count) WHERE {\r\n?series <https://schema.org/name> \"Muziekopnamen Zendgemachtigden (MOZ)\"^^xsd:string . \r\n\t?season <https://schema.org/partOfSeries> ?series . \r\n ?program_uri <https://schema.org/partOfSeason> ?season . \r\n ?program_uri <https://schema.org/productionCompany> ?prod_company . \r\n ?prod_company <https://schema.org/productionCompany> ?prod_entity . ?prod_entity skos:prefLabel ?label\r\n} GROUP BY ?label \r\n }} ORDER BY desc(?count) LIMIT 10",
"chart_series": "N. of companies",
"chart_legend": {
"x": "company",
"y": "frequency"
},
"extra_queries": []
},
{
"position": 12,
"operations": [],
"type": "text",
"text": "<p>The production companies reflect the diversity of the collection. From Omroep MAX, a public service broadcaster that serves older viewers, to Mojo Concerts, an important concert promotor in the Netherlands.</p>",
"extra_queries": []
}
]
}
},
"bells": {
"overview_of_bells_in_liguria": {
"sparql_endpoint": "https://dati.cultura.gov.it/sparql",
"template_mode": "statistics",
"title": "Overview of bells in Liguria",
"color_code": [
"#b18cfe",
"#008cb4"
],
"section_name": "Bells",
"subtitle": "",
"curator": "Fabrizio Magnani, Elena Musumeci, Chiara Veninata",
"description": "In Liguria, the art of bell-making is very widespread, thanks also to the historical presence of numerous foundries, now closed. Depending on the location, the number of bells for each bell tower differs.",
"action": "save",
"dynamic_elements": [
{
"position": 0,
"operations": [],
"type": "count",
"count_query": "prefix a-cd: <https://w3id.org/arco/ontology/context-description/>\r\nprefix dc: <http://purl.org/dc/elements/1.1/> \r\n \r\nSELECT (COUNT(?church) AS ?count)\r\nWHERE {\r\n?setOfBells a-cd:isLocatedIn ?church ;\r\ndc:subject ?o FILTER(str(?o)='concerto di campane') .\r\n}",
"count_label": "Churches with bells in Liguria",
"extra_queries": [],
"map_filters": []
},
{
"position": 1,
"operations": [],
"type": "text",
"text": "<p>In the Genoese and Levant areas from the 1960s onwards we witness an increase in the number of bells contained in every bell tower and the birth of the first numerous sets, reaching as many as 12 bells.</p><p>In the Ponente, on the other hand, it still remains the main one, given the average of 3 sets, a maximum of 5 bells for a tower. </p><p>The geographical distribution of the bells on the territory is a very interesting fact because it can help to highlight many aspects. In fact, we can understand what the density of the bells is by area, but also make an initial assessment of the possible impact on the soundscape.</p>",
"extra_queries": [],
"map_filters": []
},
{
"position": 2,
"operations": [],
"type": "count",
"count_query": "PREFIX a-cd: <https://w3id.org/arco/ontology/context-description/>\r\nPREFIX clv: <https://w3id.org/italia/onto/CLV/>\r\nPREFIX l0: <https://w3id.org/italia/onto/l0/>\r\nprefix dc: <http://purl.org/dc/elements/1.1/>\r\nprefix a-loc: <https://w3id.org/arco/ontology/location/>\r\n\r\nSELECT (COUNT(DISTINCT ?church) AS ?count)\r\nWHERE {\r\n?setOfBells a-cd:isLocatedIn ?church ;\r\ndc:subject ?o FILTER(str(?o)='concerto di campane' || str(?o)='campana') .\r\n?setOfBells a-loc:hasCulturalPropertyAddress ?cpa .\r\n?cpa clv:hasProvince ?province .\r\n?province l0:name ?prov FILTER(str(?prov)='GE') .\r\n}",
"count_label": "Churches with bells in Genova",
"extra_queries": [],
"map_filters": []
},
{
"position": 3,
"operations": [],
"type": "map",
"map_title": "Churches with bells in Liguria",
"map_points_query": "PREFIX clv: <https://w3id.org/italia/onto/CLV/>\r\nPREFIX cis: <http://dati.beniculturali.it/cis/>\r\nSELECT DISTINCT ?point ?lat ?long SAMPLE(?addres as ?address) ?region\r\n\r\nWHERE {\r\n?setOfBells a-cd:isLocatedIn ?point; dc:subject ?o FILTER(str(?o)='concerto di campane' || str(?o)='campana') .\r\n?setOfBells a-loc:hasCulturalPropertyAddress ?cpa .\r\n?cpa clv:hasRegion ?reg .\r\n?reg l0:name ?region FILTER(str(?region)='Liguria') .\r\n?point a-loc:hasCulturalPropertyAddress ?a ; clv:hasGeometry ?g.\r\n?a rdfs:label ?addres .\r\n?g a-loc:hasCoordinates ?coord .\r\n?coord a-loc:lat ?lat ; a-loc:long ?long.\r\n}",
"map_filters": [
{
"map_filter_query": "PREFIX a-cd: <https://w3id.org/arco/ontology/context-description/>\r\nPREFIX clv: <https://w3id.org/italia/onto/CLV/>\r\nPREFIX l0: <https://w3id.org/italia/onto/l0/>\r\nprefix a-loc: <https://w3id.org/arco/ontology/location/>\r\nSELECT DISTINCT ?point ?filter (SAMPLE(?label) as ?filterLabel)\r\nWHERE {\r\n?point a-loc:hasCulturalPropertyAddress ?cpa .\r\n?cpa clv:hasProvince ?filter;\r\nclv:hasRegion ?region .\r\n?region l0:name ?reg FILTER(str(?reg)='Liguria') .\r\n?filter rdfs:label ?label .\r\n}",
"extra_id": "1685424548422_0",
"position": 0,
"map_filter_title": "district"
}
],
"extra_queries": []
},
{
"position": 4,
"operations": [],
"type": "chart",
"chart_type": "barchart",
"chart_title": "N. of bells per province",
"chart_query": "PREFIX a-cd: <https://w3id.org/arco/ontology/context-description/>\r\nPREFIX clv: <https://w3id.org/italia/onto/CLV/>\r\nPREFIX l0: <https://w3id.org/italia/onto/l0/>\r\nprefix a-loc: <https://w3id.org/arco/ontology/location/>\r\n\r\nSELECT ?label \r\nWHERE {\r\n?setOfBells a-cd:isLocatedIn ?church ;\r\ndc:subject ?o FILTER(str(?o)='concerto di campane' || str(?o)='campana') .\r\n?setOfBells a-loc:hasCulturalPropertyAddress ?cpa .\r\n?cpa clv:hasProvince ?l ;\r\nclv:hasRegion ?region .\r\n?region l0:name ?reg FILTER(str(?reg)='Liguria') .\r\n?l rdfs:label ?label .\r\n}\r\n",
"chart_series": "bells",
"chart_legend": {
"x": "Province",
"y": "N. of bells"
},
"extra_queries": [],
"map_filters": []
},
{
"position": 5,
"operations": [],
"type": "chart",
"chart_type": "doughnutchart",
"chart_title": "Materials",
"chart_query": "PREFIX a-cd: <https://w3id.org/arco/ontology/context-description/>\r\nPREFIX clv: <https://w3id.org/italia/onto/CLV/>\r\nPREFIX l0: <https://w3id.org/italia/onto/l0/>\r\nprefix a-loc: <https://w3id.org/arco/ontology/location/>\r\n\r\nSELECT ?label\r\nWHERE {\r\n?bell a arco:MusicHeritage ;\r\na-dd:hasMaterial ?materialObj ;\r\ndc:subject ?o FILTER(str(?o)='campana') .\r\nBIND (STRAFTER(STR(?materialObj),\"c/\") as ?label) .\r\n}",
"chart_series": "",
"chart_legend": {
"x": "",
"y": ""
},
"extra_queries": [],
"map_filters": []
},
{
"position": 6,
"operations": [],
"type": "text",
"text": "<p>Bells made with the intention of producing a functional sound are usually made by casting a bronze alloy. Over the course of history there has been a lot of experimentation to achieve the best results; However, the best recognized composition for melting bells is a ratio of around 80% copper and 20% tin. Other materials occasionally used for casting bells are brass or iron. Steel was tried in the mid 19th century in England for its lower cost than bronze, but it was found to be not durable and production ceased in 1870. Glass was also made. but although the bells of this type produced a pleasant sound, this substance being very fragile was unable to withstand continued use.</p>",
"extra_queries": [],
"map_filters": []
},
{
"position": 7,
"operations": [],
"type": "chart",
"chart_type": "linechart",
"chart_title": "Bells production over time",
"chart_query": "PREFIX a-cd: <https://w3id.org/arco/ontology/context-description/>\r\nPREFIX clv: <https://w3id.org/italia/onto/CLV/>\r\nPREFIX l0: <https://w3id.org/italia/onto/l0/>\r\nprefix a-loc: <https://w3id.org/arco/ontology/location/>\r\nprefix ti: <https://w3id.org/italia/onto/TI/>\r\n\r\nSELECT ?label\r\nWHERE {\r\n?bell a arco:MusicHeritage ;\r\na-cd:hasDating ?dating ;\r\ndc:subject ?o FILTER(str(?o)='campana') .\r\n?dating a-cd:hasDatingEvent ?datingEv .\r\n?datingEv rdfs:label ?datingEvType FILTER(str(?datingEvType)='realizzazione') .\r\n?datingEv a-cd:specificTime ?when .\r\n?when arco:startTime ?label .\r\n}",
"chart_series": "bells",
"chart_legend": {
"x": "year",
"y": "count"
},
"extra_queries": [],
"map_filters": []
},
{
"position": 8,
"operations": [],
"type": "text",
"text": "<p>The bell casting date is very relevant for the reconstruction of the history that characterizes this artifact in the territory, and connects to other relevant information such as the presence of foundries in the area, the shape of the bells and the sound produced. It is also very relevant for the protection of cultural heritage</p>",
"extra_queries": [],
"map_filters": []
},
{
"position": 9,
"operations": [],
"type": "table",
"table_title": "Listen the sound of bells",
"table_query": "SELECT ?b ?bLabel ?audio\r\nWHERE {\r\n?b arco:isCulturalPropertyComponentOf <https://w3id.org/arco/resource/MusicHeritage/0700377974-0> ;\r\ncore:description ?bLabel ;\r\ndc:subject?o filter(str(?o)='campana') .\r\n?doc a-cd:isDocumentationOf ?b ;\r\n<https://w3id.org/italia/onto/SM/URL> ?audio ;\r\nrdf:type ?docType FILTER(?docType = a-cd:AudioDocumentation) .\r\n} ",
"extra_queries": [],
"map_filters": []
},
{
"position": 10,
"operations": [],
"type": "table",
"table_title": "or watch some videos and images",
"table_query": "SELECT ?t ?tLabel ?docURL ?pic\r\nWHERE {\r\n?t rdf:type arco:DemoEthnoAnthropologicalHeritage ;\r\na-loc:hasCulturalPropertyAddress ?l ;\r\nfoaf:depiction ?pic ;\r\ndc:subject ?o FILTER regex(str(?o), \"tastiera\") .\r\n?l rdfs:label ?tLabel .\r\n?doc a-cd:isDocumentationOf ?t ;\r\n<https://w3id.org/italia/onto/SM/URL> ?docURL .\r\n} ",
"extra_queries": [],
"map_filters": []
},
{
"position": 11,
"operations": [],
"type": "textsearch",
"textsearch_userinput": "",
"textsearch_title": "Search bells",
"textsearch_query": "SELECT DISTINCT ?vari ?variLabel ?class ?classLabel\r\nWHERE {\r\n?vari rdf:type arco:DemoEthnoAnthropologicalHeritage;\r\nrdfs:label ?variLabel; a ?class . ?class rdfs:label ?classLabel .\r\nFILTER regex(str(?variLabel), <<searchterm>>, \"i\")\r\nFILTER (lang(?classLabel) = \"it\")\r\n} LIMIT 10 ",
"textsearch": {
"prop": [
"objects",
"properties"
],
"title": [
"properties",
"objects"
],
"vari": [
"properties"
]
},
"extra_queries": [],
"map_filters": []
},
{
"position": 12,
"operations": [],
"type": "action",
"action_title": "properties",
"action_query": "SELECT DISTINCT ?prop \r\nWHERE {<<item>> ?prop ?something}\r\nLIMIT 20 ",
"extra_queries": [],
"map_filters": []
},
{
"position": 13,
"operations": [],
"type": "action",
"action_title": "objects",
"action_query": "SELECT DISTINCT ?title \r\nWHERE {?subj <<item>> ?title}\r\nLIMIT 10",
"extra_queries": [],
"map_filters": []
}
],
"https://w3id.org/arco/resource/Province/sp": "https://w3id.org/arco/resource/Province/sp",
"https://w3id.org/arco/resource/Province/ge": "https://w3id.org/arco/resource/Province/ge"
}
},
"musicbo": {
"music_in_bologna_textual_corpus_overview": {
"sparql_endpoint": "https://polifonia.disi.unibo.it/musicbo/sparql",
"template_mode": "statistics",
"title": "Music in Bologna - Textual corpus overview",
"color_code": [
"#03ecfc",
"#00fa79"
],
"section_name": "MusicBo",
"subtitle": "Exploring Bologna's role in music history through Knowledge Extraction",
"curator": "Valentina Carriero, Arianna Graciotti, Eleonora Marzi, Valentina Presutti",
"description": "MusicBO corpus contains 135 texts in 4 languages (Italian, English, French, and Spanish) published between 1800 and today and referring to a period between 1600 to the present. We processed the corpus with Natural Language Processing and Understanding (NLP/NLU) technologies to retrieve, integrate and disseminate knowledge about Bologna's role in the European musical landscape.",
"action": "save",
"dynamic_elements": [
{
"position": 0,
"operations": [],
"type": "count",
"count_query": "SELECT (COUNT(DISTINCT ?s) AS ?count) \r\nWHERE {?s rdf:type <http://www.ontologydesignpatterns.org/ont/amr/Person>}",
"count_label": "people",
"extra_queries": [],
"map_filters": []
},
{
"position": 1,
"operations": [],
"type": "count",
"count_query": "SELECT (COUNT(DISTINCT ?s) AS ?count) \r\nWHERE {?s rdf:type <http://www.ontologydesignpatterns.org/ont/amr/Organization>}",
"count_label": "organisations",
"extra_queries": [],
"map_filters": []
},
{
"position": 2,
"operations": [],
"type": "count",
"count_query": "SELECT (COUNT(DISTINCT ?s) AS ?count) \r\nWHERE {?s rdf:type <http://www.ontologydesignpatterns.org/ont/amr/Country>}",
"count_label": "countries",
"extra_queries": [],
"map_filters": []
},
{
"position": 3,
"operations": [],
"type": "count",
"count_query": "SELECT (COUNT(DISTINCT ?s) AS ?count) \r\nWHERE {?s rdf:type <http://www.ontologydesignpatterns.org/ont/amr/City>}",
"count_label": "cities",
"extra_queries": [],
"map_filters": []
},
{
"position": 4,
"operations": [],
"type": "count",
"count_query": "SELECT (COUNT(DISTINCT ?s) AS ?count) WHERE {?s rdf:type <http://www.ontologydesignpatterns.org/ont/amr/Work-of-art>}",
"count_label": "works of art",
"extra_queries": [],
"map_filters": []
},
{
"position": 5,
"operations": [],
"type": "count",
"count_query": "SELECT (COUNT(DISTINCT ?s) AS ?count) \r\nWHERE {?s rdf:type <http://www.ontologydesignpatterns.org/ont/amr/Publication>}",
"count_label": "publications",
"extra_queries": [],
"map_filters": []
},
{
"position": 6,
"operations": [],
"type": "chart",
"chart_type": "barchart",
"chart_title": "Top 10 types of entity",
"chart_query": "SELECT ?label (count(distinct ?s) as ?count) \r\nWHERE {?s rdf:type ?class; <http://www.ontologydesignpatterns.org/ont/amr/name> ?name \r\nFILTER regex(str(?class), \"(?:^http://www.ontologydesignpatterns.org/ont/amr/)\") BIND (REPLACE(STR(?class), \"^.+?([^/#]+)$\", \"$1\") as ?label)} \r\nGROUP BY ?label \r\nORDER BY DESC (?count) \r\nLIMIT 10 ",
"chart_series": "entities",
"chart_legend": {
"x": "entity type",
"y": "count"
},
"extra_queries": [],
"map_filters": []
},
{
"position": 7,
"operations": [],
"type": "text",
"text": "<p>We analysed MusicBO corpus through the lens of Named Entities Recognition (NER), a standard Natural Language Processing task. We discovered that the entanglement of Bologna and music history is a composite network of people, places, and organizations. Publications, works of art and books are frequently mentioned in the corpus, revealing that Bologna was an important centre for artistic production.</p>",
"extra_queries": [],
"map_filters": []
},
{
"position": 8,
"operations": [],
"type": "chart",
"chart_type": "barchart",
"chart_title": "Top 10 situations involving people",
"chart_query": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> \r\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> \r\nSELECT distinct ?label (count(distinct ?s) as ?count) \r\nWHERE {?s rdf:type <http://www.ontologydesignpatterns.org/ont/amr/Person> . ?frameInstance ?p ?s ; rdf:type ?frame . ?frame rdfs:label ?label } \r\nGROUP BY ?label \r\nORDER BY DESC(?count) \r\nLIMIT 10",
"chart_series": "event type",
"chart_legend": {
"x": "situation",
"y": "frequency"
},
"extra_queries": [],
"map_filters": []
},
{
"position": 9,
"operations": [],
"type": "text",
"text": "<p>According to the insights extracted from the MusicBO corpus through NLP and NLU techniques, people linked to Bologna and related to music were mainly involved in events and situations that implied the creation and production of art.</p>",
"extra_queries": [],
"map_filters": []
},
{
"position": 10,
"operations": [],
"type": "chart",
"chart_type": "barchart",
"chart_title": "Persons in situations",
"chart_query": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> \r\nPREFIX dul: <http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#> \r\nSELECT ?label (count(distinct ?frameInstance) as ?count) \r\nWHERE {?s rdf:type <http://www.ontologydesignpatterns.org/ont/amr/Person> . ?frameInstance ?p ?s ; rdf:type ?frame . ?frame rdfs:label ?frameLabel . ?frame rdfs:subClassOf dul:Event . \r\n?s <http://www.ontologydesignpatterns.org/ont/amr/name> ?label \r\nFILTER (!regex(str(?s), \"san_petronio\",'i'))} \r\n \r\nGROUP BY ?label \r\nORDER BY DESC (?count)\r\nLIMIT 10 ",
"chart_series": "events",
"chart_legend": {
"x": "persons",
"y": "frequency"