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

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

Namespace Prefixes

PrefixIRI
dctermshttp://purl.org/dc/terms/
atomhttp://atomowl.org/ontologies/atomrdf#
foafhttp://xmlns.com/foaf/0.1/
n18http://vos.openlinksw.com/dataspace/services/wiki/
oplhttp://www.openlinksw.com/schema/attribution#
n2http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/
n11http://s3.amazonaws.com/opldownload/uda/vad-packages/6.2/virtuoso/
dchttp://purl.org/dc/elements/1.1/
n16http://docs.openlinksw.com/virtuoso/databaseadmsrv.html#
n5http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n17http://rdfs.org/sioc/services#
siocthttp://rdfs.org/sioc/types#
n13http://vos.openlinksw.com/dataspace/person/dav#
n9http://vos.openlinksw.com/dataspace/owiki/wiki/
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n4http://vos.openlinksw.com/dataspace/owiki#
n23http://vos.openlinksw.com/wiki/main/VOS/VirtBulkRDFLoaderExampleDbpedia/
xsdhhttp://www.w3.org/2001/XMLSchema#
n19http://vos.openlinksw.com/dataspace/%28NULL%29/wiki/VOS/
n14http://wiki.dbpedia.org/
n7http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtBulkRDFLoaderExampleDbpedia/
n15http://vos.openlinksw.com/dataspace/person/owiki#
siochttp://rdfs.org/sioc/ns#

Statements

Subject Item
n2:VirtBulkRDFLoaderExampleDbpedia
rdf:type
atom:Entry sioct:Comment
dcterms:created
2017-06-13T05:41:15.504226
dcterms:modified
2017-06-13T05:41:15.504226
rdfs:label
VirtBulkRDFLoaderExampleDbpedia
foaf:maker
n13:this n15:this
dc:title
VirtBulkRDFLoaderExampleDbpedia
opl:isDescribedUsing
n7:sioc.rdf
sioc:has_creator
n4:this n5:this
sioc:attachment
n23:VirtAWSPublicDataSets07.png
sioc:content
%META:TOPICPARENT{name="VirtBulkRDFLoader"}% ---+ Virtuoso Bulk Load Example: DBpedia data sets The following example demonstrates how to upload the DBpedia data sets into Virtuoso using the Bulk Loading Sequence. 1 Assuming there is a folder named "<code>tmp</code>" in your filesystem, and it is within a directory specified in the <b><code>[[http://docs.openlinksw.com/virtuoso/databaseadmsrv.html#fp_acliniallowed][DirsAllowed]]</code></b> param defined in your <code>virtuoso.ini</code> file. 1 Load the required DBpedia data sets into the "<code>tmp</code>" folder * The latest data sets can be downloaded from the [[http://wiki.dbpedia.org/Downloads][DBpedia Download]] page. Note the compressed bzip'ed "<code>.bz2</code>" data set files need to be uncompressed first as the bulk loader scripts only supports the auto extraction of gzip'ed "<code>.gz</code>" files. 1 If it hasn't already been, execute the [[VirtBulkRDFLoaderScript][Bulk Loading script]]. 1 Register the graph IRI under which the triples are to be loaded, e.g., "<code><nowiki>http://dbpedia.org</nowiki></code>": <verbatim> SQL> ld_dir ('tmp', '*.*', 'http://dbpedia.org'); Done. -- 90 msec. </verbatim> * Note that while this procedure will also work with gzip'ed files, it is important to keep the pattern: <code><nowiki>&lt;name&gt;.&lt;ext&gt;.gz</nowiki></code>, e.g., '<code><nowiki>ontology.owl.gz</nowiki></code>' or <code><nowiki>ontology.nt.gz</nowiki></code> * Note that if there are other data files in your folder (<code>tmp</code>), then their content will also be loaded into the specified graph. %BR%%BR% 1 Create a file named <b><code>global.graph</code></b> in the "<code>tmp</code>" folder, with its entire content being the URI of the desired target graph, e.g., <verbatim> http://dbpedia.org </verbatim> 1 Finally, execute the <code><nowiki>rdf_loader_run</nowiki></code> procedure. This may take some time, depending on the size of the data sets. <verbatim> SQL> rdf_loader_run (); Done. -- 100 msec. </verbatim> 1 As a result, the Virtuoso log should contain notification that the loading has completed: <verbatim> 10:21:50 PL LOG: Loader started 10:21:50 PL LOG: No more files to load. Loader has finished </verbatim> 1 Run a <code><nowiki>checkpoint</nowiki></code> to commit all transactions to the database. <verbatim> SQL> checkpoint; Done. -- 53 msec. </verbatim> 1 To check the inserted triples for the given graph, execute a query similar to -- <verbatim> SQL> SPARQL SELECT COUNT(*) FROM <http://dbpedia.org> WHERE { ?s ?p ?o } ; </verbatim> 1 Install the [[http://s3.amazonaws.com/opldownload/uda/vad-packages/6.2/virtuoso/dbpedia_dav.vad][DBpedia]] and [[http://s3.amazonaws.com/opldownload/uda/vad-packages/6.2/virtuoso/rdf_mappers_dav.vad][RDF Mappers]] VAD packages, using either the Virtuoso Conductor or the following manual commands: <verbatim> SQL> vad_install ('dbpedia_dav.vad', 0); SQL> vad_install ('rdf_mappers_dav.vad', 0); </verbatim> 1 The Virtuoso-hosted data set can now be explored using a HTML browser, or queried from the SPARQL or Faceted Browser web service endpoints. For example, with the DBpedia 3.5.1 data sets, a description of the resource Bob Marley can be viewed as: <code><nowiki>http://&lt;your-cname&gt;:&lt;your-port&gt;/resource/Bob_Marley </nowiki></code> %BR%%BR%<img src="%ATTACHURLPATH%/VirtAWSPublicDataSets07.png" style="wikiautogen"/> %BR%%BR% ---++Related * [[VirtBulkRDFLoader][Virtuoso Bulk data set loader]]
sioc:id
b4278c9af4740f1c974f60f61dc5fb5d
sioc:link
n2:VirtBulkRDFLoaderExampleDbpedia
sioc:has_container
n9:VOS
n17:has_services
n18:item
atom:title
VirtBulkRDFLoaderExampleDbpedia
sioc:links_to
n11:rdf_mappers_dav.vad n14:Downloads n11:dbpedia_dav.vad n16:fp_acliniallowed n19:VirtBulkRDFLoaderScript n19:VirtBulkRDFLoader
atom:source
n9:VOS
atom:author
n13:this
atom:published
2017-06-13T05:41:15Z
atom:updated
2017-06-13T05:41:15Z
sioc:topic
n9:VOS