mapping.yml 2.59 KB
Newer Older
Jonas Waeber's avatar
Jonas Waeber committed
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
literals:
  - source: "dct:abstract"
    target: "abstract"
    hasLanguageTags: true
  - source: "@id"
    target: "id"
  - source: "dct:relation"
    target: "relation"
    hasLanguageTags: true
  - source: "rico:descriptiveNote"
    target: "descriptiveNote"
    hasLanguageTags: true
  - source: "rico:scopeAndContent"
    target: "scopeAndContent"
    hasLanguageTags: true
  - source: "rico:source"
    target: "source"
    hasLanguageTags: true
  - source: "rico:history"
    target: "history"
    hasLanguageTags: true
  - source: "schema:sameAs"
    target: "sameAs"
  - source: "rico:type"
    target: "type.keyword"
  - source: "rico:conditionsOfUse"
    target: "usageConditions"
  - source: "rico:conditionsOfAccess"
    target: "accessConditions"
entities:
  - property: "rico:regulatedBy"
    source: "rico:name"
    conditionalTargets:
      - conditionPattern: "holder"
        conditionProperty: "rico:type"
        target: "rightsHolder"
  - property: "rico:hasTitle"
    source: "rico:title"
    conditionalTargets:
      - conditionPattern: "main"
        conditionProperty: "rico:type"
        target: "title"
      - conditionPattern: "series"
        conditionProperty: "rico:type"
        target: "seriesTitle"
      - conditionPattern: "broadcast"
        conditionProperty: "rico:type"
        target: "broadcastTitle"
  - property: "rico:identifiedBy"
    source: "rico:identifier"
    conditionalTargets:
      - conditionPattern: "original"
        conditionProperty: "rico:type"
        target: "sourceID"
  - property: "rdau:P60556"
    source: "rico:name"
    target: "placeCaptureRaw"
  - property: "dct:spatial"
    source: "rico:name"
    target: "placeRelatedRaw"
  - property: "ebucore:hasGenre"
    source: "skos:prefLabel"
    target: "genreRaw"
  - property: "rico:recordResourceOrInstantiationIsSourceOfCreationRelation"
    source: "rico:name"
    isCreationRelation: true
  - property: "rico:hasSubject"
    source: "skos:prefLabel"
    conditionalTargets:
      - conditionPattern: "rico:Agent"
        conditionProperty: "@type"
        target: "agentSubjectRaw"
      - conditionPattern: "rico:CorporateBody"
        conditionProperty: "@type"
        target: "corporateBodySubjectRaw"
      - conditionPattern: "rico:Person"
        conditionProperty: "@type"
        target: "agentSubjectRaw"
      - conditionPattern: "skos:Concept"
        conditionProperty: "@type"
        target: "keywords"
  - property: "dct:created"
    target: "dateCreated"
    isDate: true
  - property: "dct:issued"
    target: "dateIssued"
    isDate: true
  - property: "dct:temporal"
    target: "temporal"
    isDate: true