I am trying to get a data dump of all the triples in my Virtuoso Opensource
triple store.

I have this procedure defined:

create procedure dump_graphs (in dir varchar := '/usr/share/virtuoso/dump/',
in file_length_limit integer := 1000000000)
{
  declare inx int;
  inx := 1;
  set isolation = 'uncommitted';
  for (select * from (sparql define input:storage "" select distinct ?g {
graph ?g { ?s ?p ?o } . filter ( ?g != virtrdf: ) } ) as sub option (loop))
do
    {
      dump_one_graph ("g", sprintf ('%s/graph%06d_', dir, inx),
file_length_limit);
      inx := inx + 1;
    }
}
;

when I run

dump_graphs():

I get a set of .ttl files, the largest of which is about 10MB.

These contain what appear to be virtuoso triples, but now the triples I have
loaded via my sitemap crawl.

Any suggestions?

Thanks!

- Pete



----------------------------------------------------------------
Pete DeVries
Department of Entomology
University of Wisconsin - Madison
445 Russell Laboratories
1630 Linden Drive
Madison, WI 53706
GeoSpecies Knowledge Base
About the GeoSpecies Knowledge Base
------------------------------------------------------------

Reply via email to