| 1 |
# $Id: manifest.n3,v 1.11 2006/01/13 01:18:37 eric Exp $ |
| 2 |
|
| 3 |
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 4 |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 5 |
@prefix dawgt: <http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#> . |
| 6 |
@prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> . |
| 7 |
@prefix qt: <http://www.w3.org/2001/sw/DataAccess/tests/test-query#> . |
| 8 |
|
| 9 |
<> rdf:type mf:Manifest ; |
| 10 |
rdfs:comment "Value Testing Tests" ; |
| 11 |
mf:entries |
| 12 |
([ mf:name "extendedType-eq-pass" ; |
| 13 |
rdfs:comment |
| 14 |
"Only extended types with identical lexical and datatypes can be tested for = ." ; |
| 15 |
mf:action |
| 16 |
[ qt:data <extendedType-0.n3> ; |
| 17 |
qt:query <extendedType-eq-pass.rq> ] ; |
| 18 |
mf:result <extendedType-eq-pass-result.n3> ; |
| 19 |
dawgt:approval dawgt:Approved ; |
| 20 |
dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JulSep/0175> |
| 21 |
] |
| 22 |
|
| 23 |
[ mf:name "extendedType-ne-fail" ; |
| 24 |
rdfs:comment |
| 25 |
"Opaque types can not be tested for != ." ; |
| 26 |
rdfs:seeAlso |
| 27 |
<http://www.w3.org/2005/04/26-dawg-irc#T15-21-30> ; |
| 28 |
mf:action |
| 29 |
[ qt:data <extendedType-0.n3> ; |
| 30 |
qt:query <extendedType-ne-fail.rq> ] ; |
| 31 |
mf:result <extendedType-ne-fail-result.n3> ; |
| 32 |
dawgt:approval dawgt:Approved ; |
| 33 |
dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JulSep/0175> |
| 34 |
] |
| 35 |
|
| 36 |
[ mf:name "extendedType-literal-eq" ; |
| 37 |
rdfs:comment |
| 38 |
"Test FILTER match on extended type." ; |
| 39 |
mf:action |
| 40 |
[ qt:data <extendedType-0.n3> ; |
| 41 |
qt:query <extendedType-literal-eq.rq> ] ; |
| 42 |
mf:result <extendedType-literal-eq-result.n3> ; |
| 43 |
dawgt:approval dawgt:NotApproved |
| 44 |
] |
| 45 |
|
| 46 |
[ mf:name "extendedType-literal-ne" ; |
| 47 |
rdfs:comment |
| 48 |
"Test FILTER negative match on extended type." ; |
| 49 |
mf:action |
| 50 |
[ qt:data <extendedType-0.n3> ; |
| 51 |
qt:query <extendedType-literal-ne.rq> ] ; |
| 52 |
mf:result <extendedType-literal-ne-result.n3> ; |
| 53 |
dawgt:approval dawgt:NotApproved |
| 54 |
] |
| 55 |
|
| 56 |
[ mf:name "extendedType-graph" ; |
| 57 |
rdfs:comment |
| 58 |
"Test graph match on extended type." ; |
| 59 |
mf:action |
| 60 |
[ qt:data <extendedType-0.n3> ; |
| 61 |
qt:query <extendedType-graph.rq> ] ; |
| 62 |
mf:result <extendedType-graph-result.n3> ; |
| 63 |
dawgt:approval dawgt:NotApproved |
| 64 |
] |
| 65 |
|
| 66 |
[ mf:name "typePromotion-decimal-decimal-pass" ; |
| 67 |
rdfs:comment |
| 68 |
"Positive test: product of type promotion within the xsd:decimal type tree." ; |
| 69 |
mf:action |
| 70 |
[ qt:data <typePromotion-0.n3> ; |
| 71 |
qt:query <typePromotion-decimal-decimal-pass.rq> ] ; |
| 72 |
mf:result <typePromotion-decimal-decimal-pass-result.n3> ; |
| 73 |
dawgt:approval dawgt:NotApproved |
| 74 |
] |
| 75 |
|
| 76 |
[ rdf:type mf:TestBadSyntax ; |
| 77 |
mf:name "typePromotion-decimal-decimal-fail" ; |
| 78 |
rdfs:comment |
| 79 |
"Negative test: product of type promotion within the xsd:decimal type tree." ; |
| 80 |
mf:action |
| 81 |
[ qt:data <typePromotion-0.n3> ; |
| 82 |
qt:query <typePromotion-decimal-decimal-fail.rq> ] ; |
| 83 |
mf:result <typePromotion-decimal-decimal-fail-result.n3> ; |
| 84 |
dawgt:approval dawgt:NotApproved |
| 85 |
] |
| 86 |
|
| 87 |
[ mf:name "boolean-equiv-FALSE" ; |
| 88 |
rdfs:comment |
| 89 |
"FALSE = legal boolean values." ; |
| 90 |
mf:action |
| 91 |
[ qt:data <boolean-0.n3> ; |
| 92 |
qt:query <boolean-equiv-FALSE.rq> ] ; |
| 93 |
mf:result <boolean-equiv-FALSE-result.n3> ; |
| 94 |
dawgt:approval dawgt:NotApproved |
| 95 |
] |
| 96 |
|
| 97 |
[ mf:name "boolean-equiv-TRUE" ; |
| 98 |
rdfs:comment |
| 99 |
"TRUE = legal boolean values." ; |
| 100 |
mf:action |
| 101 |
[ qt:data <boolean-0.n3> ; |
| 102 |
qt:query <boolean-equiv-TRUE.rq> ] ; |
| 103 |
mf:result <boolean-equiv-TRUE-result.n3> ; |
| 104 |
dawgt:approval dawgt:NotApproved |
| 105 |
] |
| 106 |
|
| 107 |
[ mf:name "boolean-equiv-xsdType" ; |
| 108 |
rdfs:comment |
| 109 |
"Various lexical forms of xsd:boolean equal each other." ; |
| 110 |
mf:action |
| 111 |
[ qt:data <boolean-0.n3> ; |
| 112 |
qt:query <boolean-equiv-xsdType.rq> ] ; |
| 113 |
mf:result <boolean-equiv-xsdType-result.n3> ; |
| 114 |
dawgt:approval dawgt:NotApproved |
| 115 |
] |
| 116 |
|
| 117 |
[ mf:name "boolean-logical-OR" ; |
| 118 |
rdfs:comment |
| 119 |
"Various lexical forms of xsd:boolean equal an EBV." ; |
| 120 |
mf:action |
| 121 |
[ qt:data <boolean-0.n3> ; |
| 122 |
qt:query <boolean-logical-OR.rq> ] ; |
| 123 |
mf:result <boolean-logical-OR-result.n3> ; |
| 124 |
dawgt:approval dawgt:NotApproved |
| 125 |
] |
| 126 |
|
| 127 |
[ mf:name "boolean-false-canonical" ; |
| 128 |
rdfs:comment |
| 129 |
"Lexical form of FALSE" ; |
| 130 |
mf:action |
| 131 |
[ qt:data <boolean-0.n3> ; |
| 132 |
qt:query <boolean-false-canonical.rq> ] ; |
| 133 |
mf:result <boolean-false-canonical-result.n3> ; |
| 134 |
dawgt:approval dawgt:NotApproved |
| 135 |
] |
| 136 |
|
| 137 |
[ mf:name "boolean-true-canonical" ; |
| 138 |
rdfs:comment |
| 139 |
"Lexical form of TRUE" ; |
| 140 |
mf:action |
| 141 |
[ qt:data <boolean-0.n3> ; |
| 142 |
qt:query <boolean-true-canonical.rq> ] ; |
| 143 |
mf:result <boolean-true-canonical-result.n3> ; |
| 144 |
dawgt:approval dawgt:NotApproved |
| 145 |
] |
| 146 |
|
| 147 |
[ mf:name "boolean-EBV-canonical" ; |
| 148 |
rdfs:comment |
| 149 |
"Lexical form of EBV" ; |
| 150 |
mf:action |
| 151 |
[ qt:data <boolean-0.n3> ; |
| 152 |
qt:query <boolean-EBV-canonical.rq> ] ; |
| 153 |
mf:result <boolean-EBV-canonical-result.n3> ; |
| 154 |
dawgt:approval dawgt:NotApproved |
| 155 |
] |
| 156 |
|
| 157 |
# End of tests |
| 158 |
). |