Welcome to the RDFUnit suite wiki!
RDFUnit uses a test-driven approach for testing RDF. For details on our methodology take a look at our homepage.
RDFUnit is implemented on top of the Test-Driven Data Validation Ontology and designed to read and produce RDF that complies to that ontology only. The main components that RDFUnit reads are TestCases (manual & automatic), TestSuites, Patterns & TestAutoGenerators. RDFUnit also strictly defines the results of a TestSuite execution along with different levels of result granularity.
See RDFUnit from Command Line for (a lot more) more options but the simplest setting is as follows:
$ bin/rdfunit -d <local-or-remote-location-URI>
What RDFUnit will do is:
- Get statistics about all properties & classes in the dataset
- Get the namespaces out of them and try to dereference all that exist in LOV
- Run our Test Generators on the schemas and generate RDFUnit Test cases
- Run the RDFUnit test cases on the dataset
- You get a results report in html (by default) but you can request it in RDF or even multiple serializations with e.g.
You can also run:
$ bin/rdfunit -d <dataset-uri> -s <schema1,schema2,schema3,...>
Where you define your own schemas and we pick up from step 3. You can also use prefixes directly (e.g.
-s foaf,skos) we can get everything that is defined in LOV.
If you want to cite RDFUnit our main publication is
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. (pdf)
See http://rdfunit.aksw.org for a full list of publications