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

str() produces NotMaterializedException when using group by/sample

    XMLWordPrintable

    Details

      Description

      This code:

      SELECT ?id
      (SAMPLE(?img) as ?pic)
      (str(?pic) as ?description)
      WHERE {
        ?id wdt:P31 wd:Q35657 .
        ?id wdt:P6 ?head .
        OPTIONAL {
          ?head wdt:P18 ?img
        }
      } GROUP BY ?id ?head  
      

      produces a com.bigdata.rdf.internal.NotMaterializedException. If I remove the ?description projection, or even remove str(), everything is fine. ?pic has a value in every row of the result.
      Removing OPTIONAL still produces the exception.

        Attachments

          Activity

            People

            Assignee:
            michaelschmidt michaelschmidt
            Reporter:
            stasmalyshev stasmalyshev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: