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

BINDINGS clause in 1.5.2

    XMLWordPrintable

    Details

      Description

      We use the following (simplified) query in Blazegraph 1.5.1

      Unable to find source-code formatter for language: sparql. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      prefix overheidrl: <http://linkeddata.overheid.nl/terms/>
      
      SELECT *
      WITH {
        SELECT ?id_ref ?dist (count(distinct ?link) as ?aantal)
        WHERE {
                  bind (?id as ?id_ref)
                  bind (0 as ?dist)
                  ?id_ref (overheidrl:linkt|^overheidrl:linkt) ?link .
        }
        GROUP BY ?id_ref ?dist
        LIMIT 101
      } AS %links
      where {
        include %links
      }
      BINDINGS ?id {
            ( <http://linkeddata.overheid.nl/terms/beleidsregel/id/SB1287> )
      }
      

      When we run this query in 1.5.2 it doesn't bind ?id in the subquery within the WITH {}.

      When I move the BINDINGS clause to the subquery (under ORDER BY), it works.

      Is it correct we have to modify our queries for Blazegraph 1.5.2?

        Attachments

          Activity

            People

            Assignee:
            michaelschmidt michaelschmidt
            Reporter:
            jme Jan Meijer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: