Save snapshot of schema cache?

2022-07-01 Thread Simon Gray
not have go and fetch all of these manually. Kind regards, Simon Gray Software developer, Centre for Language Technology, University of Copenhagen

Re: How do you determine whether a triple from a query result has been inferred?

2021-12-06 Thread Simon Gray
which could be a problem for particularly heavy queries. > Den 6. dec. 2021 kl. 09.08 skrev Dave Reynolds : > > On 06/12/2021 07:57, Simon Gray wrote: >> I would like to display inferred triples differently in my UI, but I’m >> unsure how to programmatically ascertain which tri

How do you determine whether a triple from a query result has been inferred?

2021-12-05 Thread Simon Gray
I would like to display inferred triples differently in my UI, but I’m unsure how to programmatically ascertain which triple is from inference and which is raw data. The only way I can think of that might work would be to make a secondary look-up in the raw data graph and compare the difference

How to separate Ontology triples from Instance triples?

2021-09-23 Thread Simon Gray
schemas too. How do I get the just base model + the inferred triples without the schema data mixed in? Kind regards, Simon Gray Research Officer, Centre for Language Technology, University of Copenhagen

Re: Inference rule selection for dummies?

2021-08-24 Thread Simon Gray
derIdentification.] On 23/08/2021 08:16, Simon Gray wrote: Thanks Dave, that is great to know! Rght now I’m using one of the built-in OntModelSpec instances, calling `setBaseModelMaker` and `setImportModelMaker` on it with an instance created by `ModelFactory.createMemModelMaker` as the a

Re: Inference rule selection for dummies?

2021-08-23 Thread Simon Gray
> probably just need: > > [inverseOf2: (?P owl:inverseOf ?Q) -> table(?P), table(?Q), > [inverseOf2b: (?X ?P ?Y) <- (?Y ?Q ?X)] ] > > That is a "hyrid" rule (mix of forward and backward) see the docs, but > that's the default for GenericRuleReasone

Inference rule selection for dummies?

2021-08-20 Thread Simon Gray
Hi everyone, I'm on Jena 3.14 experimenting with the built-in OntologySpecs. My main requirement is inferring reverse relations (when applicable). Only the OWL reasoners do this, but they also infer so many more triples which balloons the size of the InfModel so much that it is impossible for m

Re: Precomputing OWL inferences

2021-07-12 Thread Simon Gray
at http://aka.ms/LearnAboutSenderIdentification.] > > On 08/07/2021 10:05, Simon Gray wrote: >> So I have a follow-up question... >> >> What I really want is an updatable graph that persists on disk as TDB and >> then an expanded view that contains all of the inferred tripl

Re: Precomputing OWL inferences

2021-07-08 Thread Simon Gray
between man-made, curated triples and some varying set of inferred triples. Is this at all possible to do with Jena? > Den 5. jul. 2021 kl. 10.38 skrev Dave Reynolds : > > On 05/07/2021 08:03, Simon Gray wrote: >> Thank you for that answer, Dave! I think this provides the missing

Re: Precomputing OWL inferences

2021-07-05 Thread Simon Gray
021 kl. 18.34 skrev Dave Reynolds : > > > On 02/07/2021 13:29, Simon Gray wrote: >> Hmm… I am not sure how my rules are modeled. I just use the built-in >> OWL_MEM_MICRO_RULE_INF OntModelSpec. >> Anyway, my question is still this: how do I get all of those inferences

Re: Precomputing OWL inferences

2021-07-02 Thread Simon Gray
B - this is standard forward chaining with writing > the data back to disk or database. Can you try this procedure, maybe it works > for you? > > Indeed this wont work if your rules are currently modeled as backward > chaining rules as those are computed at query time always.

Re: Precomputing OWL inferences

2021-07-02 Thread Simon Gray
B. 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

Precomputing OWL inferences

2021-07-02 Thread Simon Gray
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