Multi-User-Domain / mud-jena

0 stars 0 forks source link

Reasoner which pulls ontologies from data automatically during inference #14

Open calummackervoy opened 3 years ago

calummackervoy commented 3 years ago

The inbuilt reasoners, as far as I can tell, require you to pass the schema/ontologies of the data along with the data, when it does the inferencing

If I gave it myResource a mudbuildings:Stadium and included both mudbuildings and mud ontologies with the data, so it was able to reason (with the ontology data) that a Stadium is a mud:Locatable

But if I gave it data which was further down the tree, like myResource a something:Something, it will fail unless I override the code to pull that ontology as well

To make our ontologies properly extensible without needing to rewrite our views, I think we need to offer support to a custom Reasoner which will pull each ontology it comes across in the data. I haven't looked into what other Reasoners Jena supports though