%META:TOPICPARENT{name="VirtBulkRDFLoader"}% ---++Example for Single RDF Source File Upload The following example demonstrates how to upload single RDF source file using the Bulk Loading Sequence. 1. Assuming there is a folder with name "tmp" in your FS and it is under a directory specified in the [[http://docs.openlinksw.com/virtuoso/databaseadmsrv.html#fp_acliniallowed][DirsAllowed]] param defined in your virtuoso ini file. 1 Also assume in the folder "tmp" there is a file named "kidehen.n3" that contains: . "Kingsley" . . 1 Make sure the [[VirtBulkRDFLoaderScript][Bulk Loading script]] is executed. 1 Register the file "kidehen.n3" with graph IRI "http://kidehen.com#": SQL>ld_dir ('tmp', 'kidehen.n3', 'http://kidehen.com#'); Done. -- 90 msec. 1. Create in the "tmp" folder an empty file with name: kidehen.ext.graph 1 Edit the kidehen.ext.graph by adding the graph IRI, so the content of the file to be: http://kidehen.com# 1. Finally execute: SQL>rdf_loader_run (); Done. -- 100 msec. 1. As result on the Server console should be shown notification for the loading is complete: 10:21:50 PL LOG: Loader started 10:21:50 PL LOG: No more files to load. Loader has finished, 1. To check the inserted triples for the given graph, execute: SQL>SPARQL SELECT * FROM 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://www.w3.org/2000/01/rdf-schema#label Kingsley http://www.openlinksw.com/dataspace/kidehen@openlinksw.com#this http://rdfs.org/sioc/ns#creator_of http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D/1300 3 Rows. -- 10 msec.