Revision 52909
Added by Alessia Bardi almost 5 years ago
dariah-DE_417_mapping.xml | ||
---|---|---|
10 | 10 |
<CONFIGURATION> |
11 | 11 |
<IMPORTED/> |
12 | 12 |
<SCRIPT> |
13 |
<TITLE>DARIAH-DE 417 Mapping 2018-04-14</TITLE>
|
|
13 |
<TITLE>DARIAH-DE 417 Mapping 2018-07-05</TITLE>
|
|
14 | 14 |
<CODE> <![CDATA[ |
15 | 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 | 16 |
<info> |
... | ... | |
67 | 67 |
<example_data_from>Dariah DE</example_data_from> |
68 | 68 |
<example_data_contact_person/> |
69 | 69 |
<example_data_source_record xml_link="dariahDE___14-07-2017013730___8446.xml"/> |
70 |
<generator_policy_info generator_link="PARTHENOS-GeneratorPolicy___15-03-2017144440___5286.xml"/>
|
|
71 |
<example_data_target_record/> |
|
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 | 72 |
</example_data_info> |
73 | 73 |
</info> |
74 | 74 |
<namespaces> |
75 | 75 |
<namespace prefix="dc" uri="http://purl.org/dc/elements/1.1/"/> |
76 | 76 |
<namespace prefix="dcterms" uri="http://purl.org/dc/terms/"/> |
77 | 77 |
<namespace prefix="marcrel" uri="http://id.loc.gov/vocabulary/relators/"/> |
78 |
<namespace prefix="academy" uri="http://www.academyofathens.gr/"/> |
|
79 | 78 |
<namespace prefix="crmpe" uri="http://www.ics.forth.gr/isl/CRMext/CRMpe.rdfs/"/> |
80 | 79 |
<namespace prefix="cld" uri="http://purl.org/cld/terms/"/> |
81 | 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/"/> |
|
82 | 83 |
</namespaces> |
83 | 84 |
<mappings> |
84 | 85 |
<mapping> |
... | ... | |
92 | 93 |
<arg name="term" type="xpath">id/text()</arg> |
93 | 94 |
</instance_generator> |
94 | 95 |
<label_generator name="CompositeLabel"> |
95 |
<arg name="label" type="constant">collection</arg>
|
|
96 |
<arg name="text" type="xpath">id/text()</arg>
|
|
96 |
<arg name="label" type="constant">Collection: </arg>
|
|
97 |
<arg name="text" type="xpath">localizedDescriptions/localizedDescriptions/title/text()</arg>
|
|
97 | 98 |
</label_generator> |
98 | 99 |
</entity> |
99 | 100 |
</target_node> |
... | ... | |
136 | 137 |
<target_node> |
137 | 138 |
<entity> |
138 | 139 |
<type>crm:E56_Language</type> |
139 |
<instance_generator name="ThingURI">
|
|
140 |
<instance_generator name="ConceptURI">
|
|
140 | 141 |
<arg name="term" type="xpath">text()</arg> |
141 | 142 |
</instance_generator> |
142 | 143 |
<label_generator name="SimpleLabel"> |
... | ... | |
160 | 161 |
<target_node> |
161 | 162 |
<entity> |
162 | 163 |
<type>crm:E55_Type</type> |
163 |
<instance_generator name="ThingURI">
|
|
164 |
<instance_generator name="ConceptURI">
|
|
164 | 165 |
<arg name="term" type="xpath">text()</arg> |
165 | 166 |
</instance_generator> |
166 | 167 |
<label_generator name="SimpleLabel"> |
... | ... | |
198 | 199 |
</source_relation> |
199 | 200 |
<target_relation> |
200 | 201 |
<relationship>crm:P108i_was_produced_by</relationship> |
201 |
<entity> |
|
202 |
<entity variable="pro1">
|
|
202 | 203 |
<type>crm:E12_Production</type> |
203 | 204 |
<instance_generator name="UUID"/> |
204 |
<label_generator name="SimpleLabel"> |
|
205 |
<arg name="label" type="xpath">text()</arg> |
|
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> |
|
206 | 208 |
</label_generator> |
207 | 209 |
</entity> |
208 | 210 |
<relationship>crm:P14_carried_out_by</relationship> |
209 |
<entity> |
|
210 |
<type>crm:E39_Actor</type> |
|
211 |
<instance_generator name="ActorURI"> |
|
212 |
<arg name="term" type="xpath">text()</arg> |
|
213 |
</instance_generator> |
|
214 |
</entity> |
|
215 |
<relationship>crm:P1_is_identified_by</relationship> |
|
216 | 211 |
</target_relation> |
217 | 212 |
</path> |
218 | 213 |
<range> |
219 | 214 |
<source_node>entityCreator</source_node> |
220 | 215 |
<target_node> |
221 | 216 |
<entity> |
222 |
<type>crm:E41_Appellation</type>
|
|
223 |
<instance_generator name="ActorAppellationURI">
|
|
217 |
<type>crm:E39_Actor</type>
|
|
218 |
<instance_generator name="ActorURI"> |
|
224 | 219 |
<arg name="term" type="xpath">text()</arg> |
225 | 220 |
</instance_generator> |
226 | 221 |
<label_generator name="SimpleLabel"> |
... | ... | |
268 | 263 |
<target_node> |
269 | 264 |
<entity> |
270 | 265 |
<type>crm:E53_Place</type> |
271 |
<instance_generator name="UUID"/> |
|
272 |
<label_generator name="CompositeLabel"> |
|
273 |
<arg name="label" type="constant">Geographical context related to the collection</arg> |
|
274 |
<arg name="text" type="xpath">text()</arg> |
|
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> |
|
275 | 271 |
</label_generator> |
276 | 272 |
</entity> |
277 | 273 |
</target_node> |
... | ... | |
284 | 280 |
</source_relation> |
285 | 281 |
<target_relation> |
286 | 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> |
|
287 | 292 |
</target_relation> |
288 | 293 |
</path> |
289 | 294 |
<range> |
290 | 295 |
<source_node>temporals/temporals</source_node> |
291 | 296 |
<target_node> |
292 | 297 |
<entity> |
293 |
<type>crm:E52_Time-Span</type> |
|
294 |
<instance_generator name="UUID"/> |
|
295 |
<label_generator name="CompositeLabel"> |
|
296 |
<arg name="label" type="constant">Historical context or period related to the collection</arg> |
|
298 |
<type>http://www.w3.org/2000/01/rdf-schema#Literal</type> |
|
299 |
<instance_generator name="Literal"> |
|
297 | 300 |
<arg name="text" type="xpath">text()</arg> |
298 |
</label_generator>
|
|
301 |
</instance_generator>
|
|
299 | 302 |
</entity> |
300 | 303 |
</target_node> |
301 | 304 |
</range> |
... | ... | |
307 | 310 |
</source_relation> |
308 | 311 |
<target_relation> |
309 | 312 |
<relationship>crm:P108i_was_produced_by</relationship> |
310 |
<entity> |
|
313 |
<entity variable="pro1">
|
|
311 | 314 |
<type>crm:E12_Production</type> |
312 | 315 |
<instance_generator name="UUID"/> |
313 | 316 |
<label_generator name="CompositeLabel"> |
314 |
<arg name="label" type="constant">creation of the collection</arg>
|
|
315 |
<arg name="text" type="xpath">text()</arg> |
|
317 |
<arg name="label" type="constant">Production of Collection</arg>
|
|
318 |
<arg name="text" type="xpath">../localizedDescriptions/localizedDescriptions/title/text()</arg>
|
|
316 | 319 |
</label_generator> |
317 | 320 |
</entity> |
318 | 321 |
<relationship>crm:P4_has_time-span</relationship> |
319 | 322 |
<entity> |
320 | 323 |
<type>crm:E52_Time-Span</type> |
321 | 324 |
<instance_generator name="UUID"/> |
322 |
<label_generator name="SimpleLabel"> |
|
323 |
<arg name="label" type="xpath">text()</arg> |
|
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> |
|
324 | 328 |
</label_generator> |
325 | 329 |
</entity> |
326 | 330 |
<relationship>crm:P82_at_some_time_within</relationship> |
... | ... | |
341 | 345 |
<link> |
342 | 346 |
<path> |
343 | 347 |
<source_relation> |
344 |
<relation>hosting</relation> |
|
345 |
</source_relation> |
|
346 |
<target_relation> |
|
347 |
<relationship>crmpe:PP4i_is_object_hosted_by</relationship> |
|
348 |
<entity> |
|
349 |
<type>crmpe:PE2_Hosting_Service</type> |
|
350 |
<instance_generator name="ServiceURI"> |
|
351 |
<arg name="term" type="xpath">text()</arg> |
|
352 |
</instance_generator> |
|
353 |
</entity> |
|
354 |
<relationship>crm:P7_took_place_at</relationship> |
|
355 |
</target_relation> |
|
356 |
</path> |
|
357 |
<range> |
|
358 |
<source_node>locations/locations/place</source_node> |
|
359 |
<target_node> |
|
360 |
<entity> |
|
361 |
<type>crm:E53_Place</type> |
|
362 |
<instance_generator name="PlaceURI"> |
|
363 |
<arg name="term" type="xpath">text()</arg> |
|
364 |
</instance_generator> |
|
365 |
</entity> |
|
366 |
</target_node> |
|
367 |
</range> |
|
368 |
</link> |
|
369 |
<link> |
|
370 |
<path> |
|
371 |
<source_relation> |
|
372 | 348 |
<relation>collectionDescriptionRights</relation> |
373 | 349 |
</source_relation> |
374 | 350 |
<target_relation> |
... | ... | |
383 | 359 |
<instance_generator name="ThingURI"> |
384 | 360 |
<arg name="term" type="xpath">text()</arg> |
385 | 361 |
</instance_generator> |
362 |
<label_generator name="SimpleLabel"> |
|
363 |
<arg name="label" type="xpath">text()</arg> |
|
364 |
</label_generator> |
|
386 | 365 |
</entity> |
387 | 366 |
</target_node> |
388 | 367 |
</range> |
389 | 368 |
</link> |
390 |
</mapping> |
|
391 |
<mapping> |
|
392 |
<domain> |
|
393 |
<source_node>/Collection/hosting</source_node> |
|
394 |
<target_node> |
|
395 |
<entity> |
|
396 |
<type>crmpe:PE2_Hosting_Service</type> |
|
397 |
<instance_generator name="ServiceURI"> |
|
398 |
<arg name="term" type="xpath">text()</arg> |
|
399 |
</instance_generator> |
|
400 |
</entity> |
|
401 |
</target_node> |
|
402 |
</domain> |
|
403 | 369 |
<link> |
404 | 370 |
<path> |
405 | 371 |
<source_relation> |
406 |
<relation>/Collection/institute</relation>
|
|
372 |
<relation>institute</relation> |
|
407 | 373 |
</source_relation> |
408 | 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> |
|
409 | 384 |
<relationship>crmpe:PP2_provided_by</relationship> |
410 |
<entity> |
|
411 |
<type>crm:E40_Legal_Body</type> |
|
412 |
<instance_generator name="ActorURI"> |
|
413 |
<arg name="term" type="xpath">text()</arg> |
|
414 |
</instance_generator> |
|
415 |
</entity> |
|
416 |
<relationship>crm:P76_has_contact_point</relationship> |
|
417 | 385 |
</target_relation> |
418 | 386 |
</path> |
419 | 387 |
<range> |
420 |
<source_node>/Collection/email</source_node>
|
|
388 |
<source_node>institute</source_node>
|
|
421 | 389 |
<target_node> |
422 |
<entity> |
|
423 |
<type>crm:E51_Contact_Point</type> |
|
424 |
<instance_generator name="TwoLevelCustomURI"> |
|
425 |
<arg name="level1" type="constant">Thing</arg> |
|
426 |
<arg name="level2" type="constant">Appellation</arg> |
|
390 |
<entity variable="host1"> |
|
391 |
<type>crm:E40_Legal_Body</type> |
|
392 |
<instance_generator name="ActorURI"> |
|
427 | 393 |
<arg name="term" type="xpath">text()</arg> |
428 | 394 |
</instance_generator> |
395 |
<label_generator name="SimpleLabel"> |
|
396 |
<arg name="label" type="xpath">text()</arg> |
|
397 |
</label_generator> |
|
429 | 398 |
</entity> |
430 | 399 |
</target_node> |
431 | 400 |
</range> |
... | ... | |
433 | 402 |
<link> |
434 | 403 |
<path> |
435 | 404 |
<source_relation> |
436 |
<relation>/Collection/webPage</relation>
|
|
405 |
<relation>webPage</relation> |
|
437 | 406 |
</source_relation> |
438 | 407 |
<target_relation> |
439 |
<relationship>crmpe:PP2_provided_by</relationship> |
|
440 |
<entity> |
|
441 |
<type>crm:E40_Legal_Body</type> |
|
442 |
<instance_generator name="UUID"/> |
|
443 |
<label_generator name="SimpleLabel"> |
|
444 |
<arg name="label" type="xpath">text()</arg> |
|
445 |
</label_generator> |
|
446 |
</entity> |
|
447 |
<relationship>crm:P76_has_contact_point</relationship> |
|
408 |
<relationship>crm:P1_is_identified_by</relationship> |
|
448 | 409 |
</target_relation> |
449 | 410 |
</path> |
450 | 411 |
<range> |
451 |
<source_node>/Collection/webPage</source_node>
|
|
412 |
<source_node>webPage</source_node> |
|
452 | 413 |
<target_node> |
453 | 414 |
<entity> |
454 | 415 |
<type>crmpe:PE29_Access_Point</type> |
... | ... | |
459 | 420 |
</target_node> |
460 | 421 |
</range> |
461 | 422 |
</link> |
462 |
</mapping> |
|
463 |
<mapping> |
|
464 |
<domain> |
|
465 |
<source_node>/Collection/locations/locations/place</source_node> |
|
466 |
<target_node> |
|
467 |
<entity> |
|
468 |
<type>crm:E53_Place</type> |
|
469 |
<instance_generator name="PlaceURI"> |
|
470 |
<arg name="term" type="xpath">text()</arg> |
|
471 |
</instance_generator> |
|
472 |
</entity> |
|
473 |
</target_node> |
|
474 |
</domain> |
|
475 | 423 |
<link> |
476 | 424 |
<path> |
477 | 425 |
<source_relation> |
478 |
<relation>locations/locations/street</relation>
|
|
426 |
<relation>locations/locations</relation> |
|
479 | 427 |
</source_relation> |
480 | 428 |
<target_relation> |
481 |
<relationship>crm:P1_is_identified_by</relationship> |
|
482 |
</target_relation> |
|
483 |
</path> |
|
484 |
<range> |
|
485 |
<source_node>locations/locations/street</source_node> |
|
486 |
<target_node> |
|
487 |
<entity> |
|
488 |
<type>crm:E45_Address</type> |
|
489 |
<instance_generator name="OneLevelCustomURI"> |
|
490 |
<arg name="level1" type="constant">thingappellation</arg> |
|
491 |
<arg name="term" type="xpath">text()</arg> |
|
492 |
</instance_generator> |
|
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"/> |
|
493 | 433 |
</entity> |
494 |
</target_node> |
|
495 |
</range> |
|
496 |
</link> |
|
497 |
<link> |
|
498 |
<path> |
|
499 |
<source_relation> |
|
500 |
<relation>locations/locations/number</relation> |
|
501 |
</source_relation> |
|
502 |
<target_relation> |
|
503 |
<relationship>crm:P1_is_identified_by</relationship> |
|
504 |
</target_relation> |
|
505 |
</path> |
|
506 |
<range> |
|
507 |
<source_node>locations/locations/number</source_node> |
|
508 |
<target_node> |
|
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> |
|
509 | 440 |
<entity> |
510 |
<type>crm:E51_Contact_Point</type> |
|
511 |
<instance_generator name="OneLevelCustomURI"> |
|
512 |
<arg name="level1" type="constant">street number</arg> |
|
513 |
<arg name="term" type="xpath">text()</arg> |
|
514 |
</instance_generator> |
|
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> |
|
515 | 447 |
</entity> |
516 |
</target_node> |
|
517 |
</range> |
|
518 |
</link> |
|
519 |
<link> |
|
520 |
<path> |
|
521 |
<source_relation> |
|
522 |
<relation>locations/locations/postalCode</relation> |
|
523 |
</source_relation> |
|
524 |
<target_relation> |
|
525 | 448 |
<relationship>crm:P1_is_identified_by</relationship> |
526 | 449 |
</target_relation> |
527 | 450 |
</path> |
528 | 451 |
<range> |
529 |
<source_node>locations/locations/postalCode</source_node>
|
|
452 |
<source_node>locations/locations</source_node> |
|
530 | 453 |
<target_node> |
531 | 454 |
<entity> |
532 |
<type>crm:E51_Contact_Point</type> |
|
533 |
<instance_generator name="OneLevelCustomURI"> |
|
534 |
<arg name="level1" type="constant">postal box appellation</arg> |
|
535 |
<arg name="term" type="xpath">text()</arg> |
|
536 |
</instance_generator> |
|
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> |
|
537 | 463 |
</entity> |
538 | 464 |
</target_node> |
539 | 465 |
</range> |
Also available in: Unified diff
Updated mappings