This repository contains the SWRLAPI-based SWRLTab plugin for the Protégé 5 Desktop ontology editor. The plugin contains SWRLTab and SQWRLTab components for working with SWRL rules and SQWRL queries.
Plugin documentation can be found here. Documentation for the SWRLAPI can be found here.
Note that the plugin will work only in Protégé version 5.6.0 and later.
The plugin comes preinstalled with Protégé.
The plugin can be updated to the latest version via the File -> Check for plugins...
menu item in Protégé.
A popup will appear listing updatable plugins.
The Protégé->About Protégé
menu uption can be used to display the current version of the plugin.
The SWRLTab and SQWRLTab can be enabled via the Window -> Tabs
menu item.
SWRLTab:
SQWRLTab:
Note that the release JARs can be downloaded from the repo's Releases Area.
To build this plugin you must have the following items installed:
- Java 11
- A tool for checking out a Git repository
- Apache's Maven
- A Protégé (5.6.0 or higher) distribution. Download here.
Get a copy of the latest code:
git clone https://github.com/protegeproject/swrltab-plugin.git
Change into the swrltab-plugin directory:
cd swrltab-plugin
Build with Maven:
mvn clean package
On build completion the target
directory will contain a swrltab-plugin-${version}.jar
file.
The JAR contains both SWRLTab and SQWRLTab components and is generated in the OSGi bundle format required by Protégé's plugin-in mechanism.
To install in your local Protégé, copy this JAR file to the plugins
subdirectory of your Protégé installation (e.g.,
/Applications/Protégé-5.6.0/Protégé.app/Contents/plugins/
).
The software is licensed under the BSD 2-clause License.
If you have questions about this plug-in, please go to the main Protégé website and subscribe to the Protégé Developer Support mailing list. After subscribing, send messages to protege-dev at lists.stanford.edu.