RDFUnit – an RDF Unit-Testing suite
From the post:
RDFUnit is a test driven data-debugging framework that can run automatically generated (based on a schema) and manually generated test cases against an endpoint. All test cases are executed as SPARQL queries using a pattern-based transformation approach.
…
For more information on our methodology please refer to our report:
Test-driven evaluation of linked data quality. Dimitris Kontokostas, Patrick Westphal, Sören Auer, Sebastian Hellmann, Jens Lehmann, Roland Cornelissen, and Amrapali J. Zaveri in Proceedings of the 23rd International Conference on World Wide Web.
RDFUnit in a Nutshell
- Test case: a data constraint that involves one or more triples. We use SPARQL as a test definition language.
- Test suite: a set of test cases for testing a dataset
- Status: Success, Fail, Timeout (complexity) or Error (e.g. network). A Fail can be an actual error, a warning or a notice
- Data Quality Test Pattern (DQTP): Abstract test cases that can be intantiated into concrete test cases using pattern bindings
- Pattern Bindings: valid replacements for a DQTP variable
- Test Auto Generators (TAGs): Converts RDFS/OWL axioms into concrete test cases
If you are working with RDF data, this will certainly be helpful.
BTW, don’t miss the publications further down on the homepage for RDFUnit.
I first saw this in a tweet by Marin Dimitrov.