Details

    • Type: Sub-task
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: BLAZEGRAPH_RELEASE_1_5_2
    • Component/s: None
    • Labels:
      None

      Description

      With a database containing the quad in data.nq, the following query returns the expected result:

      SELECT ?uri_d WHERE {
      VALUES ?type

      { <http://type1> }

      GRAPH <http://graph1>

      { ?uri_d <http://p> ?type . }

      }

      uri_d
      <http://subj>

      binding the graph in a second VALUES clause:

      SELECT ?uri_d WHERE {
      VALUES ?type

      { <http://type1> }

      VALUES ?vg

      { <http://graph1> }

      GRAPH ?vg

      { ?uri_d <http://p> ?type . }

      }

      returns no results. Binding the graph variable inside the first VALUES clause:

      SELECT ?uri_d WHERE {
      VALUES (?type ?vg)

      { (<http://type1> <http://graph1>) }

      GRAPH ?vg

      { ?uri_d <http://p> ?type . }

      }

      returns the expected result again.

      uri_d
      <http://subj>

        Attachments

        1. data.nq
          0.1 kB
          Lee Kitching

          Activity

            People

            Assignee:
            michaelschmidt michaelschmidt
            Reporter:
            lkitching Lee Kitching
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: