Hi Max-Alexandre,

What you could do is (please make a copy of the db for testing purposes) 2 variants:


-- rdf global reset:
1. Execute from ISQL or from Virtuoso Conductor -> Database -> Interactive SQL this call:

rdf_global_reset ();

2. Now select all graphs from your db should return only the system graphs, for ex. on my local db the result is:

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


-- with procedure
take all graphs that are not system and for each of them execute:
sparql clear graph <the graph URI here>

Best Regards,
Rumi




Hi,

Is there a Virtuoso query to remove all triples from a Virtuoso
Server? Those triples are in multiple graphs. I know I can delete a
graph with the sparql query "delete from graph ..." but when faced
with thousand of graph, its not an interesting query.

Thanks,

Marc-Alexandre

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Reply via email to