In this guide, we will show you how to create a Graphdb repository, import a tiny simple dataset and then query the database to find the imported statements
To run the GraphDB Workbench as a standalone server, unzip the distribution zip file and execute the startup.sh/.bat script.
This will start the workbench web application which you can find at http://localhost:8080. You should be greeted by the index page which will tell version information about the workbench along with some information about your license:
the next step is step would be to create a new graphdb repository. For this go to Admin -> Repositories Unable to render embedded object: File (empty-repositories.png) not found.
you will first need to create/connect to a location. Click on the Add Location button and fill the input with a directory of your choice. You should see something like this(depending on the directory that you chose)
By default for each location you get a SYSTEM repository which keeps repository information, so we have to create another repository in which we are going to import our data, click on the create repository and just type the repository id in the input box. The default setting should be enough for our simple usecase. When you create your first repository it will be selected by default, to view your currently used repository in the workbench just look in the top right corner of the screen.
Now go to the import view by going to Data -> Import. The default tab should be Local files and is the import method we are going to use for our simple file. Get the [^wine.ttl] file, click on the upload icon in the import view and select the file from your local computer. Then click on the Import button on the left of your file, this will popup some advanced settings for the import which you can ignore for now and just proceed. This will upload the file and import it in our repository. In the end of this process you should see something like the following:
now you can go to the sparql view, just click on the SPARQL, you should see something like the following:
Click on the Run button to execute the default query(it will select everything from the repository), you should see the results shortly after that. By the are shown a table view but there are different visualization tabs that you can use to explore your data.
Like what you see? You can go to the User Guide for more extended information about the workbench