-
Notifications
You must be signed in to change notification settings - Fork 0
ObdaDebuggingReport
The main purpose of this test is to check the correctness of the SQL queries porduced by a newer version of the quonto reasoner. It is executing a given conjuctive querie twice, one time with the old version and one time with the new version of the reasoner and finally it compares the number of returned tuples of the resulting SQL queries. If the number of tuples is the same the test is considered successfull otherwise it fails. The source code of the test is located in the int.unibz.it.quonto.owlapi.integrationtest project. The project can be downloaded/update from the usual SVN repository.
Step 1: Configure the Test The test is configured using a java properties file. The file has to contain 4 properties:
- reasoner1
- reasoern2
- owlfiles
- resultfiles
Example:
Step 2: Creating an Eclipse Launch Configuration for the test
- Start your Eclipse installation and navigate to Run --> Run Configuration... This opens the Run Configuration Dialog of Eclipse
- Select JUnit in the left menu and crate a new lauch configuration.
- Select inf.unibz.it.quonto.owlapi.integrationtest as project and
- Select the class SQOTupleCountTest as Test Class
Step 3: Setting the Eclipse Environment Variables
- Select the Environment Tab in the Lauch Configuration Dialog
- Create a new Environment Variable configfile. It should contain the full path to the properties file created in Step 1.
- Create a new Environment Variable timeout. It should the contain the max time in seconds a query execution should take, once this limit is reached the execution is aborted.
Step 4: Lauch the test
- Press the Run button and the test will start.
- Quick Start Guide
- Easy-Tutorials
- More Tutorials
- Examples
- FAQ
- Using Ontop
- Learning more
- Troubleshooting
- Developer Guides
- Links