Table of Contents |
---|
Introduction
This is a simple test drive for you to try VocBench by using the embedded sesame component for creating a very simple project. We will use a small thesaurus developed in FAO as a test data sample.
The sample thesaurus, the "Land and Water" FAO vocabulary, is available for download here(see later section on loading pre-existing data)
So follow strictly the "e.g." suggestions if you want to get this it working with the provided example.
...
- After triple store selection, it will prompt for available triple storage mode as follows
- In memory/persistent
- In memory/no persist
- Native store/persistent
- Remote access
- select “in memory/persistent” or "native store/persistent"
- You can leave the other parameter values (1000, true, true) as they are
...
- By first, download this file: https://bitbucket.org/art-uniroma2/vocbench/downloads/LandAndWater_2013100120141202.nt into your file system
- To load the RDF from the above file into VB, click on the [Load data] link in the main menu bar.
- Input following parameter
- Base URI: base uri of the data to be imported. (e.g. http://www.fao.org/landandwater/ )
- RDF file: browser data file to be imported. (point to the location where you downloaded the LandAndWater file)
- Click [Import button] to import data.
...
You can use a sesame2 remote connection to a sesame2 server (see related section of the sesame2 manual for how to setup a server). Remember to enable RDFS Reasoning and a Hierarchical Reasoner if you want to exploit the reasoning capabilities of VB (though this will affect performances).
Also, we recommend OWLIM SE if use of other triple stores if you have the necessity to manage large quantities of data and/or if you want to exploit its OWL reasoning capabilities. Currently in fact, VB is best adopted with a triple store supporting at least hierarchical inferencing and RDFS/OWL reasoning, however, Sesame has usually poor performances on even average size repositories when its reasoning sails are being activated.
For using the remote connection, just follow these instructions:
- create an empty repository on your sesame server, and remember the Repository ID you chose
- Now, on VocBench, create a new project, then...
- Select the remote access option
- VB will prompt to input the following parameters:
- repositoryId
- ID of the sesame2 repository to be accessed
- This should match the ID value used in repository (Repository ID value while creating new repository in OWLIM)
- serverURL
- URL to the server of the rdf repository (e.g. http://localhost:8080/openrdf-sesame)
- Username
- Identifier for the user connecting to the rdf repository
- If not applicable, add “test” as this is mandatory field
- Password
- Password for the user connecting to the rdf repository
- If not applicable, add “test” as this is mandatory field
- Click on the [?] icon to view each field information.
- It is assumed that the Data Server is already running and the specified repository has been created.
- Click [Add] button to create the project.
- The newly created project will be added to the list.
- repositoryId
In this other page on the Semantic Turkey wiki there are some (bit outdated) information for using OWLIMVB/ST with other triple stores.
Appendix: Creating a new User
...