The following example demonstrates how to upload multiple RDF source files using the Bulk Loading Sequence.
DirsAllowed
param defined in your virtuoso ini file.
-- file1.n3 <http://www.openlinksw.com/dataspace/kidehen@openlinksw.com#this> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://rdfs.org/sioc/ns#User> . <http://www.openlinksw.com/dataspace/kidehen@openlinksw.com#this> <http://rdfs.org/sioc/ns#name> "Kingsley Uyi Idehen" . <http://www.openlinksw.com/dataspace/kidehen@openlinksw.com#this> <http://rdfs.org/sioc/ns#has_function> <http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/briefcase/My%20Web%20Drive#owner> . --file2.n3 <http://www.openlinksw.com/dataspace/kidehen@openlinksw.com#this> <http://rdfs.org/sioc/ns#id> "kidehen@openlinksw.com" . <http://www.openlinksw.com/dataspace/kidehen@openlinksw.com#this> <http://rdfs.org/sioc/ns#link> <http://www.openlinksw.com/dataspace/kidehen@openlinksw.com> . <http://www.openlinksw.com/dataspace/kidehen@openlinksw.com#this> <http://rdfs.org/sioc/ns#account_of> <http://www.openlinksw.com/dataspace/person/kidehen@openlinksw.com#this> .
SQL>ld_dir ('tmp', '*.n3', 'http://kidehendata.com#'); Done. -- 90 msec.
http://kidehendata.com#
SQL>rdf_loader_run (); Done. -- 100 msec.
10:21:50 PL LOG: Loader started 10:21:50 PL LOG: No more files to load. Loader has finished
SQL>SPARQL SELECT * FROM <http://kidehendata.com#> WHERE { ?s ?p ?o } ; s p o VARCHAR VARCHAR VARCHAR _______________________________________________________________________________ http://www.openlinksw.com/dataspace/kidehen@openlinksw.com#this http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://rdfs.org/sioc/ns#User http://www.openlinksw.com/dataspace/kidehen@openlinksw.com#this http://rdfs.org/sioc/ns#name Kingsley Uyi Idehen http://www.openlinksw.com/dataspace/kidehen@openlinksw.com#this http://rdfs.org/sioc/ns#has_function http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/briefcase/My%20Web%20Drive#owner http://www.openlinksw.com/dataspace/kidehen@openlinksw.com#this http://rdfs.org/sioc/ns#id kidehen@openlinksw.com http://www.openlinksw.com/dataspace/kidehen@openlinksw.com#this http://rdfs.org/sioc/ns#link http://www.openlinksw.com/dataspace/kidehen@openlinksw.com http://www.openlinksw.com/dataspace/kidehen@openlinksw.com#this http://rdfs.org/sioc/ns#account_of http://www.openlinksw.com/dataspace/person/kidehen@openlinksw.com#this 6 Rows. -- 20 msec.