[ https://issues.apache.org/jira/browse/JENA-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michal Pietrusinski updated JENA-2280: -------------------------------------- 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" {code:java} SELECT ?temp WHERE { { SELECT (?value as ?temp) { { SERVICE <http://localhost:3030/test/query> { VALUES ?value { "test" } } } } } } {code} However the following query returns the correct result "test". {code:java} SELECT * WHERE { { SELECT (?value as ?temp) { { SERVICE <http://localhost:3030/test/query> { VALUES ?value { "test" } } } } } } {code} Both of these queries work fine on an older Fuseki release 4.1.0 was: In Fuseki I created on dataset named "test". The following query gives 1 result with an empty string, whereas the expected value is "test" {code:java} SELECT ?temp WHERE { { SELECT (?value as ?temp) { { SERVICE <http://localhost:3030/test/query> { VALUES ?value \{ "test" } } } } } } {code} However the following query returns the correct result "test". {code:java} SELECT * WHERE { { SELECT (?value as ?temp) { { SERVICE <http://localhost:3030/test/query> { VALUES ?value \{ "test" } } } } } } {code} Both of these queries work fine on an older Fuseki release 4.1.0 > Invalid results of SPARQL query with a federated subquery > --------------------------------------------------------- > > Key: JENA-2280 > URL: https://issues.apache.org/jira/browse/JENA-2280 > Project: Apache Jena > Issue Type: Bug > Components: Fuseki > Affects Versions: Jena 4.3.1, Jena 4.3.2, Jena 4.4.0 > Reporter: Michal Pietrusinski > Priority: Major > > In Fuseki I created on dataset named "test". > The following query gives 1 result with an empty string, whereas the expected > value is "test" > {code:java} > SELECT ?temp > WHERE { > { > SELECT (?value as ?temp) { > { SERVICE <http://localhost:3030/test/query> { > VALUES ?value { "test" } > } > } > } > } > } > {code} > However the following query returns the correct result "test". > {code:java} > SELECT * > WHERE { > { > SELECT (?value as ?temp) { > { SERVICE <http://localhost:3030/test/query> { > VALUES ?value { "test" } > } > } > } > } > } > {code} > Both of these queries work fine on an older Fuseki release 4.1.0 -- This message was sent by Atlassian Jira (v8.20.1#820001)