-
Notifications
You must be signed in to change notification settings - Fork 0
ObdalibPluginPellet
The OBDAlib Pellet Connector Plugin for Protégé 4 provides the infrastructure to issue SPARQL queries directly to the Pellet Reasoner (version 2.2.2) using the OBDA Query Tab of the OBDA plugin.
A pre-packed version of the plugin can be downloaded here: <under></under>
- Your system must be ready to run Java 1.6 applications, i.e. you need to be able to go into the console and execute the "java" command. If you haven't done so, please follow these instructions.
- A working copy of Protege 4.0 installed in your system. You can find download links and instructions on how to setup Protege 4 here. If you are new to Protege 4 we also recommend browsing trough the Protege 4 documentation.
- A woking istallation of the OBDA Plugin for Protégé 4.0. Detailed information about the plugin and a step by step installation tutorial can be found here.
To install the OBDA Plugin do as follows:
- First step is to extract the archive you downloaded in a local folder
To update the plugins simply remove the old jar files and replace them with the new ones.
Before classifying an ontology with the reasoner provided by this plugin it is neccessary to save the currently loaded ontology. Right now, due to some limitations of the plugin, it cannot pass direclty an ontology from Protege to the reasoner, so the reasoner has to reload the ontolgy from its owl file.
These are the instructions to setup an Eclipse workspace to be able to compile and run the OBDAlib Pellet Connector Plugin for Protege 4 from Eclipse 3.4 and above. After following these instructions you should be ready to run protege together with the plugin within Eclipse.
- Install SVN for Eclipse. Follow the instructions at http://subclipse.tigris.org/
3. Setup Protege 4 in your Eclipse workspace. Follow the instructions http://www.cs.man.ac.uk/~iannonel/eclipseSetup/eclipseSetupMain.html and make sure you are able to run Protege 4 from within Eclipse before proceeding.
4. Setup the OBDALib, OWLAPI-OBDALib-bindings and OBDA for Protege 4 projects following the instruction at https://babbage.inf.unibz.it/trac/obdapublic/wiki/svneclipse
5. Checkout the following project as maven project
https://babbage.inf.unibz.it/krdb/obdapublic/pellet-obda/trunk
6. Do a maven install. Right click on the project, select Run As and click on Maven install
7. Add a new source folder called plugin_runtime to the project, then extract everything form the jar file obtained in step 6 and copy all .jar and .xml files togehter with the META-INF folder into it.
8. Open the Eclipse Launch file created during the installation of the OBDA plugin and add ${workspace_loc:<project name>}/target/classes to the -Dorg.protege.plugin.extra argument. If you use Windows use ;, otherwise use : as seperator.
9. Apply the changes and run the Launch file.
10. If everything worked fine, Protege should be started togehter with the OBDA plugin and the OBDAlib Pellet Connector Plugin.
- Quick Start Guide
- Easy-Tutorials
- More Tutorials
- Examples
- FAQ
- Using Ontop
- Learning more
- Troubleshooting
- Developer Guides
- Links