Debian Codegraph @

t/data/trig-2013/README

raw
1 This README is for the W3C RDF Working Group's TriG test suite.
2 This test suite contains three kinds of tests:
3
4 Evaluation (rdft:TestTriGEval) - a pair of an input trig file
5 and reference ntriples file.
6
7 Positive syntax (rdft:TestTriGPositiveSyntax) - an input trig
8 file with no syntax errors.
9
10 Negative syntax (rdft:TestTriGNegativeSyntax) - an input trig
11 file with at least one syntax error.
12
13 The manifest.ttl file in this directory lists all of the tests in the
14 RDF WG's TriG test suite. Each test is one of the above tests. All
15 tests have a name (mf:name) and an input (mf:action). The Evaluation
16 tests have an expected result (mf:result).
17
18 • An implementation passes an Evaluation test if it parses the input
19 into a graph, parses the expecte result into another graph, and
20 those two graphs are isomorphic (see
21 <http://www.w3.org/TR/rdf11-concepts/#graph-isomorphism>).
22
23 • An implementation passes a positive syntax test if it parses the
24 input.
25
26 • An implementation passes a negative syntax test if it fails to parse
27 the input.
28
29 The home of the test suite is <http://www.w3.org/2013/TriGTests/>.
30 Per RFC 3986 section 5.1.3, the base IRI for parsing each file is the
31 retrieval IRI for that file. For example, the tests trig-subm-01 and
32 trig-subm-27 require relative IRI resolution against a base of
33 <http://www.w3.org/2013/TriGTests/trig-subm-01.trig> and
34 <http://www.w3.org/2013/TriGTests/trig-subm-27.trig> respectively.
35
36
37 See http://www.w3.org/2011/rdf-wg/wiki/TriG_Test_Suite for more details.
38
39
40 Eric Prud'hommeaux <[email protected]> - 11 June 2013.
41 Gregg Kellogg <[email protected]> - 12 June 2013.