Skip to content

Loading Data Virtuoso

Dimitris Kontokostas edited this page Jul 8, 2014 · 21 revisions

Install Virtuoso

Option 1: Standard distributions (note that it might be an old version)

# Debian-based systems
$sudo apt-get install virtuoso-opensource

Option 2: LOD2 stack packages (usually latest version) (See this page for more options)

# download the repository package 
$ wget http://stack.lod2.eu/lod2stable-repository.deb
# install the repository package 
$ sudo dpkg -i lod2stable-repository.deb
# update the repository database 
$ sudo apt-get update
# install lod2-virtuoso-opensource
$ sudo apt-get install lod2-virtuoso-opensource

Option 3: Build from source

# Install necessary packages
$ sudo apt-get install autoconf automake libtool flex bison gperf gawk m4 make openssl
# download the code
$ git clone https://github.com/openlink/virtuoso-opensource.git
$ cd virtuoso-opensource
# Build 
$ ./autogen.sh
$ ./configure --with-readline # use --help for more installation options
$ make
$ make install
# If you don't override the path in ./configure VOS is installed in /usr/local/virtuoso-opensource/

Initial Setup

By default, the Virtuoso server listens for HTTP at TCP port 8890, and for SQL data access (via iSQL, ODBC, JDBC, OLE DB, ADO.NET, etc.) at TCP port 1111. These ports may be changed by editing the virtuoso.ini file.

The virtuoso.ini file is located in /etc/visrtuoso/ on a dpkg / rpm installation or in `{install-dir}/var/lib/virtuoso/db/' when build from source (unless configured otherwise).

Similarly, the database resides in /var/lib/virtuoso/db/ or {install-dir}/var/lib/virtuoso/db/. If the server is terminated normally the virtuoso.db contains all the data can be copied.

Loading data

Command Line Interface (more powerful / faster)

Web Interface (more user friendly / slower)

  • Open the Conductor interface: http://localhost:8890/conductor (port might differ in your installation)
  • Navigate to Linked Data -> Quad Store Upload
  • Upload a file or point to a remote URL
  • Remember to put the proper Named Graph IRI (usually http://dbpedia.org)

SPARQL Endpoint access

Clone this wiki locally