dsp-api
dsp-api copied to clipboard
Add route for loading data/ontology '.ttl' files
Current Issues:
-
When loading data with the scripts in
webapi/scripts, it is required to restartwebapiso that the ontology cache is refreshed. -
The scripts require for the data to be accessible by
webapi, which makes things difficult in production. -
It shouldn't be necessary to check-out the Knora repository just to initialize the triplestore.
Goal: It should be possible to upload the data and ontology .ttl files to a route, which will forward them to GraphDB and finally trigger an ontology cache refresh. This operation will only be allowed for a SystemAdmin. It will be a destructive operation, as it will first remove any existing data.
Related Issues:
- #1103