Installation of Tools

5 Sep

The tools that we will be using at this point in the class are the Eclipse Helios Java Development Environment (http://www.eclipse.org/downloads/packages/release/helios/sr2), the Jena Semantic Web Framework (http://sourceforge.net/projects/jena/files/Jena/Jena-2.6.4/), the Protege Ontology Tool (http://protege.stanford.edu/), and the Pellet Reasoning Plug-in for Protege. These tools can be obtained from the accompanying links. In order to install Eclipse, you first need to go to the link listed in this blog, It will download as a zip file. Unpack this file to the location of your choice (in my case, my progam files folder in my C drive) and if you like, create a shortcut to the exe file on your desktop. To install Jena, go to the listed link and unpackage that zip file to the location of your choice, preferably somewhere easily found. In my case, directly into the C drive. Protege comes with its own installer, so when you go to the accompanied link, you only need to download the installer exe and run it, installing it with your own preferences. Finally, in order to download the Pellet plug-in all you need to do is run Protege. Click on the file menu then click check for plug-ins. A menu will pop up, on this menu click on the downloads tab. Check the check box and click install.

The above image is the sample output for an example for the use of Eclipse with the Jena Libraries. Take the code from eclipse example and insert it into an elipse project as a java file. Then right-click the project, click on properties, click on Java Build Path, and click libraries. Click add external jars and import the jar files from your Jena folder, wherever you happened to install it. When you run this code, your output should appear as the above image. If it does not, ensure that you have impoted the proper Jena libraries.

Leave a comment