Test cases for software that uses documents represented using the W3C PROV Data Model.
These test cases are used to test the Southampton Provenance Suite.
A single test case consists of a set of files, where each file holds a document in one of the PROV representations:
Representation | Extension |
---|---|
PROV-N | .provn |
PROV-O (Turtle) | .ttl |
PROV-O (TriG) | .trig |
PROV-XML | .provx |
PROV-JSON | .json |
For example, a test case whose name is testcase1 consists of the files testcase1.provn, testcase1.xml, testcase1.json, testcase1.ttl, and testcase1.trig. Each document within a single test case is semantically equivalent to the others within the same test case. Some test cases only have files for a subset of representations, as there are cases that can't be validly encoded in a particular representation (e.g. XML).
A library for W3C Provenance Data Model supporting PROV-JSON and PROV-XML import/export
testcase1
- Created from primer.pn available as "Primer" example in ProvTranslator and ProvValidator.
- Each document was manually created from primer.pn using these online forms.
testcase2
- Created from sculpture.prov-asn available as "Sculpture" example in ProvTranslator and ProvValidator.
testcase3
- Created from pc1.xml available as "PC1" in ProvTranslator and ProvValidator
testcase4
- prov.json was created by running ProvPy's PROV document with a bundle example.
- Other documents were creatyed using ProvToolbox prov-convert script on prov.json.
These test cases are released under the MIT license.