Skip to content

SILKNOW converter that harmonizes all museum metadata records into the common SILKNOW ontology model (based on CIDOC-CRM)

License

Notifications You must be signed in to change notification settings

silknow/converter

Repository files navigation

SILKNOW converter

SILKNOW converter that harmonizes all museum metadata records into the common SILKNOW ontology model (based on CIDOC-CRM)

Requirements

  • Java >1.8

How to use

./gradlew run --args="[--log=<logLevel>] [-o=<outputFolder>] TYPE FOLDER -g <GEONAMES_USER>"

Positional arguments (required):

  • TYPE. Type of source data: imatex, garin, joconde...etc.

  • FOLDER. Source folder to process. Also a single file is accepted.

  • -g, --geonames. Geonames username. You can create yours at http://www.geonames.org/login. Optional parameters:

  • --log. The log level, according to the SLF4J nomenclature. Default: WARN.

  • -o, --output. Output folder. Default: an out folder siblings to the input directory.

  • --replace. If set, the content of the output folder will be replaced.

Examples:

./gradlew run --args="imatex ../crawler/data/imatex/records/3345_en.json --log DEBUG -o ./output -g <GEONAMES_USER>"
./gradlew run --args="imatex ../crawler/data/imatex/records/3008_en.json --log DEBUG -o ./output -g <GEONAMES_USER>"
./gradlew run --args="joconde ../crawler/data/joconde/records/95.71.2.json -o ./output -g <GEONAMES_USER>"
./gradlew run --args="joconde ../crawler/data/joconde/records/95.71.364.json -o ./output -g <GEONAMES_USER>"
./gradlew run --args="garin '../../Desktop/garin/Tejidos/Tejidos A/T000053.xls' -o ./output -g <GEONAMES_USER>"
./gradlew run --args="MET '../crawler/data/met-museum/records/08.48.46.json' -o ./output -g <GEONAMES_USER>"

Full conversion:

./gradlew run --args="imatex ../crawler/data/imatex/records/ -o ./output/imatex -g <GEONAMES_USER>"
./gradlew run --args="joconde ../crawler/data/joconde/records/ -o ./output/joconde -g <GEONAMES_USER>"
./gradlew run --args="garin '../crawler/data/garin' -o ./output/garin -g <GEONAMES_USER>"
./gradlew run --args="VAM '../crawler/data/vam' -o ./output/VAM -g <GEONAMES_USER>"
./gradlew run --args="MFA '../crawler/data/mfa-boston' -o ./output/MFA -g <GEONAMES_USER>"
./gradlew run --args="MAD '../crawler/data/les-arts-decoratifs' -o ./output/MAD -g <GEONAMES_USER>"
./gradlew run --args="MET '../crawler/data/met-museum' -o ./output/MET -g <GEONAMES_USER>"
./gradlew run --args="RISD '../crawler/data/risd-museum' -o ./output/RISD -g <GEONAMES_USER>"
./gradlew run --args="UNIPA '../crawler/data/unipa' -o ./output/UNIPA -g <GEONAMES_USER>"
./gradlew run --args="CER '../crawler/data/ceres-mcu' -o ./output/CER -g <GEONAMES_USER>"
./gradlew run --args="MTMAD '../crawler/data/mtmad' -o ./output/CER -g <GEONAMES_USER>"

./gradlew run --args="joconde input -o ./output/joconde -g lisena --replace"

About

SILKNOW converter that harmonizes all museum metadata records into the common SILKNOW ontology model (based on CIDOC-CRM)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •