localTransforms.yml 991 Bytes
Newer Older
1
2
3
splitEntity:
  - type: skos:Concept
    property: skos:prefLabel
4
    delimiter: ";"
5
6
7
8
9
10
11
12
13
  - type: rico:Person
    property: rico:name
    delimiter: ","
    # works for creator and contributor, should be ; for featuredIndividual
  - type: rico:CorporateBody
    property: rico:name
    delimiter: ";"
  - type: rico:Place
    property: rico:name
14
    delimiter: ";"
15
16
17
18
19
20
21
22
23
24
25
26
normalizePerson:
  splitEntity:
    type: rico:Person
    property: rico:name
    delimiter: ","
    # works for creator and contributor, should be ; for featuredIndividual
  creationRelationName: # only tries to extract a value if a DUMMY-VALUE rico:name is property is present in the relation.
    pattern: "\\((?<relation>.+)\\)" # " are necessary to ensure pattern is parsed correctly. Pattern needs to be double escaped!
    language: NONE
  nameOrder: "first-to-last" # works cor creator and contributor, should be last-to-first with nameDelimiter , for featuredIndividual
  singleNameIsLastName: true
  nameDelimiter: SPACE