-
Notifications
You must be signed in to change notification settings - Fork 3
/
morph-enriched.xml
649 lines (632 loc) · 29.3 KB
/
morph-enriched.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014-2016, hbz. Licensed under the Eclipse Public License 1.0 -->
<metamorph xmlns="http://www.culturegraph.org/metamorph"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1"
entityMarker=".">
<macros>
<!-- url and provides: Handle urls without http:// or https:// and remove blanks -->
<macro name="url-group">
<group name="$[group_name]">
<choose>
<data source="$[dbs_field]">
<regexp match="http(.*)" />
<replace pattern="\s+" with=""/>
</data>
<data source="$[dbs_field]">
<regexp match="(www(.*))" format="http://${1}"/>
<replace pattern="\s+" with=""/>
</data>
<combine value="${hp}" name="$[group_name]" sameEntity="true" flushWith="009Q.z" reset="true">
<if>
<data source="009Q.z">
<equals string="$[sigel_code]" />
</data>
</if>
<choose sameEntity="true" flushWith="009Q.z" reset="true">
<data source="009Q.u" name="hp">
<regexp match="http(.*)" />
<replace pattern="\s+" with=""/>
</data>
<data source="009Q.u" name="hp">
<regexp match="(www(.*))" format="http://${1}"/>
<replace pattern="\s+" with=""/>
</data>
</choose>
</combine>
</choose>
</group>
</macro>
<macro name="make-id">
<choose>
<data source="$[isil-field]" name="$[output-name]">
<regexp match="(.*)" format="$[uri-base]" />
</data>
<data source="$[dbs-field]" name="$[output-name]">
<lookup in="$[dbs-lookup]" />
</data>
</choose>
</macro>
</macros>
<rules>
<choose name="@postalCodeForLookups">
<data source="plz"/>
<data source="postalCodeVisitor"/>
<data source="postalCodeMail"/>
<data source="postalCodeOther"/>
</choose>
<data source="nam|029A.a" name="\@context">
<constant value="http://lobid.org/organisations/context.jsonld" />
</data>
<combine name="type" value="${typeurl}">
<data source="nam|029A.a" name="type" />
<choose>
<data source="035E.f" name="typeurl">
<lookup in="libtype_map" />
</data>
<data source="nam" name="typeurl">
<constant value="Library" />
</data>
</choose>
</combine>
<choose name="rs">
<data source="gvz_id">
<regexp match="\d{12}" />
</data>
<data source="gvz_id">
<regexp match="(\d{11})" format="0${1}"/>
</data>
<data source="032P.n">
<lookup in="rs_map" />
</data>
<data source="@postalCodeForLookups">
<blacklist map="plz_blacklist"/>
<lookup in="ags_map" />
<lookup in="rs_map" />
</data>
</choose>
<group name="name">
<choose>
<data source="nam" />
<data source="029A.a">
<!-- sanitize entries like "Ruhr-Universita\u0308t Bochum,\n\t\t\t\t\tUniversita\u0308tsbibliothek" -->
<replace pattern="\t|\n|\(\s\)\s+" with="" />
</data>
</choose>
</group>
<call-macro name="url-group" group_name="url" dbs_field="url" sigel_code="A"/>
<call-macro name="url-group" group_name="provides" dbs_field="opac" sigel_code="B"/>
<!-- API descriptions, see #421 -->
<combine name="@serviceUrl" value="${a}" sameEntity="true" reset="true" flushWith="009Q.z" >
<data source="009Q.x">
<not-equals string="Weitere Informationen"/>
<not-equals string="Weitere Information"/>
</data>
<data source="009Q.u" name="a">
<regexp match="http(.*)"/>
<replace pattern="\s+" with=""/>
</data>
<data source="009Q.z">
<equals string="W"/>
</data>
</combine>
<entity name="availableChannel[]" flushWith="record">
<entity name="" flushWith="@serviceUrl" reset="true">
<if>
<all reset="true">
<data source="009Q.x">
<not-equals string="Weitere Informationen"/>
<not-equals string="Weitere Information"/>
</data>
</all>
</if>
<data name="serviceType" source="009Q.x" />
<entity name="type[]" flushWith="@serviceUrl" reset="true" >
<data name="type" source="009Q.x">
<constant value="ServiceChannel"/>
</data>
<data name="type" source="009Q.x">
<regexp match="(SRU)|(DAIA)|(PAIA)|(OpenURL)" />
<constant value="WebAPI"/>
</data>
</entity>
<data source="@serviceUrl" name="serviceUrl" />
</entity>
</entity>
<data source="isil" name="isil"/>
<data source="inr" name="dbsID"/>
<!-- new-id: isil if available or Pseudo-isil for DBS data that lack isil-->
<choose>
<data source="isil" name="id">
<regexp match="(.*)" format="http://lobid.org/organisations/${1}#!" />
</data>
<combine name="id" value="http://lobid.org/organisations/DBS-${inr}#!">
<data source="inr" name="inr">
<not-equals string="NULL" />
</data>
</combine>
</choose>
<!-- Telephone and email -->
<choose>
<combine value="00${countryCode} ${prefix} ${phonenr}" name="telephone" sameEntity="true">
<data source="countryCode" name="countryCode" />
<data source="prefix" name="prefix" />
<data source="phone" name="phonenr" />
</combine>
</choose>
<choose>
<data source="email" name="email">
<regexp match="(.*)" format="mailto:${1}" />
</data>
</choose>
<!-- Mailing address -->
<entity name="address" flushWith="record">
<data source="streetAddressMail" name="streetAddress" />
<data source="postOfficeBoxNumber" name="postOfficeBoxNumber" />
<data source="localityMail" name="addressLocality" />
<data source="postalCodeMail" name="postalCode" />
<data source="countryMail" name="addressCountry"/>
<data source="localityMail" name="type">
<constant value="PostalAddress" />
</data>
</entity>
<!-- Lookup fields for visitor and other address -->
<combine name="@geoLookupDbs" value="${strasse}_${plz}_${ort}_${land}" flushWith="record">
<if>
<all>
<data source="addressCountry"> <not-equals string=""/> </data>
<data source="strasse"> <not-equals string=""/> </data>
<data source="ort"> <not-equals string=""/> </data>
<data source="plz"> <not-equals string=""/> </data>
</all>
</if>
<data source="addressCountry" name="land"/>
<data source="strasse" name="strasse" />
<data source="ort" name="ort" />
<data source="plz" name="plz" />
</combine>
<!-- Locations -->
<entity name="location[]" flushWith="record">
<entity name="place" flushWith="record">
<data source="localityVisitor|strasse" name="type">
<regexp match="(.*)" format="Place" />
</data>
<data source="descriptionVisitor" name="description"/>
<entity name="address" flushWith="record">
<choose>
<data source="streetAddressVisitor" name="streetAddress" />
<data source="strasse" name="streetAddress">
<not-equals string="NULL"/>
</data>
</choose>
<choose>
<data source="localityVisitor" name="addressLocality" />
<data source="ort" name="addressLocality" />
</choose>
<data source="postalCodeVisitor" name="postalCode" />
<data source="plz" name="postalCode" />
<choose>
<data source="countryVisitor" name="addressCountry"/>
<data source="addressCountry" name="addressCountry"/>
</choose>
<choose>
<data source="localityVisitor" name="type">
<constant value="PostalAddress" />
</data>
<data source="strasse" name="type">
<not-equals string="NULL"/>
<constant value="PostalAddress" />
</data>
</choose>
</entity>
<entity name="openingHoursSpecification" flushWith="record">
<data source="openingHoursVisitor|oef" name="type">
<constant value="OpeningHoursSpecification" />
</data>
<choose>
<data source="openingHoursVisitor" name="description" />
<data source="oeffnungszeiten" name="description" />
</choose>
<data source="openingCommentVisitor" name="comment" />
</entity>
<entity name="geo" flushWith="record">
<choose>
<data source="latDbs" name="lat" /> <!-- dbs verzeichnis -->
<data source="latVisitor" name="lat" /> <!-- zdb sigel verzeichnis -->
<data source="@geoLookupDbs" name="lat"> <!-- geo lookup pelias -->
<lookup in="addLatMap" />
</data>
</choose>
<choose>
<data source="lonDbs" name="lon" />
<data source="lonVisitor" name="lon" />
<data source="@geoLookupDbs" name="lon">
<lookup in="addLongMap" />
</data>
</choose>
</entity>
</entity>
<entity name="place" flushWith="record">
<data source="localityOther" name="type">
<regexp match="(.*)" format="Place" />
</data>
<data source="descriptionOther" name="description"/>
<entity name="address" flushWith="record">
<data source="streetAddressOther" name="streetAddress" />
<data source="localityOther" name="addressLocality" />
<data source="postalCodeOther" name="postalCode" />
<data source="countryOther" name="addressCountry" />
<data source="localityOther" name="type">
<constant value="PostalAddress" />
</data>
</entity>
<entity name="openingHoursSpecification" flushWith="record">
<data source="openingHoursOther" name="type">
<constant value="OpeningHoursSpecification" />
</data>
<data source="openingHoursOther" name="description" />
<data source="openingCommentOther" name="comment" />
</entity>
<!-- combine field for look in coordinate maps -->
<entity name="geo" flushWith="record">
<choose>
<data source="latOther" name="lat" />
</choose>
<choose>
<data source="lonOther" name="lon" />
</choose>
</entity>
</entity>
</entity>
<!-- Determine classification, fundertype, and stocksize ID, loop back '@' -->
<call-macro name="make-id" isil-field="035E.f" dbs-field="typ_id" dbs-lookup="libtype_value_to_id_map"
uri-base="http://purl.org/lobid/libtype#n${1}" output-name="@classificationId"/>
<call-macro name="make-id" isil-field="035E.g" dbs-field="utr_id" dbs-lookup="fundertype_value_to_id_map"
uri-base="http://purl.org/lobid/fundertype#n${1}" output-name="@fundertypeId"/>
<call-macro name="make-id" isil-field="035E.h" dbs-field="bestandsgroessenklasse_id" dbs-lookup="stocksize_value_to_id_map"
uri-base="http://purl.org/lobid/stocksize#n${1}" output-name="@stocksizeId"/>
<!-- Use classification, fundertype, and stocksize ID for labels -->
<entity name="classification" flushWith="record">
<data source="@classificationId" name="id"/>
<data source="@classificationId" name="type">
<constant value="Concept" />
</data>
<entity name="label" flushWith="record">
<data source="@classificationId" name="de">
<lookup in="libtype_id_to_value_map" />
</data>
<data source="@classificationId" name="en">
<lookup in="libtype_id_to_value_en_map" />
</data>
</entity>
</entity>
<entity name="fundertype" flushWith="record">
<data source="@fundertypeId" name="id"/>
<data source="@fundertypeId" name="type">
<constant value="Concept" />
</data>
<entity name="label" flushWith="record">
<data source="@fundertypeId" name="de">
<lookup in="fundertype_id_to_value_map" />
</data>
<data source="@fundertypeId" name="en">
<lookup in="fundertype_id_to_value_en_map" />
</data>
</entity>
</entity>
<entity name="collects" flushWith="record">
<data name="type" source="@stocksizeId">
<constant value="Collection"/>
</data>
<entity name="extent" flushWith="record">
<data source="@stocksizeId" name="id"/>
<data source="@stocksizeId" name="type">
<constant value="Concept" />
</data>
<entity name="label" flushWith="record">
<data source="@stocksizeId" name="de">
<lookup in="stocksize_id_to_value_map" />
</data>
<data source="@stocksizeId" name="en">
<lookup in="stocksize_id_to_value_en_map" />
</data>
</entity>
</entity>
<entity name="subject[]" flushWith="record">
<data source="035G.a" name="subject" />
</entity>
</entity>
<data source="isil" name="@wikidataMap">
<compose prefix='"' postfix='"'/>
<lookup in="isil2wikidata_map" />
</data>
<entity name="alternateName[]" flushWith="record">
<combine name="${code}" value="${label}" sameEntity="true" reset="true">
<if><data source="[email protected]"><not-equals string="d"/></data></if>
<data source="[email protected]" name="label"/>
<data source="[email protected]" name="code"/>
</combine>
</entity>
<combine name="name_en" value="${label}" sameEntity="true" reset="true">
<if><data source="[email protected]"><equals string="d"/></data></if>
<data source="[email protected]" name="label"/>
</combine>
<entity name="sameAs[]" flushWith="record">
<combine name="sameAs" value="${wikidataQid}">
<data source="@wikidataMap" name="wikidataQid">
<occurrence only="1" />
</data>
</combine>
<data source="isil" name="sameAs">
<regexp match="(.*)"
format="http://ld.zdb-services.de/resource/organisations/${1}" />
<occurrence only="1" />
</data>
</entity>
<!-- Prepare "Gemeindeschlüssel" for lookup in geonames map and "ags" -->
<choose>
<data source="gemeindekennzahl" name="@ags">
<regexp match="(\d{5})(\d{4})(\d{3})" format="${1}${3}" />
</data>
<data source="gemeindekennzahl" name="@ags">
<regexp match="(\d{4})(\d{4})(\d{3})" format="${1}${3}" />
</data>
<data source="032P.n" name="@ags">
<regexp match="0(\d{7})" format="${1}" />
</data>
<data source="032P.n" name="@ags">
<regexp match="\d{8}" />
</data>
<data source="@postalCodeForLookups" name="@ags">
<blacklist map="plz_blacklist"/>
<lookup in="ags_map" />
</data>
</choose>
<combine name="containedIn" value="http://sws.geonames.org/${geoname}/">
<data source="@ags" name="geoname">
<lookup in="geonames_map" />
</data>
</combine>
<!-- Entities with id and label for 'linkedTo' -->
<entity name="linkedTo" >
<data source="035I.c" name="id">
<regexp match="(?i).*gbv" format="http://lobid.org/organisations/DE-601#!" />
</data>
<data source="035I.c" name="label">
<regexp match="(?i).*gbv" format="Verbundzentrale des GBV (VZG)"/>
</data>
</entity>
<entity name="linkedTo">
<data source="035I.c" name="id">
<regexp match="(?i).*bvb" format="http://lobid.org/organisations/DE-604#!" />
</data>
<data source="035I.c" name="label">
<regexp match="(?i).*bvb" format="Bibliotheksverbund Bayern"/>
</data>
</entity>
<entity name="linkedTo">
<data source="035I.c" name="id">
<regexp match="(?i).*hebis" format="http://lobid.org/organisations/DE-603#!" />
</data>
<data source="035I.c" name="label">
<regexp match="(?i).*hebis" format="Hessisches BibliotheksInformationsSystem HeBIS" />
</data>
</entity>
<entity name="linkedTo">
<data source="035I.c" name="id">
<regexp match="(?i).*hbz" format="http://lobid.org/organisations/DE-605#!" />
</data>
<data source="035I.c" name="label">
<regexp match="(?i).*hbz" format="Hochschulbibliothekszentrum des Landes Nordrhein-Westfalen (hbz)" />
</data>
</entity>
<entity name="linkedTo">
<data source="035I.c" name="id">
<regexp match="(?i).*kobv" format="http://lobid.org/organisations/DE-602#!" />
</data>
<data source="035I.c" name="label">
<regexp match="(?i).*kobv" format="Kooperativer Bibliotheksverbund Berlin-Brandenburg" />
</data>
</entity>
<entity name="linkedTo">
<data source="035I.c" name="id">
<regexp match="(?i).*swb" format="http://lobid.org/organisations/DE-576#!" />
</data>
<data source="035I.c" name="label">
<regexp match="(?i).*swb" format="Bibliotheksservice-Zentrum Baden-Württemberg (BSZ)" />
</data>
</entity>
<entity name="mainEntityOfPage">
<data source="isil" name="id">
<regexp match="(.*)" format="http://lobid.org/organisations/${1}" />
</data>
<data source="001A.0" name="dateCreated">
<replace pattern="^.+?:" with="" />
</data>
<data source="001B.0" name="dateModified">
<replace pattern="^.+?:" with="" />
</data>
</entity>
</rules>
<maps>
<filemap name="isil2wikidata_map"
files="https://raw.githubusercontent.com/hbz/lookup-tables/master/data/isil2wikidata.csv" />
<filemap name="libtype_map"
files="https://raw.githubusercontent.com/hbz/lookup-tables/master/data/libtype-map.csv"/>
<filemap name="ags_map"
files="https://raw.githubusercontent.com/hbz/lookup-tables/master/data/plz-ags-map.csv" />
<filemap name="rs_map"
files="https://raw.githubusercontent.com/hbz/lookup-tables/master/data/ags-rs-map.csv" />
<filemap name="geonames_map"
files="https://raw.githubusercontent.com/hbz/lookup-tables/master/data/geonames-map.csv" />
<filemap name="plz_blacklist" files="plz-blacklist.csv" />
<map name="fundertype_id_to_value_map">
<entry name="http://purl.org/lobid/fundertype#n01" value="Bundesrepublik Deutschland" />
<entry name="http://purl.org/lobid/fundertype#n02" value="Land" />
<entry name="http://purl.org/lobid/fundertype#n03" value="Kreis" />
<entry name="http://purl.org/lobid/fundertype#n04" value="Gemeinde" />
<entry name="http://purl.org/lobid/fundertype#n05" value="Sonstige Gebietskörperschaft" />
<entry name="http://purl.org/lobid/fundertype#n06" value="Sonstige öffentliche Trägerschaft" />
<entry name="http://purl.org/lobid/fundertype#n07" value="Körperschaft oder Stiftung des öffentlichen Rechts" />
<entry name="http://purl.org/lobid/fundertype#n08" value="Körperschaft oder Stiftung des privaten Rechts" />
<entry name="http://purl.org/lobid/fundertype#n09" value="Evangelische Kirche" />
<entry name="http://purl.org/lobid/fundertype#n10" value="Katholische Kirche" />
<entry name="http://purl.org/lobid/fundertype#n11" value="Sonstige Religionsgemeinschaften" />
<entry name="http://purl.org/lobid/fundertype#n12" value="Private Trägerschaft (natürliche Personen)" />
<entry name="http://purl.org/lobid/fundertype#n13" value="Ausländische Trägerschaft" />
</map>
<map name="stocksize_id_to_value_map">
<entry name="http://purl.org/lobid/stocksize#n01" value="bis 1.000" />
<entry name="http://purl.org/lobid/stocksize#n02" value="1.001 - 2.000" />
<entry name="http://purl.org/lobid/stocksize#n03" value="2.001 - 3.000" />
<entry name="http://purl.org/lobid/stocksize#n04" value="3.001 - 5.000" />
<entry name="http://purl.org/lobid/stocksize#n05" value="5.001 - 10.000" />
<entry name="http://purl.org/lobid/stocksize#n06" value="10.001 - 30.000" />
<entry name="http://purl.org/lobid/stocksize#n07" value="30.001 - 100.000" />
<entry name="http://purl.org/lobid/stocksize#n08" value="100.001 - 300.000" />
<entry name="http://purl.org/lobid/stocksize#n09" value="300.001 - 1.000.000" />
<entry name="http://purl.org/lobid/stocksize#n10" value="1.000.001 und mehr" />
<entry name="http://purl.org/lobid/stocksize#n11" value="Einrichtung ohne Bestand" />
</map>
<map name="libtype_id_to_value_map">
<entry name="http://purl.org/lobid/libtype#n11" value="Nationalbibliothek" />
<entry name="http://purl.org/lobid/libtype#n15" value="Zentrale Fachbibliothek" />
<entry name="http://purl.org/lobid/libtype#n21" value="Regionalbibliothek" />
<entry name="http://purl.org/lobid/libtype#n33" value="Öffentliche Bibliothek" />
<entry name="http://purl.org/lobid/libtype#n34" value="Mediathek" />
<entry name="http://purl.org/lobid/libtype#n36" value="Öffentliche Bibliothek für besondere Benutzergruppen" />
<entry name="http://purl.org/lobid/libtype#n39" value="Fahrbibliothek" />
<entry name="http://purl.org/lobid/libtype#n51" value="Archiv (staatlich)" />
<entry name="http://purl.org/lobid/libtype#n52" value="Archiv (kommunal)" />
<entry name="http://purl.org/lobid/libtype#n53" value="Archiv (kirchlich)" />
<entry name="http://purl.org/lobid/libtype#n54" value="Archiv (Herrschafts-/Familienarchiv)" />
<entry name="http://purl.org/lobid/libtype#n55" value="Archiv (Wirtschaft)" />
<entry name="http://purl.org/lobid/libtype#n56" value="Archiv (Parlament, Partei, Stiftung oder Verband)" />
<entry name="http://purl.org/lobid/libtype#n57" value="Archiv (Medienarchiv)" />
<entry name="http://purl.org/lobid/libtype#n58" value="Archiv (Hochschule, Wissenschaft)" />
<entry name="http://purl.org/lobid/libtype#n59" value="Archiv (Sonstiges)" />
<entry name="http://purl.org/lobid/libtype#n60" value="Zentrale Universitätsbibliothek" />
<entry name="http://purl.org/lobid/libtype#n65" value="Abteilungsbibliothek, Fachbereichsbibliothek, Institutsbibliothek (Universität)" />
<entry name="http://purl.org/lobid/libtype#n70" value="Zentrale Hochschulbibliothek, nicht Universität" />
<entry name="http://purl.org/lobid/libtype#n73" value="Abteilungsbibliothek, Fachbereichsbibliothek (Hochschule, nicht Universität)" />
<entry name="http://purl.org/lobid/libtype#n81" value="Wissenschaftliche Spezialbibliothek" />
<entry name="http://purl.org/lobid/libtype#n82" value="Einrichtung der Denkmalpflege" />
<entry name="http://purl.org/lobid/libtype#n84" value="Forschungseinrichtung" />
<entry name="http://purl.org/lobid/libtype#n86" value="Museum" />
<entry name="http://purl.org/lobid/libtype#n87" value="Verlag" />
<entry name="http://purl.org/lobid/libtype#n88" value="Sonstige Einrichtung" />
<entry name="http://purl.org/lobid/libtype#n89" value="Paket elektronischer Ressourcen" />
<entry name="http://purl.org/lobid/libtype#n91" value="Fachstelle für Bibliotheken" />
<entry name="http://purl.org/lobid/libtype#n94" value="Regionaler Zentralkatalog / Leihverkehrszentrale" />
<entry name="http://purl.org/lobid/libtype#n95" value="Virtuelle Bibliothek / Portal" />
<entry name="http://purl.org/lobid/libtype#n96" value="Verbundsystem/ -kataloge" />
<entry name="http://purl.org/lobid/libtype#n98" value="Serviceeinrichtung" />
</map>
<map name="fundertype_id_to_value_en_map">
<entry name="http://purl.org/lobid/fundertype#n01" value="Federal Republic of Germany" />
<entry name="http://purl.org/lobid/fundertype#n02" value="Federal State" />
<entry name="http://purl.org/lobid/fundertype#n03" value="County" />
<entry name="http://purl.org/lobid/fundertype#n04" value="Commune" />
<entry name="http://purl.org/lobid/fundertype#n05" value="Other Territorial Authority" />
<entry name="http://purl.org/lobid/fundertype#n06" value="Other Public Sector Funder" />
<entry name="http://purl.org/lobid/fundertype#n07" value="Corporate Body or Foundation under Public Law" />
<entry name="http://purl.org/lobid/fundertype#n08" value="Corporate Body or Foundation under Private Law" />
<entry name="http://purl.org/lobid/fundertype#n09" value="Protestant Church" />
<entry name="http://purl.org/lobid/fundertype#n10" value="Catholic Church" />
<entry name="http://purl.org/lobid/fundertype#n11" value="Other Religious Communities" />
<entry name="http://purl.org/lobid/fundertype#n12" value="Private Funding Body (Natural Person)" />
<entry name="http://purl.org/lobid/fundertype#n13" value="Foreign Funding Body" />
</map>
<map name="stocksize_id_to_value_en_map">
<entry name="http://purl.org/lobid/stocksize#n01" value="up to 1,000" />
<entry name="http://purl.org/lobid/stocksize#n02" value="1,001 - 2,000" />
<entry name="http://purl.org/lobid/stocksize#n03" value="2,001 - 3,000" />
<entry name="http://purl.org/lobid/stocksize#n04" value="3,001 - 5,000" />
<entry name="http://purl.org/lobid/stocksize#n05" value="5,001 - 10,000" />
<entry name="http://purl.org/lobid/stocksize#n06" value="10,001 - 30,000" />
<entry name="http://purl.org/lobid/stocksize#n07" value="30,001 - 100,000" />
<entry name="http://purl.org/lobid/stocksize#n08" value="100,001 - 300,000" />
<entry name="http://purl.org/lobid/stocksize#n09" value="300,001 - 1,000,000" />
<entry name="http://purl.org/lobid/stocksize#n10" value="1,000,001 and more" />
<entry name="http://purl.org/lobid/stocksize#n11" value="Institution without holdings" />
</map>
<map name="libtype_id_to_value_en_map">
<entry name="http://purl.org/lobid/libtype#n11" value="National Library" />
<entry name="http://purl.org/lobid/libtype#n15" value="Central Subject Library" />
<entry name="http://purl.org/lobid/libtype#n21" value="Regional Library" />
<entry name="http://purl.org/lobid/libtype#n33" value="Public Library" />
<entry name="http://purl.org/lobid/libtype#n34" value="Media Library" />
<entry name="http://purl.org/lobid/libtype#n36" value="Public Library for Special User Groups" />
<entry name="http://purl.org/lobid/libtype#n39" value="Mobile Library" />
<entry name="http://purl.org/lobid/libtype#n51" value="Archive (State)" />
<entry name="http://purl.org/lobid/libtype#n52" value="Archive (Municipal)" />
<entry name="http://purl.org/lobid/libtype#n53" value="Archive (Church)" />
<entry name="http://purl.org/lobid/libtype#n54" value="Archive ((Noble) Families)" />
<entry name="http://purl.org/lobid/libtype#n55" value="Archive (Enterprise)" />
<entry name="http://purl.org/lobid/libtype#n56" value="Archive (Parliament, Party, Foundation or Federation)" />
<entry name="http://purl.org/lobid/libtype#n57" value="Archive (Media)" />
<entry name="http://purl.org/lobid/libtype#n58" value="Archive (University, Academia)" />
<entry name="http://purl.org/lobid/libtype#n59" value="Archive (Miscellaneous)" />
<entry name="http://purl.org/lobid/libtype#n60" value="Central University Library" />
<entry name="http://purl.org/lobid/libtype#n65" value="University's Departement Library, Faculty Library, Institute Library" />
<entry name="http://purl.org/lobid/libtype#n70" value="Central Academic Library, not University" />
<entry name="http://purl.org/lobid/libtype#n73" value="College's Departement Library, Faculty Library (not University)" />
<entry name="http://purl.org/lobid/libtype#n81" value="Academic Special Library" />
<entry name="http://purl.org/lobid/libtype#n82" value="Institution for Preservation of Historical Monuments" />
<entry name="http://purl.org/lobid/libtype#n84" value="Research Institution" />
<entry name="http://purl.org/lobid/libtype#n86" value="Museum" />
<entry name="http://purl.org/lobid/libtype#n87" value="Publisher" />
<entry name="http://purl.org/lobid/libtype#n88" value="Other Organization" />
<entry name="http://purl.org/lobid/libtype#n89" value="Collection of electronic resources" />
<entry name="http://purl.org/lobid/libtype#n91" value="State Public Library Office" />
<entry name="http://purl.org/lobid/libtype#n94" value="Regional Catalogue" />
<entry name="http://purl.org/lobid/libtype#n95" value="Virtual Library / Portal" />
<entry name="http://purl.org/lobid/libtype#n96" value="Union Catalogue" />
<entry name="http://purl.org/lobid/libtype#n98" value="Service Institution" />
</map>
<map name="fundertype_value_to_id_map"> <!-- Note: swapped value/name positions for readable formatting -->
<entry value="http://purl.org/lobid/fundertype#n01" name="1" />
<entry value="http://purl.org/lobid/fundertype#n02" name="2" />
<entry value="http://purl.org/lobid/fundertype#n03" name="3" />
<entry value="http://purl.org/lobid/fundertype#n04" name="4" />
<entry value="http://purl.org/lobid/fundertype#n06" name="5" />
<entry value="http://purl.org/lobid/fundertype#n07" name="6" />
<entry value="http://purl.org/lobid/fundertype#n08" name="7" />
<entry value="http://purl.org/lobid/fundertype#n09" name="8" />
<entry value="http://purl.org/lobid/fundertype#n10" name="9" />
<entry value="http://purl.org/lobid/fundertype#n11" name="10" />
<entry value="http://purl.org/lobid/fundertype#n12" name="11" />
<entry value="http://purl.org/lobid/fundertype#n13" name="12" />
</map>
<map name="stocksize_value_to_id_map"> <!-- Note: swapped value/name positions for readable formatting -->
<entry value="http://purl.org/lobid/stocksize#n01" name="1" />
<entry value="http://purl.org/lobid/stocksize#n02" name="2" />
<entry value="http://purl.org/lobid/stocksize#n03" name="3" />
<entry value="http://purl.org/lobid/stocksize#n04" name="4" />
<entry value="http://purl.org/lobid/stocksize#n05" name="5" />
<entry value="http://purl.org/lobid/stocksize#n06" name="6" />
<entry value="http://purl.org/lobid/stocksize#n07" name="7" />
<entry value="http://purl.org/lobid/stocksize#n08" name="8" />
<entry value="http://purl.org/lobid/stocksize#n09" name="9" />
<entry value="http://purl.org/lobid/stocksize#n10" name="10" />
<entry value="http://purl.org/lobid/stocksize#n11" name="11" />
</map>
<map name="libtype_value_to_id_map"> <!-- Note: swapped value/name positions for readable formatting -->
<entry value="http://purl.org/lobid/libtype#n11" name="11" />
<entry value="http://purl.org/lobid/libtype#n15" name="15" />
<entry value="http://purl.org/lobid/libtype#n21" name="21" />
<entry value="http://purl.org/lobid/libtype#n33" name="30" />
<entry value="http://purl.org/lobid/libtype#n33" name="51" />
<entry value="http://purl.org/lobid/libtype#n33" name="52" />
<entry value="http://purl.org/lobid/libtype#n36" name="53" />
<entry value="http://purl.org/lobid/libtype#n33" name="54" />
<entry value="http://purl.org/lobid/libtype#n36" name="55" />
<entry value="http://purl.org/lobid/libtype#n33" name="56" />
<entry value="http://purl.org/lobid/libtype#n36" name="58" />
<entry value="http://purl.org/lobid/libtype#n33" name="59" />
<entry value="http://purl.org/lobid/libtype#n60" name="60" />
<entry value="http://purl.org/lobid/libtype#n70" name="70" />
<entry value="http://purl.org/lobid/libtype#n81" name="80" />
<entry value="http://purl.org/lobid/libtype#n91" name="91" />
</map>
</maps>
</metamorph>