Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
utilities
Import Process CLI
Commits
bce0ed3d
Commit
bce0ed3d
authored
Apr 08, 2021
by
Silvia Witzig
Browse files
blank configurations as aid for new imports
parent
d032b4a7
Changes
4
Hide whitespace changes
Inline
Side-by-side
utilities/import/README.md
0 → 100644
View file @
bce0ed3d
utilities/import/new-001/mappings/localTransforms.yml
0 → 100644
View file @
bce0ed3d
# This is the local configuration for the step Metadata Normalization and Enrichment
splitEntity
:
-
type
:
skos:Concept
property
:
skos:prefLabel
delimiter
:
"
,"
-
type
:
rico:Person
property
:
rico:name
delimiter
:
"
;"
-
type
:
rico:CorporateBody
property
:
rico:name
delimiter
:
"
;"
-
type
:
rico:Place
property
:
rico:name
delimiter
:
"
,"
-
type
:
rico:Language
property
:
rico:name
delimiter
:
"
,"
normalizePerson
:
splitEntity
:
type
:
rico:Person
property
:
rico:name
delimiter
:
"
;"
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
:
# "last-to-first" (i.e. Tester, Thea) or "first-to-last" (i.e. Thea Tester)
singleNameIsLastName
:
true
nameDelimiter
:
SPACE
\ No newline at end of file
utilities/import/new-001/mappings/mapping.yml
0 → 100644
View file @
bce0ed3d
record
:
uri
:
identifiers
:
original
:
type
:
title
:
titles
:
-
main
:
de
:
-
series
:
de
:
-
broadcast
:
de
:
scopeAndContent
:
de
:
sameAs
:
abstract
:
source
:
descriptiveNote
:
relation
:
conditionsOfUse
:
conditionsOfAccess
:
isSponsoredByMemoriav
:
# true or false
rights
:
holder
:
languages
:
-
content
:
-
caption
:
subject
:
-
prefLabel
:
genre
:
-
prefLabel
:
placeOfCapture
:
-
name
:
relatedPlaces
:
-
name
:
creationDate
:
issuedDate
:
temporal
:
creators
:
-
agent
:
name
:
relationName
:
-
person
:
name
:
relationName
:
-
corporateBody
:
name
:
relationName
:
contributors
:
-
agent
:
name
:
relationName
:
-
person
:
name
:
relationName
:
-
corporateBody
:
name
:
relationName
:
producers
:
-
agent
:
name
:
-
person
:
name
:
-
corporateBody
:
name
:
relatedAgents
:
-
agent
:
name
:
-
person
:
name
:
-
corporateBody
:
name
:
publishedBy
:
-
agent
:
name
:
-
person
:
name
:
-
corporateBody
:
name
:
physical
:
identifiers
:
callNumber
:
carrierType
:
descriptiveNote
:
duration
:
physicalCharacteristics
:
-
prefix
:
value
:
"
xxx:
"
field
:
colour
:
conditionsOfUse
:
conditionsOfAccess
:
rights
:
access
:
usage
:
name
:
const
:
"
Copyright
Not
Evaluated
(CNE)"
sameAs
:
const
:
"
http://rightsstatements.org/vocab/CNE/1.0/"
digital
:
descriptiveNote
:
locator
:
duration
:
conditionsOfUse
:
conditionsOfAccess
:
rights
:
access
:
usage
:
name
:
const
:
"
Copyright
Not
Evaluated
(CNE)"
sameAs
:
const
:
"
http://rightsstatements.org/vocab/CNE/1.0/"
\ No newline at end of file
utilities/import/new-001/setup.json
0 → 100644
View file @
bce0ed3d
//
example
for
xml
data
{
"recordSetId"
:
"new-001"
,
"institutionId"
:
"new"
,
"recordTag"
:
"record"
,
"identifierFieldName"
:
"identifierMain"
}
//
example
for
table
data
//
{
"recordSetId"
:
"new-001"
,
"institutionId"
:
"new"
,
"tableIdentifierIndex"
:
"26"
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment