Add tabs ontop Mappings
and ontop SPARQL
in the
menu Window -> Tabs -> ..
Go to the ontop Mappings
tab and add a new data source by
pressing the button Create New ...
Fill the fields as follows:
Connection
URL: jdbc:postgresql://alcor.inf.unibz.it/odbs
Database Username: odbsstudent
or your unibz account
Database Password: odbs1314
or your unibz password (note,
the password is stored uncrypted)
Driver class: org.postgresql.Driver
Add a JDBC
driver for Postgres databases in Preferences -> JDBS
Drivers
. Now you can test connection.
You can test connection to the university postgres database server by
connecting via ssh to russel.inf.unibz.it
using you unibz
credentials (may be you first need to ask the technicians to enable access
to russel for you by creating a ticket), and then running this
command: psql -h alcor.inf.unibz.it -U odbsstudent odbs
. You
should be in the university network and use the default dns server to be
able to access these servers. If you are outside the university, you can
configure the
university
VPN.
Alternatively, you can download
a pre-bundled
H2 server and run it in your memory. If you installed your own database
server, create a books
database and populate it using the SQL
scripts
from here.
Refer
to this
page for more information on how to configure a data source (you will
need a different Connection URL
and a different Driver
class
for database systems different from Postgres).