Quick Start

Skip to end of metadata
Go to start of metadata
Search
This documentation is NOT for the latest version of GraphDB.

Latest version - GraphDB 7.1

GraphDB Documentation

Next versions

GraphDB 6.3
GraphDB 6.4
GraphDB 6.5
GraphDB 6.6
GraphDB 7.0
GraphDB 7.1

Previous versions

GraphDB 6.0 & 6.1

[OWLIM 5.4]
OWLIM 5.3
[OWLIM 5.2]
[OWLIM 5.1]
[OWLIM 5.0]
[OWLIM 4.4]
[OWLIM 4.3]
[OWLIM 4.2]
[OWLIM 4.1]
[OWLIM 4.0]

In this guide, you will learn how to create a GraphDB repository, import a small simple dataset, and query the database to find the imported statements.

Starting GraphDB Workbench

To run the GraphDB Workbench as a standalone server, unzip the distribution .zip file and execute the startup.sh/.bat script. It starts a web application for accessing and administering the workbench. You can find it at http://localhost:8080.

Index page

After logging in, a summary page is displayed showing version number, license details, currently selected repository (if any) and user name. If no location is currently selected, the message 'No location selected/Please select/create one' is displayed. Click this to get to the management page where you can add a location and create a repository.

Managing Repositories

The repository management page is accessed by using the menu bar Admin->Repositories. This will display a list of available repositories and their locations as well as the permissions that the logged on user has for each repository.

Create a new GraphDB repository

Go to Admin->Repositories

and create/connect to a location. Click Add Location and fill in the input with a directory of your choice. Depending on the directory that you chose, you will see something like this:

By default, adding a location automatically creates a SYSTEM repository that keeps the repository information. Therefore, you need to create another repository in which to import your data. Click Add repository and type the repository ID in the input box (for example, test-repository).

For our simple usecase, the default settings should be enough, so just click Create. When you create your first repository, it will be selected by default. You can see your currently used repository at the top right corner of the screen.

Import data

You can go to the import view by clicking Data->Import. The default tab should be Local files and this is the import method for a simple file. Get the wine.ttl file, click the upload icon in the import view and select the file from your local computer. Then click Import on the right side of the file. This will open some advanced settings for the import, which you can ignore for now and just proceed. The file is uploaded and imported in your repository.

Query data

Go to the SPARQL view by clicking the SPARQL menu item. Click Run to execute the default query. It selects everything from the repository. By default, the results are presented in a tabular form but there are also other visualization tabs for exploring the data.

Like what you see? You can go to the User Guide for more detailed information about the workbench

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.