Uploaded image for project: 'Rya'
  1. Rya
  2. RYA-195

Inferencing can not be disabled from TupleQuery

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2.10
    • None
    • sail
    • 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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            roy224 Austin Langhorne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified