This HTML5 document contains 39 embedded RDF statements represented using HTML+Microdata notation.

The embedded RDF content will be recognized by any processor of HTML5 Microdata.

PrefixNamespace IRI
n17http://bit.ly/
dctermshttp://purl.org/dc/terms/
atomhttp://atomowl.org/ontologies/atomrdf#
foafhttp://xmlns.com/foaf/0.1/
n10http://vos.openlinksw.com/dataspace/services/wiki/
oplhttp://www.openlinksw.com/schema/attribution#
n2http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/
n20http://virtuoso.openlinksw.com/tutorials/sparql/SPARQL_Tutorials_Part_9/SPARQL_Tutorials_Part_9.
n21http://docs.openlinksw.com/virtuoso/rdfsparql.
n15http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtTipsAndTricksSPARQL11Drop/sioc.
dchttp://purl.org/dc/elements/1.1/
n23http://www.w3.org/TR/rdf-sparql-protocol/
n4http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n9http://rdfs.org/sioc/services#
n19http://vos.openlinksw.com/dataspace/person/dav#
siocthttp://rdfs.org/sioc/types#
n11http://vos.openlinksw.com/dataspace/owiki/wiki/
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n6http://vos.openlinksw.com/dataspace/owiki#
xsdhhttp://www.w3.org/2001/XMLSchema#
n22http://www.w3.org/TR/2012/PR-sparql11-update-20121108/#
n12http://vos.openlinksw.com/dataspace/%28NULL%29/wiki/VOS/
n8http://vos.openlinksw.com/dataspace/person/owiki#
siochttp://rdfs.org/sioc/ns#
Subject Item
n19:this
foaf:made
n2:VirtTipsAndTricksSPARQL11Drop
Subject Item
n4:this
sioc:creator_of
n2:VirtTipsAndTricksSPARQL11Drop
Subject Item
n10:item
n9:services_of
n2:VirtTipsAndTricksSPARQL11Drop
Subject Item
n6:this
sioc:creator_of
n2:VirtTipsAndTricksSPARQL11Drop
Subject Item
n11:VOS
sioc:container_of
n2:VirtTipsAndTricksSPARQL11Drop
atom:entry
n2:VirtTipsAndTricksSPARQL11Drop
atom:contains
n2:VirtTipsAndTricksSPARQL11Drop
Subject Item
n2:VirtTipsAndTricksSPARQL11Drop
rdf:type
sioct:Comment atom:Entry
dcterms:created
2017-06-13T05:38:32.022552
dcterms:modified
2017-06-13T05:38:32.022552
rdfs:label
VirtTipsAndTricksSPARQL11Drop
foaf:maker
n8:this n19:this
dc:title
VirtTipsAndTricksSPARQL11Drop
opl:isDescribedUsing
n15:rdf
sioc:has_creator
n4:this n6:this
sioc:content
%META:TOPICPARENT{name="VirtTipsAndTricksSPARQL11FeaturesExamplesCollection"}% ---+Virtuoso SPARQL 1.1. DROP Usage Examples %TOC% ---++What? This guide contains Virtuoso SPARQL 1.1. DROP Usage examples queries which you can run against any SPARQL endpoint that supports SPARQL 1.1 and the ability to allow a verified user perform INSERT operations. ---++Why? Use to remove a named graph from the RDF Quad Store. ---++How? Here are some examples showcasing Virtuoso's support for this functionality: ---+++DROP Example This example drops named graph identified by the IRI &lt;urn:sparql:tests:drop:data&gt; from the RDF Quad Store. 1 Assume the following Raw Data Representation in Turtle: <verbatim> <#book1> <#price> 41 . <#book2> <#price> 42 . <#book3> <#price> 43 . <#book4> <#price> 44 . </verbatim> 1 Create explicitly a named graph with IRI &lt;urn:sparql:tests:drop:data&gt; : <verbatim> CREATE GRAPH <urn:sparql:tests:drop:data>; </verbatim> 1 Load the sample data: <verbatim> INSERT DATA { GRAPH <urn:sparql:tests:drop:data> { <#book1> <#price> 41 . <#book2> <#price> 42 . <#book3> <#price> 43 . <#book4> <#price> 44 . } } </verbatim> 1 Query graph &lt;urn:sparql:tests:drop:data&gt; data -- should return 4 triples: <verbatim> SELECT * FROM <urn:sparql:tests:drop:data> WHERE { ?s ?p ?o } </verbatim> * [[http://bit.ly/10scyxi][View the SPARQL Query Definition via SPARQL Protocol URL]]; * [[http://bit.ly/X8qXRI][View the SPARQL Query Results via SPARQL Protocol URL]] 1 Drop the named graph identified by the IRI &lt;urn:sparql:tests:drop:data&gt; : <verbatim> DROP GRAPH <urn:sparql:tests:drop:data>; </verbatim> * Note: If the graph is not created explicitly as per above, i.e. the step <code>CREATE GRAPH ..</code> is omitted, in order to drop the graph you need to use <code>SILENT</code> option, which will not signal any errors: <verbatim> DROP SILENT GRAPH <urn:sparql:tests:drop:data>; </verbatim> 1 Query graph &lt;urn:sparql:tests:drop:data&gt; data -- should return no triples: <verbatim> SELECT * FROM <urn:sparql:tests:drop:data> WHERE { ?s ?p ?o } </verbatim> * [[http://bit.ly/10scyxi][View the SPARQL Query Definition via SPARQL Protocol URL]]; * [[http://bit.ly/X8qXRI][View the SPARQL Query Results via SPARQL Protocol URL]] ---++Related * [[http://www.w3.org/TR/2012/PR-sparql11-update-20121108/#drop][SPARQL 1.1 DROP]] * [[VirtTipsAndTricksGuideRenameGraph][Rename RDF Graph Example]] * [[http://www.w3.org/TR/rdf-sparql-protocol/][SPARQL Protocol (HTTP based Query Service)]] * [[VirtTipsAndTricksGuide][Virtuoso Tips and Tricks Collection]] * [[VirtTipsAndTricksSPARQL11FeaturesExamplesCollection][Virtuoso SPARQL 1.1 Usage Examples Collection]] * [[http://virtuoso.openlinksw.com/tutorials/sparql/SPARQL_Tutorials_Part_9/SPARQL_Tutorials_Part_9.html][Virtuoso SPARQL 1.1 Syntax Tutorial]] * [[http://docs.openlinksw.com/virtuoso/rdfsparql.html][Virtuoso Documentation]]
sioc:id
d2a841f4cc7edec9f694a2da71c254ce
sioc:link
n2:VirtTipsAndTricksSPARQL11Drop
sioc:has_container
n11:VOS
n9:has_services
n10:item
atom:title
VirtTipsAndTricksSPARQL11Drop
sioc:links_to
n2:VirtTipsAndTricksSPARQL11FeaturesExamplesCollection n12:VirtTipsAndTricksGuide n12:VirtTipsAndTricksGuideRenameGraph n17:10scyxi n17:X8qXRI n20:html n21:html n22:drop n23:
atom:source
n11:VOS
atom:author
n19:this
atom:published
2017-06-13T05:38:32Z
atom:updated
2017-06-13T05:38:32Z
sioc:topic
n11:VOS
Subject Item
n2:VirtTipsAndTricksGuideSPARQLSingleMultipleExecution
sioc:links_to
n2:VirtTipsAndTricksSPARQL11Drop