1
|
<RESOURCE_PROFILE>
|
2
|
<HEADER>
|
3
|
<RESOURCE_IDENTIFIER value="cd92ec1e-b895-41a5-af67-ff7effc904b1_VHJhbnNmb3JtYXRpb25SdWxlRFNSZXNvdXJjZXMvVHJhbnNmb3JtYXRpb25SdWxlRFNSZXNvdXJjZVR5cGU="/>
|
4
|
<RESOURCE_TYPE value="TransformationRuleDSResourceType"/>
|
5
|
<RESOURCE_KIND value="TransformationRuleDSResources"/>
|
6
|
<RESOURCE_URI value=""/>
|
7
|
<DATE_OF_CREATION value="2017-03-10T12:14:22+01:00"/>
|
8
|
</HEADER>
|
9
|
<BODY>
|
10
|
<CONFIGURATION>
|
11
|
<IMPORTED/>
|
12
|
<SCRIPT>
|
13
|
<TITLE>CLARIN Service 373 Mapping</TITLE>
|
14
|
<CODE> <![CDATA[<x3ml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" source_type="xpath" version="1.0" xsi:noNamespaceSchemaLocation="x3ml_v1.0.xsd">
|
15
|
<info>
|
16
|
<title>Clarin CMDI: Service -> PE Mapping File Official</title>
|
17
|
<general_description/>
|
18
|
<source>
|
19
|
<source_info>
|
20
|
<source_schema schema_file="service___03-11-2016183228___3958.xml" type="" version=""/>
|
21
|
<namespaces>
|
22
|
<namespace prefix="" uri=""/>
|
23
|
</namespaces>
|
24
|
</source_info>
|
25
|
<source_collection/>
|
26
|
</source>
|
27
|
<target>
|
28
|
<target_info>
|
29
|
<target_schema schema_file="cidoc_crm_v6.0-draft-2015January.rdfs" type="rdfs" version="6.0">CIDOC-CRM</target_schema>
|
30
|
<namespaces>
|
31
|
<namespace prefix="crm" uri="http://www.cidoc-crm.org/cidoc-crm/"/>
|
32
|
</namespaces>
|
33
|
</target_info>
|
34
|
<target_info>
|
35
|
<target_schema schema_file="CRMdig_v3.2.rdfs" type="rdfs" version="3.2">CRMdig</target_schema>
|
36
|
<namespaces>
|
37
|
<namespace prefix="crmdig" uri="http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/"/>
|
38
|
</namespaces>
|
39
|
</target_info>
|
40
|
<target_info>
|
41
|
<target_schema schema_file="crmpe_2.rdfs" type="rdfs" version="2.0">CRMpe</target_schema>
|
42
|
<namespaces>
|
43
|
<namespace prefix="crmpe" uri="http://parthenos.d4science.org/CRMext/CRMpe.rdfs/"/>
|
44
|
</namespaces>
|
45
|
</target_info>
|
46
|
<target_info>
|
47
|
<target_schema schema_file="CRMpc_v1.0.rdfs" type="rdfs" version="1.0">CRMpc</target_schema>
|
48
|
<namespaces>
|
49
|
<namespace prefix="crm" uri="http://www.cidoc-crm.org/cidoc-crm/"/>
|
50
|
</namespaces>
|
51
|
</target_info>
|
52
|
<target_collection/>
|
53
|
</target>
|
54
|
<mapping_info>
|
55
|
<mapping_created_by_org>Clarin</mapping_created_by_org>
|
56
|
<mapping_created_by_person>Matteo Lorenzini</mapping_created_by_person>
|
57
|
<in_collaboration_with>George Bruseker</in_collaboration_with>
|
58
|
</mapping_info>
|
59
|
<example_data_info>
|
60
|
<example_data_from>Clarin</example_data_from>
|
61
|
<example_data_contact_person>Matteo Lorenzini</example_data_contact_person>
|
62
|
<example_data_source_record xml_link="service___03-11-2016183228___3958.xml"/>
|
63
|
<generator_policy_info generator_link="PARTHENOS-GeneratorPolicy_v1.2___10-08-2017153548___8596.xml"/>
|
64
|
<example_data_target_record rdf_link="Mapping373.ttl"/>
|
65
|
</example_data_info>
|
66
|
</info>
|
67
|
<namespaces>
|
68
|
<namespace prefix="cmd" uri="http://www.clarin.eu/cmd/1"/>
|
69
|
<namespace prefix="parthenos" uri="http://parthenos.d4science.org/handle/Clarin/VLO/"/>
|
70
|
<namespace prefix="cmdp" uri="http://www.clarin.eu/cmd/1/profiles/clarin.eu:cr1:p_1288172614026"/>
|
71
|
<namespace prefix="reg" uri="http://parthenos.d4science.org/handle/Parthenos/REG/"/>
|
72
|
</namespaces>
|
73
|
<mappings>
|
74
|
<mapping>
|
75
|
<domain>
|
76
|
<source_node>/cmd:CMD</source_node>
|
77
|
<target_node>
|
78
|
<entity>
|
79
|
<type>crmpe:PE22_Persistent_Dataset</type>
|
80
|
<instance_generator name="URIorUUID">
|
81
|
<arg name="text" type="xpath">cmd:Header/cmd:MdSelfLink/text()</arg>
|
82
|
</instance_generator>
|
83
|
<label_generator name="SimpleLabel">
|
84
|
<arg name="label" type="xpath">cmd:Header/cmd:MdSelfLink/text()</arg>
|
85
|
</label_generator>
|
86
|
<additional>
|
87
|
<relationship>crm:P2_has_type</relationship>
|
88
|
<entity>
|
89
|
<type>crm:E55_Type</type>
|
90
|
<instance_info>
|
91
|
<constant>metadata</constant>
|
92
|
</instance_info>
|
93
|
<instance_generator name="ConceptURI_2step">
|
94
|
<arg name="term" type="constant">datasettype</arg>
|
95
|
<arg name="term1" type="constant">metadata</arg>
|
96
|
</instance_generator>
|
97
|
<label_generator name="Constant">
|
98
|
<arg name="text" type="constant">metadata</arg>
|
99
|
</label_generator>
|
100
|
</entity>
|
101
|
</additional>
|
102
|
<additional>
|
103
|
<relationship>crmpe:PP23i_is_dataset_part_of</relationship>
|
104
|
<entity>
|
105
|
<type>crmpe:PE24_Volatile_Dataset</type>
|
106
|
<instance_info>
|
107
|
<constant>http://parthenos.d4science.org/handle/Parthenos/REG/Dataset/Appellation/Clarin Virtual Language Observatory Dataset</constant>
|
108
|
</instance_info>
|
109
|
<instance_generator name="Constant">
|
110
|
<arg name="text" type="constant">http://parthenos.d4science.org/handle/Parthenos/REG/Dataset/Clarin%20Virtual%20Language%20Observatory%20Dataset</arg>
|
111
|
</instance_generator>
|
112
|
</entity>
|
113
|
</additional>
|
114
|
<additional>
|
115
|
<relationship>crm:P2_has_type</relationship>
|
116
|
<entity>
|
117
|
<type>crm:E55_Type</type>
|
118
|
<instance_info>
|
119
|
<constant>xml</constant>
|
120
|
</instance_info>
|
121
|
<instance_generator name="ConceptURI_2step">
|
122
|
<arg name="term" type="constant">encodingtype</arg>
|
123
|
<arg name="term1" type="constant">xml</arg>
|
124
|
</instance_generator>
|
125
|
<label_generator name="SimpleLabel">
|
126
|
<arg name="label" type="constant">xml</arg>
|
127
|
</label_generator>
|
128
|
</entity>
|
129
|
</additional>
|
130
|
</entity>
|
131
|
</target_node>
|
132
|
<comments>
|
133
|
<comment type="">
|
134
|
<rationale>Metadata record</rationale>
|
135
|
<alternatives/>
|
136
|
<typical_mistakes/>
|
137
|
<local_habits/>
|
138
|
<link_to_cook_book/>
|
139
|
<example>
|
140
|
<example_source/>
|
141
|
<example_target/>
|
142
|
</example>
|
143
|
<comments_last_update date="" person="Could indicate that this is a metadata record through typing"/>
|
144
|
</comment>
|
145
|
</comments>
|
146
|
</domain>
|
147
|
<link>
|
148
|
<path>
|
149
|
<source_relation>
|
150
|
<relation>cmd:Header</relation>
|
151
|
</source_relation>
|
152
|
<target_relation>
|
153
|
<relationship>crmdig:L11i_was_output_of</relationship>
|
154
|
</target_relation>
|
155
|
</path>
|
156
|
<range>
|
157
|
<source_node>cmd:Header</source_node>
|
158
|
<target_node>
|
159
|
<entity>
|
160
|
<type>crmdig:D7_Digital_Machine_Event</type>
|
161
|
<instance_generator name="UUID"/>
|
162
|
<label_generator name="CompositeLabel">
|
163
|
<arg name="label" type="constant">Creation of CDMI record </arg>
|
164
|
<arg name="text" type="xpath">cmd:MdSelfLink/text()</arg>
|
165
|
</label_generator>
|
166
|
</entity>
|
167
|
</target_node>
|
168
|
</range>
|
169
|
</link>
|
170
|
<link>
|
171
|
<path>
|
172
|
<source_relation>
|
173
|
<relation>cmd:Components/cmdp:OLAC-DcmiTerms</relation>
|
174
|
</source_relation>
|
175
|
<target_relation>
|
176
|
<relationship>crm:P129_is_about</relationship>
|
177
|
</target_relation>
|
178
|
</path>
|
179
|
<range>
|
180
|
<source_node>cmd:Components/cmdp:OLAC-DcmiTerms</source_node>
|
181
|
<target_node>
|
182
|
<entity>
|
183
|
<type>crmpe:PE8_E-Service</type>
|
184
|
<instance_generator name="ServiceURI">
|
185
|
<arg name="term" type="xpath">/cmd:CMD/cmd:Resources/cmd:ResourceProxyList/cmd:ResourceProxy/cmd:ResourceRef/text()</arg>
|
186
|
</instance_generator>
|
187
|
<label_generator name="SimpleLabel">
|
188
|
<arg name="label" type="xpath">/cmd:CMD/cmd:Resources/cmd:ResourceProxyList/cmd:ResourceProxy/cmd:ResourceRef/text()</arg>
|
189
|
</label_generator>
|
190
|
</entity>
|
191
|
</target_node>
|
192
|
</range>
|
193
|
</link>
|
194
|
</mapping>
|
195
|
<mapping>
|
196
|
<domain>
|
197
|
<source_node>/cmd:CMD/cmd:Header</source_node>
|
198
|
<target_node>
|
199
|
<entity>
|
200
|
<type>crmdig:D7_Digital_Machine_Event</type>
|
201
|
<instance_generator name="UUID"/>
|
202
|
</entity>
|
203
|
</target_node>
|
204
|
</domain>
|
205
|
<link>
|
206
|
<path>
|
207
|
<source_relation>
|
208
|
<relation>cmd:MdCreationDate</relation>
|
209
|
</source_relation>
|
210
|
<target_relation>
|
211
|
<relationship>crm:P4_has_time-span</relationship>
|
212
|
<entity>
|
213
|
<type>crm:E52_Time-Span</type>
|
214
|
<instance_generator name="UUID"/>
|
215
|
<label_generator name="CompositeLabel">
|
216
|
<arg name="label" type="constant">Timespan of Creation of CDMI record </arg>
|
217
|
<arg name="text" type="xpath">../cmd:MdSelfLink/text()</arg>
|
218
|
</label_generator>
|
219
|
</entity>
|
220
|
<relationship>crm:P82_at_some_time_within</relationship>
|
221
|
</target_relation>
|
222
|
<comments>
|
223
|
<comment type="">
|
224
|
<rationale/>
|
225
|
<alternatives/>
|
226
|
<typical_mistakes/>
|
227
|
<local_habits/>
|
228
|
<link_to_cook_book/>
|
229
|
<example>
|
230
|
<example_source/>
|
231
|
<example_target/>
|
232
|
</example>
|
233
|
<comments_last_update date="" person="I suggest p82 as opposed to p81 here. The process to create the file occurs somewhere within the time span indicated. p81 would indicate that it happened throughout the time span indicated, which is unlikely I guess."/>
|
234
|
</comment>
|
235
|
</comments>
|
236
|
</path>
|
237
|
<range>
|
238
|
<source_node>cmd:MdCreationDate</source_node>
|
239
|
<target_node>
|
240
|
<entity>
|
241
|
<type>http://www.w3.org/2000/01/rdf-schema#Literal</type>
|
242
|
<instance_generator name="Literal">
|
243
|
<arg name="text" type="xpath">text()</arg>
|
244
|
</instance_generator>
|
245
|
</entity>
|
246
|
</target_node>
|
247
|
</range>
|
248
|
</link>
|
249
|
<link>
|
250
|
<path>
|
251
|
<source_relation>
|
252
|
<relation>cmd:MdCreator</relation>
|
253
|
</source_relation>
|
254
|
<target_relation>
|
255
|
<relationship>crmdig:L23_used_software_or_firmware</relationship>
|
256
|
</target_relation>
|
257
|
</path>
|
258
|
<range>
|
259
|
<source_node>cmd:MdCreator</source_node>
|
260
|
<target_node>
|
261
|
<entity>
|
262
|
<type>crmpe:PE21_Persistent_Software</type>
|
263
|
<instance_generator name="SoftwareURI">
|
264
|
<arg name="term" type="xpath">text()</arg>
|
265
|
</instance_generator>
|
266
|
<label_generator name="SimpleLabel">
|
267
|
<arg name="label" type="xpath">text()</arg>
|
268
|
</label_generator>
|
269
|
</entity>
|
270
|
</target_node>
|
271
|
</range>
|
272
|
</link>
|
273
|
<link>
|
274
|
<path>
|
275
|
<source_relation>
|
276
|
<relation>/cmd:CMD/cmd:Header/cmd:MdProfile</relation>
|
277
|
</source_relation>
|
278
|
<target_relation>
|
279
|
<relationship>crmdig:L23_used_software_or_firmware</relationship>
|
280
|
</target_relation>
|
281
|
</path>
|
282
|
<range>
|
283
|
<source_node>cmd:MdProfile</source_node>
|
284
|
<target_node>
|
285
|
<entity>
|
286
|
<type>crmpe:PE38_Schema</type>
|
287
|
<instance_generator name="SoftwareURI">
|
288
|
<arg name="term" type="xpath">text()</arg>
|
289
|
</instance_generator>
|
290
|
<label_generator name="SimpleLabel">
|
291
|
<arg name="label" type="xpath">text()</arg>
|
292
|
</label_generator>
|
293
|
<additional>
|
294
|
<relationship>crm:P2_has_type</relationship>
|
295
|
<entity>
|
296
|
<type>crm:E55_Type</type>
|
297
|
<instance_info>
|
298
|
<constant>cmdi-profile</constant>
|
299
|
</instance_info>
|
300
|
<instance_generator name="ConceptURI_2step">
|
301
|
<arg name="term" type="constant">softwaretype</arg>
|
302
|
<arg name="term1" type="constant">cmdi-profile</arg>
|
303
|
</instance_generator>
|
304
|
<label_generator name="Constant">
|
305
|
<arg name="text" type="constant">cmdi-profile</arg>
|
306
|
</label_generator>
|
307
|
</entity>
|
308
|
</additional>
|
309
|
</entity>
|
310
|
</target_node>
|
311
|
</range>
|
312
|
</link>
|
313
|
</mapping>
|
314
|
<mapping>
|
315
|
<domain>
|
316
|
<source_node>/cmd:CMD/cmd:Components/cmdp:OLAC-DcmiTerms</source_node>
|
317
|
<target_node>
|
318
|
<entity>
|
319
|
<type>crmpe:PE8_E-Service</type>
|
320
|
<instance_generator name="ServiceURI">
|
321
|
<arg name="term" type="xpath">/cmd:CMD/cmd:Resources/cmd:ResourceProxyList/cmd:ResourceProxy/cmd:ResourceRef/text()</arg>
|
322
|
</instance_generator>
|
323
|
<label_generator name="SimpleLabel">
|
324
|
<arg name="label" type="xpath">/cmd:CMD/cmd:Resources/cmd:ResourceProxyList/cmd:ResourceProxy/cmd:ResourceRef/text()</arg>
|
325
|
</label_generator>
|
326
|
</entity>
|
327
|
</target_node>
|
328
|
</domain>
|
329
|
<link>
|
330
|
<path>
|
331
|
<source_relation>
|
332
|
<relation>cmdp:publisher</relation>
|
333
|
</source_relation>
|
334
|
<target_relation>
|
335
|
<relationship>crmpe:PP2_provided_by</relationship>
|
336
|
<entity>
|
337
|
<type>crm:E39_Actor</type>
|
338
|
<instance_generator name="ActorURI">
|
339
|
<arg name="term" type="xpath">text()</arg>
|
340
|
</instance_generator>
|
341
|
<label_generator name="SimpleLabel">
|
342
|
<arg name="label" type="xpath">text()</arg>
|
343
|
</label_generator>
|
344
|
</entity>
|
345
|
<relationship>crm:P1_is_identified_by</relationship>
|
346
|
</target_relation>
|
347
|
</path>
|
348
|
<range>
|
349
|
<source_node>cmdp:publisher</source_node>
|
350
|
<target_node>
|
351
|
<entity>
|
352
|
<type>crm:E41_Appellation</type>
|
353
|
<instance_generator name="ActorAppellationURI">
|
354
|
<arg name="term" type="xpath">text()</arg>
|
355
|
</instance_generator>
|
356
|
<label_generator name="SimpleLabel">
|
357
|
<arg name="label" type="xpath">text()</arg>
|
358
|
</label_generator>
|
359
|
</entity>
|
360
|
</target_node>
|
361
|
</range>
|
362
|
</link>
|
363
|
<link>
|
364
|
<path>
|
365
|
<source_relation>
|
366
|
<relation>cmdp:description</relation>
|
367
|
</source_relation>
|
368
|
<target_relation>
|
369
|
<relationship>crm:P3_has_note</relationship>
|
370
|
</target_relation>
|
371
|
</path>
|
372
|
<range>
|
373
|
<source_node>cmdp:description</source_node>
|
374
|
<target_node>
|
375
|
<entity>
|
376
|
<type>http://www.w3.org/2000/01/rdf-schema#Literal</type>
|
377
|
<instance_generator name="Literal">
|
378
|
<arg name="text" type="xpath">text()</arg>
|
379
|
</instance_generator>
|
380
|
</entity>
|
381
|
</target_node>
|
382
|
</range>
|
383
|
</link>
|
384
|
<link>
|
385
|
<path>
|
386
|
<source_relation>
|
387
|
<relation>cmdp:alternative</relation>
|
388
|
</source_relation>
|
389
|
<target_relation>
|
390
|
<relationship>crm:P1_is_identified_by</relationship>
|
391
|
</target_relation>
|
392
|
<comments>
|
393
|
<comment type="">
|
394
|
<rationale/>
|
395
|
<alternatives/>
|
396
|
<typical_mistakes/>
|
397
|
<local_habits/>
|
398
|
<link_to_cook_book/>
|
399
|
<example>
|
400
|
<example_source/>
|
401
|
<example_target/>
|
402
|
</example>
|
403
|
<comments_last_update date="" person=""/>
|
404
|
</comment>
|
405
|
</comments>
|
406
|
</path>
|
407
|
<range>
|
408
|
<source_node>cmdp:alternative</source_node>
|
409
|
<target_node>
|
410
|
<entity>
|
411
|
<type>crm:E35_Title</type>
|
412
|
<instance_generator name="ServiceAppellationURI">
|
413
|
<arg name="term" type="xpath">text()</arg>
|
414
|
</instance_generator>
|
415
|
<label_generator name="SimpleLabel">
|
416
|
<arg name="label" type="xpath">text()</arg>
|
417
|
</label_generator>
|
418
|
</entity>
|
419
|
</target_node>
|
420
|
<comments>
|
421
|
<comment type="">
|
422
|
<rationale/>
|
423
|
<alternatives/>
|
424
|
<typical_mistakes/>
|
425
|
<local_habits/>
|
426
|
<link_to_cook_book/>
|
427
|
<example>
|
428
|
<example_source/>
|
429
|
<example_target/>
|
430
|
</example>
|
431
|
<comments_last_update date="" person=""/>
|
432
|
</comment>
|
433
|
</comments>
|
434
|
</range>
|
435
|
</link>
|
436
|
<link>
|
437
|
<path>
|
438
|
<source_relation>
|
439
|
<relation>cmdp:title</relation>
|
440
|
</source_relation>
|
441
|
<target_relation>
|
442
|
<relationship>crm:P1_is_identified_by</relationship>
|
443
|
</target_relation>
|
444
|
</path>
|
445
|
<range>
|
446
|
<source_node>cmdp:title</source_node>
|
447
|
<target_node>
|
448
|
<entity>
|
449
|
<type>crm:E35_Title</type>
|
450
|
<instance_generator name="ServiceAppellationURI">
|
451
|
<arg name="term" type="xpath">text()</arg>
|
452
|
</instance_generator>
|
453
|
<label_generator name="SimpleLabel">
|
454
|
<arg name="label" type="xpath">text()</arg>
|
455
|
</label_generator>
|
456
|
</entity>
|
457
|
</target_node>
|
458
|
</range>
|
459
|
</link>
|
460
|
<link>
|
461
|
<path>
|
462
|
<source_relation>
|
463
|
<relation>cmdp:subject</relation>
|
464
|
</source_relation>
|
465
|
<target_relation>
|
466
|
<relationship>crmpe:PP45_has_competency</relationship>
|
467
|
</target_relation>
|
468
|
</path>
|
469
|
<range>
|
470
|
<source_node>cmdp:subject</source_node>
|
471
|
<target_node>
|
472
|
<entity>
|
473
|
<type>crmpe:PE36_Competency_Type</type>
|
474
|
<instance_info/>
|
475
|
<instance_generator name="ConceptURI">
|
476
|
<arg name="term" type="xpath">text()</arg>
|
477
|
</instance_generator>
|
478
|
<label_generator name="SimpleLabel">
|
479
|
<arg name="label" type="xpath">text()</arg>
|
480
|
</label_generator>
|
481
|
</entity>
|
482
|
</target_node>
|
483
|
</range>
|
484
|
</link>
|
485
|
<link>
|
486
|
<path>
|
487
|
<source_relation>
|
488
|
<relation>../../cmd:Header/cmd:MdCollectionDisplayName</relation>
|
489
|
</source_relation>
|
490
|
<target_relation>
|
491
|
<relationship>crm:P9i_forms_part_of</relationship>
|
492
|
</target_relation>
|
493
|
</path>
|
494
|
<range>
|
495
|
<source_node>../../cmd:Header/cmd:MdCollectionDisplayName</source_node>
|
496
|
<target_node>
|
497
|
<entity>
|
498
|
<type>crmpe:PE1_Service</type>
|
499
|
<instance_generator name="ServiceURI">
|
500
|
<arg name="term" type="xpath">text()</arg>
|
501
|
</instance_generator>
|
502
|
<label_generator name="SimpleLabel">
|
503
|
<arg name="label" type="xpath">text()</arg>
|
504
|
</label_generator>
|
505
|
</entity>
|
506
|
</target_node>
|
507
|
</range>
|
508
|
</link>
|
509
|
<link>
|
510
|
<path>
|
511
|
<source_relation>
|
512
|
<relation>../../cmd:Resources/cmd:ResourceProxyList/cmd:ResourceProxy/cmd:ResourceRef</relation>
|
513
|
</source_relation>
|
514
|
<target_relation>
|
515
|
<relationship>crmpe:PP28_has_designated_access_point</relationship>
|
516
|
</target_relation>
|
517
|
</path>
|
518
|
<range>
|
519
|
<source_node>../../cmd:Resources/cmd:ResourceProxyList/cmd:ResourceProxy/cmd:ResourceRef</source_node>
|
520
|
<target_node>
|
521
|
<entity>
|
522
|
<type>crmpe:PE29_Access_Point</type>
|
523
|
<instance_generator name="URIorUUID">
|
524
|
<arg name="text" type="xpath">text()</arg>
|
525
|
</instance_generator>
|
526
|
</entity>
|
527
|
</target_node>
|
528
|
</range>
|
529
|
</link>
|
530
|
</mapping>
|
531
|
</mappings>
|
532
|
|
533
|
</x3ml>]]>
|
534
|
</CODE>
|
535
|
</SCRIPT>
|
536
|
</CONFIGURATION>
|
537
|
<STATUS/>
|
538
|
<SECURITY_PARAMETERS/>
|
539
|
</BODY>
|
540
|
</RESOURCE_PROFILE>
|