dsp-api icon indicating copy to clipboard operation
dsp-api copied to clipboard

Add route for loading data/ontology '.ttl' files

Open subotic opened this issue 6 years ago • 0 comments

Current Issues:

  1. When loading data with the scripts in webapi/scripts, it is required to restart webapi so that the ontology cache is refreshed.

  2. The scripts require for the data to be accessible by webapi, which makes things difficult in production.

  3. 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

subotic avatar Jan 21 '19 15:01 subotic