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 |
| 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 Identifier |
|
| 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 |
|
| YES | NO |
|
|
|
|
| YES | NO |
|
|
|
|
| YES | NO |
|
|
|
|
| YES | NO |
|
|
|
|
| NO | NO |
|
|
|
|
| YES | NO |
|
|
|
|
| YES | NO |
|
|
|
|
| YES | NO |
|
|
|
|
| NO | NO |
|
|
|
|
| NO | NO |
|
|
|
Physical Instantiation
The physical instantiation represents the first person
Field: physical
Field Name | Field Types | List? | Required? | RDF Property | RDF Type | Remarks |
---|---|---|---|---|---|---|
|
| YES | NO |
|
|
|
|
| NO | NO |
|
|
|
|
| YES | NO |
|
|
|
|
| YES | NO |
|
|
|
|
| YES | NO |
|
| Utility property: Use rights: usage where possible |
|
| YES | NO |
|
| Utility property: Use rights: access where possible |
|
| YES | NO |
|
| The value is added to the property |
| - | - | NO |
|
|
|
|
| NO | YES |
| ||
|
| NO | NO |
| ||
|
| NO | NO |
|
|
|
|
| YES | NO |
|
| The carrier type value is written into the field |
Digital Instantiation
Create a digital instantiation for any digital resource that is part of this record. Should the source document not contain any of the mapped fields, then no digital instantiation is created. Currently only a single digital instantiation can be added to a record.
Field: digital
Field Name | Field Types | List? | Required? | RDF Property | RDF Type | Remarks |
---|---|---|---|---|---|---|
|
| NO | NO |
|
| The target URL where the digital object can be found on the internet. Do not set this if the binary is hosted by Memobase. In that case the https://ub-basel.atlassian.net/wiki/spaces/MEMOBASE/pages/83984396/Service%3A+Media-Linker will add a locator to the file. |
|
| NO | NO |
|
| Values: Determines the proxy status of the media database. Default value is always assumed |
|
| NO | NO |
|
|
|
|
| YES | NO |
|
|
|
|
| YES | NO |
|
| Utility property: Use rights: usage where possible |
|
| YES | NO |
|
| Utility property: Use rights: access where possible |
|
| YES | NO |
|
| The value is added to the property |
| - | - | NO |
|
|
|
|
| NO | YES | |||
|
| NO | NO |
Thumbnail Instantiation
The thumbnail instantiation represents any digital resource that is used as a thumbnail and derived from a digital object. This object is only generated if the mapped field for locator
exists and has a value.
Field: thumbnail
Field Name | Field Types | List? | Required? | RDF Property | RDF Type | Remarks |
---|---|---|---|---|---|---|
|
| NO | NO |
|
| The URL of the thumbnail object for when the thumbnail is hosted by a third party provider. |