The SWRL Test Suite
The SWRL test suite is a framework that tests various inference engines for SWRL support. It is arranged as various Eclipse-based projects in Java/Junit:
- CommonFiles – Contains OWL/SWRL sample files, XML test files and some common test helper classes in Java. This project is shared by each of the engine test projects below.
- PelletTest – Contains 2 test sets. JenaSwrlTest.java runs several of the SWRL tests using the Pellet JENA API. The other, OWLAPISwrlTest.java, does a more complete test using the OWLAPI library.
- HermitTest – Contains a single OWLAPI test class (similar to the Pellet OWLAPI test class).
More engines will be added as they become available (and have results worth reporting).
Setting Up the Framework
To set up the test framework under Eclipse, import the projects above into the current Eclipse workspace, ensure that each of the engine test projects has a project dependency on the CommonFiles project and follow the Notes.txt file in each of the engine projects to download and add the engine in question. If you have problem with the setup, please send a note to the Help forum.
SWRL Tests
An initial blog about the tests is available, which will show the flavour of the suite.