Project

General

Profile

« Previous | Next » 

Revision 48759

Update CLARIn 365 mapping

View differences:

clarin_datasets_365_mapping.xml
19 19
        <source>
20 20
            <source_info>
21 21
                <source_schema schema_file="target___28-09-2016233608___2076.xml" type="" version=""/>
22
                <namespaces>
23
                    <namespace prefix="" uri=""/>
24
                </namespaces>
22 25
            </source_info>
23 26
            <source_collection/>
24 27
        </source>
......
64 67
            <example_data_from>Clarin</example_data_from>
65 68
            <example_data_contact_person>Matteo Lorenzini</example_data_contact_person>
66 69
            <example_data_source_record xml_link="target___28-09-2016233608___2076.xml"/>
67
            <generator_policy_info generator_link="PARTHENOS-GeneratorPolicy_v1.0.1___27-03-2017121458___6731.xml"/>
70
            <generator_policy_info generator_link="acdm_gen_latest___11-07-2017141138___4026.xml"/>
68 71
            <example_data_target_record rdf_link="Mapping365.ttl"/>
69 72
        </example_data_info>
70 73
    </info>
......
93 96
                                <instance_info>
94 97
                                    <constant>metadata</constant>
95 98
                                </instance_info>
96
                                <instance_generator name="ConceptURI">
97
                                    <arg name="term" type="constant">Metadata</arg>
99
                                <instance_generator name="ConceptURI_2step">
100
                                    <arg name="term1" type="constant">datasettype</arg>
101
                                    <arg name="term2" type="constant">metadata</arg>
98 102
                                </instance_generator>
99 103
                                <label_generator name="Constant">
100 104
                                    <arg name="text" type="constant">Metadata</arg>
......
156 160
                        <entity variable="data1">
157 161
                            <type>crmpe:PE24_Volatile_Dataset</type>
158 162
                            <instance_generator name="DatasetURI">
159
                                <arg name="term" type="xpath">cmdp:Collection/cmdp:GeneralInfo/cmdp:Version/text()</arg>
163
                                <arg name="term" type="xpath">cmdp:Collection/cmdp:GeneralInfo/cmdp:Title/text()</arg>
160 164
                            </instance_generator>
165
                            <label_generator name="SimpleLabel">
166
                                <arg name="label" type="xpath">cmdp:Collection/cmdp:GeneralInfo/cmdp:Title/text()</arg>
167
                            </label_generator>
161 168
                        </entity>
162 169
                    </target_node>
163 170
                </range>
......
183 190
                            <type>crmpe:PE15_Data_E-Service</type>
184 191
                            <instance_generator name="UUID"/>
185 192
                            <label_generator name="CompositeLabel">
186
                                <arg name="label" type="constant">Hosting for </arg>
193
                                <arg name="label" type="constant">Online Hosting for </arg>
187 194
                                <arg name="text" type="xpath">../../../cmd:Components/cmdp:TextCorpusProfile/cmdp:Collection/cmdp:GeneralInfo/cmdp:Title/text()</arg>
188 195
                            </label_generator>
189 196
                        </entity>
......
237 244
                        <entity>
238 245
                            <type>crm:E52_Time-Span</type>
239 246
                            <instance_generator name="UUID"/>
247
                            <label_generator name="CompositeLabel">
248
                                <arg name="label" type="constant">Time Span for the Creation of </arg>
249
                                <arg name="text" type="xpath">../cmd:MdSelfLink/text()</arg>
250
                            </label_generator>
240 251
                        </entity>
241 252
                        <relationship>crm:P82_at_some_time_within</relationship>
242 253
                    </target_relation>
......
304 315
                                    <instance_info>
305 316
                                        <constant>cmdi-profile</constant>
306 317
                                    </instance_info>
307
                                    <instance_generator name="ConceptURI">
308
                                        <arg name="term" type="constant">software-type/cmdi-profile</arg>
318
                                    <instance_generator name="ConceptURI_2step">
319
                                        <arg name="term1" type="constant">softwaretype</arg>
320
                                        <arg name="term2" type="constant">cmdiprofile</arg>
309 321
                                    </instance_generator>
310 322
                                    <label_generator name="Constant">
311 323
                                        <arg name="text" type="constant">cmdi-profile</arg>
......
330 342
            <link>
331 343
                <path>
332 344
                    <source_relation>
333
                        <relation>cmd:ResourceType</relation>
345
                        <relation>cmd:ResourceRef</relation>
334 346
                    </source_relation>
335 347
                    <target_relation>
336
                        <relationship>crm:P2_has_type</relationship>
348
                        <relationship>crmpe:PP49_provides_access_point</relationship>
337 349
                    </target_relation>
338 350
                </path>
339 351
                <range>
340
                    <source_node>cmd:ResourceType</source_node>
352
                    <source_node>cmd:ResourceRef</source_node>
341 353
                    <target_node>
342 354
                        <entity>
343
                            <type>crm:E55_Type</type>
344
                            <instance_generator name="ConceptURI">
345
                                <arg name="term" type="xpath">text()</arg>
355
                            <type>crmpe:PE29_Access_Point</type>
356
                            <instance_generator name="URIorUUID">
357
                                <arg name="text" type="xpath">text()</arg>
346 358
                            </instance_generator>
347
                            <label_generator name="SimpleLabel">
348
                                <arg name="label" type="xpath">text()</arg>
349
                            </label_generator>
350 359
                        </entity>
351 360
                    </target_node>
352 361
                </range>
353 362
            </link>
363
        </mapping>
364
        <mapping>
365
            <domain>
366
                <source_node>/cmd:CMD/cmd:Resources/cmd:ResourceProxyList/cmd:ResourceProxy/cmd:ResourceRef</source_node>
367
                <target_node>
368
                    <entity>
369
                        <type>crmpe:PE29_Access_Point</type>
370
                        <instance_generator name="UUID"/>
371
                    </entity>
372
                </target_node>
373
            </domain>
354 374
            <link>
355 375
                <path>
356 376
                    <source_relation>
357
                        <relation>cmd:ResourceRef</relation>
377
                        <relation>../cmd:ResourceType</relation>
358 378
                    </source_relation>
359 379
                    <target_relation>
360
                        <relationship>crmpe:PP49_provides_access_point</relationship>
380
                        <relationship>crm:P2_has_type</relationship>
361 381
                    </target_relation>
362 382
                </path>
363 383
                <range>
364
                    <source_node>cmd:ResourceRef</source_node>
384
                    <source_node>../cmd:ResourceType</source_node>
365 385
                    <target_node>
366 386
                        <entity>
367
                            <type>crmpe:PE29_Access_Point</type>
368
                            <instance_generator name="URIorUUID">
369
                                <arg name="text" type="xpath">text()</arg>
387
                            <type>crm:E55_Type</type>
388
                            <instance_generator name="ConceptURI_2step">
389
                                <arg name="term1" type="constant">contactpointtype</arg>
390
                                <arg name="term2" type="xpath">text()</arg>
370 391
                            </instance_generator>
392
                            <label_generator name="SimpleLabel">
393
                                <arg name="label" type="xpath">text()</arg>
394
                            </label_generator>
371 395
                        </entity>
372 396
                    </target_node>
373 397
                </range>
......
380 404
                    <entity>
381 405
                        <type>crmpe:PE24_Volatile_Dataset</type>
382 406
                        <instance_generator name="DatasetURI">
383
                            <arg name="term" type="xpath">cmdp:Collection/cmdp:GeneralInfo/cmdp:Version/text()</arg>
407
                            <arg name="term" type="xpath">cmdp:Collection/cmdp:GeneralInfo/cmdp:Title/text()</arg>
384 408
                        </instance_generator>
385 409
                    </entity>
386 410
                </target_node>
......
539 563
                            <instance_generator name="ProjectURI">
540 564
                                <arg name="term" type="xpath">cmdp:Title/text()</arg>
541 565
                            </instance_generator>
566
                            <label_generator name="SimpleLabel">
567
                                <arg name="label" type="xpath">cmdp:Title/text()</arg>
568
                            </label_generator>
542 569
                        </entity>
543 570
                    </target_node>
544 571
                </range>
......
550 577
                    </source_relation>
551 578
                    <target_relation>
552 579
                        <relationship>crm:P129_is_about</relationship>
553
                        <entity variable="abouttime1">
554
                            <type>crm:E4_Period</type>
555
                            <instance_generator name="UUID"/>
556
                        </entity>
557
                        <relationship>crm:P4_has_time-span</relationship>
558 580
                        <entity variable="tempo1">
559 581
                            <type>crm:E52_Time-Span</type>
560 582
                            <instance_generator name="UUID"/>
......
570 592
                    <source_node>cmdp:Collection/cmdp:GeneralInfo/cmdp:TimeCoverage/cmdp:minDate</source_node>
571 593
                    <target_node>
572 594
                        <entity>
573
                            <type>http://www.w3.org/2001/XMLSchema#dateTime</type>
595
                            <type>:http://www.w3.org/2001/XMLSchema#dateTime</type>
574 596
                            <instance_generator name="Literal">
575 597
                                <arg name="text" type="xpath">text()</arg>
576 598
                            </instance_generator>
......
585 607
                    </source_relation>
586 608
                    <target_relation>
587 609
                        <relationship>crm:P129_is_about</relationship>
588
                        <entity variable="abouttime1">
589
                            <type>crm:E4_Period</type>
590
                            <instance_generator name="UUID"/>
591
                        </entity>
592
                        <relationship>crm:P4_has_time-span</relationship>
593 610
                        <entity variable="tempo1">
594 611
                            <type>crm:E52_Time-Span</type>
595 612
                            <instance_generator name="UUID"/>
......
615 632
                    <source_node>cmdp:Collection/cmdp:GeneralInfo/cmdp:TimeCoverage/cmdp:maxDate</source_node>
616 633
                    <target_node>
617 634
                        <entity>
618
                            <type>http://www.w3.org/2001/XMLSchema#dateTime</type>
635
                            <type>:http://www.w3.org/2001/XMLSchema#dateTime</type>
619 636
                            <instance_generator name="Literal">
620 637
                                <arg name="text" type="xpath">text()</arg>
621 638
                            </instance_generator>
......
687 704
                                    <instance_info>
688 705
                                        <constant>Access Rights</constant>
689 706
                                    </instance_info>
690
                                    <instance_generator name="ConceptURI">
691
                                        <arg name="term" type="constant">Access Right</arg>
707
                                    <instance_generator name="ConceptURI_2step">
708
                                        <arg name="term1" type="constant">righttype</arg>
709
                                        <arg name="term2" type="constant">accessright</arg>
692 710
                                    </instance_generator>
711
                                    <label_generator name="SimpleLabel">
712
                                        <arg name="label" type="constant">Access Right</arg>
713
                                    </label_generator>
693 714
                                </entity>
694 715
                            </additional>
695 716
                        </entity>
......
716 737
                    <entity>
717 738
                        <type>crmpe:PE15_Data_E-Service</type>
718 739
                        <instance_generator name="UUID"/>
740
                        <label_generator name="CompositeLabel">
741
                            <arg name="label" type="constant">Main Hosting for </arg>
742
                            <arg name="text" type="xpath">../cmdp:GeneralInfo/cmdp:Title/text()</arg>
743
                        </label_generator>
719 744
                    </entity>
720 745
                </target_node>
721 746
            </domain>
......
725 750
                        <relation>cmdp:Contact</relation>
726 751
                    </source_relation>
727 752
                    <target_relation>
728
                        <relationship>crm:P11_had_participant</relationship>
753
                        <relationship>crmpe:PP2_provided_by</relationship>
729 754
                    </target_relation>
730 755
                </path>
731 756
                <range>
......
736 761
                            <instance_generator name="ActorURI">
737 762
                                <arg name="term" type="xpath">cmdp:Organisation/text()</arg>
738 763
                            </instance_generator>
764
                            <label_generator name="SimpleLabel">
765
                                <arg name="label" type="xpath">cmdp:Organisation/text()</arg>
766
                            </label_generator>
739 767
                        </entity>
740 768
                    </target_node>
741 769
                </range>
......
757 785
                            <instance_generator name="URIorUUID">
758 786
                                <arg name="text" type="xpath">text()</arg>
759 787
                            </instance_generator>
788
                            <label_generator name="SimpleLabel">
789
                                <arg name="label" type="xpath">text()</arg>
790
                            </label_generator>
760 791
                        </entity>
761 792
                    </target_node>
762 793
                </range>
......
847 878
                        <relation>cmdp:Contact</relation>
848 879
                    </source_relation>
849 880
                    <target_relation>
850
                        <relationship>crm:P11_had_participant</relationship>
881
                        <relationship>crmpe:PP44_has_maintaining_team</relationship>
851 882
                    </target_relation>
852 883
                </path>
853 884
                <range>
854 885
                    <source_node>cmdp:Contact</source_node>
855 886
                    <target_node>
856 887
                        <entity>
857
                            <type>crm:E40_Legal_Body</type>
858
                            <instance_generator name="UUID"/>
888
                            <type>crmpe:PE34_Team</type>
889
                            <instance_generator name="ActorURI">
890
                                <arg name="term" type="xpath">cmdp:Organisation/text()</arg>
891
                            </instance_generator>
859 892
                        </entity>
860 893
                    </target_node>
861 894
                </range>
......
866 899
                <source_node>/cmd:CMD/cmd:Components/cmdp:TextCorpusProfile/cmdp:Collection/cmdp:Project/cmdp:Contact</source_node>
867 900
                <target_node>
868 901
                    <entity>
869
                        <type>crm:E40_Legal_Body</type>
902
                        <type>crmpe:PE34_Team</type>
870 903
                        <instance_generator name="ActorURI">
871 904
                            <arg name="term" type="xpath">cmdp:Organisation/text()</arg>
872 905
                        </instance_generator>
......
890 923
                    <target_node>
891 924
                        <entity>
892 925
                            <type>crm:E51_Contact_Point</type>
893
                            <instance_generator name="ThingAppellationURI">
926
                            <instance_generator name="TwoLevelCustomURI">
927
                                <arg name="level1" type="constant">Thing</arg>
928
                                <arg name="level2" type="constant">Appellation</arg>
894 929
                                <arg name="term" type="xpath">text()</arg>
895 930
                            </instance_generator>
896 931
                            <label_generator name="SimpleLabel">
......
903 938
                                    <instance_info>
904 939
                                        <constant>Email</constant>
905 940
                                    </instance_info>
906
                                    <instance_generator name="ConceptURI">
907
                                        <arg name="term" type="constant">Email</arg>
941
                                    <instance_generator name="ConceptURI_2step">
942
                                        <arg name="term1" type="constant">contacttype</arg>
943
                                        <arg name="term2" type="constant">email</arg>
908 944
                                    </instance_generator>
945
                                    <label_generator name="SimpleLabel">
946
                                        <arg name="label" type="constant">Email</arg>
947
                                    </label_generator>
909 948
                                </entity>
910 949
                            </additional>
911 950
                        </entity>
......
925 964
                    <source_node>cmdp:Website</source_node>
926 965
                    <target_node>
927 966
                        <entity>
928
                            <type>crm:E51_Contact_Point</type>
929
                            <instance_generator name="ThingAppellationURI">
930
                                <arg name="term" type="xpath">text()</arg>
967
                            <type>crmpe:PE29_Access_Point</type>
968
                            <instance_generator name="URIorUUID">
969
                                <arg name="text" type="xpath">text()</arg>
931 970
                            </instance_generator>
932 971
                            <label_generator name="SimpleLabel">
933 972
                                <arg name="label" type="xpath">text()</arg>
934 973
                            </label_generator>
935
                            <additional>
936
                                <relationship>crm:P2_has_type</relationship>
937
                                <entity>
938
                                    <type>crm:E55_Type</type>
939
                                    <instance_info>
940
                                        <constant>Website</constant>
941
                                    </instance_info>
942
                                    <instance_generator name="ConceptURI">
943
                                        <arg name="term" type="constant">Website</arg>
944
                                    </instance_generator>
945
                                </entity>
946
                            </additional>
947 974
                        </entity>
948 975
                    </target_node>
949 976
                </range>
......
997 1024
                    <target_node>
998 1025
                        <entity>
999 1026
                            <type>crm:E45_Address</type>
1000
                            <instance_generator name="ThingAppellationURI">
1027
                            <instance_generator name="OneLevelCustomURI">
1028
                                <arg name="level1" type="constant">thingappellation</arg>
1001 1029
                                <arg name="term" type="xpath">text()</arg>
1002 1030
                            </instance_generator>
1003 1031
                            <label_generator name="SimpleLabel">
1004 1032
                                <arg name="label" type="xpath">text()</arg>
1005 1033
                            </label_generator>
1006
                            <additional>
1007
                                <relationship>crm:P2_has_type</relationship>
1008
                                <entity>
1009
                                    <type>crm:E55_Type</type>
1010
                                    <instance_info>
1011
                                        <constant>Address</constant>
1012
                                    </instance_info>
1013
                                    <instance_generator name="ConceptURI">
1014
                                        <arg name="term" type="constant">Address</arg>
1015
                                    </instance_generator>
1016
                                </entity>
1017
                            </additional>
1018 1034
                        </entity>
1019 1035
                    </target_node>
1020 1036
                </range>
......
1057 1073
                    <target_node>
1058 1074
                        <entity>
1059 1075
                            <type>crm:E51_Contact_Point</type>
1060
                            <instance_generator name="ThingAppellationURI">
1076
                            <instance_generator name="TwoLevelCustomURI">
1077
                                <arg name="level1" type="constant">Thing</arg>
1078
                                <arg name="level2" type="constant">Appellation</arg>
1061 1079
                                <arg name="term" type="xpath">text()</arg>
1062 1080
                            </instance_generator>
1063 1081
                            <label_generator name="SimpleLabel">
......
1070 1088
                                    <instance_info>
1071 1089
                                        <constant>Telephone</constant>
1072 1090
                                    </instance_info>
1073
                                    <instance_generator name="ConceptURI">
1074
                                        <arg name="term" type="constant">text()</arg>
1091
                                    <instance_generator name="ConceptURI_2step">
1092
                                        <arg name="term1" type="constant">contacttype</arg>
1093
                                        <arg name="term2" type="constant">phone</arg>
1075 1094
                                    </instance_generator>
1095
                                    <label_generator name="SimpleLabel">
1096
                                        <arg name="label" type="constant">Phone</arg>
1097
                                    </label_generator>
1076 1098
                                </entity>
1077 1099
                            </additional>
1078 1100
                        </entity>
......
1092 1114
                    <source_node>cmdp:Website</source_node>
1093 1115
                    <target_node>
1094 1116
                        <entity>
1095
                            <type>crm:E51_Contact_Point</type>
1096
                            <instance_generator name="ThingAppellationURI">
1097
                                <arg name="term" type="xpath">text()</arg>
1117
                            <type>crmpe:PE29_Access_Point</type>
1118
                            <instance_generator name="URIorUUID">
1119
                                <arg name="text" type="xpath">text()</arg>
1098 1120
                            </instance_generator>
1099 1121
                            <label_generator name="SimpleLabel">
1100 1122
                                <arg name="label" type="xpath">text()</arg>
1101 1123
                            </label_generator>
1102
                            <additional>
1103
                                <relationship>crm:P2_has_type</relationship>
1104
                                <entity>
1105
                                    <type>crm:E55_Type</type>
1106
                                    <instance_info>
1107
                                        <constant>Website</constant>
1108
                                    </instance_info>
1109
                                    <instance_generator name="ConceptURI">
1110
                                        <arg name="term" type="constant">text()</arg>
1111
                                    </instance_generator>
1112
                                </entity>
1113
                            </additional>
1114 1124
                        </entity>
1115 1125
                    </target_node>
1116 1126
                </range>

Also available in: Unified diff