Project

General

Profile

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

    
1145
</x3ml>
1146
]]>
1147
				</CODE>
1148
			</SCRIPT>
1149
		</CONFIGURATION>
1150
		<STATUS/>
1151
		<SECURITY_PARAMETERS/>
1152
	</BODY>
1153
</RESOURCE_PROFILE>
(6-6/16)