[ 
https://issues.apache.org/jira/browse/JENA-494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Seaborne updated JENA-494:
-------------------------------

    Description: 
{noformat}
SELECT ?z
{
   SELECT ?z {
      SERVICE <http://foo> { ?c ?p ?o }
      ?c ?q ?z 
   }
}
{noformat}
==>
{noformat}
(project (?z)
  (project (?z)
    (sequence
      (service <http://foo>
        (bgp (triple ?/c ?/p ?/o)))
      (bgp (triple ?/c ?/q ?z)))))
{noformat}
but the remote request is 
{noformat}
SELECT * { ?c ?p ?o }
{noformat}
so the {{?/c}} and {{?c}} do not join.

From: 
http://mail-archives.apache.org/mod_mbox/jena-users/201307.mbox/%3C20130717190649.GA25207%40netestate.de%3E

  was:
{noformat}
SELECT ?z
{
   SELECT ?z {
      SERVICE <http://foo> { ?c ?p ?o }
      ?c ?q ?z 
   }
}
{noformat}
==>
{noformat}
(project (?z)
  (project (?z)
    (sequence
      (service <http://foo>
        (bgp (triple ?/c ?/p ?/o)))
      (bgp (triple ?/c ?/q ?z)))))
{noformat}
but the remote request is 
{noformat}
SELECT * { ?c ?p ?o }
{noformat}
so the {{?/c}} and {{?c}} do not join.


    
> Variables in SERVICE can be written by scoping transforms and not recovered.
> ----------------------------------------------------------------------------
>
>                 Key: JENA-494
>                 URL: https://issues.apache.org/jira/browse/JENA-494
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ
>    Affects Versions: Jena 2.10.1
>            Reporter: Andy Seaborne
>
> {noformat}
> SELECT ?z
> {
>    SELECT ?z {
>       SERVICE <http://foo> { ?c ?p ?o }
>       ?c ?q ?z 
>    }
> }
> {noformat}
> ==>
> {noformat}
> (project (?z)
>   (project (?z)
>     (sequence
>       (service <http://foo>
>         (bgp (triple ?/c ?/p ?/o)))
>       (bgp (triple ?/c ?/q ?z)))))
> {noformat}
> but the remote request is 
> {noformat}
> SELECT * { ?c ?p ?o }
> {noformat}
> so the {{?/c}} and {{?c}} do not join.
> From: 
> http://mail-archives.apache.org/mod_mbox/jena-users/201307.mbox/%3C20130717190649.GA25207%40netestate.de%3E

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to