# swrlapi-example **Repository Path**: mirrors_protegeproject/swrlapi-example ## Basic Information - **Project Name**: swrlapi-example - **Description**: Example SWRLAPI application - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-11-13 - **Last Updated**: 2026-06-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## SWRLAPI Example This project provides a simple example of a Java application that uses the [SWRLAPI](https://github.com/protegeproject/swrlapi/wiki) to create and execute SWRL rules and SQWRL queries. You can import this project into your favourite IDE using its Maven-based project creation facility. ### Building and Running To build and run this project you must have the following items installed: + [Java 11](https://www.oracle.com/java/technologies/downloads/archive/) or later + A tool for checking out a [Git](https://git-scm.com/) repository + Apache's [Maven](https://maven.apache.org/index.html) + A Protégé (5.6.4 or higher) distribution. Download [here](https://protege.stanford.edu/products.php#desktop-protege). Get a copy of the latest code: git clone https://github.com/protegeproject/swrlapi-example.git Change into the swrlapi-example directory: cd swrlapi-example Build it with Maven: mvn clean install On build completion, your local Maven repository will contain generated ```swrlapi-example-${version}.jar``` and ```swrlapi-example-${version}-jar-with-dependencies.jar``` files. The ```./target``` directory will also contain these JARs. You can then run the application as follows: mvn exec:java #### Questions If you have questions about this library, please go to the main Protégé website and subscribe to the [Protégé Developer Support mailing list](http://protege.stanford.edu/support.php#mailingListSupport). After subscribing, send messages to protege-dev at lists.stanford.edu.