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

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

PrefixNamespace IRI
dctermshttp://purl.org/dc/terms/
atomhttp://atomowl.org/ontologies/atomrdf#
foafhttp://xmlns.com/foaf/0.1/
n5http://vos.openlinksw.com/dataspace/services/wiki/
oplhttp://www.openlinksw.com/schema/attribution#
n2http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/
dchttp://purl.org/dc/elements/1.1/
n8http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n6http://rdfs.org/sioc/services#
n15http://vos.openlinksw.com/dataspace/person/dav#
siocthttp://rdfs.org/sioc/types#
n10http://vos.openlinksw.com/dataspace/owiki/wiki/
n4http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtRemoveTriples/sioc.
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n12http://vos.openlinksw.com/dataspace/owiki#
n11http://docs.openlinksw.com/virtuoso/fn_log_enable.
xsdhhttp://www.w3.org/2001/XMLSchema#
n19http://vos.openlinksw.com/dataspace/person/owiki#
siochttp://rdfs.org/sioc/ns#
Subject Item
n15:this
foaf:made
n2:VirtRemoveTriples
Subject Item
n8:this
sioc:creator_of
n2:VirtRemoveTriples
Subject Item
n5:item
n6:services_of
n2:VirtRemoveTriples
Subject Item
n12:this
sioc:creator_of
n2:VirtRemoveTriples
Subject Item
n10:VOS
sioc:container_of
n2:VirtRemoveTriples
atom:entry
n2:VirtRemoveTriples
atom:contains
n2:VirtRemoveTriples
Subject Item
n2:VirtRemoveTriples
rdf:type
sioct:Comment atom:Entry
dcterms:created
2017-06-13T05:36:56.154685
dcterms:modified
2017-06-13T05:36:56.154685
rdfs:label
VirtRemoveTriples
foaf:maker
n15:this n19:this
dc:title
VirtRemoveTriples
opl:isDescribedUsing
n4:rdf
sioc:has_creator
n8:this n12:this
sioc:content
---+Removing all triples from a Virtuoso Server instance There are times it can be useful to remove all triples from Virtuoso Server. There are a few ways to accomplish this. %TOC% ---++Remove all triples including those in the the system graphs Use *iSQL*, either on the command-line or through the *Virtuoso Conductor* -> *Database* -> *Interactive SQL*, to execute this SQL query -- <verbatim> SQL> DELETE FROM DB.DBA.RDF_QUAD ; </verbatim> ---++Remove all triples except those in the system graphs ---+++ Use the built-in RDF&#95;GLOBAL&#95;RESET procedure 1 When removing large graphs or numbers of triples it is advised/required to change the transaction log mode to <code>autocommit</code> with no transaction logging on each operation, deleting the graph(s) or triples, and then setting the log mode back to its original setting. This is easily done using the Virtuoso <code>[[http://docs.openlinksw.com/virtuoso/fn_log_enable.html][log_enable]]</code> function, with the settings <code>log_enable(3,1)</code>. 1 Use *iSQL*, either on the command-line or through the *Virtuoso Conductor* -> *Database* -> *Interactive SQL*, to execute this SQL query -- <verbatim> SQL> RDF_GLOBAL_RESET (); </verbatim> 1 Now selecting all graphs from your db should return only the system graphs, like so -- <verbatim> SQL> SPARQL SELECT DISTINCT ?g FROM <http://localhost:8894/> { GRAPH ?g { ?s a ?t } } ; g ANY http://www.openlinksw.com/schemas/virtrdf# No. of rows in result: 1 </verbatim> ---+++ Write your own procedure Take all non-system graphs, and for each of them execute: <verbatim> SPARQL CLEAR GRAPH <The Graph URI here> ; </verbatim>
sioc:id
3e97a3ef23edfdfe5980a055194bfbe0
sioc:link
n2:VirtRemoveTriples
sioc:has_container
n10:VOS
n6:has_services
n5:item
atom:title
VirtRemoveTriples
sioc:links_to
n11:html
atom:source
n10:VOS
atom:author
n15:this
atom:published
2017-06-13T05:36:56Z
atom:updated
2017-06-13T05:36:56Z
sioc:topic
n10:VOS
Subject Item
n2:VOSIndex
sioc:links_to
n2:VirtRemoveTriples