DBpedia Installer Notes
====================

This installer enable the automatically loading of the Dbpedia 3.2 datasets  into an existing OpenLink Virtuoso installation as follows:

1. Ensure the Virtuoso Server binary (virtuoso, virtuoso-t etc) is in your PATH such that is can be located during the installation
2. Create a dbpedia database directory in a suitable location, "dbpedia" for example
3. Copy the content of the installer archive to the "dbpedia" database directory
4. Go to the "dbpedia" directory and create a sub-directory called "data" within
5. Copy the Dbpedia 3.2 datasets files to be loaded into the "data" sub-directory
6. In order to receive email notification when the Dbpedia database load process is complete, set the MAIL_SERVER environment variable to an available mail server in your domain e.g. export MAIL_SERVER=mail.domain:25
7. Start the DBpedia database creation process by running the command:

./dbpedia_lnstall.sh [sql port] [user] [password] [e-mail]

Additional Notes:

load_nt.sh : loads one or more N3 data set file(s) into a given graph IRI (e.g. <http://dbpedia.org>)
dbpedia_dav.vad : installs virtual directories, supplemental pages used in the Linked Data Deployment phase
dbpedia_post.sql : creates indexes, inference rules for umbel, opencyc, yago, and dbpedia ontologies
stats.sql : runs a number of aggregate SPARQL aggregate queries to verify database creation

Post Installaton:

Once the DBpedia database creation script has completed, you will receive an email notice. To test your DBpedia installation further, you can do the following:

1. Go to http://localhost:[port]/sparql  (*note: default port is 8889 from dbpedia.ini*)
2. SELECT distinct * where {<http://dbpedia.org/resource/Linked_Data> ?p ?o}
3. Enter the following into your browser: http://localhost:[port]/resource/Linked_Data (*note: default port is 8889 from dbpedia.ini*)

