Added unit test which reproduces the behaviour.
This test should be added to: sesame-store-compliance/src/test/java/org.openrdf.sail.federation
Attached a new test which adds the ForwardChainingRDFSInferencer that was missing before.
I found that the invalid behaviour is only triggered when using queries to access the repository content.
I found the cause for this problem.
OwnedTupleExpr didn't consider if inferred statements should be included or not.
I had to extend the constructor of FederationStrategy and the method OwnedTupleExpr.evaluate(...) to incorporate the includeInferred parameter.
These changes are included in sesame-sail-federation.patch
The latest version of RDFSchemaFederationRepositoryConnectionTest now extends RDFSchemaRepositoryConnectionTest and contained tests are passed after applying the patch.
I had to override the method testInferencerTransactionIsolation() since it uses blank nodes across different connections which violates the specification. I think the original method RDFSchemaRepositoryConnectionTest.testInferencerTransactionIsolation() should also be changed to use uris instead of blank nodes.
Patch has been applied to the trunk.
RDFSchemaRepositoryConnectionTest.testInferencerTransactionIsolation() has been modified to use URIs instead of BNodes.