The SWRLTab is a development environment for working with SWRL rules in Protege-OWL. It supports the editing and execution of SWRL rules. It provides a set of libraries that can be used in rules, including libraries to interoperate with XML documents, and spreadsheets, and libraries with mathematical, string, RDFS, and temporal operators. A SWRL-based OWL query language called SQWRL is also provided.    (A3E)

A introduction to the SWRL language can be found here. An introduction to SQWRL can be found here.    (9EQ)

The SWRLTab has several software components:    (6GY)

The SWRLTab is designed to work in Protege-OWL only. However, partial interoperation with Jena is also supported. See here for details. Work has proceeded to port it to Protege 4.1.    (A6A)

Protege-OWL also contains the Axiome Rule Management Plugin, which provides support for SWRL rule elicitation, paraphrasing, and rule base visualization. It is documented here.    (B21)

Activation    (6H3)

The SWRLTab should be visible for all OWL ontologies that have a namespace entry for the canonical SWRL namespace http://www.w3.org/2003/11/swrl with the alias swrl. It is disabled by default if the ontology does not have this entry. In Protege-OWL, ontologies that use SWRL do not need to explicitly import the SWRL ontology. This ontology defines a storage specification only and the necessary OWL constructs it defines are understood by Protege-OWL.    (A6B)

To activate the SWRLTab in a project that does not include a SWRL namespace entry, go to Project | Configure in the Protege-OWL GUI and check the "SWRLTab" box. The tab will then appear and a namespace entry for SWRL will be added to the active ontology.    (6H5)

By default, the SWRLTab will automatically add the SWRLA and SQWRL ontologies to the import list of the active ontology when it is enabled. If you would like to disable this automatic importation, add the protege.owl.swrl.exclude_standard_imports property to the Protege.lax file in the base Protege installation directory and set its value to be true. You can also set this property in the Protege GUI by going to the File | Preferences ... | Property Files | Protege.lax menu.    (AIR)

Publications    (6H6)

The following publications describe SWRLTab functionality or illustrate its use in the development of applications.    (B5D)

Other papers that describe systems that use this software can be found here.    (A3I)

Presentations    (6H8)

Installation    (6HB)

The SWRLTab is part of Protege-OWL 3.4 and does not need to be downloaded separately. However, since many of the SWRLTab components are under active development, the most recent Protege-OWL 3.4 build should be used when possible.    (72M)

The Protege-OWL distribution does not include any rule engines. If a particular rule engine is used, it must be installed separately. At present, only the Jess rule engine is supported. Information on installing Jess is described here.    (6HD)

Source Code    (6HE)

The SWRLTab is open source and all of its source code is bundled with the Protege-OWL source code. This source code is available for download from the Protege-OWL Subversion Repository.    (6W1)

Building    (B46)

The SWRLTab is built as part of the Protege-OWL plugin, which can be downloaded from the Protege-OWL Subversion Repository. The root of the download directory has an Ant build file that can be used to compile and install the plugin. An option called install can be used to perform an install. The installation step is expecting an existing Protege installation and determines its location using the PROTEGE_HOME environment variable.    (B49)

If an associated rule engine bridge is being used it may also need to be downloaded and installed. In general, it is advisable to download and build the latest version of bridges after installing a new SWRLTab. The SWRLJessTab, for example, should always be built after a new Protege-OWL build. Information on updating to the latest SWRLJessTab can be found here.    (B4D)

Author    (6HH)

The SWRLTab was written by Martin O'Connor at Stanford Center for Biomedical Informatics Research.    (6HI)

How can I get help?    (6HJ)

Questions and comments on the SWRLTab should be sent to the Protege-OWL mailing list (protege-owl at lists dot stanford dot edu). This list is monitored by the developers of the SWRLTab.    (6HK)