<docbook><section><title>VirtTipsAndTricksDROPSilentGraph</title><para> </para>
<title>How can I drop a graph for which is not clear was it created explicitly or not?</title>How can I drop a graph for which is not clear was it created explicitly or not?
<para>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: </para>
<programlisting>DROP SILENT GRAPH &lt;http://example1.com&gt;

callret-0
Drop silent graph &lt;http://example1.com&gt; -- done
</programlisting><para> If a given graph is created explicitly however, i.e.
 using the  CREATE GRAPH  statement: </para>
<programlisting>CREATE GRAPH &lt;http://example2.com&gt;

callret-0
Create graph &lt;http://example2.com&gt; -- done
</programlisting><para> then you can use  DROP GRAPH  in order to drop the graph:</para>
<programlisting>DROP GRAPH &lt;http://example2.com&gt;

callret-0
Drop graph &lt;http://example2.com&gt; -- done
</programlisting><bridgehead class="http://www.w3.org/1999/xhtml:h2">Related</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="http://docs.openlinksw.com/virtuoso/sparqlextensions.html#rdfsparulexamples2">What is the difference between &quot;DELETE FROM GRAPH&quot; and &quot;CLEAR GRAPH&quot;?</ulink> </listitem>
<listitem><ulink url="VirtTipsAndTricksDeleteGraphProc">How can I delete graphs using stored procedure?</ulink> </listitem>
<listitem><ulink url="http://docs.openlinksw.com/virtuoso/sparqlextensions.html#rdfsparulexamples10">How can I drop a graph?</ulink></listitem>
</itemizedlist></section></docbook>