# DELETE

Copyright © 2010 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, and document use rules apply.

## Abstract

Tests for SPARQL UPDATE

This page describes W3C SPARQL Working Group's SPARQL 1.1 test suite.

### Contributing Tests

The test manifests and entries are built automatically from manifest.ttl using a Rake task. Tests may be contributed via pull request to https://github.com/w3c/rdf-tests with suitable changes to the manifest.ttl and referenced files.

### Distribution

Distributed under both the W3C Test Suite License and the W3C 3-clause BSD License. To contribute to a W3C Test Suite, see the policies and contribution forms.

### Disclaimer

UNDER BOTH MUTUALLY EXCLUSIVE LICENSES, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.

## Test Descriptions

dawg-delete-01: Simple DELETE 1

  This is a simple delete of an existing triple from the default graph

  type
    mf:UpdateEvaluationTest
  approval
  action
  result
dawg-delete-02: Simple DELETE 2

  This is a simple delete of an existing triple from a named graph

  type
    mf:UpdateEvaluationTest
  approval
  action
  result
dawg-delete-03: Simple DELETE 3

  This is a simple delete of a non-existing triple from the default graph

  type
    mf:UpdateEvaluationTest
  approval
  action
  result
dawg-delete-04: Simple DELETE 4

  This is a simple delete of a non-existing triple from a named graph

  type
    mf:UpdateEvaluationTest
  approval
  action
  result
dawg-delete-05: Graph-specific DELETE 1

  Test 1 for DELETE only modifying the desired graph

  type
    mf:UpdateEvaluationTest
  approval
  action
  result
dawg-delete-06: Graph-specific DELETE 2

  Test 2 for DELETE only modifying the desired graph

  type
    mf:UpdateEvaluationTest
  approval
  action
  result
dawg-delete-07: Simple DELETE 7

  This is a simple delete to test that unbound variables in the DELETE clause do not act as wildcards

  type
    mf:UpdateEvaluationTest
  approval
  action
  result
dawg-delete-with-01: Simple DELETE 1 (WITH)

  This is a simple delete using a WITH clause to identify the active graph

  type
    mf:UpdateEvaluationTest
  approval
  action
  result
dawg-delete-with-02: Simple DELETE 2 (WITH)

  This is a simple test to make sure the GRAPH clause overrides the WITH clause

  type
    mf:UpdateEvaluationTest
  approval
  action
  result
dawg-delete-with-03: Simple DELETE 3 (WITH)

  This is a simple delete of a non-existing triple using a WITH clause to identify the active graph

  type
    mf:UpdateEvaluationTest
  approval
  action
  result
dawg-delete-with-04: Simple DELETE 4 (WITH)

  This is a simple delete of a non-existing triple making sure that the GRAPH clause overrides the WITH clause

  type
    mf:UpdateEvaluationTest
  approval
  action
  result
dawg-delete-with-05: Graph-specific DELETE 1 (WITH)

  Test 1 for DELETE only modifying the desired graph using a WITH clause to specify the active graph

  type
    mf:UpdateEvaluationTest
  approval
  action
  result
dawg-delete-with-06: Graph-specific DELETE 2 (WITH)

  Test 2 for DELETE only modifying the desired graph making sure the GRAPH clause overrides the WITH clause

  type
    mf:UpdateEvaluationTest
  approval
  action
  result
dawg-delete-using-01: Simple DELETE 1 (USING)

  This is a simple delete using a USING clause to identify the active graph

  type
    mf:UpdateEvaluationTest
  approval
  action
  result
dawg-delete-using-02a: Simple DELETE 2 (USING)

  This is a simple test to make sure the GRAPH clause does not override the USING clause

  type
    mf:UpdateEvaluationTest
  approval
  action
  result
dawg-delete-using-03: Simple DELETE 3 (USING)

  This is a simple delete of a non-existing triple using a USING clause to identify the active graph

  type
    mf:UpdateEvaluationTest
  approval
  action
  result
dawg-delete-using-04: Simple DELETE 4 (USING)

  This is a simple delete of a non-existing triple making sure that the GRAPH clause overrides the USING clause

  type
    mf:UpdateEvaluationTest
  approval
  action
  result
dawg-delete-using-05: Graph-specific DELETE 1 (USING)

  Test 1 for DELETE only modifying the desired graph using a USING clause to specify the active graph

  type
    mf:UpdateEvaluationTest
  approval
  action
  result
dawg-delete-using-06a: Graph-specific DELETE 2 (USING)

  Test 2 for DELETE only modifying the desired graph making sure the GRAPH clause does not override the USING clause

  type
    mf:UpdateEvaluationTest
  approval
  action
  result