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