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

minus fails when preceded with property path

    XMLWordPrintable

    Details

      Description

      Using this data

      <http://s1> rdf:type <http://T> .
      <http://s1> <http://p1> <http://s11> .
      <http://s11> <http://p2> "A" .
      

      The query below will faill with 'java.lang.IndexOutOfBoundsException: Index: 2, Size: 2'

      SELECT *
      WHERE {
        ?s <http://p1>/<http://p2> "A" . # java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
      #  ?s <http://p2> "A" . # correctly return nothing
        minus {
          ?s rdf:type <http://T> 
        }
      }
      

      However, if you swap the property path expression with the commented out one, the query completes successfully.

        Attachments

          Activity

            People

            Assignee:
            michaelschmidt michaelschmidt
            Reporter:
            nolanli Nolan Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: