Mapping für die Transformation
Der https://ub-basel.atlassian.net/wiki/spaces/MEMOBASE/pages/29295472 wird mit einer Konfigurationsdatei konfiguriert. Diese Datei wird im YAML-Serialisierungsformat gespeichert. Dies Datei heisst immer mapping.yml
und wird mit den restlichen Konfigurationsdateien dem Importprozess eingefügt.
Feldtypen
Field Type | Example | Remarks |
---|---|---|
| descriptiveNote:
const: "Immer die gleiche Notiz!" | Adds the value |
| descriptiveNote: Notiz
descriptiveNote:
parentField: Parent
field: Field | Adds the value from the field |
| descriptiveNote:
prefix:
value: "Notiz: "
field: Notiz
descriptiveNote:
parentField: Parent
prefix:
value: "Notiz: "
field: Notiz | Adds the value from the field |
| descriptiveNote:
parentField: Parent
de: descriptiveNote_de
fr: descriptiveNote_fr
it: descriptiveNote_it | Only For each label of |
Record
Dies ist der Hauptabschnitt und wird zwingend benötigt.
Field Name | Field Types | List? | Required? | RDF Property | RDF Type | Remarks |
---|---|---|---|---|---|---|
|
| NO | YES |
|
| Is used to generate the subject URI of the record and the instantiations and adds the main identifier resource. See https://ub-basel.atlassian.net/wiki/spaces/MD/pages/336789656 |
|
| NO | YES |
|
| Values must be one of these:
|
|
| YES | NO |
|
|
|
|
| YES | NO |
|
|
|
|
| YES | NO |
|
|
|
|
| YES | NO |
|
|
|
|
| YES | NO |
|
|
|
|
| YES | NO |
|
|
|
|
| YES | NO |
|
| Utility property: Use rights: usage on physical and digital object where possible |
|
| YES | NO |
|
| Utility property: Use rights: access on physical and digital object where possible |
|
| NO | NO |
|
| Only accepts true or false. False is the default if the field is omitted! Links to the memoriav corporate body. |
|
| NO | NO |
|
| The value is copied to |
|
| NO | NO |
|
| The value is copied to |
|
| NO | NO |
|
| The value is copied to |
|
| NO | NO |
|
|
|
| NO | NO |
|
|
| |
| YES | NO |
|
|
| |
| YES | NO |
|
|
| |
| YES | NO |
|
|
| |
| YES | NO |
|
|
| |
| YES | NO |
|
| Adds the agent, person or corporate body as the target of the creation relation | |
| YES | NO |
|
| Adds the agent, person or corporate body as the target of the creation relation | |
| YES | NO |
|
|
| |
| YES | NO |
|
|
| |
| YES | NO |
|
|
|
Title Field
Field Name | Field Types | List? | Required? | RDF Property | RDF Type | Remarks |
---|---|---|---|---|---|---|
|
| YES | NO |
|
|
|
|
| YES | NO |
|
|
|
|
| YES | NO |
|
|
|
Identifier Field
Field Name | Field Types | List? | Required? | RDF Property | RDF Type | Remarks |
---|---|---|---|---|---|---|
|
| NO | YES |
|
|
|
|
| NO | NO |
|
|
|
Language Field
Field Name | Field Types | List? | Required? | RDF Property | RDF Type | Remarks |
---|---|---|---|---|---|---|
|
| YES | NO |
|
|
|
|
| YES | NO |
|
|
|
Subject Field
Field Name | Field Types | List? | Required? | RDF Property | RDF Type | Remarks |
---|---|---|---|---|---|---|
|
| YES | NO |
|
|
|
Place Field
Field Name | Field Types | List? | Required? | RDF Property | RDF Type | Remarks |
---|---|---|---|---|---|---|
|
| NO | NO | - | - | Use this field if the places are in a subfield on the source JSON Document |
|
| YES | YES |
|
|
|
|
| YES | NO |
|
|
|
|
| YES | NO |
|
| Will be normalized to |
Agent Field
For the RDF Property check the parent field in the Record map.
Field Name | Field Types | List? | Required? | RDF Property | RDF Type | Remarks |
---|---|---|---|---|---|---|
| YES | NO |
|
|
| |
| YES | NO |
|
|
| |
| YES | NO |
|
|
|
Agent Data Field
Field Name | Field Types | List? | Required? | RDF Property | RDF Type | Remarks |
---|---|---|---|---|---|---|
|
| NO | NO | - | - | Use this field if the places are in a subfield on the source JSON Document |
|
| YES | YES |
|
|
|
|
| YES | NO |
|
| This is added to the |
|
|