Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-2280

Invalid results of SPARQL query with a federated subquery

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 4.3.1, Jena 4.3.2, Jena 4.4.0
    • Jena 4.5.0
    • Fuseki
    • None

    Description

      In Fuseki I created on dataset named "test".

      The following query gives 1 result with an empty string, whereas the expected value is "test"

      SELECT ?temp
      WHERE {
        {
          SELECT (?value as ?temp) {
            { SERVICE <http://localhost:3030/test/query> {          
                VALUES ?value { "test" }  
              }
            }
          }    
        }  
      }
      

      However the following query returns the correct result "test".

      SELECT *
      WHERE {
        {
          SELECT (?value as ?temp) {
            { SERVICE <http://localhost:3030/test/query> {          
                VALUES ?value { "test" }  
              }
            }
          }    
        }  
      }
      

      Both of these queries work fine on an older Fuseki release 4.1.0

      Attachments

        Activity

          People

            andy Andy Seaborne
            Pietrusinski Michal Pietrusinski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: