Andrew Crapo created JENA-504:
---------------------------------
Summary: no derivations recorded when bindSchema is used
Key: JENA-504
URL: https://issues.apache.org/jira/browse/JENA-504
Project: Apache Jena
Issue Type: Bug
Components: Jena
Affects Versions: Jena 2.10.1
Environment: Windows & 64-bit, Eclipse IDE
Reporter: Andrew Crapo
Given a set of rules used to create a new GenericRuleReasoner and set
derivation logging true:
Reasoner reasoner = new GenericRuleReasoner(rules);
reasoner.setDerivationLogging(true);
if a call is made to bindSchema:
Reasoner r2 = reasoner.bindSchema(schemaModel);
before a call to create the InfModel:
InfModel inf = ModelFactory.createInfModel(r2, schemaModel);
then no derivations are logged because a new FBRuleInfGraph is created (hybrid)
that does not have recordDerivations true. Hence any rule firings during the
bindSchema call do not have derivations recorded.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira