This project contain scripts for extracting data from hyperhamlet and finally to import it to Knora. Before this can be done you have to do the following steps first:
- Export the database from Hyperhamlet via phpMyAdmin and import it into a mySQL database that should run on your local machine.
- Make sure KNORA is running also on your local machine.
- Install python3 if you don't have it
Creating Ontology and importing resources:
- ./graphdb-se-docker-init-knora-test-minimal.sh (in Tab 1 of Terminal)
- sbt (in Tab 2 of Terminal)
- dockerComposeUp / dockerComposeRestart (in Tab 2 of Terminal)
Load the data model definition file to Knora so it will create the ontology:
$ knora-create-ontology wordweb_data_model_definition.json
Run the initial script:
$ python3 start_import.py