forked from ldodds/datagovuk-checks
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.txt
24 lines (15 loc) · 932 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
A set of checks to test RDF datasets against the best practices of the data.gov.uk project
The tests consist of a set of SPARQL queries that are used to probe the data.
The tests are designed to be run using the sparql-check command-line tool which is available from:
http://github.com/ldodds/sparql-check
The tool supports:
* Parsing RDF files and applying tests to them
* Querying a SPARQL endpoint
* Querying data held in a local Jena TDB index
The typical workflow will therefore be:
* Convert or generate the data
* Load the data into a triple store with a SPARQL endpoint, or locally using TDB
* Run the tests to generate a best practice report
Assuming the data is in SPARQL endpoint, you can run the tests like so:
export SPARQLCHECK_HOME=/tools/sparql-check
java -jar $SPARQLCHECK_HOME/sparql-check.jar -test all-data-tests.ttl -id http://source.data.gov.uk/acceptance-tests -remote http://localhost:2020/sparql