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

DELETE WHERE with NAMED GRAPHS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed - Won't Fix
    • Resolution: Incomplete
    • Affects Version/s: BIGDATA_RELEASE_1_4_0
    • Fix Version/s: None
    • Component/s: NanoSparqlServer
    • Labels:
      None

      Description

      This bug was reported in the context of the REST API "DELETE_WITH_ACCESS_PATHS" method. However, I suspect a bug with the named graphs handling for DELETE WHERE. If so, this might be a duplicate. Tests should be added at the TestNanoSparqlClient and SPARQL AST levels.

      This is what I launch for curl
      
      curl.exe --get -X DELETE -H "Accept:application/xml" "http://localhost:8080/bigdata/namespace/frm/sparql" --data-urlencode "c=<http://example/dataset>"
      
      This gets expanded to
      
      curl.exe --get -X DELETE -H "Accept:application/xml" "http://localhost:8080/bigdata/namespace/frm/sparql" --data-urlencode "DELETE {GRAPH <http://example/dataset> {?s ?p ?o}} WHERE {GRAPH <http://example/dataset> {?s ?p ?o}}"
      
      and returns
      <?xml version="1.0"?><data modified="3348" milliseconds="31"/>
      
      the data is in two different contexts, 1800 in the one, 1548 in the other, all are deleted from the frm namespace
      

        Attachments

          Activity

            People

            Assignee:
            michaelschmidt michaelschmidt
            Reporter:
            bryanthompson bryanthompson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: