-
Notifications
You must be signed in to change notification settings - Fork 0
/
mapping.ttl
1243 lines (1220 loc) · 49.3 KB
/
mapping.ttl
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
@prefix dogi: <> .
@prefix map: <#> .
@prefix d2rq: <http://www.wiwiss.fu-berlin.de/suhl/bizer/D2RQ/0.1#> .
@prefix d2r: <http://sites.wiwiss.fu-berlin.de/suhl/bizer/d2r-server/config.rdf#> .
@prefix meta: <http://www4.wiwiss.fu-berlin.de/bizer/d2r-server/metadata#> .
@prefix jdbc: <http://d2rq.org/terms/jdbc/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dbo: <http://dbpedia.org/ontology/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix schema: <http://schema.org/> .
@prefix bibo: <http://purl.org/ontology/bibo/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix lexvont: <http://lexvo.org/ontology#> .
<> a d2r:Server;
rdfs:label "Linked Data DoGi";
d2r:baseURI <http://www.dogi.cnr.it/>;
d2r:vocabularyIncludeInstances true;
d2rq:useAllOptimizations true;
d2r:sparqlTimeout 300;
#d2r:enableMetadata true;
.
map:database a d2rq:Database;
d2rq:jdbcDriver "com.mysql.jdbc.Driver";
d2rq:jdbcDSN "jdbc:mysql://localhost/dogi_2016_11_15";
d2rq:username "root";
d2rq:password "wafimysql";
jdbc:autoReconnect "true";
jdbc:zeroDateTimeBehavior "convertToNull";
.
### Table tabDocumenti
###
map:tabDocumenti a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:uriPattern "Article/@@tabDocumenti.LocalURI@@";
d2rq:class bibo:Article;
.
map:tabDocumenti_1 a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:class dogi:ResearchPaper;
d2rq:classDefinitionLabel "Research paper"@en;
d2rq:classDefinitionComment "A research paper is a ..."@en;
d2rq:additionalClassDefinitionProperty map:subClassOf_bibo_Article;
d2rq:condition "tabDocumenti.IDTD = '01'";
d2rq:uriPattern "Article/@@tabDocumenti.LocalURI@@";
.
map:tabDocumenti_2 a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:class dogi:ArticlePresentedAtConference;
d2rq:classDefinitionLabel "Article presented at conference"@en;
d2rq:classDefinitionComment "An article presented at a conference."@en;
d2rq:additionalClassDefinitionProperty map:subClassOf_bibo_Article;
d2rq:condition "tabDocumenti.IDTD = '02'";
d2rq:uriPattern "Article/@@tabDocumenti.LocalURI@@";
.
map:tabDocumenti_3 a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:class dogi:CommentOnCaseLaw;
d2rq:classDefinitionLabel "Comment on a case law"@en;
d2rq:classDefinitionComment "A comment on a case law is a ..."@en;
d2rq:additionalClassDefinitionProperty map:subClassOf_bibo_Article;
d2rq:condition "tabDocumenti.IDTD = '03'";
d2rq:uriPattern "Article/@@tabDocumenti.LocalURI@@";
.
map:tabDocumenti_4 a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:class dogi:Review;
d2rq:classDefinitionLabel "Review"@en;
d2rq:classDefinitionComment "A review is a ..."@en;
d2rq:additionalClassDefinitionProperty map:subClassOf_bibo_Article;
d2rq:condition "tabDocumenti.IDTD = '04'";
d2rq:uriPattern "Article/@@tabDocumenti.LocalURI@@";
.
map:tabDocumenti_5 a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:class dogi:Bibliography;
d2rq:classDefinitionLabel "Bibliography"@en;
d2rq:classDefinitionComment "A bibliography is a ..."@en;
d2rq:additionalClassDefinitionProperty map:subClassOf_bibo_Article;
d2rq:condition "tabDocumenti.IDTD = '05'";
d2rq:uriPattern "Article/@@tabDocumenti.LocalURI@@";
.
map:tabDocumenti_7 a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:class dogi:CommentOnLegislation;
d2rq:classDefinitionLabel "Comment on legislation"@en;
d2rq:classDefinitionComment "A comment on a legislation is a ..."@en;
d2rq:additionalClassDefinitionProperty map:subClassOf_bibo_Article;
d2rq:condition "tabDocumenti.IDTD = '07'";
d2rq:uriPattern "Article/@@tabDocumenti.LocalURI@@";
.
map:tabDocumenti_8 a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:class dogi:ReportOnCaseLaw;
d2rq:classDefinitionLabel "Report on case law"@en;
d2rq:classDefinitionComment "A report on a case law is a ..."@en;
d2rq:additionalClassDefinitionProperty map:subClassOf_bibo_Article;
d2rq:condition "tabDocumenti.IDTD = '08'";
d2rq:uriPattern "Article/@@tabDocumenti.LocalURI@@";
.
map:tabDocumenti_9 a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:class dogi:ReportOnLegislation;
d2rq:classDefinitionLabel "Report on legislation"@en;
d2rq:classDefinitionComment "A report on a legislation is a ..."@en;
d2rq:additionalClassDefinitionProperty map:subClassOf_bibo_Article;
d2rq:condition "tabDocumenti.IDTD = '09'";
d2rq:uriPattern "Article/@@tabDocumenti.LocalURI@@";
.
map:legDocResp_IDResponsabilita a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property dcterms:creator;
d2rq:join "tabDocumenti.IDDoc => legDocResp.IDDoc";
d2rq:join "legDocResp.IDResponsabilita => tabResponsabilita.IDResponsabilita";
d2rq:condition "legDocResp.Tipo = 0"; # Tipo = 0 denotes the author of the article
d2rq:uriPattern "Agent/@@tabResponsabilita.IDResponsabilita@@";
.
map:legDocResp_IDResponsabilita_2 a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property dcterms:contributor;
d2rq:join "tabDocumenti.IDDoc => legDocResp.IDDoc";
d2rq:join "legDocResp.IDResponsabilita => tabResponsabilita.IDResponsabilita";
d2rq:condition "legDocResp.Tipo = 1"; # Tipo = 1 denotes the Dogi editor who created the Dogi document
d2rq:uriPattern "Agent/@@tabResponsabilita.IDResponsabilita@@";
.
map:tabDocumenti__label a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property rdfs:label;
d2rq:column "tabDocumenti.Label";
.
map:tabDocumenti_SourceOfLaw a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property bibo:cites;
d2rq:property dcterms:references;
d2rq:join "tabDocumenti.IDDoc => legDocSourceOfLaw.IDDoc";
d2rq:join "legDocSourceOfLaw.IDSourceOfLaw => tabSourceOfLaw.IDSourceOfLaw";
d2rq:condition "tabSourceOfLaw.LocalURI != ''";
d2rq:uriPattern "SourceOfLaw/@@tabSourceOfLaw.LocalURI@@";
.
map:tabDocumenti_Classificazione a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property dogi:classification;
d2rq:join "tabDocumenti.IDDoc => legDocClassificazione.IDDoc";
d2rq:join "legDocClassificazione.IDClassificazione => tabClassificazioni.Id";
d2rq:uriSqlExpression "CONCAT('http://www.dogi.cnr.it/resource/Classification/', CONCAT(tabClassificazioni.NS, (CASE WHEN (tabClassificazioni.ND != '') THEN CONCAT('_', tabClassificazioni.ND) ELSE '' END)))";
d2rq:additionalPropertyDefinitionProperty map:Classificazione_label;
d2rq:additionalPropertyDefinitionProperty map:Classificazione_comment;
d2rq:additionalPropertyDefinitionProperty map:bibo_article_domain;
d2rq:additionalPropertyDefinitionProperty map:dogi_classification_range;
.
map:Classificazione_label a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:label;
d2rq:propertyValue "Has classification"@en;
.
map:Classificazione_comment a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:comment;
d2rq:propertyValue "Indicates a classification code of a certain article."@en;
.
map:tabDocumenti_Classificazione_sistematico a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property dcterms:subject;
d2rq:join "tabDocumenti.IDDoc => legDocClassificazione.IDDoc";
d2rq:join "legDocClassificazione.IDClassificazione => tabClassificazioni.Id";
d2rq:uriPattern "Category/@@tabClassificazioni.NS@@";
.
map:tabDocumenti_Classificazione_descrittore a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property dcterms:subject;
d2rq:join "tabDocumenti.IDDoc => legDocClassificazione.IDDoc";
d2rq:join "legDocClassificazione.IDClassificazione => tabClassificazioni.Id";
d2rq:uriPattern "SubjectHeading/@@tabClassificazioni.ND@@";
d2rq:condition "tabClassificazioni.ND != ''";
.
map:tabDocumenti_PagInizio a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property bibo:pageStart;
d2rq:datatype xsd:integer;
d2rq:join "tabDocumenti.IDRifBibl => tabRifBibl.IDRifBibl";
d2rq:join "tabRifBibl.IDRivista => tabRiviste.IDRivista";
d2rq:condition "LEFT(tabRiviste.IDRivista, 1) != '9'";
d2rq:column "tabDocumenti.PagInizio";
.
map:tabDocumenti_PagInizio_2 a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property bibo:numPages;
d2rq:datatype xsd:integer;
d2rq:join "tabDocumenti.IDRifBibl => tabRifBibl.IDRifBibl";
d2rq:join "tabRifBibl.IDRivista => tabRiviste.IDRivista";
d2rq:condition "tabDocumenti.PagFine = 0";
d2rq:condition "LEFT(tabRiviste.IDRivista, 1) = '9'";
d2rq:column "tabDocumenti.PagInizio";
.
map:tabDocumenti_PagFine a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property bibo:pageEnd;
d2rq:datatype xsd:integer;
d2rq:condition "tabDocumenti.PagFine != 0";
d2rq:column "tabDocumenti.PagFine";
.
map:tabDocumenti_IDBib a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property dogi:bibliographyType;
d2rq:join "tabDocumenti.IDBib => tabBib.IDBib";
d2rq:uriPattern "BibliographyType/@@tabBib.URILabel@@";
d2rq:additionalPropertyDefinitionProperty map:bibliographyType_label;
d2rq:additionalPropertyDefinitionProperty map:bibliographyType_comment;
d2rq:additionalPropertyDefinitionProperty map:bibo_article_domain;
d2rq:additionalPropertyDefinitionProperty map:dogi_bibliography_type_range;
.
map:bibliographyType_label a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:label;
d2rq:propertyValue "Bibliography Type"@en;
.
map:bibliographyType_comment a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:comment;
d2rq:propertyValue "The type of bibliography included in the contribution."@en;
.
map:tabDocumenti_LIN a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property lexvont:language; # Recommended best practice is to use a controlled vocabulary such as RFC 4646 [RFC4646]. http://id.loc.gov/vocabulary/iso639-2/<<<ita>>>.html
d2rq:join "tabDocumenti.LIN => tabLingua.IDLingua";
d2rq:uriPattern "http://www.lexvo.org/page/iso639-3/@@tabLingua.ISO639-2@@";
.
map:tabDocumenti_LO a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property lexvont:language; # Recommended best practice is to use a controlled vocabulary such as RFC 4646 [RFC4646].
d2rq:join "tabDocumenti.LO => tabLingua.IDLingua";
d2rq:uriPattern "http://www.lexvo.org/page/iso639-3/@@tabLingua.ISO639-2@@";
.
map:tabDocumenti_LR a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property lexvont:language; # Recommended best practice is to use a controlled vocabulary such as RFC 4646 [RFC4646].
d2rq:join "tabDocumenti.LR => tabLingua.IDLingua";
d2rq:uriPattern "http://www.lexvo.org/page/iso639-3/@@tabLingua.ISO639-2@@";
.
map:tabDocumenti_LA a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property lexvont:language; # Recommended best practice is to use a controlled vocabulary such as RFC 4646 [RFC4646].
d2rq:join "tabDocumenti.LA => tabLingua.IDLingua";
d2rq:uriPattern "http://www.lexvo.org/page/iso639-3/@@tabLingua.ISO639-2@@";
.
map:tabDocumenti_Nota a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property dcterms:source;
d2rq:condition "tabDocumenti.Nota != ''";
d2rq:column "tabDocumenti.Nota";
.
map:tabDocumenti_Testo_Titolo a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property dcterms:title;
d2rq:join "tabDocumenti.IDDoc => tabTesti.IDDoc";
d2rq:column "tabTesti.Testo";
d2rq:condition "tabTesti.Tipo = 0";
.
map:tabDocumenti_Citazione a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property dcterms:bibliographicCitation;
d2rq:lang "it";
d2rq:column "tabDocumenti.Citazione";
.
map:tabDocumenti_Testo_Riassunto_900 a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property dogi:abstractEditedByDogi;
d2rq:join "tabDocumenti.IDDoc => tabTesti.IDDoc";
d2rq:lang "it";
d2rq:column "tabTesti.Testo";
d2rq:condition "tabDocumenti.IDTAbs = 900";
d2rq:condition "tabTesti.Tipo = 1";
d2rq:additionalPropertyDefinitionProperty map:journal_article3_label;
d2rq:additionalPropertyDefinitionProperty map:journal_article3_comment;
d2rq:additionalPropertyDefinitionProperty map:bibo_article_domain;
d2rq:additionalPropertyDefinitionProperty map:literal_range;
d2rq:additionalPropertyDefinitionProperty map:subProperty_bibo_abstract;
d2rq:additionalPropertyDefinitionProperty map:subProperty_dcterms_abstract;
.
map:journal_article3_label a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:label;
d2rq:propertyValue "Abstract edited by DoGi"@en;
.
map:journal_article3_comment a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:comment;
d2rq:propertyValue "An abstract curated by the staff of DoGi."@en;
.
map:tabDocumenti_Testo_Sommario a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property dcterms:tableOfContents;
d2rq:lang "it";
d2rq:join "tabDocumenti.IDDoc => tabTesti.IDDoc";
d2rq:condition "tabTesti.Tipo = 2";
d2rq:column "tabTesti.Testo";
.
map:tabDocumenti_Testo_Traduzione a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property dogi:translation;
d2rq:join "tabDocumenti.IDDoc => tabTesti.IDDoc";
d2rq:condition "tabTesti.Tipo = 3";
d2rq:column "tabTesti.Testo";
d2rq:additionalPropertyDefinitionProperty map:translation_label;
d2rq:additionalPropertyDefinitionProperty map:translation_comment;
d2rq:additionalPropertyDefinitionProperty map:literal_range;
d2rq:additionalPropertyDefinitionProperty map:bibo_article_domain;
.
map:translation_label a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:label;
d2rq:propertyValue "Translation"@en;
.
map:translation_comment a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:comment;
d2rq:propertyValue "The translation of the title of the contribution."@en;
.
map:tabDocumenti_Testo_TestoNota a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property dcterms:source;
d2rq:lang "it";
d2rq:join "tabDocumenti.IDDoc => tabTesti.IDDoc";
d2rq:condition "tabTesti.Tipo = 4";
d2rq:column "tabTesti.Testo";
.
map:tabDocumenti_Testo_InTemaDi a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property dcterms:description;
d2rq:lang "it";
d2rq:join "tabDocumenti.IDDoc => tabTesti.IDDoc";
d2rq:condition "tabTesti.Tipo = 7";
d2rq:column "tabTesti.Testo";
.
map:tabDocumenti_Testo_AbstractInglese a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property bibo:abstract;
d2rq:join "tabDocumenti.IDDoc => tabTesti.IDDoc";
d2rq:lang "en";
d2rq:condition "tabTesti.Tipo = 8";
d2rq:column "tabTesti.Testo";
.
map:tabDocumenti_Parte a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property bibo:section;
d2rq:join "tabDocumenti.IDRifBibl => tabRifBibl.IDRifBibl";
d2rq:condition "tabRifBibl.Parte != ''";
d2rq:column "tabRifBibl.Parte";
.
map:tabDocumenti_Fascicolo a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property bibo:reproducedIn;
d2rq:property dcterms:isPartOf;
d2rq:join "tabDocumenti.IDRifBibl => tabRifBibl.IDRifBibl";
d2rq:uriPattern "Issue/@@tabRifBibl.LocalURI@@";
.
map:tabDocumenti_Data_1 a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property bibo:issued;
d2rq:join "tabDocumenti.IDRifBibl => tabRifBibl.IDRifBibl";
d2rq:datatype xsd:date;
d2rq:condition "CHAR_LENGTH(Data) = 10"; # AAAA-MM-DD
d2rq:column "tabRifBibl.Data";
.
map:tabDocumenti_Data_2 a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property bibo:issued;
d2rq:join "tabDocumenti.IDRifBibl => tabRifBibl.IDRifBibl";
d2rq:datatype xsd:gYearMonth;
d2rq:condition "CHAR_LENGTH(Data) = 7"; # AAAA-MM-DD
d2rq:column "tabRifBibl.Data";
.
map:tabDocumenti_Data_3 a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDocumenti;
d2rq:property bibo:issued;
d2rq:join "tabDocumenti.IDRifBibl => tabRifBibl.IDRifBibl";
d2rq:datatype xsd:gYear;
d2rq:condition "CHAR_LENGTH(Data) = 4"; # AAAA-MM-DD
d2rq:column "tabRifBibl.Data";
.
### Table tabSourceOfLaw
###
map:tabSourceOfLaw a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:uriPattern "SourceOfLaw/@@tabSourceOfLaw.LocalURI@@";
d2rq:classDefinitionLabel "Source of law"@en;
d2rq:classDefinitionComment "A source of law is the origin of a law and it may be international, national, regional, ans so on. It represents a source as a whole or a certain partition such as an article, paragraph, letter, item or annex."@en;
d2rq:additionalClassDefinitionProperty map:subClassOf_bibo_document;
d2rq:additionalClassDefinitionProperty map:subClassOf_foaf_document;
d2rq:condition "tabSourceOfLaw.LocalURI != ''";
d2rq:class dogi:SourceOfLaw;
d2rq:class bibo:Document;
d2rq:class foaf:Document;
.
map:tabSourceOfLaw_1 a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:uriPattern "SourceOfLaw/@@tabSourceOfLaw.LocalURI@@";
d2rq:condition "tabSourceOfLaw.ecli != ''";
d2rq:additionalClassDefinitionProperty map:subClassOf_dogi_sourceOfLaw;
d2rq:classDefinitionLabel "Case law"@en;
d2rq:classDefinitionComment ""@en;
d2rq:class dogi:CaseLaw;
.
map:tabSourceOfLaw_2 a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:uriPattern "SourceOfLaw/@@tabSourceOfLaw.LocalURI@@";
d2rq:condition "tabSourceOfLaw.urnNirAtto != ''";
d2rq:additionalClassDefinitionProperty map:subClassOf_dogi_sourceOfLaw;
d2rq:classDefinitionLabel "Legislation"@en;
d2rq:classDefinitionComment ""@en;
d2rq:class dogi:Legislation;
.
map:tabSourceOfLaw_3 a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:uriPattern "SourceOfLaw/@@tabSourceOfLaw.LocalURI@@";
d2rq:condition "tabSourceOfLaw.celexAtto != ''";
d2rq:condition "tabSourceOfLaw.IDTP = 'GEC'";
d2rq:additionalClassDefinitionProperty map:subClassOf_dogi_sourceOfLaw;
d2rq:classDefinitionLabel "Case law"@en;
d2rq:classDefinitionComment ""@en;
d2rq:class dogi:CaseLaw;
.
map:tabSourceOfLaw_4 a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:uriPattern "SourceOfLaw/@@tabSourceOfLaw.LocalURI@@";
d2rq:condition "tabSourceOfLaw.celexAtto != ''";
d2rq:condition "tabSourceOfLaw.IDTP = 'NIC'";
d2rq:additionalClassDefinitionProperty map:subClassOf_dogi_sourceOfLaw;
d2rq:classDefinitionLabel "Legislation"@en;
d2rq:classDefinitionComment ""@en;
d2rq:class dogi:Legislation;
.
map:tabSourceOfLaw__label a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property rdfs:label;
d2rq:pattern "@@tabSourceOfLaw.testoPart@@ @@tabSourceOfLaw.Testo@@";
.
# URN NIR
map:tabSourceOfLaw_urnNirAtto a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property dogi:urnNir;
d2rq:property dcterms:identifier;
d2rq:sqlExpression "CONCAT(tabSourceOfLaw.urnNirAtto, (CASE WHEN (tabSourceOfLaw.urnNirPart != '') THEN CONCAT(';', tabSourceOfLaw.urnNirPart) ELSE '' END))";
d2rq:condition "tabSourceOfLaw.urnNirAtto != ''";
d2rq:additionalPropertyDefinitionProperty map:urnNir_label;
d2rq:additionalPropertyDefinitionProperty map:urnNir_comment;
d2rq:additionalPropertyDefinitionProperty map:dogi_source_of_law_domain;
d2rq:additionalPropertyDefinitionProperty map:literal_range;
d2rq:additionalPropertyDefinitionProperty map:subProperty_dcterms_identifier;
.
map:urnNir_label a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:label;
d2rq:propertyValue "URN NIR"@en;
.
map:urnNir_comment a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:comment;
d2rq:propertyValue "The Uniform Resource Name (URN) of the Norma In Rete (NIR) project for the centralized access to the italian legislation."@en;
.
# URN CELEX
map:tabSourceOfLaw_celex a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property dogi:celex;
d2rq:property dcterms:identifier;
d2rq:sqlExpression "CONCAT(tabSourceOfLaw.celexAtto, tabSourceOfLaw.celexPart)";
d2rq:condition "tabSourceOfLaw.celexAtto != ''";
d2rq:additionalPropertyDefinitionProperty map:celex_label;
d2rq:additionalPropertyDefinitionProperty map:celex_comment;
d2rq:additionalPropertyDefinitionProperty map:dogi_source_of_law_domain;
d2rq:additionalPropertyDefinitionProperty map:literal_range;
d2rq:additionalPropertyDefinitionProperty map:subProperty_dcterms_identifier;
.
map:celex_label a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:label;
d2rq:propertyValue "Celex"@en;
.
map:celex_comment a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:comment;
d2rq:propertyValue "CELEX numbers are the unique reference numbers assigned to EU documents on CELEX: the documentation system for EU documents produced by the Office for Official Publications of the European Communities (EUR-OP). "@en;
.
# URN ECLI
map:tabSourceOfLaw_ecli a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property dogi:ecli;
d2rq:property dcterms:identifier;
d2rq:uriPattern "https://e-justice.europa.eu/ecli/@@tabSourceOfLaw.ecli@@";
d2rq:condition "tabSourceOfLaw.ecli != ''";
d2rq:additionalPropertyDefinitionProperty map:ecli_label;
d2rq:additionalPropertyDefinitionProperty map:ecli_comment;
d2rq:additionalPropertyDefinitionProperty map:dogi_source_of_law_domain;
d2rq:additionalPropertyDefinitionProperty map:literal_range;
d2rq:additionalPropertyDefinitionProperty map:subProperty_dcterms_identifier;
.
map:ecli_label a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:label;
d2rq:propertyValue "ECLI"@en;
.
map:ecli_comment a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:comment;
d2rq:propertyValue "Ecli ..."@en;
.
# External links
map:tabSourceOfLaw_normattiva a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property schema:url;
d2rq:property foaf:page;
d2rq:uriSqlExpression "CASE WHEN (tabSourceOfLaw.urnNirPart != '') THEN (CONCAT(CONCAT('http://www.normattiva.it/uri-res/N2Ls?', tabSourceOfLaw.urnNirAtto), CONCAT(';~', tabSourceOfLaw.urnNirPart))) ELSE CONCAT('http://www.normattiva.it/uri-res/N2Ls?', tabSourceOfLaw.urnNirAtto) END";
d2rq:condition "tabSourceOfLaw.urnNirAtto != ''";
.
map:tabSourceOfLaw_celexAtto a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property schema:url;
d2rq:property foaf:page;
d2rq:uriSqlExpression "CONCAT('http://eur-lex.europa.eu/legal-content/IT/TXT/?uri=celex:', tabSourceOfLaw.celexAtto)";
d2rq:condition "tabSourceOfLaw.celexAtto != ''";
.
# ARTICLE = articolo + ripA
map:tabSourceOfLaw_Articolo a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property dogi:article;
d2rq:sqlExpression "CONCAT(tabSourceOfLaw.Articolo, (CASE WHEN (tabSourceOfLaw.ripA != '') THEN CONCAT(' ', tabSourceOfLaw.ripA) ELSE '' END))";
d2rq:condition "tabSourceOfLaw.Articolo != ''";
d2rq:additionalPropertyDefinitionProperty map:article_label;
d2rq:additionalPropertyDefinitionProperty map:article_comment;
d2rq:additionalPropertyDefinitionProperty map:dogi_source_of_law_domain;
d2rq:additionalPropertyDefinitionProperty map:literal_range;
.
map:article_label a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:label;
d2rq:propertyValue "Article"@en;
.
map:article_comment a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:comment;
d2rq:propertyValue "An enumerated section of a specific source of law."@en;
.
# PARAGRAPH = comma + ripC
map:tabSourceOfLaw_Comma a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property dogi:paragraph;
d2rq:sqlExpression "CONCAT(tabSourceOfLaw.Comma, (CASE WHEN (tabSourceOfLaw.ripC != '') THEN CONCAT(' ', tabSourceOfLaw.ripC) ELSE '' END))";
d2rq:condition "tabSourceOfLaw.Comma != ''";
d2rq:additionalPropertyDefinitionProperty map:paragraph_label;
d2rq:additionalPropertyDefinitionProperty map:paragraph_comment;
d2rq:additionalPropertyDefinitionProperty map:dogi_source_of_law_domain;
d2rq:additionalPropertyDefinitionProperty map:literal_range;
.
map:paragraph_label a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:label;
d2rq:propertyValue "Paragraph"@en;
.
map:paragraph_comment a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:comment;
d2rq:propertyValue "A sub-section of an article of a specific source of law."@en;
.
# LETTER = lettera
map:tabSourceOfLaw_Lettera a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property dogi:letter;
d2rq:column "tabSourceOfLaw.Lettera";
d2rq:condition "tabSourceOfLaw.Lettera != ''";
d2rq:additionalPropertyDefinitionProperty map:letter_label;
d2rq:additionalPropertyDefinitionProperty map:letter_comment;
d2rq:additionalPropertyDefinitionProperty map:dogi_source_of_law_domain;
d2rq:additionalPropertyDefinitionProperty map:literal_range;
.
map:letter_label a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:label;
d2rq:propertyValue "Letter"@en;
.
map:letter_comment a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:comment;
d2rq:propertyValue "A sub-section of a paragraph of a specific source of law."@en;
.
# ITEM = numeroP
map:tabSourceOfLaw_NumeroP a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property dogi:item;
d2rq:column "tabSourceOfLaw.NumeroP";
d2rq:condition "tabSourceOfLaw.NumeroP != ''";
d2rq:additionalPropertyDefinitionProperty map:number_label;
d2rq:additionalPropertyDefinitionProperty map:number_comment;
d2rq:additionalPropertyDefinitionProperty map:dogi_source_of_law_domain;
d2rq:additionalPropertyDefinitionProperty map:literal_range;
.
map:number_label a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:label;
d2rq:propertyValue "Item"@en;
.
map:number_comment a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:comment;
d2rq:propertyValue "A sub-section of a letter of a specific source of law."@en;
.
# ANNEX = allegato
map:tabSourceOfLaw_Allegato a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property dogi:annex;
d2rq:column "tabSourceOfLaw.Allegato";
d2rq:condition "tabSourceOfLaw.Allegato != ''";
d2rq:additionalPropertyDefinitionProperty map:annex_label;
d2rq:additionalPropertyDefinitionProperty map:annex_comment;
d2rq:additionalPropertyDefinitionProperty map:dogi_source_of_law_domain;
d2rq:additionalPropertyDefinitionProperty map:literal_range;
.
map:annex_label a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:label;
d2rq:propertyValue "Annex"@en;
.
map:annex_comment a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:comment;
d2rq:propertyValue "An appendix of a specific source of law."@en;
.
map:tabSourceOfLaw_NomeFonte a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property dcterms:description;
d2rq:lang "it";
d2rq:join "tabSourceOfLaw.IDNomeFonte => tabNomeFonte.IDNomeFonte";
d2rq:column "tabNomeFonte.NomeFonte";
.
map:tabSourceOfLaw_NomeFonte_2 a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property dcterms:description;
d2rq:lang "it";
d2rq:join "tabSourceOfLaw.IDTP => tabTP.IDTP";
d2rq:column "tabTP.TipoProvvedimento";
d2rq:condition "tabSourceOfLaw.IDNomeFonte = 0";
.
map:tabSourceOfLaw_Data a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property dcterms:date;
d2rq:datatype xsd:date;
d2rq:column "tabSourceOfLaw.Data";
.
map:tabSourceOfLaw_Numero a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property dogi:number;
d2rq:column "tabSourceOfLaw.Numero";
d2rq:condition "tabSourceOfLaw.Numero != ''";
d2rq:additionalPropertyDefinitionProperty map:numero_label;
d2rq:additionalPropertyDefinitionProperty map:numero_comment;
d2rq:additionalPropertyDefinitionProperty map:dogi_source_of_law_domain;
d2rq:additionalPropertyDefinitionProperty map:literal_range;
.
map:numero_label a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:label;
d2rq:propertyValue "Number"@en;
.
map:numero_comment a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:comment;
d2rq:propertyValue "A number is ..."@en;
.
map:tabSourceOfLaw_Ordinanza a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property dogi:order;
d2rq:datatype xsd:integer;
d2rq:column "tabSourceOfLaw.Ordinanza";
d2rq:condition "tabSourceOfLaw.Ordinanza != 0";
d2rq:additionalPropertyDefinitionProperty map:ordinanza_label;
d2rq:additionalPropertyDefinitionProperty map:ordinanza_comment;
d2rq:additionalPropertyDefinitionProperty map:dogi_source_of_law_domain;
d2rq:additionalPropertyDefinitionProperty map:literal_range;
.
map:ordinanza_label a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:label;
d2rq:propertyValue "Order"@en;
.
map:ordinanza_comment a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:comment;
d2rq:propertyValue "An order of a court."@en;
.
map:tabSourceOfLaw_Decreto a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property dogi:decree;
d2rq:datatype xsd:integer;
d2rq:column "tabSourceOfLaw.Decreto";
d2rq:condition "tabSourceOfLaw.Decreto != 0";
d2rq:additionalPropertyDefinitionProperty map:decreto_label;
d2rq:additionalPropertyDefinitionProperty map:decreto_comment;
d2rq:additionalPropertyDefinitionProperty map:dogi_source_of_law_domain;
d2rq:additionalPropertyDefinitionProperty map:literal_range;
.
map:decreto_label a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:label;
d2rq:propertyValue "Decree"@en;
.
map:decreto_comment a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:comment;
d2rq:propertyValue "A decree of a court."@en;
.
map:tabSourceOfLaw_IDSezione a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property dogi:section;
d2rq:lang "it";
d2rq:join "tabSourceOfLaw.IDSezione => tabSezioni.IDSezione";
d2rq:column "tabSezioni.Sezione";
d2rq:condition "tabSourceOfLaw.IDSezione != 0";
d2rq:additionalPropertyDefinitionProperty map:section_label;
d2rq:additionalPropertyDefinitionProperty map:section_comment;
d2rq:additionalPropertyDefinitionProperty map:dogi_source_of_law_domain;
d2rq:additionalPropertyDefinitionProperty map:literal_range;
.
map:section_label a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:label;
d2rq:propertyValue "Section"@en;
.
map:section_comment a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:comment;
d2rq:propertyValue "A distinct and numbered subdivisions in a court."@en;
.
map:tabSourceOfLaw_IDAutorita a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property dogi:authority;
d2rq:lang "it";
d2rq:join "tabSourceOfLaw.IDAutorita => tabAutorita.IDAutorita";
d2rq:column "tabAutorita.Autorita";
d2rq:condition "tabSourceOfLaw.IDAutorita != 0";
d2rq:additionalPropertyDefinitionProperty map:authority_label;
d2rq:additionalPropertyDefinitionProperty map:authority_comment;
d2rq:additionalPropertyDefinitionProperty map:dogi_source_of_law_domain;
d2rq:additionalPropertyDefinitionProperty map:literal_range;
.
map:authority_label a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:label;
d2rq:propertyValue "Authority"@en;
.
map:authority_comment a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:comment;
d2rq:propertyValue "An indipendent Authority."@en;
.
map:tabSourceOfLaw_IDAmministrazione a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property dogi:administration;
d2rq:lang "it";
d2rq:join "tabSourceOfLaw.IDAmministrazione => tabAmministrazioni.IDAmministrazione";
d2rq:column "tabAmministrazioni.Amministrazione";
d2rq:condition "tabSourceOfLaw.IDAmministrazione != 0";
d2rq:additionalPropertyDefinitionProperty map:amministrazione_label;
d2rq:additionalPropertyDefinitionProperty map:amministrazione_comment;
d2rq:additionalPropertyDefinitionProperty map:dogi_source_of_law_domain;
d2rq:additionalPropertyDefinitionProperty map:literal_range;
.
map:amministrazione_label a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:label;
d2rq:propertyValue "Administration"@en;
.
map:amministrazione_comment a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:comment;
d2rq:propertyValue "A governative body."@en;
.
map:tabSourceOfLaw_DBpedia a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property owl:sameAs;
d2rq:join "tabSourceOfLaw.IDSourceOfLaw => CAMERA_leggi.IDSourceOfLaw";
d2rq:uriColumn "CAMERA_leggi.uri";
.
map:SourceOfLaw_tabDocumenti a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabSourceOfLaw;
d2rq:property dcterms:isReferencedBy;
d2rq:property bibo:citedBy;
d2rq:join "tabSourceOfLaw.IDSourceOfLaw => legDocSourceOfLaw.IDSourceOfLaw";
d2rq:join "legDocSourceOfLaw.IDDoc => tabDocumenti.IDDoc";
d2rq:uriPattern "Article/@@tabDocumenti.LocalURI@@";
.
### Table tabClassificazioni
###
map:tabClassificazioni a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:uriSqlExpression "CONCAT('http://www.dogi.cnr.it/resource/Classification/', CONCAT(tabClassificazioni.NS, (CASE WHEN (tabClassificazioni.ND != '') THEN CONCAT('_', tabClassificazioni.ND) ELSE '' END)))";
d2rq:classDefinitionLabel "Classification"@en;
d2rq:classDefinitionComment "An entry of the classification scheme for law, specifically developed for the DoGi database. It could be a pair category-subjectHeading or only a category."@en;
d2rq:class dogi:Classification;
.
map:classification__label a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabClassificazioni;
d2rq:property rdfs:label;
d2rq:lang 'it';
d2rq:column "tabClassificazioni.label";
.
map:classification_NS a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabClassificazioni;
d2rq:property dogi:category;
d2rq:uriPattern "Category/@@tabClassificazioni.NS@@";
d2rq:additionalPropertyDefinitionProperty map:sistematico_label;
d2rq:additionalPropertyDefinitionProperty map:sistematico_comment;
d2rq:additionalPropertyDefinitionProperty map:dogi_classification_domain;
d2rq:additionalPropertyDefinitionProperty map:dogi_category_range;
.
map:sistematico_label a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:label;
d2rq:propertyValue "Category"@en;
.
map:sistematico_comment a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:comment;
d2rq:propertyValue "Indicates the category of a certain classification."@en;
.
map:classification_ND a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabClassificazioni;
d2rq:property dogi:subjectHeading;
d2rq:uriPattern "SubjectHeading/@@tabClassificazioni.ND@@";
d2rq:condition "tabClassificazioni.ND != ''";
d2rq:additionalPropertyDefinitionProperty map:descrittore_label;
d2rq:additionalPropertyDefinitionProperty map:descrittore_comment;
d2rq:additionalPropertyDefinitionProperty map:dogi_classification_domain;
d2rq:additionalPropertyDefinitionProperty map:dogi_subject_heading_range;
.
map:descrittore_label a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:label;
d2rq:propertyValue "Subject heading"@en;
.
map:descrittore_comment a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:comment;
d2rq:propertyValue "Indicates the subject heading of a certain classification."@en;
.
### Table tabDescrittori
###
map:tabDescrittori a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:uriPattern "SubjectHeading/@@tabDescrittori.CodiceD@@";
d2rq:classDefinitionLabel "Subject heading"@en;
d2rq:classDefinitionComment "An additional descriptor that could be associated to a category for better qualifying its context and meaning."@en;
d2rq:additionalClassDefinitionProperty map:subClassOf_skos_concept;
d2rq:class dogi:SubjectHeading;
d2rq:class skos:Concept;
.
map:tabDescrittori__label a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDescrittori;
d2rq:property skos:prefLabel;
d2rq:lang 'it';
d2rq:column "tabDescrittori.Descrizione";
.
map:tabDescrittori_Concept_Scheme a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDescrittori;
d2rq:property skos:inScheme;
d2rq:uriPattern "ConceptScheme/SubjectHeadings";
.
map:tabDescrittori_Top_Concept a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabDescrittori;
d2rq:property skos:topConceptOf;
d2rq:uriPattern "ConceptScheme/SubjectHeadings";
.
### Table tabBib
###
map:tabBib a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:uriPattern "BibliographyType/@@tabBib.URILabel@@";
d2rq:classDefinitionLabel "Type of bibliography"@en;
d2rq:classDefinitionComment "The type of bibliography can be at the end of an article, in the footnotes or in the body of the text."@en;
d2rq:class dogi:BibliographyType;
.
map:tabBib__label a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabBib;
d2rq:property rdfs:label;
d2rq:lang "en";
d2rq:pattern "@@tabBib.Translation@@";
.
### Table tabResponsabilita
###
map:tabResponsabilita a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:uriPattern "Agent/@@tabResponsabilita.IDResponsabilita@@";
.
map:tabResponsabilita_primary_type a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabResponsabilita;
d2rq:property rdf:type;
d2rq:constantValue foaf:Agent;
.
map:tabResponsabilita_type a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabResponsabilita;
d2rq:property rdf:type;
d2rq:condition "tabResponsabilita.SecondoElemento != ''";
d2rq:constantValue foaf:Person;
.
map:tabResponsabilita_type_2 a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabResponsabilita;
d2rq:property rdf:type;
d2rq:condition "tabResponsabilita.SecondoElemento = ''";
d2rq:constantValue foaf:Organization;
.
map:tabResponsabilita__label a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabResponsabilita;
d2rq:property rdfs:label;
d2rq:pattern "@@tabResponsabilita.PrimoElemento@@ @@tabResponsabilita.SecondoElemento@@";
.
map:tabResponsabilita_PrimoElemento a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabResponsabilita;
d2rq:property foaf:familyName;
d2rq:column "tabResponsabilita.PrimoElemento";
.
map:tabResponsabilita_SecondoElemento a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabResponsabilita;
d2rq:property foaf:firstName;
d2rq:condition "tabResponsabilita.SecondoElemento != ''";
d2rq:column "tabResponsabilita.SecondoElemento";
.
map:tabResponsabilita_DBpedia a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabResponsabilita;
d2rq:property owl:sameAs;
d2rq:join "tabResponsabilita.IDResponsabilita => DBpedia_autori.IDResponsabilita";
d2rq:uriColumn "DBpedia_autori.uri";
.
### Table tabRifBibl
###
map:tabRifBibl a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:uriPattern "Issue/@@tabRifBibl.LocalURI@@";
d2rq:class bibo:Issue;
.
map:tabRifBibl__label a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabRifBibl;
d2rq:lang "it";
d2rq:property rdfs:label;
d2rq:column "tabRifBibl.Label";
.
map:tabRifBibl_IDRivista a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabRifBibl;
d2rq:property bibo:reproducedIn;
d2rq:property dcterms:isPartOf;
d2rq:join "tabRifBibl.IDRivista => tabRiviste.IDRivista";
d2rq:uriPattern "Journal/@@tabRiviste.LocalURI@@";
.
map:tabRifBibl_Fascicolo a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabRifBibl;
d2rq:property bibo:issue;
d2rq:datatype xsd:integer;
d2rq:condition "tabRifBibl.Fascicolo != ''";
d2rq:column "tabRifBibl.Fascicolo";
.
map:tabRifBibl_Data_1 a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabRifBibl;
d2rq:property bibo:issued;
d2rq:datatype xsd:date;
d2rq:condition "CHAR_LENGTH(Data) = 10"; # AAAA-MM-DD
d2rq:column "tabRifBibl.Data";
.
map:tabRifBibl_Data_2 a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabRifBibl;
d2rq:property bibo:issued;
d2rq:datatype xsd:gYearMonth;
d2rq:condition "CHAR_LENGTH(Data) = 7"; # AAAA-MM
d2rq:column "tabRifBibl.Data";
.
map:tabRifBibl_Data_3 a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabRifBibl;
d2rq:property bibo:issued;
d2rq:datatype xsd:gYear;
d2rq:condition "CHAR_LENGTH(Data) = 4"; # AAAA
d2rq:column "tabRifBibl.Data";
.
map:tabRifBibl_Annata a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabRifBibl;
d2rq:property dcterms:issued;
d2rq:datatype xsd:gYear;
d2rq:condition "tabRifBibl.Annata != ''";
d2rq:column "tabRifBibl.Annata";
.
map:tabRifBibl_Volume a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabRifBibl;
d2rq:property bibo:volume;
d2rq:datatype xsd:integer;
d2rq:condition "tabRifBibl.Volume != ''";
d2rq:column "tabRifBibl.Volume";
.
map:tabRifBibl_Supplemento a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabRifBibl;
d2rq:property dogi:supplement;
d2rq:condition "tabRifBibl.Supplemento != ''";
d2rq:column "tabRifBibl.Supplemento";
d2rq:additionalPropertyDefinitionProperty map:supplement_label;
d2rq:additionalPropertyDefinitionProperty map:supplement_comment;
d2rq:additionalPropertyDefinitionProperty map:bibo_issue_domain;
d2rq:additionalPropertyDefinitionProperty map:literal_range;
.
map:supplement_label a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:label;
d2rq:propertyValue "Supplement"@en;
.
map:supplement_comment a d2rq:AdditionalProperty;
d2rq:propertyName rdfs:comment;
d2rq:propertyValue "A supplement of a journal issue."@en;
.
map:tabRifBibl_Article a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:tabRifBibl;
d2rq:property dcterms:hasPart;
d2rq:join "tabRifBibl.IDRifBibl => tabDocumenti.IDRifBibl";
d2rq:uriPattern "Article/@@tabDocumenti.LocalURI@@";
.
### Table tabRiviste
###
map:tabRiviste a d2rq:ClassMap;
d2rq:dataStorage map:database;