Project

General

Profile

« Previous | Next » 

Revision 47204

Correct EHRI 3M mapping

View differences:

ehri_mapping.xml
12 12
			<SCRIPT>
13 13
				<TITLE>EHRI Mapping</TITLE>
14 14
				<CODE> <![CDATA[
15
<x3ml version="1.0" source_type="xpath">
15
<?xml version="1.0" encoding="UTF-8"?><!--Sample XML file generated by XMLSpy v2011 sp1 (http://www.altova.com)--><x3ml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" source_type="xpath" version="1.0" xsi:noNamespaceSchemaLocation="x3ml_v1.0.xsd">
16
    <info>
17
        <title>EHRI  -&gt; PE  Mapping File Official</title>
18
        <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>
19
        <source_info>
20
            <source_schema type="" version=""/>
21
            <source_collection/>
22
        </source_info>
23
        <target_info>
24
            <target_schema schema_file="cidoc_crm_v6.0-draft-2015January.rdfs" type="rdfs" version="6.0">CIDOC-CRM</target_schema>
25
            <target_collection/>
26
        </target_info>
27
        <target_info>
28
            <target_schema schema_file="CRMdig_v3.2.rdfs" type="rdfs" version="3.2">CRMdig</target_schema>
29
            <target_collection/>
30
        </target_info>
31
        <target_info>
32
            <target_schema schema_file="CRMext4SKOSandLabel_v1.2.rdfs" type="rdfs" version="1.2">CRMext4SKOSandLabel</target_schema>
33
            <target_collection/>
34
        </target_info>
35
        <target_info>
36
            <target_schema schema_file="CRMpc_v1.0.rdfs" type="rdfs" version="1.0">CRMpc</target_schema>
37
            <target_collection/>
38
        </target_info>
39
        <target_info>
40
            <target_schema schema_file="CRMpe_v1.8.1.rdfs" type="rdfs" version="1.8.1">CRMpe</target_schema>
41
            <target_collection/>
42
        </target_info>
43
        <target_info>
44
            <target_schema type="" version=""/>
45
            <target_collection/>
46
        </target_info>
47
        <mapping_info>
48
            <mapping_created_by_org>EHRI</mapping_created_by_org>
49
            <mapping_created_by_person>Charles Riondet</mapping_created_by_person>
50
            <in_collaboration_with>George Bruseker</in_collaboration_with>
51
        </mapping_info>
52
        <example_data_info>
53
            <example_data_from>EHRI</example_data_from>
54
            <example_data_contact_person>Charles Riondet</example_data_contact_person>
55
            <example_data_source_record xml_link="sampleInputRecord___28-02-2017143104___4492___07-04-2017154350___10738.xml"/>
56
            <generator_policy_info generator_link="PARTHENOS-GeneratorPolicy___15-03-2017144440___5286.xml"/>
57
            <example_data_target_record rdf_link="EHRI___01-03-2017163035___1590.rdf"/>
58
        </example_data_info>
59
    </info>
16 60
    <namespaces>
61
        <namespace prefix="rdfs" uri="http://www.w3.org/2000/01/rdf-schema#"/>
62
        <namespace prefix="xsd" uri="http://www.w3.org/2001/XMLSchema#"/>
17 63
        <namespace prefix="crm" uri="http://www.cidoc-crm.org/cidoc-crm/"/>
18
        <namespace prefix="rdf" uri="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
19
        <namespace prefix="rdfs" uri="http://www.w3.org/2000/01/rdf-schema#"/>
64
        <namespace prefix="crmdig" uri="http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/"/>
65
        <namespace prefix="skos" uri="http://www.w3.org/2004/02/skos/core#"/>
66
        <namespace prefix="crm" uri="http://www.cidoc-crm.org/cidoc-crm/"/>
67
        <namespace prefix="crmpe" uri="http://www.ics.forth.gr/isl/CRMext/CRMpe.rdfs/"/>
68
        <namespace prefix="parthenos" uri="http://parthenos-project.eu/EHRI/"/>
20 69
    </namespaces>
21 70
    <mappings>
22 71
        <mapping>
23 72
            <domain>
24
                <source_node>//COIN</source_node>
73
                <source_node>/ead/eadheader</source_node>
25 74
                <target_node>
26 75
                    <entity>
27
                        <type>crm:E22_Man-Made_Object</type>
76
                        <type>crmpe:PE22_Persistent_Dataset</type>
77
                        <type>crm:E33_Linguistic_Object</type>
78
                        <instance_generator name="DatasetURI">
79
                            <arg name="term" type="xpath">eadid/text()</arg>
80
                        </instance_generator>
81
                        <label_generator name="SimpleLabel">
82
                            <arg name="label" type="xpath">eadid/text()</arg>
83
                        </label_generator>
84
                        <additional>
85
                            <relationship>crm:P2_has_type</relationship>
86
                            <entity>
87
                                <type>crm:E55_Type</type>
88
                                <instance_info>
89
                                    <constant>metadata</constant>
90
                                </instance_info>
91
                                <instance_generator name="ConceptURI">
92
                                    <arg name="term" type="constant">Metadata</arg>
93
                                </instance_generator>
94
                                <label_generator name="Constant">
95
                                    <arg name="text" type="constant">Metadata</arg>
96
                                </label_generator>
97
                            </entity>
98
                        </additional>
99
                    </entity>
100
                </target_node>
101
            </domain>
102
            <link>
103
                <path>
104
                    <source_relation>
105
                        <relation>filedesc/titlestmt/titleproper</relation>
106
                    </source_relation>
107
                    <target_relation>
108
                        <relationship>crm:P102_has_title</relationship>
109
                    </target_relation>
110
                </path>
111
                <range>
112
                    <source_node>filedesc/titlestmt/titleproper</source_node>
113
                    <target_node>
114
                        <entity>
115
                            <type>crm:E35_Title</type>
116
                            <instance_generator name="DatasetAppellationURI">
117
                                <arg name="term" type="xpath">../../../eadid/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>../archdesc</relation>
130
                    </source_relation>
131
                    <target_relation>
132
                        <relationship>crm:P129_is_about</relationship>
133
                    </target_relation>
134
                </path>
135
                <range>
136
                    <source_node>../archdesc</source_node>
137
                    <target_node>
138
                        <entity>
139
                            <type>crm:E78_Collection</type>
140
                            <instance_generator name="ThingURI">
141
                                <arg name="term" type="xpath">did/unitid/text()</arg>
142
                            </instance_generator>
143
                        </entity>
144
                    </target_node>
145
                </range>
146
            </link>
147
            <link>
148
                <path>
149
                    <source_relation>
150
                        <relation>profiledesc/langusage/language</relation>
151
                    </source_relation>
152
                    <target_relation>
153
                        <relationship>crm:P72_has_language</relationship>
154
                    </target_relation>
155
                    <comments>
156
                        <comment type="">
157
                            <rationale/>
158
                            <alternatives>if this is the language of the metadata or dataset and all cases potentially have a language, then you can double instantiate the eadheader also as E33 Linguistic Object and then use the property p72 has language</alternatives>
159
                            <typical_mistakes/>
160
                            <local_habits/>
161
                            <link_to_cook_book/>
162
                            <example>
163
                                <example_source/>
164
                                <example_target/>
165
                            </example>
166
                            <comments_last_update date="" person=""/>
167
                        </comment>
168
                    </comments>
169
                </path>
170
                <range>
171
                    <source_node>profiledesc/langusage/language</source_node>
172
                    <target_node>
173
                        <entity>
174
                            <type>crm:E56_Language</type>
175
                            <instance_generator name="ConceptURI">
176
                                <arg name="term" type="xpath">text()</arg>
177
                            </instance_generator>
178
                            <label_generator name="SimpleLabel">
179
                                <arg name="label" type="xpath">text()</arg>
180
                            </label_generator>
181
                        </entity>
182
                    </target_node>
183
                </range>
184
            </link>
185
            <link>
186
                <path>
187
                    <source_relation>
188
                        <relation>filedesc/publicationstmt</relation>
189
                    </source_relation>
190
                    <target_relation>
191
                        <relationship>crm:P94i_was_created_by</relationship>
192
                        <entity variable="create">
193
                            <type>crmdig:D7_Digital_Machine_Event</type>
194
                            <instance_generator name="UUID"/>
195
                            <label_generator name="CompositeLabel">
196
                                <arg name="label" type="constant">Initial Creation of</arg>
197
                                <arg name="text" type="xpath">../../eadid/text()</arg>
198
                            </label_generator>
199
                            <additional>
200
                                <relationship>crm:P2_has_type</relationship>
201
                                <entity>
202
                                    <type>crm:E55_Type</type>
203
                                    <instance_info>
204
                                        <constant>Initial Creation</constant>
205
                                    </instance_info>
206
                                    <instance_generator name="ConceptURI">
207
                                        <arg name="term" type="constant">Initial Creation</arg>
208
                                    </instance_generator>
209
                                    <label_generator name="Constant">
210
                                        <arg name="text" type="constant">Initial Creation</arg>
211
                                    </label_generator>
212
                                </entity>
213
                            </additional>
214
                        </entity>
215
                        <relationship>crm:P14_carried_out_by</relationship>
216
                    </target_relation>
217
                    <comments>
218
                        <comment type="">
219
                            <rationale/>
220
                            <alternatives>is this the creation that is further described in the next map? If so, you should stop with this creation node and put the carried out by the created by in the next map. Looking at your paths though it does not seem clear to me that they are the same creation. Are they?</alternatives>
221
                            <typical_mistakes/>
222
                            <local_habits/>
223
                            <link_to_cook_book/>
224
                            <example>
225
                                <example_source/>
226
                                <example_target/>
227
                            </example>
228
                            <comments_last_update date="" person=""/>
229
                        </comment>
230
                    </comments>
231
                </path>
232
                <range>
233
                    <source_node>filedesc/publicationstmt</source_node>
234
                    <target_node>
235
                        <entity>
236
                            <type>crm:E39_Actor</type>
237
                            <instance_generator name="ActorURI">
238
                                <arg name="term" type="xpath">publisher/text()</arg>
239
                            </instance_generator>
240
                            <label_generator name="SimpleLabel">
241
                                <arg name="label" type="xpath">publisher/text()</arg>
242
                            </label_generator>
243
                        </entity>
244
                    </target_node>
245
                </range>
246
            </link>
247
            <link>
248
                <path>
249
                    <source_relation>
250
                        <relation>profiledesc/creation/date</relation>
251
                    </source_relation>
252
                    <target_relation>
253
                        <relationship>crm:P94i_was_created_by</relationship>
254
                        <entity variable="create">
255
                            <type>crmdig:D7_Digital_Machine_Event</type>
256
                            <instance_generator name="UUID"/>
257
                        </entity>
258
                        <relationship>crm:P4_has_time-span</relationship>
259
                        <entity>
260
                            <type>crm:E52_Time-Span</type>
261
                            <instance_generator name="UUID"/>
262
                            <label_generator name="CompositeLabel">
263
                                <arg name="label" type="constant">Time-Span of Initial Creation of </arg>
264
                                <arg name="text" type="xpath">../../../eadid/text()</arg>
265
                            </label_generator>
266
                        </entity>
267
                        <relationship>crm:P81_ongoing_throughout</relationship>
268
                    </target_relation>
269
                </path>
270
                <range>
271
                    <source_node>profiledesc/creation/date</source_node>
272
                    <target_node>
273
                        <entity>
274
                            <type>http://www.w3.org/2000/01/rdf-schema#Literal</type>
275
                            <instance_generator name="Literal">
276
                                <arg name="text" type="xpath">text()</arg>
277
                            </instance_generator>
278
                        </entity>
279
                    </target_node>
280
                </range>
281
            </link>
282
            <link>
283
                <path>
284
                    <source_relation>
285
                        <relation>revisiondesc/change</relation>
286
                    </source_relation>
287
                    <target_relation>
288
                        <relationship>crmdig:L11i_was_output_of</relationship>
289
                    </target_relation>
290
                </path>
291
                <range>
292
                    <source_node>revisiondesc/change</source_node>
293
                    <target_node>
294
                        <entity>
295
                            <type>crmdig:D7_Digital_Machine_Event</type>
296
                            <instance_generator name="UUID"/>
297
                            <label_generator name="CompositeLabel">
298
                                <arg name="label" type="constant">Update Event for </arg>
299
                                <arg name="text" type="xpath">../../eadid/text()</arg>
300
                            </label_generator>
301
                            <additional>
302
                                <relationship>crm:P2_has_type</relationship>
303
                                <entity>
304
                                    <type>crm:E55_Type</type>
305
                                    <instance_info>
306
                                        <constant>Update</constant>
307
                                    </instance_info>
308
                                    <instance_generator name="ConceptURI">
309
                                        <arg name="term" type="constant">Update</arg>
310
                                    </instance_generator>
311
                                    <label_generator name="Constant">
312
                                        <arg name="text" type="constant">Update</arg>
313
                                    </label_generator>
314
                                </entity>
315
                            </additional>
316
                        </entity>
317
                    </target_node>
318
                </range>
319
            </link>
320
        </mapping>
321
        <mapping>
322
            <domain>
323
                <source_node>/ead/eadheader/revisiondesc/change</source_node>
324
                <target_node>
325
                    <entity>
326
                        <type>crmdig:D7_Digital_Machine_Event</type>
28 327
                        <instance_generator name="UUID"/>
29 328
                    </entity>
30 329
                </target_node>
31 330
            </domain>
32 331
            <link>
33 332
                <path>
34
                    <source_relation><relation>ID</relation></source_relation>
333
                    <source_relation>
334
                        <relation>item</relation>
335
                    </source_relation>
35 336
                    <target_relation>
337
                        <relationship>crm:P3_has_note</relationship>
338
                    </target_relation>
339
                </path>
340
                <range>
341
                    <source_node>item</source_node>
342
                    <target_node>
343
                        <entity>
344
                            <type>http://www.w3.org/2000/01/rdf-schema#Literal</type>
345
                            <instance_generator name="Literal">
346
                                <arg name="text" type="xpath">text()</arg>
347
                            </instance_generator>
348
                        </entity>
349
                    </target_node>
350
                </range>
351
            </link>
352
            <link>
353
                <path>
354
                    <source_relation>
355
                        <relation>date</relation>
356
                    </source_relation>
357
                    <target_relation>
358
                        <relationship>crm:P4_has_time-span</relationship>
359
                        <entity>
360
                            <type>crm:E52_Time-Span</type>
361
                            <instance_generator name="UUID"/>
362
                            <label_generator name="CompositeLabel">
363
                                <arg name="label" type="constant">Time Span of Update Event for </arg>
364
                                <arg name="text" type="xpath">../../../eadid/text()</arg>
365
                            </label_generator>
366
                        </entity>
367
                        <relationship>crm:P81_ongoing_throughout</relationship>
368
                    </target_relation>
369
                </path>
370
                <range>
371
                    <source_node>date</source_node>
372
                    <target_node>
373
                        <entity>
374
                            <type>http://www.w3.org/2000/01/rdf-schema#Literal</type>
375
                            <instance_generator name="Literal">
376
                                <arg name="text" type="xpath">text()</arg>
377
                            </instance_generator>
378
                        </entity>
379
                    </target_node>
380
                </range>
381
            </link>
382
        </mapping>
383
        <mapping>
384
            <domain>
385
                <source_node>/ead/archdesc</source_node>
386
                <target_node>
387
                    <entity>
388
                        <type>crm:E78_Collection</type>
389
                        <type>crm:E33_Linguistic_Object</type>
390
                        <instance_generator name="UUID"/>
391
                        <label_generator name="SimpleLabel">
392
                            <arg name="label" type="xpath">did/unitid/text()</arg>
393
                        </label_generator>
394
                    </entity>
395
                </target_node>
396
                <comments>
397
                    <comment type="">
398
                        <rationale/>
399
                        <alternatives>So is each archive actually a dataset in the sense of a digital object or are they physical archives as well? If they are physical as well, persistent dataset won't work.</alternatives>
400
                        <typical_mistakes/>
401
                        <local_habits/>
402
                        <link_to_cook_book/>
403
                        <example>
404
                            <example_source/>
405
                            <example_target/>
406
                        </example>
407
                        <comments_last_update date="" person=""/>
408
                    </comment>
409
                </comments>
410
            </domain>
411
            <link>
412
                <path>
413
                    <source_relation>
414
                        <relation>dsc/controlaccess/subject</relation>
415
                    </source_relation>
416
                    <target_relation>
417
                        <relationship>crm:P129_is_about</relationship>
418
                    </target_relation>
419
                </path>
420
                <range>
421
                    <source_node>dsc/controlaccess/subject</source_node>
422
                    <target_node>
423
                        <entity>
424
                            <type>crm:E55_Type</type>
425
                            <instance_generator name="ConceptURI">
426
                                <arg name="term" type="xpath">text()</arg>
427
                            </instance_generator>
428
                            <label_generator name="Constant">
429
                                <arg name="text" type="xpath">text()</arg>
430
                            </label_generator>
431
                        </entity>
432
                    </target_node>
433
                    <comments>
434
                        <comment type="">
435
                            <rationale/>
436
                            <alternatives>Is control access about authorization to use? Might need to create a new relation for this if so.</alternatives>
437
                            <typical_mistakes/>
438
                            <local_habits/>
439
                            <link_to_cook_book/>
440
                            <example>
441
                                <example_source/>
442
                                <example_target/>
443
                            </example>
444
                            <comments_last_update date="" person=""/>
445
                        </comment>
446
                    </comments>
447
                </range>
448
            </link>
449
            <link>
450
                <path>
451
                    <source_relation>
452
                        <relation>did/unittitle</relation>
453
                    </source_relation>
454
                    <target_relation>
455
                        <relationship>crm:P102_has_title</relationship>
456
                    </target_relation>
457
                </path>
458
                <range>
459
                    <source_node>did/unittitle</source_node>
460
                    <target_node>
461
                        <entity>
462
                            <type>crm:E35_Title</type>
463
                            <instance_generator name="ThingAppellationURI">
464
                                <arg name="term" type="xpath">../unitid/text()</arg>
465
                            </instance_generator>
466
                            <label_generator name="SimpleLabel">
467
                                <arg name="label" type="xpath">text()</arg>
468
                            </label_generator>
469
                        </entity>
470
                    </target_node>
471
                </range>
472
            </link>
473
            <link>
474
                <path>
475
                    <source_relation>
476
                        <relation>bioghist/p</relation>
477
                    </source_relation>
478
                    <target_relation>
479
                        <relationship>crm:P108i_was_produced_by</relationship>
480
                        <entity variable="col_start">
481
                            <type>crm:E12_Production</type>
482
                            <instance_generator name="UUID"/>
483
                            <label_generator name="CompositeLabel">
484
                                <arg name="label" type="constant">Collection Event for </arg>
485
                                <arg name="text" type="xpath">../../did/unittitle/text()</arg>
486
                            </label_generator>
487
                        </entity>
488
                        <relationship>crm:P14_carried_out_by</relationship>
489
                        <entity variable="actor1">
490
                            <type>crm:E39_Actor</type>
491
                            <instance_generator name="UUID"/>
492
                        </entity>
493
                        <relationship>crm:P3_has_note</relationship>
494
                    </target_relation>
495
                </path>
496
                <range>
497
                    <source_node>bioghist/p</source_node>
498
                    <target_node>
499
                        <entity>
500
                            <type>http://www.w3.org/2000/01/rdf-schema#Literal</type>
501
                            <instance_generator name="Literal">
502
                                <arg name="text" type="xpath">text()</arg>
503
                            </instance_generator>
504
                        </entity>
505
                    </target_node>
506
                    <comments>
507
                        <comment type="">
508
                            <rationale/>
509
                            <alternatives>why has note here, what is source?</alternatives>
510
                            <typical_mistakes/>
511
                            <local_habits/>
512
                            <link_to_cook_book/>
513
                            <example>
514
                                <example_source/>
515
                                <example_target/>
516
                            </example>
517
                            <comments_last_update date="" person=""/>
518
                        </comment>
519
                    </comments>
520
                </range>
521
            </link>
522
            <link>
523
                <path>
524
                    <source_relation>
525
                        <relation>scopecontent/p</relation>
526
                    </source_relation>
527
                    <target_relation>
528
                        <relationship>crm:P3_has_note</relationship>
529
                    </target_relation>
530
                    <comments>
531
                        <comment type="">
532
                            <rationale/>
533
                            <alternatives/>
534
                            <typical_mistakes/>
535
                            <local_habits/>
536
                            <link_to_cook_book/>
537
                            <example>
538
                                <example_source/>
539
                                <example_target/>
540
                            </example>
541
                            <comments_last_update date="" person=""/>
542
                        </comment>
543
                    </comments>
544
                </path>
545
                <range>
546
                    <source_node>scopecontent/p</source_node>
547
                    <target_node>
548
                        <entity>
549
                            <type>http://www.w3.org/2000/01/rdf-schema#Literal</type>
550
                            <instance_generator name="CompositeLabel">
551
                                <arg name="label" type="constant">Scopecontent: </arg>
552
                                <arg name="text" type="xpath">text()</arg>
553
                            </instance_generator>
554
                        </entity>
555
                    </target_node>
556
                </range>
557
            </link>
558
            <link>
559
                <path>
560
                    <source_relation>
561
                        <relation>arrangement/p</relation>
562
                    </source_relation>
563
                    <target_relation>
564
                        <relationship>crm:P147i_was_curated_by</relationship>
565
                        <entity>
566
                            <type>crm:E87_Curation_Activity</type>
567
                            <instance_generator name="UUID"/>
568
                            <label_generator name="CompositeLabel">
569
                                <arg name="label" type="constant">Curation Activity for</arg>
570
                                <arg name="text" type="xpath">../../did/unittitle/text()</arg>
571
                            </label_generator>
572
                        </entity>
573
                        <relationship>crm:P33_used_specific_technique</relationship>
574
                        <entity>
575
                            <type>crm:E29_Design_or_Procedure</type>
576
                            <instance_generator name="UUID"/>
577
                            <label_generator name="CompositeLabel">
578
                                <arg name="label" type="constant">Curation Plan for </arg>
579
                                <arg name="text" type="xpath">../../did/unittitle/text()</arg>
580
                            </label_generator>
581
                        </entity>
582
                        <relationship>crm:P3_has_note</relationship>
583
                    </target_relation>
584
                </path>
585
                <range>
586
                    <source_node>arrangement/p</source_node>
587
                    <target_node>
588
                        <entity>
589
                            <type>http://www.w3.org/2000/01/rdf-schema#Literal</type>
590
                            <instance_generator name="Literal">
591
                                <arg name="text" type="xpath">text()</arg>
592
                            </instance_generator>
593
                        </entity>
594
                    </target_node>
595
                </range>
596
            </link>
597
            <link>
598
                <path>
599
                    <source_relation>
600
                        <relation>did/origination</relation>
601
                    </source_relation>
602
                    <target_relation>
603
                        <relationship>crm:P108i_was_produced_by</relationship>
604
                        <entity variable="col_start">
605
                            <type>crm:E12_Production</type>
606
                            <instance_generator name="UUID"/>
607
                            <label_generator name="CompositeLabel">
608
                                <arg name="label" type="constant">Production Activity for</arg>
609
                                <arg name="text" type="xpath">../unittitle/text()</arg>
610
                            </label_generator>
611
                        </entity>
612
                        <relationship>crm:P14_carried_out_by</relationship>
613
                    </target_relation>
614
                </path>
615
                <range>
616
                    <source_node>did/origination</source_node>
617
                    <target_node>
618
                        <entity variable="actor1">
619
                            <type>crm:E39_Actor</type>
620
                            <instance_generator name="UUID"/>
621
                        </entity>
622
                    </target_node>
623
                </range>
624
            </link>
625
            <link>
626
                <path>
627
                    <source_relation>
628
                        <relation>did/physdesc</relation>
629
                    </source_relation>
630
                    <target_relation>
631
                        <relationship>crm:P43_has_dimension</relationship>
632
                        <entity>
633
                            <type>crm:E54_Dimension</type>
634
                            <instance_generator name="UUID"/>
635
                            <label_generator name="CompositeLabel">
636
                                <arg name="label" type="constant">Dimension of</arg>
637
                                <arg name="text" type="xpath">../unittitle/text()</arg>
638
                            </label_generator>
639
                        </entity>
640
                        <relationship>crm:P3_has_note</relationship>
641
                    </target_relation>
642
                </path>
643
                <range>
644
                    <source_node>did/physdesc</source_node>
645
                    <target_node>
646
                        <entity>
647
                            <type>http://www.w3.org/2000/01/rdf-schema#Literal</type>
648
                            <instance_generator name="Literal">
649
                                <arg name="text" type="xpath">text()</arg>
650
                            </instance_generator>
651
                        </entity>
652
                    </target_node>
653
                </range>
654
            </link>
655
            <link>
656
                <path>
657
                    <source_relation>
658
                        <relation>did/repository/corpname</relation>
659
                    </source_relation>
660
                    <target_relation>
661
                        <relationship>crmpe:PP4i_is_object_hosted_by</relationship>
662
                        <entity>
663
                            <type>crmpe:PE2_Hosting_Service</type>
664
                            <instance_generator name="ServiceURI">
665
                                <arg name="term" type="xpath">text()</arg>
666
                            </instance_generator>
667
                            <label_generator name="SimpleLabel">
668
                                <arg name="label" type="xpath">text()</arg>
669
                            </label_generator>
670
                        </entity>
671
                        <relationship>crmpe:PP2_provided_by</relationship>
672
                    </target_relation>
673
                </path>
674
                <range>
675
                    <source_node>did/repository/corpname</source_node>
676
                    <target_node>
677
                        <entity>
678
                            <type>crm:E39_Actor</type>
679
                            <instance_generator name="ActorURI">
680
                                <arg name="term" type="xpath">text()</arg>
681
                            </instance_generator>
682
                            <label_generator name="SimpleLabel">
683
                                <arg name="label" type="xpath">text()</arg>
684
                            </label_generator>
685
                        </entity>
686
                    </target_node>
687
                    <comments>
688
                        <comment type="">
689
                            <rationale>Here, the Data Hosting services are the institutions holding the original materials.</rationale>
690
                            <alternatives>then you should just go all the way to actor and just use the data hosting service as an intermediate node.</alternatives>
691
                            <typical_mistakes/>
692
                            <local_habits/>
693
                            <link_to_cook_book/>
694
                            <example>
695
                                <example_source/>
696
                                <example_target/>
697
                            </example>
698
                            <comments_last_update date="" person=""/>
699
                        </comment>
700
                    </comments>
701
                </range>
702
            </link>
703
            <link>
704
                <path>
705
                    <source_relation>
706
                        <relation>did/unitdate</relation>
707
                    </source_relation>
708
                    <target_relation>
709
                        <relationship>crm:P108i_was_produced_by</relationship>
710
                        <entity variable="col_start">
711
                            <type>crm:E12_Production</type>
712
                            <instance_generator name="UUID"/>
713
                        </entity>
714
                        <relationship>crm:P4_has_time-span</relationship>
715
                        <entity>
716
                            <type>crm:E52_Time-Span</type>
717
                            <instance_generator name="UUID"/>
718
                            <label_generator name="CompositeLabel">
719
                                <arg name="label" type="constant">Time span of Collection Event for</arg>
720
                                <arg name="text" type="xpath">../unittitle/text()</arg>
721
                            </label_generator>
722
                        </entity>
723
                        <relationship>crm:P3_has_note</relationship>
724
                    </target_relation>
725
                </path>
726
                <range>
727
                    <source_node>did/unitdate</source_node>
728
                    <target_node>
729
                        <entity>
730
                            <type>http://www.w3.org/2000/01/rdf-schema#Literal</type>
731
                            <instance_generator name="Literal">
732
                                <arg name="text" type="xpath">text()</arg>
733
                            </instance_generator>
734
                        </entity>
735
                    </target_node>
736
                </range>
737
            </link>
738
            <link>
739
                <path>
740
                    <source_relation>
741
                        <relation>did/langmaterial/language</relation>
742
                    </source_relation>
743
                    <target_relation>
744
                        <relationship>crm:P72_has_language</relationship>
745
                        <entity>
746
                            <type>crm:E56_Language</type>
747
                            <instance_generator name="UUID"/>
748
                        </entity>
749
                        <relationship>crm:P3_has_note</relationship>
750
                    </target_relation>
751
                    <comments>
752
                        <comment type="">
753
                            <rationale/>
754
                            <alternatives>Is this because you want to indicate language of the archival object. in Which case you can double instantiate as Linguistic Object.</alternatives>
755
                            <typical_mistakes/>
756
                            <local_habits/>
757
                            <link_to_cook_book/>
758
                            <example>
759
                                <example_source/>
760
                                <example_target/>
761
                            </example>
762
                            <comments_last_update date="" person=""/>
763
                        </comment>
764
                    </comments>
765
                </path>
766
                <range>
767
                    <source_node>did/langmaterial/language</source_node>
768
                    <target_node>
769
                        <entity>
770
                            <type>http://www.w3.org/2000/01/rdf-schema#Literal</type>
771
                            <instance_generator name="Literal">
772
                                <arg name="text" type="xpath">text()</arg>
773
                            </instance_generator>
774
                        </entity>
775
                    </target_node>
776
                </range>
777
            </link>
778
            <link>
779
                <path>
780
                    <source_relation>
781
                        <relation>originalsloc/p</relation>
782
                    </source_relation>
783
                    <target_relation>
784
                        <relationship>crm:P130_shows_features_of</relationship>
785
                        <entity>
786
                            <type>crm:E78_Collection</type>
787
                            <instance_generator name="UUID"/>
788
                            <label_generator name="CompositeLabel">
789
                                <arg name="label" type="constant">Collection Containing Original Material of </arg>
790
                                <arg name="text" type="xpath">../../did/unittitle/text()</arg>
791
                            </label_generator>
792
                        </entity>
793
                        <relationship>crm:P3_has_note</relationship>
794
                    </target_relation>
795
                </path>
796
                <range>
797
                    <source_node>originalsloc/p</source_node>
798
                    <target_node>
799
                        <entity>
800
                            <type>http://www.w3.org/2000/01/rdf-schema#Literal</type>
801
                            <instance_generator name="Literal">
802
                                <arg name="text" type="xpath">text()</arg>
803
                            </instance_generator>
804
                        </entity>
805
                    </target_node>
806
                </range>
807
            </link>
808
            <link>
809
                <path>
810
                    <source_relation>
811
                        <relation>altformavail/p</relation>
812
                    </source_relation>
813
                    <target_relation>
814
                        <relationship>crm:P130i_features_are_also_found_on</relationship>
815
                        <entity>
816
                            <type>crm:E78_Collection</type>
817
                            <instance_generator name="UUID"/>
818
                            <label_generator name="CompositeLabel">
819
                                <arg name="label" type="constant">Collection Containing Similar Material as</arg>
820
                                <arg name="text" type="xpath">../../did/unittitle/text()</arg>
821
                            </label_generator>
822
                        </entity>
823
                        <relationship>crm:P3_has_note</relationship>
824
                    </target_relation>
825
                </path>
826
                <range>
827
                    <source_node>altformavail/p</source_node>
828
                    <target_node>
829
                        <entity>
830
                            <type>http://www.w3.org/2000/01/rdf-schema#Literal</type>
831
                            <instance_generator name="Literal">
832
                                <arg name="text" type="xpath">text()</arg>
833
                            </instance_generator>
834
                        </entity>
835
                    </target_node>
836
                </range>
837
            </link>
838
            <link>
839
                <path>
840
                    <source_relation>
841
                        <relation>otherfindaid/p</relation>
842
                    </source_relation>
843
                    <target_relation>
844
                        <relationship>crm:P129i_is_subject_of</relationship>
845
                        <entity>
846
                            <type>crmpe:PE22_Persistent_Dataset</type>
847
                            <instance_generator name="UUID"/>
848
                            <additional>
849
                                <relationship>crm:P2_has_type</relationship>
850
                                <entity>
851
                                    <type>crm:E55_Type</type>
852
                                    <instance_info>
853
                                        <constant>metadata</constant>
854
                                    </instance_info>
855
                                    <instance_generator name="ConceptURI">
856
                                        <arg name="term" type="constant">metadata (otherfindaid)</arg>
857
                                    </instance_generator>
858
                                    <label_generator name="SimpleLabel">
859
                                        <arg name="label" type="constant">metadata (otherfindaid)</arg>
860
                                    </label_generator>
861
                                </entity>
862
                            </additional>
863
                        </entity>
864
                        <relationship>crm:P3_has_note</relationship>
865
                    </target_relation>
866
                </path>
867
                <range>
868
                    <source_node>otherfindaid/p</source_node>
869
                    <target_node>
870
                        <entity>
871
                            <type>http://www.w3.org/2000/01/rdf-schema#Literal</type>
872
                            <instance_generator name="Literal">
873
                                <arg name="text" type="xpath">text()</arg>
874
                            </instance_generator>
875
                        </entity>
876
                    </target_node>
877
                    <comments>
878
                        <comment type="">
879
                            <rationale>This must not be confused with the eadheader, which is the primary metadata of this dataset.</rationale>
880
                            <alternatives/>
881
                            <typical_mistakes/>
882
                            <local_habits/>
883
                            <link_to_cook_book/>
884
                            <example>
885
                                <example_source/>
886
                                <example_target/>
887
                            </example>
888
                            <comments_last_update date="" person=""/>
889
                        </comment>
890
                    </comments>
891
                </range>
892
            </link>
893
            <link>
894
                <path>
895
                    <source_relation>
896
                        <relation>userestrict/p</relation>
897
                    </source_relation>
898
                    <target_relation>
899
                        <relationship>crm:P129i_is_subject_of</relationship>
900
                        <entity>
901
                            <type>crm:E30_Right</type>
902
                            <instance_generator name="UUID"/>
903
                            <additional>
904
                                <relationship>crm:P2_has_type</relationship>
905
                                <entity>
906
                                    <type>crm:E55_Type</type>
907
                                    <instance_info>
908
                                        <constant>Use Restriction</constant>
909
                                    </instance_info>
910
                                    <instance_generator name="UUID"/>
911
                                </entity>
912
                            </additional>
913
                        </entity>
914
                        <relationship>crm:P3_has_note</relationship>
915
                    </target_relation>
916
                </path>
917
                <range>
918
                    <source_node>userestrict/p</source_node>
919
                    <target_node>
920
                        <entity>
921
                            <type>http://www.w3.org/2000/01/rdf-schema#Literal</type>
922
                            <instance_generator name="Literal">
923
                                <arg name="text" type="xpath">text()</arg>
924
                            </instance_generator>
925
                        </entity>
926
                    </target_node>
927
                    <comments>
928
                        <comment type="">
929
                            <rationale>Not precise enough</rationale>
930
                            <alternatives/>
931
                            <typical_mistakes/>
932
                            <local_habits/>
933
                            <link_to_cook_book/>
934
                            <example>
935
                                <example_source/>
936
                                <example_target/>
937
                            </example>
938
                            <comments_last_update date="" person=""/>
939
                        </comment>
940
                    </comments>
941
                </range>
942
            </link>
943
            <link>
944
                <path>
945
                    <source_relation>
946
                        <relation>acqinfo/p</relation>
947
                    </source_relation>
948
                    <target_relation>
949
                        <relationship>crm:P24i_changed_ownership_through</relationship>
950
                        <entity>
951
                            <type>crm:E8_Acquisition</type>
952
                            <instance_generator name="UUID"/>
953
                            <additional>
954
                                <relationship>crm:P2_has_type</relationship>
955
                                <entity>
956
                                    <type>crm:E55_Type</type>
957
                                    <instance_info>
958
                                        <constant>AcquisitionEvent</constant>
959
                                    </instance_info>
960
                                    <instance_generator name="ConceptURI">
961
                                        <arg name="term" type="constant">Use Restriction</arg>
962
                                    </instance_generator>
963
                                    <label_generator name="SimpleLabel">
964
                                        <arg name="label" type="constant">Use Restriction</arg>
965
                                    </label_generator>
966
                                </entity>
967
                            </additional>
968
                        </entity>
969
                        <relationship>crm:P3_has_note</relationship>
970
                    </target_relation>
971
                </path>
972
                <range>
973
                    <source_node>acqinfo/p</source_node>
974
                    <target_node>
975
                        <entity>
976
                            <type>http://www.w3.org/2000/01/rdf-schema#Literal</type>
977
                            <instance_generator name="Literal">
978
                                <arg name="text" type="xpath">text()</arg>
979
                            </instance_generator>
980
                        </entity>
981
                    </target_node>
982
                </range>
983
            </link>
984
            <link>
985
                <path>
986
                    <source_relation>
987
                        <relation>custodhist/p</relation>
988
                    </source_relation>
989
                    <target_relation>
990
                        <relationship>crm:P24i_changed_ownership_through</relationship>
991
                        <entity>
992
                            <type>crm:E8_Acquisition</type>
993
                            <instance_generator name="UUID"/>
994
                            <label_generator name="CompositeLabel">
995
                                <arg name="label" type="constant">Acquisition Event of </arg>
996
                                <arg name="text" type="xpath">../../did/unittitle/text()</arg>
997
                            </label_generator>
998
                            <additional>
999
                                <relationship>crm:P2_has_type</relationship>
1000
                                <entity>
1001
                                    <type>crm:E55_Type</type>
1002
                                    <instance_info>
1003
                                        <constant>CustodialHistory</constant>
1004
                                    </instance_info>
1005
                                    <instance_generator name="UUID"/>
1006
                                </entity>
1007
                            </additional>
1008
                        </entity>
1009
                        <relationship>crm:P3_has_note</relationship>
1010
                    </target_relation>
1011
                </path>
1012
                <range>
1013
                    <source_node>custodhist/p</source_node>
1014
                    <target_node>
1015
                        <entity>
1016
                            <type>http://www.w3.org/2000/01/rdf-schema#Literal</type>
1017
                            <instance_generator name="Literal">
1018
                                <arg name="text" type="xpath">text()</arg>
1019
                            </instance_generator>
1020
                        </entity>
1021
                    </target_node>
1022
                </range>
1023
            </link>
1024
            <link>
1025
                <path>
1026
                    <source_relation>
1027
                        <relation>dsc/controlaccess/genreform</relation>
1028
                    </source_relation>
1029
                    <target_relation>
1030
                        <relationship>crm:P2_has_type</relationship>
1031
                    </target_relation>
1032
                </path>
1033
                <range>
1034
                    <source_node>dsc/controlaccess/genreform</source_node>
1035
                    <target_node>
1036
                        <entity>
1037
                            <type>crm:E55_Type</type>
1038
                            <instance_generator name="ConceptURI">
1039
                                <arg name="term" type="xpath">text()</arg>
1040
                            </instance_generator>
1041
                            <label_generator name="SimpleLabel">
1042
                                <arg name="label" type="xpath">text()</arg>
1043
                            </label_generator>
1044
                        </entity>
1045
                    </target_node>
1046
                </range>
1047
            </link>
1048
            <link>
1049
                <path>
1050
                    <source_relation>
1051
                        <relation>dsc/controlaccess/geogname</relation>
1052
                    </source_relation>
1053
                    <target_relation>
1054
                        <relationship>crm:P129_is_about</relationship>
1055
                    </target_relation>
1056
                </path>
1057
                <range>
1058
                    <source_node>dsc/controlaccess/geogname</source_node>
1059
                    <target_node>
1060
                        <entity>
1061
                            <type>crm:E53_Place</type>
1062
                            <instance_generator name="PlaceURI">
1063
                                <arg name="term" type="xpath">text()</arg>
1064
                            </instance_generator>
1065
                            <label_generator name="SimpleLabel">
1066
                                <arg name="label" type="xpath">text()</arg>
1067
                            </label_generator>
1068
                        </entity>
1069
                    </target_node>
1070
                </range>
1071
            </link>
1072
        </mapping>
1073
        <mapping>
1074
            <domain>
1075
                <source_node>/ead/eadheader/filedesc/publicationstmt</source_node>
1076
                <target_node>
1077
                    <entity>
1078
                        <type>crm:E39_Actor</type>
1079
                        <instance_generator name="UUID"/>
1080
                    </entity>
1081
                </target_node>
1082
            </domain>
1083
            <link>
1084
                <path>
1085
                    <source_relation>
1086
                        <relation>address/addressline</relation>
1087
                    </source_relation>
1088
                    <target_relation>
1089
                        <relationship>crm:P74_has_current_or_former_residence</relationship>
1090
                        <entity variable="p1">
1091
                            <type>crm:E53_Place</type>
1092
                            <instance_generator name="UUID"/>
1093
                            <label_generator name="CompositeLabel">
1094
                                <arg name="label" type="constant">Location of </arg>
1095
                                <arg name="text" type="xpath">../../publisher/text()</arg>
1096
                            </label_generator>
1097
                        </entity>
36 1098
                        <relationship>crm:P1_is_identified_by</relationship>
1099
                        <entity variable="a1">
1100
                            <type>crm:E45_Address</type>
1101
                            <instance_generator name="UUID"/>
1102
                            <label_generator name="CompositeLabel">
1103
                                <arg name="label" type="constant">Address for Location of</arg>
1104
                                <arg name="text" type="xpath">../../publisher/text()</arg>
1105
                            </label_generator>
1106
                        </entity>
1107
                        <relationship>crm:P3_has_note</relationship>
37 1108
                    </target_relation>
1109
                    <comments>
1110
                        <comment type="">
1111
                            <rationale>check with Nikos for new generator that concatenates the fields</rationale>
1112
                            <alternatives/>
1113
                            <typical_mistakes/>
1114
                            <local_habits/>
1115
                            <link_to_cook_book/>
1116
                            <example>
1117
                                <example_source/>
1118
                                <example_target/>
1119
                            </example>
1120
                            <comments_last_update date="" person=""/>
1121
                        </comment>
1122
                    </comments>
38 1123
                </path>
39 1124
                <range>
40
                    <source_node>ID</source_node>
1125
                    <source_node>address/addressline</source_node>
41 1126
                    <target_node>
42 1127
                        <entity>
1128
                            <type>http://www.w3.org/2000/01/rdf-schema#Literal</type>
1129
                            <instance_generator name="Literal">
1130
                                <arg name="text" type="xpath">text()</arg>
1131
                            </instance_generator>
1132
                        </entity>
1133
                    </target_node>
1134
                </range>
1135
            </link>
1136
            <link>
1137
                <path>
1138
                    <source_relation>
1139
                        <relation>publisher</relation>
1140
                    </source_relation>
1141
                    <target_relation>
1142
                        <relationship>crm:P1_is_identified_by</relationship>
1143
                    </target_relation>
1144
                </path>
1145
                <range>
1146
                    <source_node>publisher</source_node>
1147
                    <target_node>
1148
                        <entity>
43 1149
                            <type>crm:E41_Appellation</type>
44
                            <instance_generator name="UUID"/>
45
                            <label_generator name="Literal">
46
                                <arg name="text">text()</arg>
47
                                <arg name="language"/>
1150
                            <instance_generator name="ActorAppellationURI">
1151
                                <arg name="term" type="xpath">text()</arg>
1152
                            </instance_generator>
1153
                            <label_generator name="SimpleLabel">
1154
                                <arg name="label" type="xpath">text()</arg>
48 1155
                            </label_generator>
49 1156
                        </entity>
50 1157
                    </target_node>
......
52 1159
            </link>
53 1160
        </mapping>
54 1161
    </mappings>
55
</x3ml>]]>
1162

  
1163
</x3ml>
1164

  
1165
]]>
56 1166
				</CODE>
57 1167
			</SCRIPT>
58 1168
		</CONFIGURATION>

Also available in: Unified diff