dsp-api
dsp-api copied to clipboard
Load built-in Knora ontologies as read-only imports in GraphDB
I noticed this interesting thing in the GraphDB docs about reasoning:
The forward-chaining part of the algorithm terminates as soon as it detects that a statement is read-only, because if it cannot be deleted, there is no need to look for statements derived from it. For this reason, performance can be greatly improved when all schema statements are made read-only by importing ontologies (and OWL/RDFS vocabularies) using the imports repository parameter.
So I guess we should tell it to load all the .ttl files in Knora/knora-ontologies as read-only imports, like this:
http://graphdb.ontotext.com/documentation/standard/configuring-a-repository.html#configuring-a-repository-configuration-parameters-imports