next up previous
Next: SQL Database Up: Installation of Prerequisite Software Previous: Java Servlet Container Home: The RDF(s)-DB Protégé Plugin Home

RDF(s) Database

  1. The plugin requires an RDF(s) database. The plugin is configured to work only with Sesame which may be found at http://www.openrdf.org.
  2. The API for Sesame is often changing, so I'd recommend getting version 1.0.1. After downloading, extract the Zip file to a folder which will be considered as [Sesame-dir] henceforth.
  3. To install sesame, go to the Tomcat directory and open the webapps directory. Create a new directory called sesame.
  4. Extract the contents of sesame.war (present in [Sesame-dir]/lib) using Winzip or Winrar into the newly created sesame directory.



  5. Rename the system.conf.example(present in [Tomcat-dir]\webapps\sesame\WEB-INF) to system.conf.
  6. For Sesame to work with MySQL,it needs the MySQL JDBC driver file, named as mysql-driver.jar which can be found in the prdfdb.zip file.
  7. Download the prdfdb.zip file from http://protege.stanford.edu/plugins/rdfs-db/prdfdb.zip.
  8. Unzip prdfdb.zip file to a folder.
  9. Copy the mysql-driver.jar from [prdfdb-dir]\edu.stanford.smi.protegex.storage.rdfdb dir and paste it into the [Tomcat-dir]/webapps/sesame/lib directory.
  10. If the Tomcat server is running, stop the server and restart it again.
  11. The default user for Sesame is testuser and the default password is opensesame.Do not change these as of now. Also do not change the default administrator password from admin. You can configure all these parameters later.
  12. To test Sesame, open a web browser and go to http://localhost:8080/sesame.
  13. Log in as testuser with password opensesame.



  14. Select Main Memory RDF Repository and click Go > >.



  15. If you see a screen with two frames, one that says logged in and another that says welcome, you have Sesame working.



  16. If you see HTTP Status 500, an error has occurred, and Sesame needs to be troubleshooted. Expand the top frame to see more of the error.

Note

  • Consult the Sesame documentation for more information.


    next up previous
    Next: SQL Database Up: Installation of Prerequisite Software Previous: Java Servlet Container Home: The RDF(s)-DB Protégé Plugin Home