Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-1892

Suspected wrong visibility scoping for named graph-valued variables.

    XMLWordPrintable

    Details

      Description

      This DAWG test fails: http://www.w3.org/2009/sparql/docs/tests/data-sparql11/subquery/manifest#subquery03

      Query:

      select ?x where {
      graph ?g {
      {select ?x where {?x ?p ?g}}
      }
      }

      Expected results:
      x=http://www.example.org/instance#c
      x=http://www.example.org/instance#a

      Bigdata results (via BigdataSparqlTest):
      x=http://www.example.org/instance#c

      Missing results:
      x=http://www.example.org/instance#a

      Also, when I run it in StandaloneSparqlNanoServer, I get no results at all.

      I suspect that something is wrong with the scoping of the variable ?g, because the following query modification executes correctly:

      select ?x where {
      graph ?h {
      {select ?x where {?x ?p ?g}}
      }
      }

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alexr Alexandre Riazanov
              Reporter:
              alexr Alexandre Riazanov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: