Project

General

Profile

1
<RESOURCE_PROFILE>
2
	<HEADER>
3
		<RESOURCE_IDENTIFIER value="ac3417f1-059d-4518-a4fc-676d80569d70_VHJhbnNmb3JtYXRpb25SdWxlRFNSZXNvdXJjZXMvVHJhbnNmb3JtYXRpb25SdWxlRFNSZXNvdXJjZVR5cGU="/>
4
		<RESOURCE_TYPE value="TransformationRuleDSResourceType"/>
5
		<RESOURCE_KIND value="TransformationRuleDSResources"/>
6
		<RESOURCE_URI value=""/>
7
		<DATE_OF_CREATION value="2017-07-24T12:14:22+01:00"/>
8
	</HEADER>
9
	<BODY>
10
		<CONFIGURATION>
11
			<IMPORTED/>
12
			<SCRIPT>
13
				<TITLE>DARIAH-DE 417 Mapping 2018-10-17</TITLE>
14
				<CODE>
15
					<![CDATA[<x3ml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" editor="3MEditor v3.3" source_type="xpath" version="1.0" xsi:noNamespaceSchemaLocation="file:///C:/Users/samarita/Desktop/schema/x3ml.xsd">
16
    <info>
17
        <title>Dariah DE -&gt; PE Mapping File Officia</title>
18
        <general_description/>
19
        <source>
20
            <source_info>
21
                <source_schema type="" version=""/>
22
                <namespaces>
23
                    <namespace prefix="" uri=""/>
24
                </namespaces>
25
            </source_info>
26
            <source_collection/>
27
        </source>
28
        <target>
29
            <target_info>
30
                <target_schema schema_file="cidoc_crm_v6.0-draft-2015January.rdfs" type="rdfs" version="6.0">CIDOC-CRM</target_schema>
31
                <namespaces>
32
                    <namespace prefix="crm" uri="http://www.cidoc-crm.org/cidoc-crm/"/>
33
                </namespaces>
34
            </target_info>
35
            <target_info>
36
                <target_schema schema_file="CRMdig_v3.2.rdfs" type="rdfs" version="3.2">CRMdig</target_schema>
37
                <namespaces>
38
                    <namespace prefix="crmdig" uri="http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/"/>
39
                </namespaces>
40
            </target_info>
41
            <target_info>
42
                <target_schema schema_file="CRMext4SKOSandLabel_v1.2.rdfs" type="rdfs" version="1.2">CRMext4SKOSandLabel</target_schema>
43
                <namespaces>
44
                    <namespace prefix="skos" uri="http://www.w3.org/2004/02/skos/core#"/>
45
                </namespaces>
46
            </target_info>
47
            <target_info>
48
                <target_schema schema_file="CRMpc_v1.0.rdfs" type="rdfs" version="1.0">CRMpc</target_schema>
49
                <namespaces>
50
                    <namespace prefix="crm" uri="http://www.cidoc-crm.org/cidoc-crm/"/>
51
                </namespaces>
52
            </target_info>
53
            <target_info>
54
                <target_schema schema_file="crmpe_2.rdfs" type="rdfs" version="2.0">CRMpe</target_schema>
55
                <namespaces>
56
                    <namespace prefix="crmpe" uri="http://parthenos.d4science.org/CRMext/CRMpe.rdfs/"/>
57
                </namespaces>
58
            </target_info>
59
            <target_collection/>
60
        </target>
61
        <mapping_info>
62
            <mapping_created_by_org>ACDH</mapping_created_by_org>
63
            <mapping_created_by_person>Matteo</mapping_created_by_person>
64
            <in_collaboration_with>FORTH</in_collaboration_with>
65
        </mapping_info>
66
        <example_data_info>
67
            <example_data_from>Dariah DE</example_data_from>
68
            <example_data_contact_person/>
69
            <example_data_source_record xml_link="coll___10-09-2018105806___957.xml"/>
70
            <generator_policy_info generator_link="PARTHENOS-GeneratorPolicy_v1.5___10-09-2018105736___13481.xml"/>
71
            <example_data_target_record/>
72
            <thesaurus_info/>
73
        </example_data_info>
74
    </info>
75
    <namespaces>
76
        <namespace prefix="dc" uri="http://purl.org/dc/elements/1.1/"/>
77
        <namespace prefix="dcterms" uri="http://purl.org/dc/terms/"/>
78
        <namespace prefix="marcrel" uri="http://id.loc.gov/vocabulary/relators/"/>
79
        <namespace prefix="crmpe" uri="http://www.ics.forth.gr/isl/CRMext/CRMpe.rdfs/"/>
80
        <namespace prefix="cld" uri="http://purl.org/cld/terms/"/>
81
        <namespace prefix="parthenos" uri="http://pathenos.d4science.org/handle/DariahDE/"/>
82
        <namespace prefix="dcddm" uri="https://colreg.de.dariah.eu/schemas/DCDDM/2.0/"/>
83
        <namespace prefix="reg" uri="http://parthenos.d4science.org/handle/Parthenos/REG/"/>
84
        <namespace prefix="api" uri="https://colreg.de.dariah.eu/schemas/API/1.0/"/>
85
    </namespaces>
86
    <mappings>
87
        <mapping>
88
            <domain>
89
                <source_node>/api:result/api:contents/dcddm:collection</source_node>
90
                <target_node>
91
                    <entity>
92
                        <type>crm:E78_Collection</type>
93
                        <type>crm:E33_Linguistic_Object</type>
94
                        <instance_generator name="ThingURI">
95
                            <arg name="term" type="xpath">id/text()</arg>
96
                        </instance_generator>
97
                        <label_generator name="CompositeLabel">
98
                            <arg name="label" type="constant">Collection: </arg>
99
                            <arg name="text" type="xpath">id/text()</arg>
100
                        </label_generator>
101
                    </entity>
102
                </target_node>
103
            </domain>
104
            <link>
105
                <path>
106
                    <source_relation>
107
                        <relation>titles/entry/value</relation>
108
                    </source_relation>
109
                    <target_relation>
110
                        <relationship>crm:P1_is_identified_by</relationship>
111
                    </target_relation>
112
                </path>
113
                <range>
114
                    <source_node>titles/entry/value</source_node>
115
                    <target_node>
116
                        <entity>
117
                            <type>crm:E35_Title</type>
118
                            <instance_generator name="ConceptAppellationURI">
119
                                <arg name="term" type="xpath">text()</arg>
120
                            </instance_generator>
121
                            <label_generator name="SimpleLabel">
122
                                <arg name="label" type="xpath">text()</arg>
123
                            </label_generator>
124
                        </entity>
125
                    </target_node>
126
                </range>
127
            </link>
128
            <link>
129
                <path>
130
                    <source_relation>
131
                        <relation>acronyms/entry/value</relation>
132
                    </source_relation>
133
                    <target_relation>
134
                        <relationship>crm:P1_is_identified_by</relationship>
135
                    </target_relation>
136
                </path>
137
                <range>
138
                    <source_node>acronyms/entry/value</source_node>
139
                    <target_node>
140
                        <entity>
141
                            <type>crm:E41_Appellation</type>
142
                            <instance_generator name="ConceptAppellationURI">
143
                                <arg name="term" type="xpath">text()</arg>
144
                            </instance_generator>
145
                            <label_generator name="SimpleLabel">
146
                                <arg name="label" type="xpath">text()</arg>
147
                            </label_generator>
148
                        </entity>
149
                    </target_node>
150
                </range>
151
            </link>
152
            <link>
153
                <path>
154
                    <source_relation>
155
                        <relation>agents/agent/name</relation>
156
                    </source_relation>
157
                    <target_relation>
158
                        <relationship>crmpe:PP4i_is_object_hosted_by</relationship>
159
                        <entity>
160
                            <type>crmpe:PE2_Hosting_Service</type>
161
                            <instance_generator name="UUID"/>
162
                        </entity>
163
                        <relationship>crmpe:PP2_provided_by</relationship>
164
                    </target_relation>
165
                </path>
166
                <range>
167
                    <source_node>agents/agent/name</source_node>
168
                    <target_node>
169
                        <entity>
170
                            <type>crm:E40_Legal_Body</type>
171
                            <instance_generator name="ConceptAppellationURI">
172
                                <arg name="term" type="xpath">text()</arg>
173
                            </instance_generator>
174
                            <label_generator name="CompositeLabel">
175
                                <arg name="label" type="constant">Agent name:</arg>
176
                                <arg name="text" type="xpath">text()</arg>
177
                            </label_generator>
178
                        </entity>
179
                    </target_node>
180
                </range>
181
            </link>
182
            <link>
183
                <path>
184
                    <source_relation>
185
                        <relation>collection_types/type</relation>
186
                    </source_relation>
187
                    <target_relation>
188
                        <relationship>crm:P2_has_type</relationship>
189
                    </target_relation>
190
                </path>
191
                <range>
192
                    <source_node>collection_types/type</source_node>
193
                    <target_node>
194
                        <entity>
195
                            <type>crm:E55_Type</type>
196
                            <instance_generator name="ConceptAppellationURI">
197
                                <arg name="term" type="xpath">text()</arg>
198
                            </instance_generator>
199
                            <label_generator name="SimpleLabel">
200
                                <arg name="label" type="xpath">text()</arg>
201
                            </label_generator>
202
                        </entity>
203
                    </target_node>
204
                </range>
205
            </link>
206
            <link>
207
                <path>
208
                    <source_relation>
209
                        <relation>decriptions/entry/value</relation>
210
                    </source_relation>
211
                    <target_relation>
212
                        <relationship>crm:P3_has_note</relationship>
213
                    </target_relation>
214
                </path>
215
                <range>
216
                    <source_node>decriptions/entry/value</source_node>
217
                    <target_node>
218
                        <entity>
219
                            <type>http://www.w3.org/2000/01/rdf-schema#Literal</type>
220
                            <instance_generator name="Literal">
221
                                <arg name="text" type="xpath">text()</arg>
222
                                <arg name="language" type="constant">de</arg>
223
                            </instance_generator>
224
                        </entity>
225
                    </target_node>
226
                </range>
227
            </link>
228
            <link>
229
                <path>
230
                    <source_relation>
231
                        <relation>webPage</relation>
232
                    </source_relation>
233
                    <target_relation>
234
                        <relationship>crm:P1_is_identified_by</relationship>
235
                    </target_relation>
236
                </path>
237
                <range>
238
                    <source_node>webPage</source_node>
239
                    <target_node>
240
                        <entity>
241
                            <type>crmpe:PE29_Access_Point</type>
242
                            <instance_generator name="ThingURI">
243
                                <arg name="term" type="xpath">text()</arg>
244
                            </instance_generator>
245
                            <label_generator name="SimpleLabel">
246
                                <arg name="label" type="xpath">text()</arg>
247
                            </label_generator>
248
                        </entity>
249
                    </target_node>
250
                </range>
251
            </link>
252
            <link>
253
                <path>
254
                    <source_relation>
255
                        <relation>eMail</relation>
256
                    </source_relation>
257
                    <target_relation>
258
                        <relationship>crm:P1_is_identified_by</relationship>
259
                    </target_relation>
260
                </path>
261
                <range>
262
                    <source_node>eMail</source_node>
263
                    <target_node>
264
                        <entity>
265
                            <type>crm:E51_Contact_Point</type>
266
                            <instance_generator name="ThingURI">
267
                                <arg name="term" type="xpath">text()</arg>
268
                            </instance_generator>
269
                            <label_generator name="SimpleLabel">
270
                                <arg name="label" type="xpath">text()</arg>
271
                            </label_generator>
272
                        </entity>
273
                    </target_node>
274
                </range>
275
            </link>
276
        </mapping>
277
    </mappings>
278

    
279
</x3ml>
280
					]]>
281
				</CODE>
282
			</SCRIPT>
283
		</CONFIGURATION>
284
		<STATUS/>
285
		<SECURITY_PARAMETERS/>
286
	</BODY>
287
</RESOURCE_PROFILE>
(8-8/25)