Project

General

Profile

« Previous | Next » 

Revision 52909

Updated mappings

View differences:

ehri_328_mapping.xml
10 10
		<CONFIGURATION>
11 11
			<IMPORTED/>
12 12
			<SCRIPT>
13
				<TITLE>EHRI 328 Mapping 2018-03-28</TITLE>
14
				<CODE> <![CDATA[
15
<x3ml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" editor="3MEditor v3.2" source_type="xpath" version="1.0" xsi:noNamespaceSchemaLocation="x3ml_v1.0.xsd">
13
				<TITLE>EHRI 328 Mapping 2018-07-31</TITLE>
14
				<CODE> <![CDATA[<x3ml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" editor="3MEditor v3.2" source_type="xpath" version="1.0" xsi:noNamespaceSchemaLocation="x3ml_v1.0.xsd">
16 15
    <info>
17 16
        <title>EHRI  -&gt; PE  Mapping File Official</title>
18 17
        <general_description>This mapping represents a mapping from the EHRI data registry to the Parthenos Entities format designed for the Parthenos project. The EHRI format is based on EAD. Each record provides metadata about itself qua metadata record and about some collection that it describes.</general_description>
......
67 66
            <example_data_from>EHRI</example_data_from>
68 67
            <example_data_contact_person>Charles Riondet</example_data_contact_person>
69 68
            <example_data_source_record xml_link="ehri_new_samp___10-08-2017140053___3568.xml"/>
70
            <generator_policy_info generator_link="PARTHENOS-GeneratorPolicy_v1.2___10-08-2017153548___8596.xml"/>
69
            <generator_policy_info generator_link="PARTHENOS-GeneratorPolicy_v1.5___24-07-2018151516___515.xml">PARTHENOS-GeneratorPolicy_v1.5</generator_policy_info>
71 70
            <example_data_target_record rdf_link="Mapping328.ttl"/>
72 71
        </example_data_info>
73 72
    </info>
......
1046 1045
            <link>
1047 1046
                <path>
1048 1047
                    <source_relation>
1049
                        <relation>address/addressline</relation>
1048
                        <relation>address</relation>
1050 1049
                    </source_relation>
1051 1050
                    <target_relation>
1052 1051
                        <relationship>crm:P74_has_current_or_former_residence</relationship>
1053
                        <entity variable="p1">
1052
                        <entity>
1054 1053
                            <type>crm:E53_Place</type>
1055
                            <instance_generator name="UUID"/>
1054
                            <instance_generator name="PlaceURI">
1055
                                <arg name="term" type="xpath">../publisher/text()</arg>
1056
                            </instance_generator>
1056 1057
                            <label_generator name="CompositeLabel">
1057 1058
                                <arg name="label" type="constant">Location of </arg>
1058
                                <arg name="text" type="xpath">../../publisher/text()</arg>
1059
                                <arg name="text" type="xpath">../publisher/text()</arg>
1059 1060
                            </label_generator>
1061
                            <additional>
1062
                                <relationship>crm:P2_has_type</relationship>
1063
                                <entity>
1064
                                    <type>crm:E55_Type</type>
1065
                                    <instance_info>
1066
                                        <constant>Building Location</constant>
1067
                                    </instance_info>
1068
                                    <instance_generator name="ConceptURI_2step">
1069
                                        <arg name="term" type="constant">placetype</arg>
1070
                                        <arg name="term1" type="constant">buildinglocation</arg>
1071
                                    </instance_generator>
1072
                                    <label_generator name="SimpleLabel">
1073
                                        <arg name="label" type="constant">Building Location</arg>
1074
                                    </label_generator>
1075
                                </entity>
1076
                            </additional>
1060 1077
                        </entity>
1061 1078
                        <relationship>crm:P1_is_identified_by</relationship>
1062
                        <entity variable="a1">
1079
                        <entity>
1063 1080
                            <type>crm:E45_Address</type>
1064 1081
                            <instance_generator name="UUID"/>
1065 1082
                            <label_generator name="CompositeLabel">
1066 1083
                                <arg name="label" type="constant">Address for Location of</arg>
1067
                                <arg name="text" type="xpath">../../publisher/text()</arg>
1084
                                <arg name="text" type="xpath">../publisher/text()</arg>
1068 1085
                            </label_generator>
1069 1086
                        </entity>
1070 1087
                        <relationship>crm:P3_has_note</relationship>
......
1085 1102
                    </comments>
1086 1103
                </path>
1087 1104
                <range>
1088
                    <source_node>address/addressline</source_node>
1105
                    <source_node>address</source_node>
1089 1106
                    <target_node>
1090 1107
                        <entity>
1091 1108
                            <type>http://www.w3.org/2000/01/rdf-schema#Literal</type>
1092
                            <instance_generator name="Literal">
1093
                                <arg name="text" type="xpath">text()</arg>
1109
                            <instance_generator name="ConcatMultipleTerms">
1110
                                <arg name="prefix" type="constant"/>
1111
                                <arg name="sameTermsDelim" type="constant">, </arg>
1112
                                <arg name="text1" type="xpath">addressline/text()</arg>
1094 1113
                            </instance_generator>
1095 1114
                        </entity>
1096 1115
                    </target_node>

Also available in: Unified diff