|
2 | 2 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
3 | 3 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
4 | 4 | @prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> . |
5 | | -@prefix qt: <http://www.w3.org/2001/sw/DataAccess/tests/test-query#> . |
6 | 5 | @prefix test: <http://www.w3.org/2006/03/test-description#> . |
| 6 | +@prefix rdfatest: <http://rdfa.info/vocabs/rdfa-test#> . |
7 | 7 |
|
8 | 8 | <> rdf:type mf:Manifest ; |
9 | 9 | rdfs:comment "RDFa rdfa1.0 tests for svg" ; |
|
17 | 17 | <#0311> |
18 | 18 | ) . |
19 | 19 |
|
20 | | -<#0201> a mf:QueryEvaluationTest; |
| 20 | +<#0201> a rdfatest:PositiveEvaluationTest; |
21 | 21 | mf:name """Test 0201: Expressing an attribute using @property"""; |
22 | 22 | rdfs:comment """Tests @property to establish the predicate; literal object is in the content of the element."""; |
23 | 23 | test:classification <http://www.w3.org/2006/03/test-description#required>; |
24 | | - mf:action [ a qt:QueryTest; |
25 | | - qt:queryForm qt:QueryAsk; |
26 | | - qt:query <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0201.sparql>; |
27 | | - qt:data <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0201.svg> |
28 | | - ]; |
29 | | - mf:result true . |
| 24 | + mf:action <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0201.svg>; |
| 25 | + mf:result <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0201.ttl>; |
| 26 | + . |
30 | 27 |
|
31 | | -<#0202> a mf:QueryEvaluationTest; |
| 28 | +<#0202> a rdfatest:PositiveEvaluationTest; |
32 | 29 | mf:name """Test 0202: Tests to ensure @xml:base used in SVG"""; |
33 | 30 | rdfs:comment """Tests to make sure that @xml:base is used in SVG+RDFa, XML+RDFa."""; |
34 | 31 | test:classification <http://www.w3.org/2006/03/test-description#required>; |
35 | | - mf:action [ a qt:QueryTest; |
36 | | - qt:queryForm qt:QueryAsk; |
37 | | - qt:query <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0202.sparql>; |
38 | | - qt:data <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0202.svg> |
39 | | - ]; |
| 32 | + mf:action <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0202.svg>; |
| 33 | + mf:result <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0202.ttl>; |
40 | 34 | test:specificationReference """http://www.w3.org/QA/2008/12/rdfa_and_svg_tiny_and_the_rdfa.html"""; |
41 | | - mf:result true . |
| 35 | + . |
42 | 36 |
|
43 | | -<#0203> a mf:QueryEvaluationTest; |
| 37 | +<#0203> a rdfatest:PositiveEvaluationTest; |
44 | 38 | mf:name """Test 0203: Tests to ensure @xml:base, XML+RDFa used in non-root elements in SVG"""; |
45 | 39 | rdfs:comment """Tests to make sure that @xml:base is used in non-root elements in SVG+RDFa, XML+RDFa."""; |
46 | 40 | test:classification <http://www.w3.org/2006/03/test-description#required>; |
47 | | - mf:action [ a qt:QueryTest; |
48 | | - qt:queryForm qt:QueryAsk; |
49 | | - qt:query <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0203.sparql>; |
50 | | - qt:data <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0203.svg> |
51 | | - ]; |
| 41 | + mf:action <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0203.svg>; |
| 42 | + mf:result <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0203.ttl>; |
52 | 43 | test:specificationReference """http://www.w3.org/QA/2008/12/rdfa_and_svg_tiny_and_the_rdfa.html"""; |
53 | | - mf:result true . |
| 44 | + . |
54 | 45 |
|
55 | | -<#0291> a mf:QueryEvaluationTest; |
| 46 | +<#0291> a rdfatest:PositiveEvaluationTest; |
56 | 47 | mf:name """Test 0291: @href as subject overridden by @about"""; |
57 | 48 | rdfs:comment """When @property, @datatype, @href and @about are present but @rel and @rev are not, @about is used as subject."""; |
58 | 49 | test:classification <http://www.w3.org/2006/03/test-description#required>; |
59 | | - mf:action [ a qt:QueryTest; |
60 | | - qt:queryForm qt:QueryAsk; |
61 | | - qt:query <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0291.sparql>; |
62 | | - qt:data <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0291.svg> |
63 | | - ]; |
| 50 | + mf:action <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0291.svg>; |
| 51 | + mf:result <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0291.ttl>; |
64 | 52 | test:specificationReference """RDFa Core 1.1, section 7.5 step 5.2"""; |
65 | | - mf:result true . |
| 53 | + . |
66 | 54 |
|
67 | | -<#0294> a mf:QueryEvaluationTest; |
| 55 | +<#0294> a rdfatest:NegativeEvaluationTest; |
68 | 56 | mf:name """Test 0294: Ensure initial context is not used for RDFa 1.0"""; |
69 | 57 | rdfs:comment """RDFa 1.1 defines an initial context containing prefixes and terms. RDFa 1.0 must not define such prefixes and terms."""; |
70 | 58 | test:classification <http://www.w3.org/2006/03/test-description#required>; |
71 | | - mf:action [ a qt:QueryTest; |
72 | | - qt:queryForm qt:QueryAsk; |
73 | | - qt:query <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0294.sparql>; |
74 | | - qt:data <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0294.svg> |
75 | | - ]; |
| 59 | + mf:action <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0294.svg>; |
| 60 | + mf:result <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0294.ttl>; |
76 | 61 | test:specificationReference """RDFa Syntax 1.0, section 6.3.1.3"""; |
77 | | - mf:result false . |
| 62 | + . |
78 | 63 |
|
79 | | -<#0304> a mf:QueryEvaluationTest; |
| 64 | +<#0304> a rdfatest:PositiveEvaluationTest; |
80 | 65 | mf:name """Test 0304: Embedded chunks of RDF/XML"""; |
81 | 66 | rdfs:comment """Tests that embedded RDF/XML is added to the same graph."""; |
82 | 67 | test:classification <http://www.w3.org/2006/03/test-description#required>; |
83 | | - mf:action [ a qt:QueryTest; |
84 | | - qt:queryForm qt:QueryAsk; |
85 | | - qt:query <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0304.sparql>; |
86 | | - qt:data <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0304.svg> |
87 | | - ]; |
| 68 | + mf:action <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0304.svg>; |
| 69 | + mf:result <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0304.ttl>; |
88 | 70 | test:specificationReference """ |
89 | 71 | http://www.w3.org/TR/SVGTiny12/metadata.html#Introduction |
90 | 72 | says 'an RDF processor should combine them into the same graph' |
91 | 73 | """; |
92 | | - mf:result true . |
| 74 | + . |
93 | 75 |
|
94 | | -<#0311> a mf:QueryEvaluationTest; |
| 76 | +<#0311> a rdfatest:NegativeEvaluationTest; |
95 | 77 | mf:name """Test 0311: Ensure no triples are generated when @property is empty"""; |
96 | 78 | rdfs:comment """If no terms or CURIEs are present in @property, no triple should be generated from it."""; |
97 | 79 | test:classification <http://www.w3.org/2006/03/test-description#required>; |
98 | | - mf:action [ a qt:QueryTest; |
99 | | - qt:queryForm qt:QueryAsk; |
100 | | - qt:query <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0311.sparql>; |
101 | | - qt:data <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0311.svg> |
102 | | - ]; |
| 80 | + mf:action <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0311.svg>; |
| 81 | + mf:result <http://rdfa.info/test-suite/test-cases/rdfa1.0/svg/0311.ttl>; |
103 | 82 | test:specificationReference """RDFa Core 1.1, section 7.5 step 11"""; |
104 | | - mf:result false . |
| 83 | + . |
0 commit comments