Closed galbiston closed 3 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.
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
Not been accepted after 5 years so closing the request.
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: