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.
...
- Login with the administrator privilege (Only administrator are allowed to delete the project)
- Once logged in, the list of currently available project will be displayed.
- On the top right corner, click [+] button to add the project.
- A window will be prompted to input the following parameters:
- Project name (e.g.
LandAndWater
) - Project description (
A project describing concepts about Land and Water Management
) - Project type (Type of the project (OWL, SKOS, SKOS-XL). Only SKOS-XL is available at the moment)
- Base URI: (e.g. http://www.fao.org/landandwater/ it is important to keep the ending "/" )
- Semantic Turkey Server URL (Connection URL to Semantic Turkey Server (ST Server) )
- It is assumed that ST Server has been started, if it has not, then start it now
- specifiy the standard ST instance (locahost, port:1979) (for VB2.1 and previous versions: put http://127.0.0.1:1979/semantic_turkey/resources/stserver/STServer)
- Project name (e.g.
- Click [Connect] button to test the connection to ST Server.
- If failed, will prompt service failed message. Check if ST Server is running and connection URL is correct.
- In case of successful connection, it will prompt a list of available triple Stores: OntologyManagerFactorySesame2Impl
- 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 Repository the Data Server is already running and new 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 page on the Semantic Turkey wiki there are some information for using VB/ST with other triple stores.
Appendix: Creating a new User
...