%META:TOPICPARENT{name="VirtTipsAndTricksGuide"}%
---+How can I drop a graph for which is not clear was it created explicitly or not?
If you are not sure whether a given graph is created explicitly or not, in order to drop the graph use
the DROP SILENT GRAPH
statement:
DROP SILENT GRAPH
callret-0
Drop silent graph -- done
If a given graph is created explicitly however, i.e. using the CREATE GRAPH
statement:
CREATE GRAPH
callret-0
Create graph -- done
then you can use DROP GRAPH
in order to drop the graph:
DROP GRAPH
callret-0
Drop graph -- done
---++Related
* [[http://docs.openlinksw.com/virtuoso/sparqlextensions.html#rdfsparulexamples2][What is the difference between "DELETE FROM GRAPH" and "CLEAR GRAPH"?]]
* [[VirtTipsAndTricksDeleteGraphProc][How can I delete graphs using stored procedure?]]
* [[http://docs.openlinksw.com/virtuoso/sparqlextensions.html#rdfsparulexamples10][How can I drop a graph?]]