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

Wildcard projection ignores variables inside a SERVICE call.

    XMLWordPrintable

    Details

      Description

      I noticed this when testing the new GASService in the RDR branch. The following query was not projecting out ?depth. That variable only appears inside of the SERVICE pattern.

      PREFIX gas: <http://www.bigdata.com/rdf/gas#>
      SELECT * 
        SERVICE gas:service {
           gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.BFS" .
           gas:program gas:in <ip:/112.174.24.90> . # one or more times, specifies the initial frontier.
           gas:program gas:out ?out . # exactly once - will be bound to the visited vertices.
           gas:program gas:out1 ?depth . # exactly once - will be bound to the visited vertices.
           gas:program gas:maxIterations 4 . # optional limit on breadth first expansion.
           gas:program gas:maxVisited 2000 . # optional limit on the #of visited vertices.
           gas:program gas:linkType <http://darpa.gov/planx/ipConnection> . # optional constraint on the link type.
           gas:program gas:nthreads 4 . # specify the #of threads to use (optional)
       }
       <<?out ?p ?tgt>> ?p2 ?weight
      } 
      limit 100
      

        Attachments

          Activity

            People

            Assignee:
            mrpersonick mrpersonick
            Reporter:
            bryanthompson bryanthompson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: