stardog-union / pellet

Pellet is an OWL 2 reasoner in Java; open source (AGPL) and commercially licensed, commercial support available.
http://clarkparsia.com/pellet
Other
305 stars 152 forks source link

PelletReasoner enabled to work with Fuseki assembler #10

Closed galbiston closed 3 years ago

galbiston commented 10 years ago

Constructor adjusted so that schema is indicated as bound when argument is not null. PelletInfGraph will now retrieve the schema when either bindSchema or bindFixedSchema is used. Previously bindSchema would have no effect despite this being a Jena Reasoner interface method. This change enables Pellet to work with Fuseki assembler ja:schema command.

Most of the changes on the page are due to the auto-formatting which I applied and didn't realise it had changed so much until after committing. The only real change is one line in the two arg constructor.

Other minor changes:

evren commented 9 years ago

Thanks for the pull request and sorry for not picking this up earlier. There is no documentation about this but the purpose of bindFixedSchema was different than bindSchema. And it should not be the case that bindSchema has no effect. After the schema is set through bindSchema and the PelletInfGraph is created with the reasoner PelletInfGraph.reload() call will retrieve the schema graph from the reasoner and load it. Fixed schema on the other hand causes PelletInfGraph to ignore any schema axioms that might be defined in the underlying raw graph. I'm not sure if there is something else wrong with the Fuseki integration.

galbiston commented 9 years ago

Hi Evren,

From distant memory adding the Pellet reasoner to Fuseki assembler only worked for read and, I think, new insertions. Any changes to existing triples required the reasoner to be recreated.

Thanks,

Greg

galbiston commented 3 years ago

Not been accepted after 5 years so closing the request.