Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: BLAZEGRAPH_RELEASE_1_5_2
    • Fix Version/s: BLAZEGRAPH_RELEASE_1_5_2
    • Component/s: None
    • Labels:
      None

      Description

      I was trying to run our tests on RC1 and looks like something is broken
      there with FILTER NOT EXISTS. Here is how I reproduce it:

      1. Create new namespace
      2. Insert new data:

      INSERT

      { <http://www.wikidata.org/entity/Q23> <http://www.w3.org/2000/01/rdf-schema#label> "George Washington"@en . }

      WHERE {};

      3. Check the data is there:
      PREFIX wd: <http://www.wikidata.org/entity/>
      SELECT * WHERE

      { wd:Q23 ?p ?o . }

      I get:

      rdfs:label George Washington

      3. Try to delete it:
      DELETE

      { <http://www.wikidata.org/entity/Q23> ?p ?o . }

      WHERE {
      <http://www.wikidata.org/entity/Q23> ?p ?o .
      FILTER NOT EXISTS {
      VALUES ( ?s ?p ?o )

      { ( <http://www.wikidata.org/entity/Q23> <http://www.w3.org/2000/01/rdf-schema#label> "George Washingmoved"@en ) }

      }
      };

      This should delete the label, but when I run the query at (2) again, I
      still get the same data.

      This seems to be also affecting the SELECT queries, e.g. this one:

      PREFIX wd: <http://www.wikidata.org/entity/>
      SELECT * WHERE {
      <http://www.wikidata.org/entity/Q23> ?p ?o .
      FILTER NOT EXISTS {
      VALUES ( ?s ?p ?o )

      { ( <http://www.wikidata.org/entity/Q23> <http://www.w3.org/2000/01/rdf-schema#label> "George Washingmoved"@en ) }

      }
      }

      Does not return a result, even though it should have returned the label
      from above (since VALUES part does not match any triple).

        Activity

          People

          • Assignee:
            stasmalyshev stasmalyshev
            Reporter:
            beebs Brad Bebee
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: