Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.2.10
-
None
-
None
Description
Created a Rya RepositoryConnection with inferencing enabled.
For some queries i need inferencing enabled and others i do not want it enabled. The following does not work when it should
TupleQuery query = connection.prepareTupleQuery(QueryLanguage.SPARQL, "some query");
// This Following call does not work and Rya will still perform inferencing
query.setIncludeInferred(false);
This can be fixed in the RdfCloudTripleStoreConnection.evaluateInternal
line 343 by changing
if (queryConf.isInfer() && this.inferenceEngine != null)
To
if (queryConf.isInfer() && this.inferenceEngine != null && flag)