You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andrew Crapo (JIRA)" <ji...@apache.org> on 2013/08/07 18:03:47 UTC

[jira] [Created] (JENA-504) no derivations recorded when bindSchema is used

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