OpO A fast graph database
OpO

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.

Individual Quad Deletion

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:

http://www.example.com/quad/000000000000050f

Multiple Quad Deletions

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:

http://www.example.com/quad?graph=graph1 http://www.example.com/quad