Nano Sparql Server

From Blazegraph
Revision as of 16:39, 7 April 2011 by Thompsonbry (Talk | contribs) (Initial pass on an REST API page.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

DELETE

DELETE with Query

DELETE [/namespace/NAMESPACE] ?query=...

Where query is a CONSTRUCT or DESCRIBE query. Statements are materialized using the query from the addressed namespace are deleted from that namespace.

Note: To avoid materializing the statements, this runs the query against the last commit time. This is done while it is holding the unisolated connection which prevents concurrent modifications. Therefore the entire QUERY + DELETE operation is ACID.

DELETE with Body

POST [/namespace/NAMESPACE]
 ...
Content-Type
 ...

BODY

BODY contains RDF statements according to the specified Content-Type. Statements parsed from the BODY are deleted from the addressed namespace.