Next: Removing Instances using sesame
Up: The RDF(s)-DB Protégé Plugin
Previous: Testing and Configuring MySQL
Home: The RDF(s)-DB Protégé Plugin Home
- Before running Protégé on your computer make sure that you have extracted the contents of the prdfdb.zip file to [Protégé-dir]/plugins directory.Make sure that Michael Sintek's RDF backend is not present in plugins directory.

- Then, start Protégé and cross your fingers. If everything is okay, you should be given the option to create a new project in RDF Database format.
- To experiment with the existing example,choose the newspaper example and click open.

- The Protégé window opens and the standard tabs become visible.

- To convert the newspaper project to a different format choose Project and click Convert Project to Format.

- Choose RDF Database format.

- Now a dialog box is displayed.

- Choose the location where you want the project to be saved and click OK.

- If you dont get any error messages then the project is successfuly coverted to RDF format.

- You can query in MySql by using the command show databases; to check whether the databases is created or not.

- To test with Sesame, open a web browser and go to http://localhost:8080/sesame. Log in as testuser with password opensesame.
- Select the location where the classes and the instances was saved, in this case for the class it would be Protege-c__program_files_protege_2_1_examples_newspaper_npclass and click Go > > >.

- If you see a screen with two frames, one that says logged in and another that says welcome, you have Sesame working. Now click on RDQL which is a query language for RDF.

- To retrive the Resources execute the following query, Select ?x where (?x ?y ?z) and click Evaluate. Executing this gives the results for Resources.A link to RDQL tutorial is available in the same sesame page.

Subsections