You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (Jira)" <ji...@apache.org> on 2022/02/10 20:30:00 UTC

[jira] [Commented] (JENA-2280) Invalid results of SPARQL query with a federated subquery

    [ https://issues.apache.org/jira/browse/JENA-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17490496#comment-17490496 ] 

Andy Seaborne commented on JENA-2280:
-------------------------------------

This is a problem in the query engine (client-side) rather than the server being called by SERVICE.

It is right in 4.2.0 so the problem came about at 4.3.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
>            Assignee: Andy Seaborne
>            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)