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-07-05</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="file:///C:/Users/samarita/Desktop/schema/x3ml.xsd">
|
16
|
<info>
|
17
|
<title>Dariah DE</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="dariahDE___14-07-2017013730___8446.xml"/>
|
70
|
<generator_policy_info generator_link="PARTHENOS-GeneratorPolicy_v1.4___17-05-2018010636___9353.xml"/>
|
71
|
<example_data_target_record rdf_link="Mapping417.ttl"/>
|
72
|
</example_data_info>
|
73
|
</info>
|
74
|
<namespaces>
|
75
|
<namespace prefix="dc" uri="http://purl.org/dc/elements/1.1/"/>
|
76
|
<namespace prefix="dcterms" uri="http://purl.org/dc/terms/"/>
|
77
|
<namespace prefix="marcrel" uri="http://id.loc.gov/vocabulary/relators/"/>
|
78
|
<namespace prefix="crmpe" uri="http://www.ics.forth.gr/isl/CRMext/CRMpe.rdfs/"/>
|
79
|
<namespace prefix="cld" uri="http://purl.org/cld/terms/"/>
|
80
|
<namespace prefix="parthenos" uri="http://pathenos.d4science.org/handle/DariahDE/"/>
|
81
|
<namespace prefix="dcddm" uri="http://schema.dariah.eu/colreg/dcddm/"/>
|
82
|
<namespace prefix="reg" uri="http://parthenos.d4science.org/handle/Parthenos/REG/"/>
|
83
|
</namespaces>
|
84
|
<mappings>
|
85
|
<mapping>
|
86
|
<domain>
|
87
|
<source_node>/Collection</source_node>
|
88
|
<target_node>
|
89
|
<entity>
|
90
|
<type>crm:E78_Collection</type>
|
91
|
<type>crm:E33_Linguistic_Object</type>
|
92
|
<instance_generator name="ThingURI">
|
93
|
<arg name="term" type="xpath">id/text()</arg>
|
94
|
</instance_generator>
|
95
|
<label_generator name="CompositeLabel">
|
96
|
<arg name="label" type="constant">Collection: </arg>
|
97
|
<arg name="text" type="xpath">localizedDescriptions/localizedDescriptions/title/text()</arg>
|
98
|
</label_generator>
|
99
|
</entity>
|
100
|
</target_node>
|
101
|
</domain>
|
102
|
<link>
|
103
|
<path>
|
104
|
<source_relation>
|
105
|
<relation>localizedDescriptions/localizedDescriptions/title</relation>
|
106
|
</source_relation>
|
107
|
<target_relation>
|
108
|
<relationship>crm:P1_is_identified_by</relationship>
|
109
|
</target_relation>
|
110
|
</path>
|
111
|
<range>
|
112
|
<source_node>localizedDescriptions/localizedDescriptions/title</source_node>
|
113
|
<target_node>
|
114
|
<entity>
|
115
|
<type>crm:E35_Title</type>
|
116
|
<instance_generator name="ThingAppellationURI">
|
117
|
<arg name="term" type="xpath">text()</arg>
|
118
|
</instance_generator>
|
119
|
<label_generator name="SimpleLabel">
|
120
|
<arg name="label" type="xpath">text()</arg>
|
121
|
</label_generator>
|
122
|
</entity>
|
123
|
</target_node>
|
124
|
</range>
|
125
|
</link>
|
126
|
<link>
|
127
|
<path>
|
128
|
<source_relation>
|
129
|
<relation>localizedDescriptions/localizedDescriptions/languageId</relation>
|
130
|
</source_relation>
|
131
|
<target_relation>
|
132
|
<relationship>crm:P72_has_language</relationship>
|
133
|
</target_relation>
|
134
|
</path>
|
135
|
<range>
|
136
|
<source_node>localizedDescriptions/localizedDescriptions/languageId</source_node>
|
137
|
<target_node>
|
138
|
<entity>
|
139
|
<type>crm:E56_Language</type>
|
140
|
<instance_generator name="ConceptURI">
|
141
|
<arg name="term" type="xpath">text()</arg>
|
142
|
</instance_generator>
|
143
|
<label_generator name="SimpleLabel">
|
144
|
<arg name="label" type="xpath">text()</arg>
|
145
|
</label_generator>
|
146
|
</entity>
|
147
|
</target_node>
|
148
|
</range>
|
149
|
</link>
|
150
|
<link>
|
151
|
<path>
|
152
|
<source_relation>
|
153
|
<relation>collectionType</relation>
|
154
|
</source_relation>
|
155
|
<target_relation>
|
156
|
<relationship>crm:P2_has_type</relationship>
|
157
|
</target_relation>
|
158
|
</path>
|
159
|
<range>
|
160
|
<source_node>collectionType</source_node>
|
161
|
<target_node>
|
162
|
<entity>
|
163
|
<type>crm:E55_Type</type>
|
164
|
<instance_generator name="ConceptURI">
|
165
|
<arg name="term" type="xpath">text()</arg>
|
166
|
</instance_generator>
|
167
|
<label_generator name="SimpleLabel">
|
168
|
<arg name="label" type="xpath">text()</arg>
|
169
|
</label_generator>
|
170
|
</entity>
|
171
|
</target_node>
|
172
|
</range>
|
173
|
</link>
|
174
|
<link>
|
175
|
<path>
|
176
|
<source_relation>
|
177
|
<relation>localizedDescriptions/localizedDescriptions/description</relation>
|
178
|
</source_relation>
|
179
|
<target_relation>
|
180
|
<relationship>crm:P3_has_note</relationship>
|
181
|
</target_relation>
|
182
|
</path>
|
183
|
<range>
|
184
|
<source_node>localizedDescriptions/localizedDescriptions/description</source_node>
|
185
|
<target_node>
|
186
|
<entity>
|
187
|
<type>:http://www.w3.org/2000/01/rdf-schema#Literal</type>
|
188
|
<instance_generator name="Literal">
|
189
|
<arg name="text" type="xpath">text()</arg>
|
190
|
</instance_generator>
|
191
|
</entity>
|
192
|
</target_node>
|
193
|
</range>
|
194
|
</link>
|
195
|
<link>
|
196
|
<path>
|
197
|
<source_relation>
|
198
|
<relation>entityCreator</relation>
|
199
|
</source_relation>
|
200
|
<target_relation>
|
201
|
<relationship>crm:P108i_was_produced_by</relationship>
|
202
|
<entity variable="pro1">
|
203
|
<type>crm:E12_Production</type>
|
204
|
<instance_generator name="UUID"/>
|
205
|
<label_generator name="CompositeLabel">
|
206
|
<arg name="label" type="constant">Production of Collection</arg>
|
207
|
<arg name="text" type="xpath">../localizedDescriptions/localizedDescriptions/title/text()</arg>
|
208
|
</label_generator>
|
209
|
</entity>
|
210
|
<relationship>crm:P14_carried_out_by</relationship>
|
211
|
</target_relation>
|
212
|
</path>
|
213
|
<range>
|
214
|
<source_node>entityCreator</source_node>
|
215
|
<target_node>
|
216
|
<entity>
|
217
|
<type>crm:E39_Actor</type>
|
218
|
<instance_generator name="ActorURI">
|
219
|
<arg name="term" type="xpath">text()</arg>
|
220
|
</instance_generator>
|
221
|
<label_generator name="SimpleLabel">
|
222
|
<arg name="label" type="xpath">text()</arg>
|
223
|
</label_generator>
|
224
|
</entity>
|
225
|
</target_node>
|
226
|
</range>
|
227
|
</link>
|
228
|
<link>
|
229
|
<path>
|
230
|
<source_relation>
|
231
|
<relation>subjects/subjects</relation>
|
232
|
</source_relation>
|
233
|
<target_relation>
|
234
|
<relationship>crm:P129_is_about</relationship>
|
235
|
</target_relation>
|
236
|
</path>
|
237
|
<range>
|
238
|
<source_node>subjects/subjects</source_node>
|
239
|
<target_node>
|
240
|
<entity>
|
241
|
<type>crm:E55_Type</type>
|
242
|
<instance_generator name="ConceptURI">
|
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>spatials/spatials</relation>
|
256
|
</source_relation>
|
257
|
<target_relation>
|
258
|
<relationship>crm:P129_is_about</relationship>
|
259
|
</target_relation>
|
260
|
</path>
|
261
|
<range>
|
262
|
<source_node>spatials/spatials</source_node>
|
263
|
<target_node>
|
264
|
<entity>
|
265
|
<type>crm:E53_Place</type>
|
266
|
<instance_generator name="PlaceURI">
|
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
|
<link>
|
277
|
<path>
|
278
|
<source_relation>
|
279
|
<relation>temporals/temporals</relation>
|
280
|
</source_relation>
|
281
|
<target_relation>
|
282
|
<relationship>crm:P129_is_about</relationship>
|
283
|
<entity>
|
284
|
<type>crm:E52_Time-Span</type>
|
285
|
<instance_generator name="UUID"/>
|
286
|
<label_generator name="CompositeLabel">
|
287
|
<arg name="label" type="constant">Time Span of Reference for Collection</arg>
|
288
|
<arg name="text" type="xpath">../../localizedDescriptions/localizedDescriptions/title/text()</arg>
|
289
|
</label_generator>
|
290
|
</entity>
|
291
|
<relationship>crm:P82_at_some_time_within</relationship>
|
292
|
</target_relation>
|
293
|
</path>
|
294
|
<range>
|
295
|
<source_node>temporals/temporals</source_node>
|
296
|
<target_node>
|
297
|
<entity>
|
298
|
<type>http://www.w3.org/2000/01/rdf-schema#Literal</type>
|
299
|
<instance_generator name="Literal">
|
300
|
<arg name="text" type="xpath">text()</arg>
|
301
|
</instance_generator>
|
302
|
</entity>
|
303
|
</target_node>
|
304
|
</range>
|
305
|
</link>
|
306
|
<link>
|
307
|
<path>
|
308
|
<source_relation>
|
309
|
<relation>collectionCreated</relation>
|
310
|
</source_relation>
|
311
|
<target_relation>
|
312
|
<relationship>crm:P108i_was_produced_by</relationship>
|
313
|
<entity variable="pro1">
|
314
|
<type>crm:E12_Production</type>
|
315
|
<instance_generator name="UUID"/>
|
316
|
<label_generator name="CompositeLabel">
|
317
|
<arg name="label" type="constant">Production of Collection</arg>
|
318
|
<arg name="text" type="xpath">../localizedDescriptions/localizedDescriptions/title/text()</arg>
|
319
|
</label_generator>
|
320
|
</entity>
|
321
|
<relationship>crm:P4_has_time-span</relationship>
|
322
|
<entity>
|
323
|
<type>crm:E52_Time-Span</type>
|
324
|
<instance_generator name="UUID"/>
|
325
|
<label_generator name="CompositeLabel">
|
326
|
<arg name="label" type="constant">Time Span of Production of Collection</arg>
|
327
|
<arg name="text" type="xpath">../localizedDescriptions/localizedDescriptions/title/text()</arg>
|
328
|
</label_generator>
|
329
|
</entity>
|
330
|
<relationship>crm:P82_at_some_time_within</relationship>
|
331
|
</target_relation>
|
332
|
</path>
|
333
|
<range>
|
334
|
<source_node>collectionCreated</source_node>
|
335
|
<target_node>
|
336
|
<entity>
|
337
|
<type>:http://www.w3.org/2000/01/rdf-schema#Literal</type>
|
338
|
<instance_generator name="Literal">
|
339
|
<arg name="text" type="xpath">text()</arg>
|
340
|
</instance_generator>
|
341
|
</entity>
|
342
|
</target_node>
|
343
|
</range>
|
344
|
</link>
|
345
|
<link>
|
346
|
<path>
|
347
|
<source_relation>
|
348
|
<relation>collectionDescriptionRights</relation>
|
349
|
</source_relation>
|
350
|
<target_relation>
|
351
|
<relationship>crm:P104_is_subject_to</relationship>
|
352
|
</target_relation>
|
353
|
</path>
|
354
|
<range>
|
355
|
<source_node>collectionDescriptionRights</source_node>
|
356
|
<target_node>
|
357
|
<entity>
|
358
|
<type>crm:E30_Right</type>
|
359
|
<instance_generator name="ThingURI">
|
360
|
<arg name="term" type="xpath">text()</arg>
|
361
|
</instance_generator>
|
362
|
<label_generator name="SimpleLabel">
|
363
|
<arg name="label" type="xpath">text()</arg>
|
364
|
</label_generator>
|
365
|
</entity>
|
366
|
</target_node>
|
367
|
</range>
|
368
|
</link>
|
369
|
<link>
|
370
|
<path>
|
371
|
<source_relation>
|
372
|
<relation>institute</relation>
|
373
|
</source_relation>
|
374
|
<target_relation>
|
375
|
<relationship>crmpe:PP4i_is_object_hosted_by</relationship>
|
376
|
<entity variable="hostser1">
|
377
|
<type>crmpe:PE2_Hosting_Service</type>
|
378
|
<instance_generator name="UUID"/>
|
379
|
<label_generator name="CompositeLabel">
|
380
|
<arg name="label" type="constant">Hosting of Collection</arg>
|
381
|
<arg name="text" type="xpath">../localizedDescriptions/localizedDescriptions/title/text()</arg>
|
382
|
</label_generator>
|
383
|
</entity>
|
384
|
<relationship>crmpe:PP2_provided_by</relationship>
|
385
|
</target_relation>
|
386
|
</path>
|
387
|
<range>
|
388
|
<source_node>institute</source_node>
|
389
|
<target_node>
|
390
|
<entity variable="host1">
|
391
|
<type>crm:E40_Legal_Body</type>
|
392
|
<instance_generator name="ActorURI">
|
393
|
<arg name="term" type="xpath">text()</arg>
|
394
|
</instance_generator>
|
395
|
<label_generator name="SimpleLabel">
|
396
|
<arg name="label" type="xpath">text()</arg>
|
397
|
</label_generator>
|
398
|
</entity>
|
399
|
</target_node>
|
400
|
</range>
|
401
|
</link>
|
402
|
<link>
|
403
|
<path>
|
404
|
<source_relation>
|
405
|
<relation>webPage</relation>
|
406
|
</source_relation>
|
407
|
<target_relation>
|
408
|
<relationship>crm:P1_is_identified_by</relationship>
|
409
|
</target_relation>
|
410
|
</path>
|
411
|
<range>
|
412
|
<source_node>webPage</source_node>
|
413
|
<target_node>
|
414
|
<entity>
|
415
|
<type>crmpe:PE29_Access_Point</type>
|
416
|
<instance_generator name="URIorUUID">
|
417
|
<arg name="text" type="xpath">text()</arg>
|
418
|
</instance_generator>
|
419
|
</entity>
|
420
|
</target_node>
|
421
|
</range>
|
422
|
</link>
|
423
|
<link>
|
424
|
<path>
|
425
|
<source_relation>
|
426
|
<relation>locations/locations</relation>
|
427
|
</source_relation>
|
428
|
<target_relation>
|
429
|
<relationship>crmpe:PP4i_is_object_hosted_by</relationship>
|
430
|
<entity variable="hostser1">
|
431
|
<type>crmpe:PE2_Hosting_Service</type>
|
432
|
<instance_generator name="UUID"/>
|
433
|
</entity>
|
434
|
<relationship>crmpe:PP2_provided_by</relationship>
|
435
|
<entity variable="host1">
|
436
|
<type>crm:E40_Legal_Body</type>
|
437
|
<instance_generator name="UUID"/>
|
438
|
</entity>
|
439
|
<relationship>crm:P74_has_current_or_former_residence</relationship>
|
440
|
<entity>
|
441
|
<type>crm:E53_Place</type>
|
442
|
<instance_generator name="UUID"/>
|
443
|
<label_generator name="CompositeLabel">
|
444
|
<arg name="label" type="constant">Site of </arg>
|
445
|
<arg name="text" type="xpath">../../entityCreator/text()</arg>
|
446
|
</label_generator>
|
447
|
</entity>
|
448
|
<relationship>crm:P1_is_identified_by</relationship>
|
449
|
</target_relation>
|
450
|
</path>
|
451
|
<range>
|
452
|
<source_node>locations/locations</source_node>
|
453
|
<target_node>
|
454
|
<entity>
|
455
|
<type>crm:E45_Address</type>
|
456
|
<instance_generator name="UUID"/>
|
457
|
<label_generator name="AddressLabel">
|
458
|
<arg name="term" type="xpath">street/text()</arg>
|
459
|
<arg name="term2" type="xpath">postalCode/text()</arg>
|
460
|
<arg name="term3" type="xpath">place/text()</arg>
|
461
|
<arg name="term4" type="xpath">country/text()</arg>
|
462
|
</label_generator>
|
463
|
</entity>
|
464
|
</target_node>
|
465
|
</range>
|
466
|
</link>
|
467
|
</mapping>
|
468
|
</mappings>
|
469
|
|
470
|
</x3ml>
|
471
|
]]>
|
472
|
</CODE>
|
473
|
</SCRIPT>
|
474
|
</CONFIGURATION>
|
475
|
<STATUS/>
|
476
|
<SECURITY_PARAMETERS/>
|
477
|
</BODY>
|
478
|
</RESOURCE_PROFILE>
|