Thank you Lorenz, although this seems to be a reply to my side comment about TDB rather than the question I had, right?
The main issue right now is that I would like to use inferencing to get e.g. inverse relations, but doing this is very slow the first time a query is run, likely due to some preprocessing step that needs to run first. I would like to run the preprocessing step in advance rather than running it implicitly. > Den 2. jul. 2021 kl. 13.30 skrev Lorenz Buehmann > <[email protected]>: > > you can just add the inferred model to the dataset, i.e. add all triple to > your TDB. Then you can disable the reasoner afterwards or just omit the rules > that you do not need anymore > > On 02.07.21 13:13, Simon Gray wrote: >> Hi there, >> >> I’m using Apache Jena from Clojure to create new home for the Danish >> WordNet. I use the Arachne Aristotle library + some additional Java interop >> code of my own. >> >> I would like to use OWL inferencing to query e.g transitive or inverse >> relations. This does seem to work fine although I’ve only tried using the >> supplied in-memory model for now (and it looks like I will have to create my >> own instance of a ModelMaker to integrate with TDB 1 or 2). >> >> However, the first query always seems to run really, really slow. Is there >> any way to precompute inferred relations so that I don’t have to wait? I’ve >> tried calling `rebind` and `prepare`, but they don’t seem to do anything. >> >> Kind regards, >> >> Simon Gray >> Research Officer >> Centre for Language Technology, University of Copenhagen >>
