These scripts imports all of the vocabulary TTL files from the Github repository at https://github.com/geological-survey-of-queensland/vocabularies into GraphDB.
Run the script vocabs_load.py to import all of the vocabulary TTL files from the Github repository into GraphDB.
Edit the relevant config file, test or production, with GraphDB and Github account credentials. Rename to config.py
The vocabs_load.py file uses the config.py file for its configuration.
NOTE: The current script will not load the file minerals.ttl as it exceeds 2MB (this needs to be fixed).
NOTE: The current script will not load the file qudt-uom.ttl due to a bug in the load script (this needs to be fixed).
Until these issue are resolved, the minerals.ttl and qudt-uom.ttl files must be manually imported through the GraphDB administration interface - see instructions below.
To refresh the VocPrez cache of vocabularies, restart Apache httpd on the VocPrez EC2 instance.