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

Inconsistent update with INSERT/DELETE

    XMLWordPrintable

    Details

      Description

      There seems to be an issue with the way Update (INSERT/DELETE) behaves in 1.5.3, the attached data.trig file produces the right bindings for query q2, but on the update in q1, having the same WHERE patters, only the DELETE section seems to be executed.
      If q2 is modified to contain only the INSERT part, it works inserting the required statements; if the same query then is modified to contain only the DELETE section the expected triples are removed.

      The specific steps to reproduce are:

      1. Load the data.trig file
      2. Execute q2 (with SELECT) - this query shows the bindings for the specified patterns
      3. Execute q1 (DELETE/INSERT) - the issue happening is that it seems like only the DELETE part is being executed, but not the INSERT.
      4. If the test is done again (clean namespace and reload data), with the DELETE part removed, the INSERT is executed correctly. Next, if the INSERT part is removed and only the DELETE part is executed, it works deleting the desired results, having the desired result overall.

        Attachments

        1. data.trig
          2 kB
        2. q1.rq
          1 kB
        3. q2.rq
          1 kB

          Activity

            People

            Assignee:
            michaelschmidt michaelschmidt
            Reporter:
            edgarr Edgar R
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: