The HTTP REST quad delete API provides the ability to delete one triple or quad or multiple triples or quads. Individual triples can be deleted by triple identifier. All triples can be deleted by not specifying an identifier. As an option all quads in a specifc graph can be deleted. This graph filtering will delete any quad with graph matching the specified graph.
Deletes use the DELETE HTTP method. Options are limited to being able to specify a graph. Any other finer grain deletes should use the SPARQL HTTP API.
A DELETE with a URL that includes a quad identifier is used to delete a quad. There are no options for the delete operation.
An example of a DELETE URL for a specific quad is:
A DELETE with a URL that does not includes a quad identifier is used to delete all quads in the database. To narrow the deletions to just the quads in a specific graph an optional graph parameter can be given in the URL query section.
Examples of a DELETE URL for a multiple quad deletions are: