The DROP function deletes a graph and all of its triples.
Use the following syntax to delete graphs and their triples using the DROP function.
DROP [ SILENT ] GRAPH <graph> | DEFAULT | NAMED | ALL
The optional SILENT keyword tells AnzoGraph DB not to return an error if an error occurs.
|DROP GRAPH <graph>||Deletes the named graph.|
|DROP DEFAULT||Since a graph database must always have a default graph, the DROP DEFAULT operation deletes the triples from the default graph; it does not remove the graph. DROP DEFAULT is synonymous with CLEAR DEFAULT.|
|DROP NAMED||Deletes all of the named graphs in the database.|
|DROP ALL||Deletes all of the graphs and their triples from the database. Since the default graph cannot be removed, the triples from the default graph are deleted but the default graph remains.|