The CLEAR function deletes all of the triples in a graph without deleting the graph.
Use the following syntax to remove triples from the specified graph or graphs using the CLEAR function.
CLEAR [ SILENT ] GRAPH <graph> | DEFAULT | NAMED | ALL
The optional SILENT keyword tells AnzoGraph not to return an error if an error occurs.
|CLEAR GRAPH <graph>||Deletes all of the triples from the named graph.|
|CLEAR DEFAULT||Deletes all of the triples from the default graph.|
|CLEAR NAMED||Deletes all of the triples from all of the named graphs in the database.|
|CLEAR ALL||Deletes all of the triples from all graphs.|