Mercurial > repos > atsuko > sparql
comparison sparql/sparql/test/dawg/.svn/text-base/r2.html.svn-base @ 0:7785ad38967f default tip
Uploaded
author | atsuko |
---|---|
date | Thu, 25 Aug 2011 22:14:55 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:7785ad38967f |
---|---|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
3 <html xmlns="http://www.w3.org/1999/xhtml"> | |
4 <head> | |
5 <title>DAWG Testcases</title> | |
6 <link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/base.css" /> | |
7 <link rel="stylesheet" type="text/css" href="tests.css" /> | |
8 </head> | |
9 <body> | |
10 <h1>DAWG Testcases</h1> | |
11 | |
12 <dl> | |
13 <dt>Document Editor</dt> | |
14 <dd><a href="mailto:lee@thefigtrees.net">Lee Feigenbaum</a> – invited expert</dd> | |
15 | |
16 <dt>Version:</dt> | |
17 <dd><code>$Revision: 1.4 1008/code></dd> | |
18 | |
19 </dl> | |
20 | |
21 <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2004 <a href="http://www.w3.org/"><acronym title=" World Wide Web Consortium">W3C</acronym></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, | |
22 <a href="http://www.ercim.org/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>, | |
23 <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C | |
24 <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, | |
25 <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks"> | |
26 | |
27 trademark</a>, and <a | |
28 href="http://www.w3.org/Consortium/Legal/copyright-documents"> document | |
29 use</a> rules apply.</p> | |
30 | |
31 <hr title="Separator for header" /> | |
32 | |
33 <p><strong>Abstract.</strong> This document will list the tests used to clarify the <a href="http://www.w3.org/TR/rdf-sparql-query/">SPARQL Query Language for RDF</a>. This document is a product of the <a href="http://www.w3.org/2001/sw/DataAccess/">Data Access Working Group</a>.</p> | |
34 | |
35 <p>All test materials are licensed under the W3C Software License, <a href="#license">reproduced below</a>.</p> | |
36 | |
37 <hr /> | |
38 <h2>Status</h2> | |
39 | |
40 <p><strong>Note:</strong> This document updates the <a href=".">original tests page</a>. Please see the <a | |
41 href="README.html">README</a> for information on the test reorganization. | |
42 All new tests are in the <a href="data-r2/">data-r2/ subdirectory</a>, | |
43 and an overview is available on this page. Tests in the <a href="data/">data/ | |
44 subdirectory</a> should not be considered up-to-date, even if marked as | |
45 approved.</p> | |
46 | |
47 <hr /> | |
48 <h2>Source files</h2> | |
49 <p>This document is automatically built from the manifest files. Relevant files are:</p> | |
50 <dl> | |
51 <dt>Schema and documentation</dt> | |
52 <dd> | |
53 <ul> | |
54 <li><a href="README">README</a></li> | |
55 | |
56 <li><a href="result-set.n3">result-set.n3</a></li> | |
57 <li><a href="test-dawg.n3">test-dawg.n3</a></li> | |
58 <li><a href="test-manifest.n3">test-manifest.n3</a></li> | |
59 <li><a href="test-query.n3">test-query.n3</a></li> | |
60 </ul> | |
61 </dd> | |
62 <dt>Archive of all test materials</dt> | |
63 <dd> | |
64 <ul> | |
65 <li><a href="data-r2.tar.gz">data-r2.tar.gz</a></li> | |
66 <li><a href="data-r2.zip">data-r2.zip</a></li> | |
67 </ul> | |
68 </dd> | |
69 <dt>Syntax-test Manifests</dt> | |
70 | |
71 <dd> | |
72 <ul> | |
73 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/manifest.ttl">data-r2/syntax-sparql1/manifest.ttl</a></li> | |
74 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/manifest.ttl">data-r2/syntax-sparql2/manifest.ttl</a></li> | |
75 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/manifest.ttl">data-r2/syntax-sparql3/manifest.ttl</a></li> | |
76 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql4/manifest.ttl">data-r2/syntax-sparql4/manifest.ttl</a></li> | |
77 </ul> | |
78 </dd> | |
79 <dt>Evaluation-test Manifests</dt> | |
80 <dd> | |
81 <ul> | |
82 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/manifest.ttl">data-r2/algebra/manifest.ttl</a></li> | |
83 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/ask/manifest.ttl">data-r2/ask/manifest.ttl</a></li> | |
84 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/manifest.ttl">data-r2/basic/manifest.ttl</a></li> | |
85 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/bnode-coreference/manifest.ttl">data-r2/bnode-coreference/manifest.ttl</a></li> | |
86 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/manifest.ttl">data-r2/boolean-effective-value/manifest.ttl</a></li> | |
87 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/bound/manifest.ttl">data-r2/bound/manifest.ttl</a></li> | |
88 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/manifest.ttl">data-r2/cast/manifest.ttl</a></li> | |
89 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/construct/manifest.ttl">data-r2/construct/manifest.ttl</a></li> | |
90 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/manifest.ttl">data-r2/dataset/manifest.ttl</a></li> | |
91 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/manifest.ttl">data-r2/distinct/manifest.ttl</a></li> | |
92 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/manifest.ttl">data-r2/expr-builtin/manifest.ttl</a></li> | |
93 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/manifest.ttl">data-r2/expr-equals/manifest.ttl</a></li> | |
94 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/manifest.ttl">data-r2/expr-ops/manifest.ttl</a></li> | |
95 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/manifest.ttl">data-r2/graph/manifest.ttl</a></li> | |
96 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/i18n/manifest.ttl">data-r2/i18n/manifest.ttl</a></li> | |
97 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/manifest.ttl">data-r2/open-world/manifest.ttl</a></li> | |
98 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional-filter/manifest.ttl">data-r2/optional-filter/manifest.ttl</a></li> | |
99 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/manifest.ttl">data-r2/optional/manifest.ttl</a></li> | |
100 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/regex/manifest.ttl">data-r2/regex/manifest.ttl</a></li> | |
101 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/manifest.ttl">data-r2/solution-seq/manifest.ttl</a></li> | |
102 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/manifest.ttl">data-r2/sort/manifest.ttl</a></li> | |
103 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/triple-match/manifest.ttl">data-r2/triple-match/manifest.ttl</a></li> | |
104 <li><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/manifest.ttl">data-r2/type-promotion/manifest.ttl</a></li> | |
105 </ul> | |
106 </dd> | |
107 <dt>Source Archives</dt> | |
108 <dd><i>Not yet available</i></dd> | |
109 </dl> | |
110 <hr/> | |
111 <h2>Contents</h2> | |
112 <h3>Syntax Tests</h3> | |
113 <dl> | |
114 <dt><a href="#syntax-basic-01">syntax-basic-01.rq</a></dt> | |
115 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
116 <dt><a href="#syntax-basic-02">syntax-basic-02.rq</a></dt> | |
117 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
118 <dt><a href="#syntax-basic-03">syntax-basic-03.rq</a></dt> | |
119 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
120 <dt><a href="#syntax-basic-04">syntax-basic-04.rq</a></dt> | |
121 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
122 <dt><a href="#syntax-basic-05">syntax-basic-05.rq</a></dt> | |
123 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
124 <dt><a href="#syntax-basic-06">syntax-basic-06.rq</a></dt> | |
125 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
126 <dt><a href="#syntax-bnodes-01">syntax-bnodes-01.rq</a></dt> | |
127 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
128 <dt><a href="#syntax-bnodes-02">syntax-bnodes-02.rq</a></dt> | |
129 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
130 <dt><a href="#syntax-bnodes-03">syntax-bnodes-03.rq</a></dt> | |
131 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
132 <dt><a href="#syntax-bnodes-04">syntax-bnodes-04.rq</a></dt> | |
133 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
134 <dt><a href="#syntax-bnodes-05">syntax-bnodes-05.rq</a></dt> | |
135 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
136 <dt><a href="#syntax-expr-01">syntax-expr-01.rq</a></dt> | |
137 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
138 <dt><a href="#syntax-expr-02">syntax-expr-02.rq</a></dt> | |
139 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
140 <dt><a href="#syntax-expr-03">syntax-expr-03.rq</a></dt> | |
141 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
142 <dt><a href="#syntax-expr-04">syntax-expr-04.rq</a></dt> | |
143 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
144 <dt><a href="#syntax-expr-05">syntax-expr-05.rq</a></dt> | |
145 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
146 <dt><a href="#syntax-forms-01">syntax-forms-01.rq</a></dt> | |
147 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
148 <dt><a href="#syntax-forms-02">syntax-forms-02.rq</a></dt> | |
149 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
150 <dt><a href="#syntax-limit-offset-01">syntax-limit-offset-01.rq</a></dt> | |
151 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
152 <dt><a href="#syntax-limit-offset-02">syntax-limit-offset-02.rq</a></dt> | |
153 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
154 <dt><a href="#syntax-limit-offset-03">syntax-limit-offset-03.rq</a></dt> | |
155 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
156 <dt><a href="#syntax-limit-offset-04">syntax-limit-offset-04.rq</a></dt> | |
157 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
158 <dt><a href="#syntax-lists-01">syntax-lists-01.rq</a></dt> | |
159 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
160 <dt><a href="#syntax-lists-02">syntax-lists-02.rq</a></dt> | |
161 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
162 <dt><a href="#syntax-lists-03">syntax-lists-03.rq</a></dt> | |
163 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
164 <dt><a href="#syntax-lists-04">syntax-lists-04.rq</a></dt> | |
165 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
166 <dt><a href="#syntax-lists-05">syntax-lists-05.rq</a></dt> | |
167 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
168 <dt><a href="#syntax-lit-01">syntax-lit-01.rq</a></dt> | |
169 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
170 <dt><a href="#syntax-lit-02">syntax-lit-02.rq</a></dt> | |
171 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
172 <dt><a href="#syntax-lit-03">syntax-lit-03.rq</a></dt> | |
173 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
174 <dt><a href="#syntax-lit-04">syntax-lit-04.rq</a></dt> | |
175 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
176 <dt><a href="#syntax-lit-05">syntax-lit-05.rq</a></dt> | |
177 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
178 <dt><a href="#syntax-lit-06">syntax-lit-06.rq</a></dt> | |
179 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
180 <dt><a href="#syntax-lit-07">syntax-lit-07.rq</a></dt> | |
181 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
182 <dt><a href="#syntax-lit-08">syntax-lit-08.rq</a></dt> | |
183 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
184 <dt><a href="#syntax-lit-09">syntax-lit-09.rq</a></dt> | |
185 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
186 <dt><a href="#syntax-lit-10">syntax-lit-10.rq</a></dt> | |
187 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
188 <dt><a href="#syntax-lit-11">syntax-lit-11.rq</a></dt> | |
189 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
190 <dt><a href="#syntax-lit-12">syntax-lit-12.rq</a></dt> | |
191 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
192 <dt><a href="#syntax-lit-13">syntax-lit-13.rq</a></dt> | |
193 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
194 <dt><a href="#syntax-lit-14">syntax-lit-14.rq</a></dt> | |
195 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
196 <dt><a href="#syntax-lit-15">syntax-lit-15.rq</a></dt> | |
197 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
198 <dt><a href="#syntax-lit-16">syntax-lit-16.rq</a></dt> | |
199 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
200 <dt><a href="#syntax-lit-17">syntax-lit-17.rq</a></dt> | |
201 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
202 <dt><a href="#syntax-lit-18">syntax-lit-18.rq</a></dt> | |
203 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
204 <dt><a href="#syntax-lit-19">syntax-lit-19.rq</a></dt> | |
205 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
206 <dt><a href="#syntax-lit-20">syntax-lit-20.rq</a></dt> | |
207 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
208 <dt><a href="#syntax-order-01">syntax-order-01.rq</a></dt> | |
209 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
210 <dt><a href="#syntax-order-02">syntax-order-02.rq</a></dt> | |
211 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
212 <dt><a href="#syntax-order-03">syntax-order-03.rq</a></dt> | |
213 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
214 <dt><a href="#syntax-order-04">syntax-order-04.rq</a></dt> | |
215 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
216 <dt><a href="#syntax-order-05">syntax-order-05.rq</a></dt> | |
217 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
218 <dt><a href="#syntax-order-06">syntax-order-06.rq</a></dt> | |
219 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
220 <dt><a href="#syntax-order-07">syntax-order-07.rq</a></dt> | |
221 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
222 <dt><a href="#syntax-pat-01">syntax-pat-01.rq</a></dt> | |
223 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">Approved</a></dd> | |
224 <dt><a href="#syntax-pat-02">syntax-pat-02.rq</a></dt> | |
225 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">Approved</a></dd> | |
226 <dt><a href="#syntax-pat-03">syntax-pat-03.rq</a></dt> | |
227 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">Approved</a></dd> | |
228 <dt><a href="#syntax-pat-04">syntax-pat-04.rq</a></dt> | |
229 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">Approved</a></dd> | |
230 <dt><a href="#syntax-qname-01">syntax-qname-01.rq</a></dt> | |
231 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
232 <dt><a href="#syntax-qname-02">syntax-qname-02.rq</a></dt> | |
233 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
234 <dt><a href="#syntax-qname-03">syntax-qname-03.rq</a></dt> | |
235 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
236 <dt><a href="#syntax-qname-04">syntax-qname-04.rq</a></dt> | |
237 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
238 <dt><a href="#syntax-qname-05">syntax-qname-05.rq</a></dt> | |
239 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
240 <dt><a href="#syntax-qname-06">syntax-qname-06.rq</a></dt> | |
241 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
242 <dt><a href="#syntax-qname-07">syntax-qname-07.rq</a></dt> | |
243 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
244 <dt><a href="#syntax-qname-08">syntax-qname-08.rq</a></dt> | |
245 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
246 <dt><a href="#syntax-struct-01">syntax-struct-01.rq</a></dt> | |
247 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
248 <dt><a href="#syntax-struct-02">syntax-struct-02.rq</a></dt> | |
249 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
250 <dt><a href="#syntax-struct-03">syntax-struct-03.rq</a></dt> | |
251 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
252 <dt><a href="#syntax-struct-05">syntax-struct-05.rq</a></dt> | |
253 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
254 <dt><a href="#syntax-struct-06">syntax-struct-06.rq</a></dt> | |
255 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
256 <dt><a href="#syntax-struct-07">syntax-struct-07.rq</a></dt> | |
257 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
258 <dt><a href="#syntax-struct-08">syntax-struct-08.rq</a></dt> | |
259 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
260 <dt><a href="#syntax-struct-09">syntax-struct-09.rq</a></dt> | |
261 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
262 <dt><a href="#syntax-struct-10">syntax-struct-10.rq</a></dt> | |
263 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
264 <dt><a href="#syntax-struct-11">syntax-struct-11.rq</a></dt> | |
265 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
266 <dt><a href="#syntax-struct-12">syntax-struct-12.rq</a></dt> | |
267 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
268 <dt><a href="#syntax-struct-13">syntax-struct-13.rq</a></dt> | |
269 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
270 <dt><a href="#syntax-struct-14">syntax-struct-14.rq</a></dt> | |
271 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
272 <dt><a href="#syntax-union-01">syntax-union-01.rq</a></dt> | |
273 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
274 <dt><a href="#syntax-union-02">syntax-union-02.rq</a></dt> | |
275 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
276 <dt><a href="#syntax-bnode-01">syntax-bnode-01.rq</a></dt> | |
277 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
278 <dt><a href="#syntax-bnode-02">syntax-bnode-02.rq</a></dt> | |
279 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
280 <dt><a href="#syntax-bnode-03">syntax-bnode-03.rq</a></dt> | |
281 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
282 <dt><a href="#syntax-dataset-01">syntax-dataset-01.rq</a></dt> | |
283 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
284 <dt><a href="#syntax-dataset-02">syntax-dataset-02.rq</a></dt> | |
285 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
286 <dt><a href="#syntax-dataset-03">syntax-dataset-03.rq</a></dt> | |
287 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
288 <dt><a href="#syntax-dataset-04">syntax-dataset-04.rq</a></dt> | |
289 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
290 <dt><a href="#syntax-esc-01">syntax-esc-01.rq</a></dt> | |
291 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
292 <dt><a href="#syntax-esc-02">syntax-esc-02.rq</a></dt> | |
293 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
294 <dt><a href="#syntax-esc-03">syntax-esc-03.rq</a></dt> | |
295 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
296 <dt><a href="#syntax-esc-04">syntax-esc-04.rq</a></dt> | |
297 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
298 <dt><a href="#syntax-esc-05">syntax-esc-05.rq</a></dt> | |
299 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
300 <dt><a href="#syntax-form-ask-02">syntax-form-ask-02.rq</a></dt> | |
301 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
302 <dt><a href="#syntax-form-construct01">syntax-form-construct01.rq</a></dt> | |
303 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
304 <dt><a href="#syntax-form-construct02">syntax-form-construct02.rq</a></dt> | |
305 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
306 <dt><a href="#syntax-form-construct03">syntax-form-construct03.rq</a></dt> | |
307 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
308 <dt><a href="#syntax-form-construct04">syntax-form-construct04.rq</a></dt> | |
309 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
310 <dt><a href="#syntax-form-construct06">syntax-form-construct06.rq</a></dt> | |
311 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
312 <dt><a href="#syntax-form-describe01">syntax-form-describe01.rq</a></dt> | |
313 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
314 <dt><a href="#syntax-form-describe02">syntax-form-describe02.rq</a></dt> | |
315 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
316 <dt><a href="#syntax-form-select-01">syntax-form-select-01.rq</a></dt> | |
317 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
318 <dt><a href="#syntax-form-select-02">syntax-form-select-02.rq</a></dt> | |
319 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
320 <dt><a href="#syntax-function-01">syntax-function-01.rq</a></dt> | |
321 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
322 <dt><a href="#syntax-function-02">syntax-function-02.rq</a></dt> | |
323 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
324 <dt><a href="#syntax-function-03">syntax-function-03.rq</a></dt> | |
325 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
326 <dt><a href="#syntax-function-04">syntax-function-04.rq</a></dt> | |
327 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
328 <dt><a href="#syntax-general-01">syntax-general-01.rq</a></dt> | |
329 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
330 <dt><a href="#syntax-general-02">syntax-general-02.rq</a></dt> | |
331 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
332 <dt><a href="#syntax-general-03">syntax-general-03.rq</a></dt> | |
333 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
334 <dt><a href="#syntax-general-04">syntax-general-04.rq</a></dt> | |
335 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
336 <dt><a href="#syntax-general-05">syntax-general-05.rq</a></dt> | |
337 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
338 <dt><a href="#syntax-general-06">syntax-general-06.rq</a></dt> | |
339 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
340 <dt><a href="#syntax-general-07">syntax-general-07.rq</a></dt> | |
341 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
342 <dt><a href="#syntax-general-08">syntax-general-08.rq</a></dt> | |
343 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
344 <dt><a href="#syntax-general-09">syntax-general-09.rq</a></dt> | |
345 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
346 <dt><a href="#syntax-general-10">syntax-general-10.rq</a></dt> | |
347 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
348 <dt><a href="#syntax-general-11">syntax-general-11.rq</a></dt> | |
349 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
350 <dt><a href="#syntax-general-12">syntax-general-12.rq</a></dt> | |
351 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
352 <dt><a href="#syntax-general-13">syntax-general-13.rq</a></dt> | |
353 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
354 <dt><a href="#syntax-general-14">syntax-general-14.rq</a></dt> | |
355 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
356 <dt><a href="#syntax-graph-01">syntax-graph-01.rq</a></dt> | |
357 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
358 <dt><a href="#syntax-graph-02">syntax-graph-02.rq</a></dt> | |
359 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
360 <dt><a href="#syntax-graph-03">syntax-graph-03.rq</a></dt> | |
361 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
362 <dt><a href="#syntax-graph-04">syntax-graph-04.rq</a></dt> | |
363 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
364 <dt><a href="#syntax-graph-05">syntax-graph-05.rq</a></dt> | |
365 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
366 <dt><a href="#syntax-keywords-01">syntax-keywords-01.rq</a></dt> | |
367 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
368 <dt><a href="#syntax-keywords-02">syntax-keywords-02.rq</a></dt> | |
369 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
370 <dt><a href="#syntax-keywords-03">syntax-keywords-03.rq</a></dt> | |
371 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
372 <dt><a href="#syntax-lists-01">syntax-lists-01.rq</a></dt> | |
373 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
374 <dt><a href="#syntax-lists-02">syntax-lists-02.rq</a></dt> | |
375 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
376 <dt><a href="#syntax-lists-03">syntax-lists-03.rq</a></dt> | |
377 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
378 <dt><a href="#syntax-lists-04">syntax-lists-04.rq</a></dt> | |
379 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
380 <dt><a href="#syntax-lists-05">syntax-lists-05.rq</a></dt> | |
381 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
382 <dt><a href="#blabel-cross-filter">syn-blabel-cross-filter</a></dt> | |
383 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0012/2007-04-10-dawg-minutes.html#item06">Approved</a></dd> | |
384 <dt><a href="#blabel-cross-graph-bad">syn-blabel-cross-graph-bad</a> - negative syntax test, should fail to parse</dt> | |
385 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0012/2007-04-10-dawg-minutes.html#item06">Approved</a></dd> | |
386 <dt><a href="#blabel-cross-optional-bad">syn-blabel-cross-optional-bad</a> - negative syntax test, should fail to parse</dt> | |
387 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">Approved</a></dd> | |
388 <dt><a href="#blabel-cross-union-bad">syn-blabel-cross-union-bad</a> - negative syntax test, should fail to parse</dt> | |
389 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">Approved</a></dd> | |
390 <dt><a href="#bnode-dot">syn-bad-bnode-dot.rq</a> - negative syntax test, should fail to parse</dt> | |
391 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
392 <dt><a href="#bnodes-missing-pvalues-01">syn-bad-bnodes-missing-pvalues-01.rq</a> - negative syntax test, should fail to parse</dt> | |
393 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
394 <dt><a href="#bnodes-missing-pvalues-02">syn-bad-bnodes-missing-pvalues-02.rq</a> - negative syntax test, should fail to parse</dt> | |
395 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
396 <dt><a href="#empty-optional-01">syn-bad-empty-optional-01.rq</a> - negative syntax test, should fail to parse</dt> | |
397 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
398 <dt><a href="#empty-optional-02">syn-bad-empty-optional-02.rq</a> - negative syntax test, should fail to parse</dt> | |
399 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
400 <dt><a href="#filter-missing-parens">syn-bad-filter-missing-parens.rq</a> - negative syntax test, should fail to parse</dt> | |
401 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
402 <dt><a href="#lone-list">syn-bad-lone-list.rq</a> - negative syntax test, should fail to parse</dt> | |
403 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
404 <dt><a href="#lone-node">syn-bad-lone-node.rq</a> - negative syntax test, should fail to parse</dt> | |
405 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
406 <dt><a href="#syn-01">syn-01.rq</a></dt> | |
407 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
408 <dt><a href="#syn-02">syn-02.rq</a></dt> | |
409 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
410 <dt><a href="#syn-03">syn-03.rq</a></dt> | |
411 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
412 <dt><a href="#syn-04">syn-04.rq</a></dt> | |
413 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
414 <dt><a href="#syn-05">syn-05.rq</a></dt> | |
415 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
416 <dt><a href="#syn-06">syn-06.rq</a></dt> | |
417 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
418 <dt><a href="#syn-07">syn-07.rq</a></dt> | |
419 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
420 <dt><a href="#syn-08">syn-08.rq</a></dt> | |
421 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
422 <dt><a href="#syn-bad-01">syn-bad-01.rq</a> - negative syntax test, should fail to parse</dt> | |
423 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
424 <dt><a href="#syn-bad-02">syn-bad-02.rq</a> - negative syntax test, should fail to parse</dt> | |
425 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
426 <dt><a href="#syn-bad-03">syn-bad-03.rq</a> - negative syntax test, should fail to parse</dt> | |
427 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
428 <dt><a href="#syn-bad-04">syn-bad-04.rq</a> - negative syntax test, should fail to parse</dt> | |
429 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
430 <dt><a href="#syn-bad-05">syn-bad-05.rq</a> - negative syntax test, should fail to parse</dt> | |
431 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
432 <dt><a href="#syn-bad-06">syn-bad-06.rq</a> - negative syntax test, should fail to parse</dt> | |
433 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
434 <dt><a href="#syn-bad-07">syn-bad-07.rq</a> - negative syntax test, should fail to parse</dt> | |
435 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
436 <dt><a href="#syn-bad-08">syn-bad-08.rq</a> - negative syntax test, should fail to parse</dt> | |
437 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
438 <dt><a href="#syn-bad-09">syn-bad-09.rq</a> - negative syntax test, should fail to parse</dt> | |
439 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
440 <dt><a href="#syn-bad-10">syn-bad-10.rq</a> - negative syntax test, should fail to parse</dt> | |
441 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
442 <dt><a href="#syn-bad-11">syn-bad-11.rq</a> - negative syntax test, should fail to parse</dt> | |
443 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
444 <dt><a href="#syn-bad-12">syn-bad-12.rq</a> - negative syntax test, should fail to parse</dt> | |
445 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
446 <dt><a href="#syn-bad-13">syn-bad-13.rq</a> - negative syntax test, should fail to parse</dt> | |
447 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
448 <dt><a href="#syn-bad-14">syn-bad-14.rq</a> - negative syntax test, should fail to parse</dt> | |
449 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
450 <dt><a href="#syn-bad-15">syn-bad-15.rq</a> - negative syntax test, should fail to parse</dt> | |
451 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
452 <dt><a href="#syn-bad-16">syn-bad-16.rq</a> - negative syntax test, should fail to parse</dt> | |
453 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
454 <dt><a href="#syn-bad-17">syn-bad-17.rq</a> - negative syntax test, should fail to parse</dt> | |
455 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
456 <dt><a href="#syn-bad-18">syn-bad-18.rq</a> - negative syntax test, should fail to parse</dt> | |
457 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
458 <dt><a href="#syn-bad-19">syn-bad-19.rq</a> - negative syntax test, should fail to parse</dt> | |
459 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
460 <dt><a href="#syn-bad-20">syn-bad-20.rq</a> - negative syntax test, should fail to parse</dt> | |
461 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
462 <dt><a href="#syn-bad-21">syn-bad-21.rq</a> - negative syntax test, should fail to parse</dt> | |
463 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
464 <dt><a href="#syn-bad-22">syn-bad-22.rq</a> - negative syntax test, should fail to parse</dt> | |
465 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
466 <dt><a href="#syn-bad-23">syn-bad-23.rq</a> - negative syntax test, should fail to parse</dt> | |
467 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
468 <dt><a href="#syn-bad-24">syn-bad-24.rq</a> - negative syntax test, should fail to parse</dt> | |
469 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
470 <dt><a href="#syn-bad-25">syn-bad-25.rq</a> - negative syntax test, should fail to parse</dt> | |
471 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
472 <dt><a href="#syn-bad-26">syn-bad-26.rq</a> - negative syntax test, should fail to parse</dt> | |
473 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">Approved</a></dd> | |
474 <dt><a href="#syn-bad-27">syn-bad-27.rq</a> - negative syntax test, should fail to parse</dt> | |
475 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
476 <dt><a href="#syn-bad-28">syn-bad-28.rq</a> - negative syntax test, should fail to parse</dt> | |
477 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
478 <dt><a href="#syn-bad-29">syn-bad-29.rq</a> - negative syntax test, should fail to parse</dt> | |
479 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
480 <dt><a href="#syn-bad-30">syn-bad-30.rq</a> - negative syntax test, should fail to parse</dt> | |
481 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
482 <dt><a href="#syn-bad-31">syn-bad-31.rq</a> - negative syntax test, should fail to parse</dt> | |
483 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">Approved</a></dd> | |
484 <dt><a href="#syn-09">syn-09.rq</a></dt> | |
485 <dd><a href="http://www.w3.org/2007/02/13-dawg-minutes.html">Approved</a></dd> | |
486 <dt><a href="#syn-10">syn-10.rq</a></dt> | |
487 <dd><a href="http://www.w3.org/2007/02/13-dawg-minutes.html">Approved</a></dd> | |
488 <dt><a href="#syn-11">syn-11.rq</a></dt> | |
489 <dd><a href="http://www.w3.org/2007/02/13-dawg-minutes.html">Approved</a></dd> | |
490 <dt><a href="#syn-bad-34">syn-bad-34.rq</a> - negative syntax test, should fail to parse</dt> | |
491 <dd><a href="http://www.w3.org/2007/02/13-dawg-minutes.html">Approved</a></dd> | |
492 <dt><a href="#syn-bad-35">syn-bad-35.rq</a> - negative syntax test, should fail to parse</dt> | |
493 <dd><a href="http://www.w3.org/2007/02/13-dawg-minutes.html">Approved</a></dd> | |
494 <dt><a href="#syn-bad-36">syn-bad-36.rq</a> - negative syntax test, should fail to parse</dt> | |
495 <dd><a href="http://www.w3.org/2007/02/13-dawg-minutes.html">Approved</a></dd> | |
496 <dt><a href="#syn-bad-37">syn-bad-37.rq</a> - negative syntax test, should fail to parse</dt> | |
497 <dd><a href="http://www.w3.org/2007/02/13-dawg-minutes.html">Approved</a></dd> | |
498 <dt><a href="#syn-bad-38">syn-bad-38.rq</a> - negative syntax test, should fail to parse</dt> | |
499 <dd><a href="http://www.w3.org/2007/02/13-dawg-minutes.html">Approved</a></dd> | |
500 <dt><a href="#syn-bad-GRAPH-breaks-BGP">syn-bad-GRAPH-breaks-BGP</a> - negative syntax test, should fail to parse</dt> | |
501 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0063/29-dawg-minutes.htm">Approved</a></dd> | |
502 <dd>bad: re-used BNode label after GRAPH</dd> | |
503 <dt><a href="#syn-bad-OPT-breaks-BGP">syn-bad-OPT-breaks-BGP</a> - negative syntax test, should fail to parse</dt> | |
504 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0063/29-dawg-minutes.htm">Approved</a></dd> | |
505 <dd>bad: re-used BNode label after OPTIONAL</dd> | |
506 <dt><a href="#syn-bad-UNION-breaks-BGP">syn-bad-UNION-breaks-BGP</a> - negative syntax test, should fail to parse</dt> | |
507 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">Approved</a></dd> | |
508 <dd>bad: re-used BNode label after UNION</dd> | |
509 <dt><a href="#syn-leading-digits-in-prefixed-names">syn-leading-digits-in-prefixed-names.rq</a></dt> | |
510 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0063/29-dawg-minutes.htm">Approved</a></dd> | |
511 </dl> | |
512 <h3>Evaluation Tests</h3> | |
513 <dl> | |
514 <dt><a href="#filter-nested-1">Filter-nested - 1</a></dt> | |
515 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
516 <dd>A FILTER is in scope for variables bound at the same level of the query tree</dd> | |
517 <dt><a href="#filter-nested-2">Filter-nested - 2</a></dt> | |
518 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
519 <dd>A FILTER in a group { ... } cannot see variables bound outside that group</dd> | |
520 <dt><a href="#filter-place-1">Filter-placement - 1</a></dt> | |
521 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
522 <dd>FILTER placed after the triple pattern that contains the variable tested</dd> | |
523 <dt><a href="#filter-place-2">Filter-placement - 2</a></dt> | |
524 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
525 <dd>FILTERs are scoped to the nearest enclosing group - placement within that group does not matter</dd> | |
526 <dt><a href="#filter-place-3">Filter-placement - 3</a></dt> | |
527 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
528 <dd>FILTERs are scoped to the nearest enclosing group - placement within that group does not matter</dd> | |
529 <dt><a href="#filter-scope-1">Filter-scope - 1</a></dt> | |
530 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
531 <dd>FILTERs in an OPTIONAL do not extend to variables bound outside of the LeftJoin(...) operation</dd> | |
532 <dt><a href="#join-combo-1">Join operator with OPTs, BGPs, and UNIONs</a></dt> | |
533 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html">Approved</a></dd> | |
534 <dd>Tests nested combination of Join with a BGP / OPT and a BGP / UNION</dd> | |
535 <dt><a href="#join-combo-2">Join operator with Graph and Union</a></dt> | |
536 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html">Approved</a></dd> | |
537 <dd>Tests combination of Join operator with Graph on LHS and Union on RHS</dd> | |
538 <dt><a href="#join-scope-1">Join scope - 1</a></dt> | |
539 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
540 <dd>Variables have query scope.</dd> | |
541 <dt><a href="#nested-opt-1">Nested Optionals - 1</a></dt> | |
542 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
543 <dd>Nested-optionals with a shared variable that does not appear in the middle pattern (a not well-formed query pattern as per "Semantics and Complexity" of SPARQL</dd> | |
544 <dt><a href="#nested-opt-2">Nested Optionals - 2</a></dt> | |
545 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
546 <dd>OPTIONALs parse in a left-associative manner</dd> | |
547 <dt><a href="#opt-filter-1">Optional-filter - 1</a></dt> | |
548 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
549 <dd>A FILTER inside an OPTIONAL can reference a variable bound in the required part of the OPTIONAL</dd> | |
550 <dt><a href="#opt-filter-2">Optional-filter - 2 filters</a></dt> | |
551 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
552 <dd>FILTERs inside an OPTIONAL can refer to variables from both the required and optional parts of the construct.</dd> | |
553 <dt><a href="#opt-filter-3">Optional-filter - scope of variable</a></dt> | |
554 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
555 <dd>FILTERs in an OPTIONAL do not extend to variables bound outside of the LeftJoin(...) operation</dd> | |
556 <dt><a href="#ask-1">ASK-1 (SPARQL XML results)</a></dt> | |
557 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
558 <dt><a href="#ask-4">ASK-4 (SPARQL XML results)</a></dt> | |
559 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
560 <dt><a href="#ask-7">ASK-7 (SPARQL XML results)</a></dt> | |
561 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
562 <dt><a href="#ask-8">ASK-8 (SPARQL XML results)</a></dt> | |
563 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">Approved</a></dd> | |
564 <dt><a href="#base-prefix-1">Basic - Prefix/Base 1</a></dt> | |
565 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
566 <dt><a href="#base-prefix-2">Basic - Prefix/Base 2</a></dt> | |
567 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
568 <dt><a href="#base-prefix-3">Basic - Prefix/Base 3</a></dt> | |
569 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
570 <dt><a href="#base-prefix-4">Basic - Prefix/Base 4</a></dt> | |
571 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
572 <dt><a href="#base-prefix-5">Basic - Prefix/Base 5</a></dt> | |
573 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
574 <dt><a href="#bgp-no-match">Non-matching triple pattern</a></dt> | |
575 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">Approved</a></dd> | |
576 <dd>Patterns not in data don't match</dd> | |
577 <dt><a href="#list-1">Basic - List 1</a></dt> | |
578 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
579 <dt><a href="#list-2">Basic - List 2</a></dt> | |
580 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
581 <dt><a href="#list-3">Basic - List 3</a></dt> | |
582 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
583 <dt><a href="#list-4">Basic - List 4</a></dt> | |
584 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
585 <dt><a href="#prefix-name-1">Prefix name 1</a></dt> | |
586 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">Approved</a></dd> | |
587 <dd>No local name - foo:</dd> | |
588 <dt><a href="#quotes-1">Basic - Quotes 1</a></dt> | |
589 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
590 <dt><a href="#quotes-2">Basic - Quotes 2</a></dt> | |
591 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
592 <dt><a href="#quotes-3">Basic - Quotes 3</a></dt> | |
593 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
594 <dt><a href="#quotes-4">Basic - Quotes 4</a></dt> | |
595 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
596 <dt><a href="#spoo-1">Basic graph pattern - spoo</a></dt> | |
597 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
598 <dd>Test the :x :y :o1, :o2 construct</dd> | |
599 <dt><a href="#term-1">Basic - Term 1</a></dt> | |
600 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
601 <dt><a href="#term-2">Basic - Term 2</a></dt> | |
602 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
603 <dt><a href="#term-3">Basic - Term 3</a></dt> | |
604 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
605 <dt><a href="#term-4">Basic - Term 4</a></dt> | |
606 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
607 <dt><a href="#term-5">Basic - Term 5</a></dt> | |
608 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
609 <dt><a href="#term-6">Basic - Term 6</a></dt> | |
610 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
611 <dt><a href="#term-7">Basic - Term 7</a></dt> | |
612 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
613 <dt><a href="#term-8">Basic - Term 8</a></dt> | |
614 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
615 <dt><a href="#term-9">Basic - Term 9</a></dt> | |
616 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
617 <dt><a href="#var-1">Basic - Var 1</a></dt> | |
618 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
619 <dt><a href="#var-2">Basic - Var 2</a></dt> | |
620 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
621 <dt><a href="#dawg-bnode-coref-001">dawg-bnode-coreference</a></dt> | |
622 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">Approved</a></dd> | |
623 <dd>Query results must maintain bnode co-references in the dataset</dd> | |
624 <dt><a href="#dawg-bev-1">Test 'boolean effective value' - true</a></dt> | |
625 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
626 <dd>Non-zero numerics, non-empty strings, and the true boolean have an EBV of true</dd> | |
627 <dt><a href="#dawg-bev-2">Test 'boolean effective value' - false</a></dt> | |
628 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
629 <dd>Zero-valued numerics, the empty string, and the false boolean have an EBV of false</dd> | |
630 <dt><a href="#dawg-bev-3">Test 'boolean effective value' - &&</a></dt> | |
631 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
632 <dd>The && operator takes the EBV of its operands</dd> | |
633 <dt><a href="#dawg-bev-4">Test 'boolean effective value' - ||</a></dt> | |
634 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
635 <dd>The || operator takes the EBV of its operands</dd> | |
636 <dt><a href="#dawg-bev-5">Test 'boolean effective value' - optional</a></dt> | |
637 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
638 <dd>The EBV of an unbound value or a literal with an unknown datatype is a type error, which eliminates the solution in question</dd> | |
639 <dt><a href="#dawg-bev-6">Test 'boolean effective value' - unknown types</a></dt> | |
640 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
641 <dd>Negating a type error is still a type error</dd> | |
642 <dt><a href="#dawg-boolean-literal">Test literal 'true'</a></dt> | |
643 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">Approved</a></dd> | |
644 <dt><a href="#dawg-bound-query-001">dawg-bound-query-001</a></dt> | |
645 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">Approved</a></dd> | |
646 <dd>BOUND test case.</dd> | |
647 <dt><a href="#cast-bool">Cast to xsd:boolean</a></dt> | |
648 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">Approved</a></dd> | |
649 <dt><a href="#cast-dT">Cast to xsd:dateTime</a></dt> | |
650 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">Approved</a></dd> | |
651 <dt><a href="#cast-dbl">Cast to xsd:double</a></dt> | |
652 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">Approved</a></dd> | |
653 <dt><a href="#cast-dec">Cast to xsd:decimal</a></dt> | |
654 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">Approved</a></dd> | |
655 <dt><a href="#cast-flt">Cast to xsd:float</a></dt> | |
656 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">Approved</a></dd> | |
657 <dt><a href="#cast-int">Cast to xsd:integer</a></dt> | |
658 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">Approved</a></dd> | |
659 <dt><a href="#cast-str">Cast to xsd:string</a></dt> | |
660 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">Approved</a></dd> | |
661 <dt><a href="#construct-1">dawg-construct-identity</a></dt> | |
662 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
663 <dd>Graph equivalent result graph</dd> | |
664 <dt><a href="#construct-2">dawg-construct-subgraph</a></dt> | |
665 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
666 <dd>Result subgraph of original graph</dd> | |
667 <dt><a href="#construct-3">dawg-construct-reification-1</a></dt> | |
668 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
669 <dd>Reification of the default graph</dd> | |
670 <dt><a href="#construct-4">dawg-construct-reification-2</a></dt> | |
671 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
672 <dd>Reification of the default graph</dd> | |
673 <dt><a href="#construct-5">dawg-construct-optional</a></dt> | |
674 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
675 <dd>Reification of the default graph</dd> | |
676 <dt><a href="#dawg-dataset-01">dataset-01</a></dt> | |
677 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
678 <dd>Data: default dataset / Query: default dataset</dd> | |
679 <dt><a href="#dawg-dataset-02">dataset-02</a></dt> | |
680 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
681 <dd>Data: named dataset / Query: default dataset</dd> | |
682 <dt><a href="#dawg-dataset-03">dataset-03</a></dt> | |
683 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
684 <dd>Data: named dataset / Query: named dataset dataset</dd> | |
685 <dt><a href="#dawg-dataset-04">dataset-04</a></dt> | |
686 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
687 <dd>Data: named dataset / Query: default dataset</dd> | |
688 <dt><a href="#dawg-dataset-05">dataset-05</a></dt> | |
689 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
690 <dd>Data: default and named / Query: default dataset</dd> | |
691 <dt><a href="#dawg-dataset-06">dataset-06</a></dt> | |
692 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
693 <dd>Data: default and named / Query: named dataset</dd> | |
694 <dt><a href="#dawg-dataset-07">dataset-07</a></dt> | |
695 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
696 <dd>Data: default and named / Query: all data by UNION</dd> | |
697 <dt><a href="#dawg-dataset-08">dataset-08</a></dt> | |
698 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
699 <dd>Data: default and named / Query: common subjects</dd> | |
700 <dt><a href="#dawg-dataset-09">dataset-09</a></dt> | |
701 <dd>Data: default and named (bnodes) / Query: common subjects</dd> | |
702 <dt><a href="#dawg-dataset-09b">dataset-09b</a></dt> | |
703 <dd><a href="http://www.w3.org/2007/10/09-dawg-minutes.html">Approved</a></dd> | |
704 <dd>Data: default and named (bnodes) / Query: common subjects</dd> | |
705 <dt><a href="#dawg-dataset-10">dataset-10</a></dt> | |
706 <dd>Data: default and named (same data, with bnodes) / Query: common subjects</dd> | |
707 <dt><a href="#dawg-dataset-10b">dataset-10b</a></dt> | |
708 <dd><a href="http://www.w3.org/2007/10/09-dawg-minutes.html">Approved</a></dd> | |
709 <dd>Data: default and named (same data, with bnodes) / Query: common subjects</dd> | |
710 <dt><a href="#dawg-dataset-11">dataset-11</a></dt> | |
711 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">Approved</a></dd> | |
712 <dd>Data: default and named (several) / Query: get everything</dd> | |
713 <dt><a href="#dawg-dataset-12">dataset-12</a></dt> | |
714 <dd>Data: default (several) and named (several) / Query: get everything</dd> | |
715 <dt><a href="#dawg-dataset-12b">dataset-12b</a></dt> | |
716 <dd><a href="http://www.w3.org/2007/10/09-dawg-minutes.html">Approved</a></dd> | |
717 <dd>Data: default (several) and named (several) / Query: get everything</dd> | |
718 <dt><a href="#distinct-1">Numbers: Distinct</a></dt> | |
719 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
720 <dt><a href="#distinct-2">Strings: Distinct</a></dt> | |
721 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
722 <dt><a href="#distinct-3">Nodes: Distinct</a></dt> | |
723 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
724 <dt><a href="#distinct-4">Opt: Distinct</a></dt> | |
725 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
726 <dt><a href="#distinct-9">All: Distinct</a></dt> | |
727 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
728 <dt><a href="#distinct-star-1">SELECT DISTINCT *</a></dt> | |
729 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">Approved</a></dd> | |
730 <dt><a href="#no-distinct-1">Numbers: No distinct</a></dt> | |
731 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
732 <dt><a href="#no-distinct-2">Strings: No distinct</a></dt> | |
733 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
734 <dt><a href="#no-distinct-3">Nodes: No distinct</a></dt> | |
735 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
736 <dt><a href="#no-distinct-4">Opt: No distinct</a></dt> | |
737 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
738 <dt><a href="#no-distinct-9">All: No distinct</a></dt> | |
739 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
740 <dt><a href="#dawg-datatype-1">datatype-1</a></dt> | |
741 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">Approved</a></dd> | |
742 <dt><a href="#dawg-datatype-2">datatype-2 : Literals with a datatype</a></dt> | |
743 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">Approved</a></dd> | |
744 <dd>updated from original test case: eliminated ordering from test</dd> | |
745 <dt><a href="#dawg-datatype-3">datatype-3 : Literals with a datatype of xsd:string</a></dt> | |
746 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">Approved</a></dd> | |
747 <dd>updated from original test case: eliminated ordering from test</dd> | |
748 <dt><a href="#dawg-isBlank-1">isBlank-1</a></dt> | |
749 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">Approved</a></dd> | |
750 <dt><a href="#dawg-isIRI-1">isIRI-1</a></dt> | |
751 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">Approved</a></dd> | |
752 <dt><a href="#dawg-isLiteral-1">isLiteral</a></dt> | |
753 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">Approved</a></dd> | |
754 <dt><a href="#dawg-isURI-1">isURI-1</a></dt> | |
755 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">Approved</a></dd> | |
756 <dt><a href="#dawg-lang-1">lang-1 : Literals with a lang tag of some kind</a></dt> | |
757 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">Approved</a></dd> | |
758 <dd>updated from original test case: eliminated ordering from test</dd> | |
759 <dt><a href="#dawg-lang-2">lang-2 : Literals with a lang tag of ''</a></dt> | |
760 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">Approved</a></dd> | |
761 <dd>updated from original test case: eliminated ordering from test</dd> | |
762 <dt><a href="#dawg-lang-3">lang-3 : Graph matching with lang tag being a different case</a></dt> | |
763 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">Approved</a></dd> | |
764 <dd>updated from original test case: eliminated ordering from test</dd> | |
765 <dt><a href="#dawg-langMatches-1">LangMatches-1</a></dt> | |
766 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">Approved</a></dd> | |
767 <dd>langMatches(lang(?v), 'en-GB') matches 'abc'@en-gb</dd> | |
768 <dt><a href="#dawg-langMatches-2">LangMatches-2</a></dt> | |
769 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">Approved</a></dd> | |
770 <dd>langMatches(lang(?v), 'en') matches 'abc'@en, 'abc'@en-gb</dd> | |
771 <dt><a href="#dawg-langMatches-3">LangMatches-3</a></dt> | |
772 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">Approved</a></dd> | |
773 <dd>langMatches(lang(?v), '*') matches 'abc'@en, 'abc'@en-gb, 'abc'@fr</dd> | |
774 <dt><a href="#dawg-langMatches-4">LangMatches-4</a></dt> | |
775 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">Approved</a></dd> | |
776 <dd>! langMatches(lang(?v), '*') matches 'abc'</dd> | |
777 <dt><a href="#dawg-langMatches-basic">LangMatches-basic</a></dt> | |
778 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">Approved</a></dd> | |
779 <dd>the basic range 'de-de' does not match 'de-Latn-de'</dd> | |
780 <dt><a href="#dawg-str-1">str-1</a></dt> | |
781 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">Approved</a></dd> | |
782 <dt><a href="#dawg-str-2">str-2</a></dt> | |
783 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">Approved</a></dd> | |
784 <dt><a href="#dawg-str-3">str-3</a></dt> | |
785 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">Approved</a></dd> | |
786 <dt><a href="#dawg-str-4">str-4</a></dt> | |
787 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">Approved</a></dd> | |
788 <dt><a href="#lang-case-insensitive-eq">lang-case-insensitive-eq</a></dt> | |
789 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
790 <dd>'xyz'@en = 'xyz'@EN</dd> | |
791 <dt><a href="#lang-case-insensitive-ne">lang-case-insensitive-ne</a></dt> | |
792 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
793 <dd>'xyz'@en != 'xyz'@EN</dd> | |
794 <dt><a href="#sameTerm-eq">sameTerm-eq</a></dt> | |
795 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">Approved</a></dd> | |
796 <dd>sameTerm(?v1, ?v2) && ?v1 = ?v2</dd> | |
797 <dt><a href="#sameTerm-not-eq">sameTerm-not-eq</a></dt> | |
798 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">Approved</a></dd> | |
799 <dd>!sameTerm(?v1, ?v2) && ?v1 = ?v2</dd> | |
800 <dt><a href="#sameTerm-simple">sameTerm-simple</a></dt> | |
801 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">Approved</a></dd> | |
802 <dd>sameTerm(?v1, ?v2)</dd> | |
803 <dt><a href="#eq-1">Equality 1-1</a></dt> | |
804 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
805 <dd>= in FILTER expressions is value equality</dd> | |
806 <dt><a href="#eq-2">Equality 1-2</a></dt> | |
807 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
808 <dd>= in FILTER expressions is value equality</dd> | |
809 <dt><a href="#eq-2-1">Equality - 2 var - test equals</a></dt> | |
810 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
811 <dd>= in FILTER is value equality</dd> | |
812 <dt><a href="#eq-2-2">Equality - 2 var - test not equals </a></dt> | |
813 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
814 <dd>!= in FILTER is value inequality</dd> | |
815 <dt><a href="#eq-3">Equality 1-3</a></dt> | |
816 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
817 <dd>Numerics are not value-equivalent to plain literals</dd> | |
818 <dt><a href="#eq-4">Equality 1-4</a></dt> | |
819 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
820 <dd>= compares plain literals and unknown types with the same lexical form as false</dd> | |
821 <dt><a href="#eq-5">Equality 1-5</a></dt> | |
822 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
823 <dd>= on IRI terms</dd> | |
824 <dt><a href="#eq-graph-1">Equality 1-1 -- graph</a></dt> | |
825 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
826 <dd>Graph pattern matching matches exact terms, not values</dd> | |
827 <dt><a href="#eq-graph-2">Equality 1-2 -- graph</a></dt> | |
828 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
829 <dd>Graph pattern matching matches exact terms, not values</dd> | |
830 <dt><a href="#eq-graph-3">Equality 1-3 -- graph</a></dt> | |
831 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
832 <dd>Graph pattern matching matches exact terms, not values</dd> | |
833 <dt><a href="#eq-graph-4">Equality 1-4 -- graph</a></dt> | |
834 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
835 <dd>Graph pattern matching matches exact terms, not values</dd> | |
836 <dt><a href="#eq-graph-5">Equality 1-5 -- graph</a></dt> | |
837 <dd><a href="http://www.w3.org/2007/06/19-dawg-minutes.html">Approved</a></dd> | |
838 <dd>Graph pattern matching matches exact terms, not values</dd> | |
839 <dt><a href="#ge-1">Greater-than or equals</a></dt> | |
840 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">Approved</a></dd> | |
841 <dd>>= in FILTER expressions</dd> | |
842 <dt><a href="#le-1">Less-than or equals</a></dt> | |
843 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">Approved</a></dd> | |
844 <dd><= in FILTER expressions</dd> | |
845 <dt><a href="#minus-1">Subtraction</a></dt> | |
846 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">Approved</a></dd> | |
847 <dd>A - B in FILTER expressions</dd> | |
848 <dt><a href="#mul-1">Multiplication</a></dt> | |
849 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">Approved</a></dd> | |
850 <dd>A * B in FILTER expressions</dd> | |
851 <dt><a href="#plus-1">Addition</a></dt> | |
852 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">Approved</a></dd> | |
853 <dd>A + B in FILTER expressions</dd> | |
854 <dt><a href="#unminus-1">Unary Minus</a></dt> | |
855 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">Approved</a></dd> | |
856 <dd>-A in FILTER expressions</dd> | |
857 <dt><a href="#unplus-1">Unary Plusn</a></dt> | |
858 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">Approved</a></dd> | |
859 <dd>+A in FILTER expressions</dd> | |
860 <dt><a href="#dawg-graph-01">graph-01</a></dt> | |
861 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
862 <dd>Data: default graph / Query: default graph</dd> | |
863 <dt><a href="#dawg-graph-02">graph-02</a></dt> | |
864 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
865 <dd>Data: named graph / Query: default graph</dd> | |
866 <dt><a href="#dawg-graph-03">graph-03</a></dt> | |
867 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
868 <dd>Data: named graph / Query: named graph graph</dd> | |
869 <dt><a href="#dawg-graph-04">graph-04</a></dt> | |
870 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
871 <dd>Data: named graph / Query: default graph</dd> | |
872 <dt><a href="#dawg-graph-05">graph-05</a></dt> | |
873 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
874 <dd>Data: default and named / Query: default graph</dd> | |
875 <dt><a href="#dawg-graph-06">graph-06</a></dt> | |
876 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
877 <dd>Data: default and named / Query: named graph</dd> | |
878 <dt><a href="#dawg-graph-07">graph-07</a></dt> | |
879 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
880 <dd>Data: default and named / Query: all data by UNION</dd> | |
881 <dt><a href="#dawg-graph-08">graph-08</a></dt> | |
882 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
883 <dd>Data: default and named / Query: common subjects</dd> | |
884 <dt><a href="#dawg-graph-09">graph-09</a></dt> | |
885 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
886 <dd>Data: default and named (bnodes) / Query: common subjects</dd> | |
887 <dt><a href="#dawg-graph-10">graph-10</a></dt> | |
888 <dd>Data: default and named (same data, with bnodes) / Query: common subjects</dd> | |
889 <dt><a href="#dawg-graph-10b">graph-10b</a></dt> | |
890 <dd><a href="http://www.w3.org/2007/10/09-dawg-minutes.html">Approved</a></dd> | |
891 <dd>Data: default and named (same data, with bnodes) / Query: common subjects</dd> | |
892 <dt><a href="#dawg-graph-11">graph-11</a></dt> | |
893 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
894 <dd>Data: default and named (several) / Query: get everything</dd> | |
895 <dt><a href="#kanji-1">kanji-01</a></dt> | |
896 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
897 <dt><a href="#kanji-2">kanji-02</a></dt> | |
898 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
899 <dt><a href="#normalization-1">normalization-01</a></dt> | |
900 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">Approved</a></dd> | |
901 <dt><a href="#normalization-2">normalization-02</a></dt> | |
902 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
903 <dd>Example 1 from http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JulSep/0096</dd> | |
904 <dt><a href="#normalization-3">normalization-03</a></dt> | |
905 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">Approved</a></dd> | |
906 <dd>Example 2 from http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JulSep/0096</dd> | |
907 <dt><a href="#date-1">date-1</a></dt> | |
908 <dd>Added type : xsd:date '='</dd> | |
909 <dt><a href="#date-2">date-2</a></dt> | |
910 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
911 <dd>Added type : xsd:date '!='</dd> | |
912 <dt><a href="#date-3">date-3</a></dt> | |
913 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
914 <dd>Added type : xsd:date '>'</dd> | |
915 <dt><a href="#date-4">date-4</a></dt> | |
916 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
917 <dd>xsd:date ORDER BY</dd> | |
918 <dt><a href="#open-cmp-01">open-cmp-01</a></dt> | |
919 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
920 <dd>Find things that compare with < or ></dd> | |
921 <dt><a href="#open-cmp-02">open-cmp-02</a></dt> | |
922 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">Approved</a></dd> | |
923 <dd>Find things that compare with <= and ></dd> | |
924 <dt><a href="#open-eq-01">open-eq-01</a></dt> | |
925 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
926 <dd>graph match - no lexical form in data (assumes no value matching)</dd> | |
927 <dt><a href="#open-eq-02">open-eq-02</a></dt> | |
928 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
929 <dd>graph match - unknown type</dd> | |
930 <dt><a href="#open-eq-03">open-eq-03</a></dt> | |
931 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
932 <dd>Filter(?v=1)</dd> | |
933 <dt><a href="#open-eq-04">open-eq-04</a></dt> | |
934 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
935 <dd>Filter(?v!=1)</dd> | |
936 <dt><a href="#open-eq-05">open-eq-05</a></dt> | |
937 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
938 <dd>FILTER(?v = unknown type)</dd> | |
939 <dt><a href="#open-eq-06">open-eq-06</a></dt> | |
940 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
941 <dd>FILTER(?v != unknown type)</dd> | |
942 <dt><a href="#open-eq-07">open-eq-07</a></dt> | |
943 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
944 <dd>Test of '=' </dd> | |
945 <dt><a href="#open-eq-08">open-eq-08</a></dt> | |
946 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
947 <dd>Test of '!='</dd> | |
948 <dt><a href="#open-eq-09">open-eq-09</a></dt> | |
949 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
950 <dd>Test of '='</dd> | |
951 <dt><a href="#open-eq-10">open-eq-10</a></dt> | |
952 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
953 <dd>Test of '!='</dd> | |
954 <dt><a href="#open-eq-11">open-eq-11</a></dt> | |
955 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
956 <dd>test of '=' || '!='</dd> | |
957 <dt><a href="#open-eq-12">open-eq-12</a></dt> | |
958 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
959 <dd>find pairs that don't value-compare</dd> | |
960 <dt><a href="#dawg-optional-filter-001">OPTIONAL-FILTER</a></dt> | |
961 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
962 <dd>FILTER inside an OPTIONAL does not block an entire solution</dd> | |
963 <dt><a href="#dawg-optional-filter-002">OPTIONAL - Outer FILTER</a></dt> | |
964 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
965 <dd>FILTER outside an OPTIONAL tests bound and unbound variables</dd> | |
966 <dt><a href="#dawg-optional-filter-003">OPTIONAL - Outer FILTER with BOUND</a></dt> | |
967 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">Approved</a></dd> | |
968 <dd>Use !bound to only run outer FILTERs against variables bound in an OPTIONAL</dd> | |
969 <dt><a href="#dawg-optional-filter-004">OPTIONAL - Inner FILTER with negative EBV for outer variables</a></dt> | |
970 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007OctDec/att-0006/02-dawg-minutes.html">Approved</a></dd> | |
971 <dd>FILTER inside an OPTIONAL does not corrupt the entire solution</dd> | |
972 <dt><a href="#dawg-optional-filter-005-not-simplified">dawg-optional-filter-005-not-simplified</a></dt> | |
973 <dd>Double curly braces do NOT get simplified to single curly braces early on, before filters are scoped</dd> | |
974 <dt><a href="#dawg-optional-filter-005-simplified">dawg-optional-filter-005-simplified</a></dt> | |
975 <dd>Double curly braces get simplified to single curly braces early on, before filters are scoped</dd> | |
976 <dt><a href="#dawg-optional-001">One optional clause</a></dt> | |
977 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">Approved</a></dd> | |
978 <dd>One optional clause</dd> | |
979 <dt><a href="#dawg-optional-002">Two optional clauses</a></dt> | |
980 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">Approved</a></dd> | |
981 <dd>One optional clause</dd> | |
982 <dt><a href="#dawg-optional-complex-1">Complex optional semantics: 1</a></dt> | |
983 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html">Approved</a></dd> | |
984 <dd>Complex optional: LeftJoin(LeftJoin(BGP(..),{..}),Join(BGP(..),Union(..,..)))</dd> | |
985 <dt><a href="#dawg-optional-complex-2">Complex optional semantics: 2</a></dt> | |
986 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html">Approved</a></dd> | |
987 <dd>Complex optional: LeftJoin(Join(BGP(..),Graph(var,{..})),Union(..,..))</dd> | |
988 <dt><a href="#dawg-optional-complex-3">Complex optional semantics: 3</a></dt> | |
989 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html">Approved</a></dd> | |
990 <dd>Complex optional: LeftJoin(Join(BGP(..),Graph(var,{..})),LeftJoin(BGP(..),{..}))</dd> | |
991 <dt><a href="#dawg-optional-complex-4">Complex optional semantics: 4</a></dt> | |
992 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html">Approved</a></dd> | |
993 <dd>Complex optional: LeftJoin(Join(BGP(..),Union(..,..)),Join(BGP(..),Graph(varOrIRI,{..})))</dd> | |
994 <dt><a href="#dawg-union-001">Union is not optional</a></dt> | |
995 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">Approved</a></dd> | |
996 <dd>Union is not optional</dd> | |
997 <dt><a href="#dawg-regex-001">regex-query-001</a></dt> | |
998 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0029.html">Approved</a></dd> | |
999 <dd>Simple unanchored match test</dd> | |
1000 <dt><a href="#dawg-regex-002">regex-query-002</a></dt> | |
1001 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0029.html">Approved</a></dd> | |
1002 <dd>Case insensitive unanchored match test</dd> | |
1003 <dt><a href="#dawg-regex-003">regex-query-003</a></dt> | |
1004 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0029.html">Approved</a></dd> | |
1005 <dd>Use/mention test</dd> | |
1006 <dt><a href="#dawg-regex-004">regex-query-004</a></dt> | |
1007 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0029.html">Approved</a></dd> | |
1008 <dd>str()+URI test</dd> | |
1009 <dt><a href="#limit-1">Limit 1</a></dt> | |
1010 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">Approved</a></dd> | |
1011 <dt><a href="#limit-2">Limit 2</a></dt> | |
1012 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">Approved</a></dd> | |
1013 <dt><a href="#limit-3">Limit 3</a></dt> | |
1014 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">Approved</a></dd> | |
1015 <dt><a href="#limit-4">Limit 4</a></dt> | |
1016 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">Approved</a></dd> | |
1017 <dt><a href="#offset-1">Offset 1</a></dt> | |
1018 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">Approved</a></dd> | |
1019 <dt><a href="#offset-2">Offset 2</a></dt> | |
1020 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">Approved</a></dd> | |
1021 <dt><a href="#offset-3">Offset 3</a></dt> | |
1022 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">Approved</a></dd> | |
1023 <dt><a href="#offset-4">Offset 4</a></dt> | |
1024 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">Approved</a></dd> | |
1025 <dt><a href="#slice-1">Slice 1</a></dt> | |
1026 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">Approved</a></dd> | |
1027 <dt><a href="#slice-2">Slice 2</a></dt> | |
1028 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">Approved</a></dd> | |
1029 <dt><a href="#slice-3">Slice 3</a></dt> | |
1030 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">Approved</a></dd> | |
1031 <dt><a href="#slice-4">Slice 4</a></dt> | |
1032 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">Approved</a></dd> | |
1033 <dt><a href="#slice-5">Slice 5</a></dt> | |
1034 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">Approved</a></dd> | |
1035 <dt><a href="#dawg-sort-1">sort-1</a></dt> | |
1036 <dd><a href="http://www.w3.org/2007/06/26-dawg-minutes">Approved</a></dd> | |
1037 <dd>Alphabetic sort (ascending) on untyped literals</dd> | |
1038 <dt><a href="#dawg-sort-10">sort-10</a></dt> | |
1039 <dd><a href="http://www.w3.org/2007/06/26-dawg-minutes">Approved</a></dd> | |
1040 <dd>Alphabetic sort (descending) on datatyped (string) literals</dd> | |
1041 <dt><a href="#dawg-sort-2">sort-2</a></dt> | |
1042 <dd><a href="http://www.w3.org/2007/06/26-dawg-minutes">Approved</a></dd> | |
1043 <dd>Alphabetic sort (descending) on untyped literals</dd> | |
1044 <dt><a href="#dawg-sort-3">sort-3</a></dt> | |
1045 <dd><a href="http://www.w3.org/2007/06/26-dawg-minutes">Approved</a></dd> | |
1046 <dd>Sort on (possibly unbound) URIs</dd> | |
1047 <dt><a href="#dawg-sort-4">sort-4</a></dt> | |
1048 <dd><a href="http://www.w3.org/2007/06/26-dawg-minutes">Approved</a></dd> | |
1049 <dd>Sort on datatyped (integer) literals</dd> | |
1050 <dt><a href="#dawg-sort-5">sort-5</a></dt> | |
1051 <dd><a href="http://www.w3.org/2007/06/26-dawg-minutes">Approved</a></dd> | |
1052 <dd>Sort first on untyped literals (ascending), then on datatyped (integer) literals (descending</dd> | |
1053 <dt><a href="#dawg-sort-6">sort-6</a></dt> | |
1054 <dd><a href="http://www.w3.org/2007/06/26-dawg-minutes">Approved</a></dd> | |
1055 <dd>Sort on mixed result of uris and literals.</dd> | |
1056 <dt><a href="#dawg-sort-7">sort-7</a></dt> | |
1057 <dd><a href="http://www.w3.org/2007/06/26-dawg-minutes">Approved</a></dd> | |
1058 <dd>Sort on comparable mixed typed literals (integer and float)</dd> | |
1059 <dt><a href="#dawg-sort-8">sort-8</a></dt> | |
1060 <dd><a href="http://www.w3.org/2007/06/26-dawg-minutes">Approved</a></dd> | |
1061 <dd>Sort on several mixed values (bnode, uri, literal)</dd> | |
1062 <dt><a href="#dawg-sort-9">sort-9</a></dt> | |
1063 <dd><a href="http://www.w3.org/2007/06/26-dawg-minutes">Approved</a></dd> | |
1064 <dd>Alphabetic sort (ascending) on datatyped (string) literals</dd> | |
1065 <dt><a href="#dawg-sort-builtin">Builtin sort</a></dt> | |
1066 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html">Approved</a></dd> | |
1067 <dd>Sort by a builtin operator</dd> | |
1068 <dt><a href="#dawg-sort-function">Function sort</a></dt> | |
1069 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html">Approved</a></dd> | |
1070 <dd>Sort by function invocation</dd> | |
1071 <dt><a href="#dawg-sort-numbers">Expression sort</a></dt> | |
1072 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html">Approved</a></dd> | |
1073 <dd>Sort by a bracketted expression</dd> | |
1074 <dt><a href="#dawg-triple-pattern-001">dawg-triple-pattern-001</a></dt> | |
1075 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0358">Approved</a></dd> | |
1076 <dd>Simple triple match</dd> | |
1077 <dt><a href="#dawg-triple-pattern-002">dawg-triple-pattern-002</a></dt> | |
1078 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0358">Approved</a></dd> | |
1079 <dd>Simple triple match</dd> | |
1080 <dt><a href="#dawg-triple-pattern-003">dawg-triple-pattern-003</a></dt> | |
1081 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0358">Approved</a></dd> | |
1082 <dd>Simple triple match - repeated variable</dd> | |
1083 <dt><a href="#dawg-triple-pattern-004">dawg-triple-pattern-004</a></dt> | |
1084 <dd><a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0358">Approved</a></dd> | |
1085 <dd>Simple triple match - two triples, common variable</dd> | |
1086 <dt><a href="#type-promotion-01">tP-double-double</a></dt> | |
1087 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1088 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1089 <dt><a href="#type-promotion-02">tP-double-float</a></dt> | |
1090 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1091 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1092 <dt><a href="#type-promotion-03">tP-double-decimal</a></dt> | |
1093 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1094 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1095 <dt><a href="#type-promotion-04">tP-float-float</a></dt> | |
1096 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1097 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1098 <dt><a href="#type-promotion-05">tP-float-decimal</a></dt> | |
1099 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1100 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1101 <dt><a href="#type-promotion-06">tP-decimal-decimal</a></dt> | |
1102 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1103 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1104 <dt><a href="#type-promotion-07">tP-integer-short</a></dt> | |
1105 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1106 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1107 <dt><a href="#type-promotion-08">tP-nonPositiveInteger-short</a></dt> | |
1108 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1109 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1110 <dt><a href="#type-promotion-09">tP-negativeInteger-short</a></dt> | |
1111 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1112 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1113 <dt><a href="#type-promotion-10">tP-long-short</a></dt> | |
1114 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1115 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1116 <dt><a href="#type-promotion-11">tP-int-short</a></dt> | |
1117 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1118 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1119 <dt><a href="#type-promotion-12">tP-short-short</a></dt> | |
1120 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1121 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1122 <dt><a href="#type-promotion-13">tP-byte-short</a></dt> | |
1123 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1124 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1125 <dt><a href="#type-promotion-14">tP-nonNegativeInteger-short</a></dt> | |
1126 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1127 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1128 <dt><a href="#type-promotion-15">tP-unsignedLong-short</a></dt> | |
1129 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1130 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1131 <dt><a href="#type-promotion-16">tP-unsignedInt-short</a></dt> | |
1132 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1133 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1134 <dt><a href="#type-promotion-17">tP-unsignedShort-short</a></dt> | |
1135 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1136 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1137 <dt><a href="#type-promotion-18">tP-unsignedByte-short</a></dt> | |
1138 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1139 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1140 <dt><a href="#type-promotion-19">tP-positiveInteger-short</a></dt> | |
1141 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1142 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1143 <dt><a href="#type-promotion-20">tP-short-double</a></dt> | |
1144 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1145 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1146 <dt><a href="#type-promotion-21">tP-short-float</a></dt> | |
1147 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1148 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1149 <dt><a href="#type-promotion-22">tP-short-decimal</a></dt> | |
1150 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1151 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1152 <dt><a href="#type-promotion-23">tP-short-short-fail</a></dt> | |
1153 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1154 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1155 <dt><a href="#type-promotion-24">tP-byte-short-fail</a></dt> | |
1156 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1157 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1158 <dt><a href="#type-promotion-25">tP-short-long-fail</a></dt> | |
1159 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1160 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1161 <dt><a href="#type-promotion-26">tP-short-int-fail</a></dt> | |
1162 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1163 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1164 <dt><a href="#type-promotion-27">tP-short-byte-fail</a></dt> | |
1165 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1166 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1167 <dt><a href="#type-promotion-28">tP-double-float-fail</a></dt> | |
1168 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1169 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1170 <dt><a href="#type-promotion-29">tP-double-decimal-fail</a></dt> | |
1171 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1172 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1173 <dt><a href="#type-promotion-30">tP-float-decimal-fail</a></dt> | |
1174 <dd><a href="http://www.w3.org/2007/07/17-dawg-minutes">Approved</a></dd> | |
1175 <dd>Positive test: product of type promotion within the xsd:decimal type tree.</dd> | |
1176 </dl> | |
1177 <hr/> | |
1178 <h2><a name="syntax-basic-01">syntax-basic-01.rq</a></h2> | |
1179 Syntax test | |
1180 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1181 | |
1182 <h3>Query</h3> | |
1183 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-basic-01.rq">data-r2/syntax-sparql1/syntax-basic-01.rq</a><br/> | |
1184 <div class="query"> | |
1185 SELECT * | |
1186 WHERE { } | |
1187 | |
1188 </div> | |
1189 <hr/> | |
1190 <h2><a name="syntax-basic-02">syntax-basic-02.rq</a></h2> | |
1191 Syntax test | |
1192 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1193 | |
1194 <h3>Query</h3> | |
1195 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-basic-02.rq">data-r2/syntax-sparql1/syntax-basic-02.rq</a><br/> | |
1196 <div class="query"> | |
1197 SELECT * {} | |
1198 | |
1199 </div> | |
1200 <hr/> | |
1201 <h2><a name="syntax-basic-03">syntax-basic-03.rq</a></h2> | |
1202 Syntax test | |
1203 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1204 | |
1205 <h3>Query</h3> | |
1206 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-basic-03.rq">data-r2/syntax-sparql1/syntax-basic-03.rq</a><br/> | |
1207 <div class="query"> | |
1208 # No trailing dot | |
1209 PREFIX : <http://example.org/ns#> | |
1210 SELECT * | |
1211 WHERE { ?x ?y ?z } | |
1212 | |
1213 </div> | |
1214 <hr/> | |
1215 <h2><a name="syntax-basic-04">syntax-basic-04.rq</a></h2> | |
1216 Syntax test | |
1217 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1218 | |
1219 <h3>Query</h3> | |
1220 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-basic-04.rq">data-r2/syntax-sparql1/syntax-basic-04.rq</a><br/> | |
1221 <div class="query"> | |
1222 # With trailing dot | |
1223 SELECT * | |
1224 WHERE { ?x ?y ?z . } | |
1225 | |
1226 </div> | |
1227 <hr/> | |
1228 <h2><a name="syntax-basic-05">syntax-basic-05.rq</a></h2> | |
1229 Syntax test | |
1230 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1231 | |
1232 <h3>Query</h3> | |
1233 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-basic-05.rq">data-r2/syntax-sparql1/syntax-basic-05.rq</a><br/> | |
1234 <div class="query"> | |
1235 # Two triples : no trailing dot | |
1236 SELECT * | |
1237 WHERE { ?x ?y ?z . ?a ?b ?c } | |
1238 | |
1239 </div> | |
1240 <hr/> | |
1241 <h2><a name="syntax-basic-06">syntax-basic-06.rq</a></h2> | |
1242 Syntax test | |
1243 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1244 | |
1245 <h3>Query</h3> | |
1246 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-basic-06.rq">data-r2/syntax-sparql1/syntax-basic-06.rq</a><br/> | |
1247 <div class="query"> | |
1248 # Two triples : with trailing dot | |
1249 SELECT * | |
1250 WHERE { ?x ?y ?z . ?a ?b ?c . } | |
1251 | |
1252 </div> | |
1253 <hr/> | |
1254 <h2><a name="syntax-bnodes-01">syntax-bnodes-01.rq</a></h2> | |
1255 Syntax test | |
1256 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1257 | |
1258 <h3>Query</h3> | |
1259 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-bnodes-01.rq">data-r2/syntax-sparql1/syntax-bnodes-01.rq</a><br/> | |
1260 <div class="query"> | |
1261 PREFIX : <http://example.org/ns#> | |
1262 SELECT * WHERE { [:p :q ] } | |
1263 | |
1264 </div> | |
1265 <hr/> | |
1266 <h2><a name="syntax-bnodes-02">syntax-bnodes-02.rq</a></h2> | |
1267 Syntax test | |
1268 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1269 | |
1270 <h3>Query</h3> | |
1271 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-bnodes-02.rq">data-r2/syntax-sparql1/syntax-bnodes-02.rq</a><br/> | |
1272 <div class="query"> | |
1273 PREFIX : <http://example.org/ns#> | |
1274 SELECT * WHERE { [] :p :q } | |
1275 | |
1276 </div> | |
1277 <hr/> | |
1278 <h2><a name="syntax-bnodes-03">syntax-bnodes-03.rq</a></h2> | |
1279 Syntax test | |
1280 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1281 | |
1282 <h3>Query</h3> | |
1283 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-bnodes-03.rq">data-r2/syntax-sparql1/syntax-bnodes-03.rq</a><br/> | |
1284 <div class="query"> | |
1285 PREFIX : <http://example.org/ns#> | |
1286 SELECT * WHERE { [ ?x ?y ] :p [ ?pa ?b ] } | |
1287 | |
1288 </div> | |
1289 <hr/> | |
1290 <h2><a name="syntax-bnodes-04">syntax-bnodes-04.rq</a></h2> | |
1291 Syntax test | |
1292 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1293 | |
1294 <h3>Query</h3> | |
1295 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-bnodes-04.rq">data-r2/syntax-sparql1/syntax-bnodes-04.rq</a><br/> | |
1296 <div class="query"> | |
1297 PREFIX : <http://example.org/ns#> | |
1298 SELECT * | |
1299 WHERE { [ :p :q ; ] } | |
1300 | |
1301 </div> | |
1302 <hr/> | |
1303 <h2><a name="syntax-bnodes-05">syntax-bnodes-05.rq</a></h2> | |
1304 Syntax test | |
1305 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1306 | |
1307 <h3>Query</h3> | |
1308 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-bnodes-05.rq">data-r2/syntax-sparql1/syntax-bnodes-05.rq</a><br/> | |
1309 <div class="query"> | |
1310 PREFIX : <http://example.org/ns#> | |
1311 SELECT * | |
1312 WHERE { _:a :p1 :q1 . | |
1313 _:a :p2 :q2 . | |
1314 } | |
1315 | |
1316 </div> | |
1317 <hr/> | |
1318 <h2><a name="syntax-expr-01">syntax-expr-01.rq</a></h2> | |
1319 Syntax test | |
1320 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1321 | |
1322 <h3>Query</h3> | |
1323 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-expr-01.rq">data-r2/syntax-sparql1/syntax-expr-01.rq</a><br/> | |
1324 <div class="query"> | |
1325 SELECT * | |
1326 WHERE { ?s ?p ?o . FILTER (?o) } | |
1327 | |
1328 </div> | |
1329 <hr/> | |
1330 <h2><a name="syntax-expr-02">syntax-expr-02.rq</a></h2> | |
1331 Syntax test | |
1332 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1333 | |
1334 <h3>Query</h3> | |
1335 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-expr-02.rq">data-r2/syntax-sparql1/syntax-expr-02.rq</a><br/> | |
1336 <div class="query"> | |
1337 SELECT * | |
1338 WHERE { ?s ?p ?o . FILTER REGEX(?o, "foo") } | |
1339 | |
1340 </div> | |
1341 <hr/> | |
1342 <h2><a name="syntax-expr-03">syntax-expr-03.rq</a></h2> | |
1343 Syntax test | |
1344 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1345 | |
1346 <h3>Query</h3> | |
1347 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-expr-03.rq">data-r2/syntax-sparql1/syntax-expr-03.rq</a><br/> | |
1348 <div class="query"> | |
1349 SELECT * | |
1350 WHERE { ?s ?p ?o . FILTER REGEX(?o, "foo", "i") } | |
1351 | |
1352 </div> | |
1353 <hr/> | |
1354 <h2><a name="syntax-expr-04">syntax-expr-04.rq</a></h2> | |
1355 Syntax test | |
1356 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1357 | |
1358 <h3>Query</h3> | |
1359 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-expr-04.rq">data-r2/syntax-sparql1/syntax-expr-04.rq</a><br/> | |
1360 <div class="query"> | |
1361 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
1362 SELECT * | |
1363 WHERE { ?s ?p ?o . FILTER xsd:integer(?o) } | |
1364 | |
1365 </div> | |
1366 <hr/> | |
1367 <h2><a name="syntax-expr-05">syntax-expr-05.rq</a></h2> | |
1368 Syntax test | |
1369 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1370 | |
1371 <h3>Query</h3> | |
1372 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-expr-05.rq">data-r2/syntax-sparql1/syntax-expr-05.rq</a><br/> | |
1373 <div class="query"> | |
1374 PREFIX : <http://example.org/ns#> | |
1375 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
1376 SELECT * | |
1377 WHERE { ?s ?p ?o . FILTER :myFunc(?s,?o) } | |
1378 | |
1379 </div> | |
1380 <hr/> | |
1381 <h2><a name="syntax-forms-01">syntax-forms-01.rq</a></h2> | |
1382 Syntax test | |
1383 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1384 | |
1385 <h3>Query</h3> | |
1386 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-forms-01.rq">data-r2/syntax-sparql1/syntax-forms-01.rq</a><br/> | |
1387 <div class="query"> | |
1388 PREFIX : <http://example.org/ns#> | |
1389 SELECT * WHERE { ( [ ?x ?y ] ) :p ( [ ?pa ?b ] 57 ) } | |
1390 | |
1391 </div> | |
1392 <hr/> | |
1393 <h2><a name="syntax-forms-02">syntax-forms-02.rq</a></h2> | |
1394 Syntax test | |
1395 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1396 | |
1397 <h3>Query</h3> | |
1398 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-forms-02.rq">data-r2/syntax-sparql1/syntax-forms-02.rq</a><br/> | |
1399 <div class="query"> | |
1400 PREFIX : <http://example.org/ns#> | |
1401 SELECT * WHERE { ( [] [] ) } | |
1402 | |
1403 </div> | |
1404 <hr/> | |
1405 <h2><a name="syntax-limit-offset-01">syntax-limit-offset-01.rq</a></h2> | |
1406 Syntax test | |
1407 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1408 | |
1409 <h3>Query</h3> | |
1410 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-limit-offset-01.rq">data-r2/syntax-sparql1/syntax-limit-offset-01.rq</a><br/> | |
1411 <div class="query"> | |
1412 PREFIX : <http://example.org/ns#> | |
1413 SELECT * | |
1414 { ?s ?p ?o } | |
1415 ORDER BY ?o | |
1416 LIMIT 5 | |
1417 | |
1418 </div> | |
1419 <hr/> | |
1420 <h2><a name="syntax-limit-offset-02">syntax-limit-offset-02.rq</a></h2> | |
1421 Syntax test | |
1422 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1423 | |
1424 <h3>Query</h3> | |
1425 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-limit-offset-02.rq">data-r2/syntax-sparql1/syntax-limit-offset-02.rq</a><br/> | |
1426 <div class="query"> | |
1427 # LIMIT and OFFSET can be in either order | |
1428 PREFIX : <http://example.org/ns#> | |
1429 SELECT * | |
1430 { ?s ?p ?o } | |
1431 ORDER BY ?o | |
1432 LIMIT 5 | |
1433 OFFSET 3 | |
1434 | |
1435 </div> | |
1436 <hr/> | |
1437 <h2><a name="syntax-limit-offset-03">syntax-limit-offset-03.rq</a></h2> | |
1438 Syntax test | |
1439 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1440 | |
1441 <h3>Query</h3> | |
1442 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-limit-offset-03.rq">data-r2/syntax-sparql1/syntax-limit-offset-03.rq</a><br/> | |
1443 <div class="query"> | |
1444 # LIMIT and OFFSET can be in either order | |
1445 PREFIX : <http://example.org/ns#> | |
1446 SELECT * | |
1447 { ?s ?p ?o } | |
1448 ORDER BY ?o | |
1449 OFFSET 3 | |
1450 LIMIT 5 | |
1451 | |
1452 </div> | |
1453 <hr/> | |
1454 <h2><a name="syntax-limit-offset-04">syntax-limit-offset-04.rq</a></h2> | |
1455 Syntax test | |
1456 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1457 | |
1458 <h3>Query</h3> | |
1459 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-limit-offset-04.rq">data-r2/syntax-sparql1/syntax-limit-offset-04.rq</a><br/> | |
1460 <div class="query"> | |
1461 PREFIX : <http://example.org/ns#> | |
1462 SELECT * | |
1463 { ?s ?p ?o } | |
1464 ORDER BY ?o | |
1465 OFFSET 3 | |
1466 | |
1467 </div> | |
1468 <hr/> | |
1469 <h2><a name="syntax-lists-01">syntax-lists-01.rq</a></h2> | |
1470 Syntax test | |
1471 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1472 | |
1473 <h3>Query</h3> | |
1474 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lists-01.rq">data-r2/syntax-sparql1/syntax-lists-01.rq</a><br/> | |
1475 <div class="query"> | |
1476 PREFIX : <http://example.org/ns#> | |
1477 SELECT * WHERE { ( ?x ) :p ?z } | |
1478 | |
1479 </div> | |
1480 <hr/> | |
1481 <h2><a name="syntax-lists-02">syntax-lists-02.rq</a></h2> | |
1482 Syntax test | |
1483 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1484 | |
1485 <h3>Query</h3> | |
1486 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lists-02.rq">data-r2/syntax-sparql1/syntax-lists-02.rq</a><br/> | |
1487 <div class="query"> | |
1488 PREFIX : <http://example.org/ns#> | |
1489 SELECT * WHERE { ?x :p ( ?z ) } | |
1490 | |
1491 </div> | |
1492 <hr/> | |
1493 <h2><a name="syntax-lists-03">syntax-lists-03.rq</a></h2> | |
1494 Syntax test | |
1495 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1496 | |
1497 <h3>Query</h3> | |
1498 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lists-03.rq">data-r2/syntax-sparql1/syntax-lists-03.rq</a><br/> | |
1499 <div class="query"> | |
1500 SELECT * WHERE { ( ?z ) } | |
1501 | |
1502 </div> | |
1503 <hr/> | |
1504 <h2><a name="syntax-lists-04">syntax-lists-04.rq</a></h2> | |
1505 Syntax test | |
1506 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1507 | |
1508 <h3>Query</h3> | |
1509 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lists-04.rq">data-r2/syntax-sparql1/syntax-lists-04.rq</a><br/> | |
1510 <div class="query"> | |
1511 SELECT * WHERE { ( ( ?z ) ) } | |
1512 | |
1513 </div> | |
1514 <hr/> | |
1515 <h2><a name="syntax-lists-05">syntax-lists-05.rq</a></h2> | |
1516 Syntax test | |
1517 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1518 | |
1519 <h3>Query</h3> | |
1520 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lists-05.rq">data-r2/syntax-sparql1/syntax-lists-05.rq</a><br/> | |
1521 <div class="query"> | |
1522 SELECT * WHERE { ( ( ) ) } | |
1523 | |
1524 </div> | |
1525 <hr/> | |
1526 <h2><a name="syntax-lit-01">syntax-lit-01.rq</a></h2> | |
1527 Syntax test | |
1528 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1529 | |
1530 <h3>Query</h3> | |
1531 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lit-01.rq">data-r2/syntax-sparql1/syntax-lit-01.rq</a><br/> | |
1532 <div class="query"> | |
1533 BASE <http://example.org/> | |
1534 PREFIX : <#> | |
1535 SELECT * WHERE { :x :p "x" } | |
1536 | |
1537 </div> | |
1538 <hr/> | |
1539 <h2><a name="syntax-lit-02">syntax-lit-02.rq</a></h2> | |
1540 Syntax test | |
1541 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1542 | |
1543 <h3>Query</h3> | |
1544 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lit-02.rq">data-r2/syntax-sparql1/syntax-lit-02.rq</a><br/> | |
1545 <div class="query"> | |
1546 BASE <http://example.org/> | |
1547 PREFIX : <#> | |
1548 SELECT * WHERE { :x :p 'x' } | |
1549 | |
1550 </div> | |
1551 <hr/> | |
1552 <h2><a name="syntax-lit-03">syntax-lit-03.rq</a></h2> | |
1553 Syntax test | |
1554 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1555 | |
1556 <h3>Query</h3> | |
1557 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lit-03.rq">data-r2/syntax-sparql1/syntax-lit-03.rq</a><br/> | |
1558 <div class="query"> | |
1559 BASE <http://example.org/> | |
1560 PREFIX : <#> | |
1561 SELECT * WHERE { :x :p "x\"y'z" } | |
1562 | |
1563 </div> | |
1564 <hr/> | |
1565 <h2><a name="syntax-lit-04">syntax-lit-04.rq</a></h2> | |
1566 Syntax test | |
1567 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1568 | |
1569 <h3>Query</h3> | |
1570 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lit-04.rq">data-r2/syntax-sparql1/syntax-lit-04.rq</a><br/> | |
1571 <div class="query"> | |
1572 BASE <http://example.org/> | |
1573 PREFIX : <#> | |
1574 SELECT * WHERE { :x :p 'x"y\'z' } | |
1575 | |
1576 </div> | |
1577 <hr/> | |
1578 <h2><a name="syntax-lit-05">syntax-lit-05.rq</a></h2> | |
1579 Syntax test | |
1580 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1581 | |
1582 <h3>Query</h3> | |
1583 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lit-05.rq">data-r2/syntax-sparql1/syntax-lit-05.rq</a><br/> | |
1584 <div class="query"> | |
1585 BASE <http://example.org/> | |
1586 PREFIX : <#> | |
1587 SELECT * WHERE { :x :p "x\"" } | |
1588 | |
1589 </div> | |
1590 <hr/> | |
1591 <h2><a name="syntax-lit-06">syntax-lit-06.rq</a></h2> | |
1592 Syntax test | |
1593 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1594 | |
1595 <h3>Query</h3> | |
1596 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lit-06.rq">data-r2/syntax-sparql1/syntax-lit-06.rq</a><br/> | |
1597 <div class="query"> | |
1598 BASE <http://example.org/> | |
1599 PREFIX : <#> | |
1600 SELECT * WHERE { :x :p 'x\'' } | |
1601 | |
1602 </div> | |
1603 <hr/> | |
1604 <h2><a name="syntax-lit-07">syntax-lit-07.rq</a></h2> | |
1605 Syntax test | |
1606 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1607 | |
1608 <h3>Query</h3> | |
1609 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lit-07.rq">data-r2/syntax-sparql1/syntax-lit-07.rq</a><br/> | |
1610 <div class="query"> | |
1611 BASE <http://example.org/> | |
1612 PREFIX : <#> | |
1613 SELECT * WHERE { :x :p 123 } | |
1614 | |
1615 </div> | |
1616 <hr/> | |
1617 <h2><a name="syntax-lit-08">syntax-lit-08.rq</a></h2> | |
1618 Syntax test | |
1619 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1620 | |
1621 <h3>Query</h3> | |
1622 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lit-08.rq">data-r2/syntax-sparql1/syntax-lit-08.rq</a><br/> | |
1623 <div class="query"> | |
1624 BASE <http://example.org/> | |
1625 PREFIX : <#> | |
1626 SELECT * WHERE { :x :p 123. . } | |
1627 | |
1628 </div> | |
1629 <hr/> | |
1630 <h2><a name="syntax-lit-09">syntax-lit-09.rq</a></h2> | |
1631 Syntax test | |
1632 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1633 | |
1634 <h3>Query</h3> | |
1635 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lit-09.rq">data-r2/syntax-sparql1/syntax-lit-09.rq</a><br/> | |
1636 <div class="query"> | |
1637 BASE <http://example.org/> | |
1638 PREFIX : <#> | |
1639 SELECT * WHERE { :x :p """Long | |
1640 "" | |
1641 Literal | |
1642 """ } | |
1643 | |
1644 </div> | |
1645 <hr/> | |
1646 <h2><a name="syntax-lit-10">syntax-lit-10.rq</a></h2> | |
1647 Syntax test | |
1648 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1649 | |
1650 <h3>Query</h3> | |
1651 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lit-10.rq">data-r2/syntax-sparql1/syntax-lit-10.rq</a><br/> | |
1652 <div class="query"> | |
1653 BASE <http://example.org/> | |
1654 PREFIX : <#> | |
1655 SELECT * WHERE { :x :p '''Long | |
1656 '' """ | |
1657 Literal''' } | |
1658 | |
1659 </div> | |
1660 <hr/> | |
1661 <h2><a name="syntax-lit-11">syntax-lit-11.rq</a></h2> | |
1662 Syntax test | |
1663 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1664 | |
1665 <h3>Query</h3> | |
1666 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lit-11.rq">data-r2/syntax-sparql1/syntax-lit-11.rq</a><br/> | |
1667 <div class="query"> | |
1668 BASE <http://example.org/> | |
1669 PREFIX : <#> | |
1670 SELECT * WHERE { :x :p """Long""\"Literal""" } | |
1671 | |
1672 </div> | |
1673 <hr/> | |
1674 <h2><a name="syntax-lit-12">syntax-lit-12.rq</a></h2> | |
1675 Syntax test | |
1676 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1677 | |
1678 <h3>Query</h3> | |
1679 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lit-12.rq">data-r2/syntax-sparql1/syntax-lit-12.rq</a><br/> | |
1680 <div class="query"> | |
1681 BASE <http://example.org/> | |
1682 PREFIX : <#> | |
1683 SELECT * WHERE { :x :p '''Long''\'Literal''' } | |
1684 | |
1685 </div> | |
1686 <hr/> | |
1687 <h2><a name="syntax-lit-13">syntax-lit-13.rq</a></h2> | |
1688 Syntax test | |
1689 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1690 | |
1691 <h3>Query</h3> | |
1692 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lit-13.rq">data-r2/syntax-sparql1/syntax-lit-13.rq</a><br/> | |
1693 <div class="query"> | |
1694 BASE <http://example.org/> | |
1695 PREFIX : <#> | |
1696 SELECT * WHERE { :x :p """Long\"""Literal""" } | |
1697 | |
1698 </div> | |
1699 <hr/> | |
1700 <h2><a name="syntax-lit-14">syntax-lit-14.rq</a></h2> | |
1701 Syntax test | |
1702 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1703 | |
1704 <h3>Query</h3> | |
1705 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lit-14.rq">data-r2/syntax-sparql1/syntax-lit-14.rq</a><br/> | |
1706 <div class="query"> | |
1707 BASE <http://example.org/> | |
1708 PREFIX : <#> | |
1709 SELECT * WHERE { :x :p '''Long\'''Literal''' } | |
1710 | |
1711 </div> | |
1712 <hr/> | |
1713 <h2><a name="syntax-lit-15">syntax-lit-15.rq</a></h2> | |
1714 Syntax test | |
1715 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1716 | |
1717 <h3>Query</h3> | |
1718 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lit-15.rq">data-r2/syntax-sparql1/syntax-lit-15.rq</a><br/> | |
1719 <div class="query"> | |
1720 BASE <http://example.org/> | |
1721 PREFIX : <#> | |
1722 SELECT * WHERE { :x :p '''Long '' Literal''' } | |
1723 | |
1724 </div> | |
1725 <hr/> | |
1726 <h2><a name="syntax-lit-16">syntax-lit-16.rq</a></h2> | |
1727 Syntax test | |
1728 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1729 | |
1730 <h3>Query</h3> | |
1731 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lit-16.rq">data-r2/syntax-sparql1/syntax-lit-16.rq</a><br/> | |
1732 <div class="query"> | |
1733 BASE <http://example.org/> | |
1734 PREFIX : <#> | |
1735 SELECT * WHERE { :x :p '''Long ' Literal''' } | |
1736 | |
1737 </div> | |
1738 <hr/> | |
1739 <h2><a name="syntax-lit-17">syntax-lit-17.rq</a></h2> | |
1740 Syntax test | |
1741 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1742 | |
1743 <h3>Query</h3> | |
1744 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lit-17.rq">data-r2/syntax-sparql1/syntax-lit-17.rq</a><br/> | |
1745 <div class="query"> | |
1746 BASE <http://example.org/> | |
1747 PREFIX : <#> | |
1748 SELECT * WHERE { :x :p '''Long''\\Literal with '\\ single quotes ''' } | |
1749 | |
1750 </div> | |
1751 <hr/> | |
1752 <h2><a name="syntax-lit-18">syntax-lit-18.rq</a></h2> | |
1753 Syntax test | |
1754 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1755 | |
1756 <h3>Query</h3> | |
1757 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lit-18.rq">data-r2/syntax-sparql1/syntax-lit-18.rq</a><br/> | |
1758 <div class="query"> | |
1759 BASE <http://example.org/> | |
1760 PREFIX : <#> | |
1761 SELECT * WHERE { :x :p """Long "" Literal""" } | |
1762 | |
1763 </div> | |
1764 <hr/> | |
1765 <h2><a name="syntax-lit-19">syntax-lit-19.rq</a></h2> | |
1766 Syntax test | |
1767 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1768 | |
1769 <h3>Query</h3> | |
1770 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lit-19.rq">data-r2/syntax-sparql1/syntax-lit-19.rq</a><br/> | |
1771 <div class="query"> | |
1772 BASE <http://example.org/> | |
1773 PREFIX : <#> | |
1774 SELECT * WHERE { :x :p """Long " Literal""" } | |
1775 | |
1776 </div> | |
1777 <hr/> | |
1778 <h2><a name="syntax-lit-20">syntax-lit-20.rq</a></h2> | |
1779 Syntax test | |
1780 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1781 | |
1782 <h3>Query</h3> | |
1783 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-lit-20.rq">data-r2/syntax-sparql1/syntax-lit-20.rq</a><br/> | |
1784 <div class="query"> | |
1785 BASE <http://example.org/> | |
1786 PREFIX : <#> | |
1787 SELECT * WHERE { :x :p """Long""\\Literal with "\\ single quotes""" } | |
1788 | |
1789 </div> | |
1790 <hr/> | |
1791 <h2><a name="syntax-order-01">syntax-order-01.rq</a></h2> | |
1792 Syntax test | |
1793 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1794 | |
1795 <h3>Query</h3> | |
1796 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-order-01.rq">data-r2/syntax-sparql1/syntax-order-01.rq</a><br/> | |
1797 <div class="query"> | |
1798 PREFIX : <http://example.org/ns#> | |
1799 SELECT * | |
1800 { ?s ?p ?o } | |
1801 ORDER BY ?o | |
1802 | |
1803 </div> | |
1804 <hr/> | |
1805 <h2><a name="syntax-order-02">syntax-order-02.rq</a></h2> | |
1806 Syntax test | |
1807 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1808 | |
1809 <h3>Query</h3> | |
1810 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-order-02.rq">data-r2/syntax-sparql1/syntax-order-02.rq</a><br/> | |
1811 <div class="query"> | |
1812 PREFIX : <http://example.org/ns#> | |
1813 SELECT * | |
1814 { ?s ?p ?o } | |
1815 ORDER BY (?o+5) | |
1816 | |
1817 </div> | |
1818 <hr/> | |
1819 <h2><a name="syntax-order-03">syntax-order-03.rq</a></h2> | |
1820 Syntax test | |
1821 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1822 | |
1823 <h3>Query</h3> | |
1824 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-order-03.rq">data-r2/syntax-sparql1/syntax-order-03.rq</a><br/> | |
1825 <div class="query"> | |
1826 PREFIX : <http://example.org/ns#> | |
1827 SELECT * | |
1828 { ?s ?p ?o } | |
1829 ORDER BY ASC(?o) | |
1830 | |
1831 </div> | |
1832 <hr/> | |
1833 <h2><a name="syntax-order-04">syntax-order-04.rq</a></h2> | |
1834 Syntax test | |
1835 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1836 | |
1837 <h3>Query</h3> | |
1838 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-order-04.rq">data-r2/syntax-sparql1/syntax-order-04.rq</a><br/> | |
1839 <div class="query"> | |
1840 PREFIX : <http://example.org/ns#> | |
1841 SELECT * | |
1842 { ?s ?p ?o } | |
1843 ORDER BY DESC(?o) | |
1844 | |
1845 </div> | |
1846 <hr/> | |
1847 <h2><a name="syntax-order-05">syntax-order-05.rq</a></h2> | |
1848 Syntax test | |
1849 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1850 | |
1851 <h3>Query</h3> | |
1852 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-order-05.rq">data-r2/syntax-sparql1/syntax-order-05.rq</a><br/> | |
1853 <div class="query"> | |
1854 PREFIX : <http://example.org/ns#> | |
1855 SELECT * | |
1856 { ?s ?p ?o } | |
1857 ORDER BY DESC(:func(?s, ?o)) | |
1858 | |
1859 </div> | |
1860 <hr/> | |
1861 <h2><a name="syntax-order-06">syntax-order-06.rq</a></h2> | |
1862 Syntax test | |
1863 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1864 | |
1865 <h3>Query</h3> | |
1866 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-order-06.rq">data-r2/syntax-sparql1/syntax-order-06.rq</a><br/> | |
1867 <div class="query"> | |
1868 PREFIX : <http://example.org/ns#> | |
1869 SELECT * | |
1870 { ?s ?p ?o } | |
1871 ORDER BY | |
1872 DESC(?o+57) :func2(?o) ASC(?s) | |
1873 | |
1874 </div> | |
1875 <hr/> | |
1876 <h2><a name="syntax-order-07">syntax-order-07.rq</a></h2> | |
1877 Syntax test | |
1878 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1879 | |
1880 <h3>Query</h3> | |
1881 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-order-07.rq">data-r2/syntax-sparql1/syntax-order-07.rq</a><br/> | |
1882 <div class="query"> | |
1883 PREFIX : <http://example.org/ns#> | |
1884 SELECT * | |
1885 { ?s ?p ?o } | |
1886 ORDER BY str(?o) | |
1887 | |
1888 </div> | |
1889 <hr/> | |
1890 <h2><a name="syntax-pat-01">syntax-pat-01.rq</a></h2> | |
1891 Syntax test | |
1892 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html</a></div> | |
1893 | |
1894 <h3>Query</h3> | |
1895 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-pat-01.rq">data-r2/syntax-sparql1/syntax-pat-01.rq</a><br/> | |
1896 <div class="query"> | |
1897 PREFIX : <http://example.org/ns#> | |
1898 SELECT * | |
1899 { } | |
1900 | |
1901 </div> | |
1902 <hr/> | |
1903 <h2><a name="syntax-pat-02">syntax-pat-02.rq</a></h2> | |
1904 Syntax test | |
1905 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html</a></div> | |
1906 | |
1907 <h3>Query</h3> | |
1908 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-pat-02.rq">data-r2/syntax-sparql1/syntax-pat-02.rq</a><br/> | |
1909 <div class="query"> | |
1910 # No DOT after optional | |
1911 PREFIX : <http://example.org/ns#> | |
1912 SELECT * | |
1913 { ?a :b :c OPTIONAL{:x :y :z} :x ?y ?z } | |
1914 | |
1915 </div> | |
1916 <hr/> | |
1917 <h2><a name="syntax-pat-03">syntax-pat-03.rq</a></h2> | |
1918 Syntax test | |
1919 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html</a></div> | |
1920 | |
1921 <h3>Query</h3> | |
1922 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-pat-03.rq">data-r2/syntax-sparql1/syntax-pat-03.rq</a><br/> | |
1923 <div class="query"> | |
1924 # No DOT between non-triples patterns | |
1925 PREFIX : <http://example.org/ns#> | |
1926 SELECT * | |
1927 { ?a :b :c | |
1928 OPTIONAL{:x :y :z} | |
1929 { :x1 :y1 :z1 } UNION { :x2 :y2 :z2 } | |
1930 } | |
1931 | |
1932 </div> | |
1933 <hr/> | |
1934 <h2><a name="syntax-pat-04">syntax-pat-04.rq</a></h2> | |
1935 Syntax test | |
1936 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html</a></div> | |
1937 | |
1938 <h3>Query</h3> | |
1939 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-pat-04.rq">data-r2/syntax-sparql1/syntax-pat-04.rq</a><br/> | |
1940 <div class="query"> | |
1941 # No DOT between non-triples patterns | |
1942 PREFIX : <http://example.org/ns#> | |
1943 SELECT * | |
1944 { | |
1945 OPTIONAL{:x :y :z} | |
1946 ?a :b :c | |
1947 { :x1 :y1 :z1 } UNION { :x2 :y2 :z2 } | |
1948 } | |
1949 | |
1950 </div> | |
1951 <hr/> | |
1952 <h2><a name="syntax-qname-01">syntax-qname-01.rq</a></h2> | |
1953 Syntax test | |
1954 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1955 | |
1956 <h3>Query</h3> | |
1957 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-qname-01.rq">data-r2/syntax-sparql1/syntax-qname-01.rq</a><br/> | |
1958 <div class="query"> | |
1959 PREFIX : <http://example.org/ns#> | |
1960 SELECT * | |
1961 { ?x :p ?z } | |
1962 | |
1963 </div> | |
1964 <hr/> | |
1965 <h2><a name="syntax-qname-02">syntax-qname-02.rq</a></h2> | |
1966 Syntax test | |
1967 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1968 | |
1969 <h3>Query</h3> | |
1970 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-qname-02.rq">data-r2/syntax-sparql1/syntax-qname-02.rq</a><br/> | |
1971 <div class="query"> | |
1972 PREFIX : <http://example.org/ns#> | |
1973 SELECT * | |
1974 WHERE { :x :p :z . } | |
1975 | |
1976 </div> | |
1977 <hr/> | |
1978 <h2><a name="syntax-qname-03">syntax-qname-03.rq</a></h2> | |
1979 Syntax test | |
1980 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1981 | |
1982 <h3>Query</h3> | |
1983 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-qname-03.rq">data-r2/syntax-sparql1/syntax-qname-03.rq</a><br/> | |
1984 <div class="query"> | |
1985 PREFIX : <http://example.org/ns#> | |
1986 SELECT * | |
1987 WHERE { :_1 :p.rdf :z.z . } | |
1988 | |
1989 </div> | |
1990 <hr/> | |
1991 <h2><a name="syntax-qname-04">syntax-qname-04.rq</a></h2> | |
1992 Syntax test | |
1993 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
1994 | |
1995 <h3>Query</h3> | |
1996 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-qname-04.rq">data-r2/syntax-sparql1/syntax-qname-04.rq</a><br/> | |
1997 <div class="query"> | |
1998 PREFIX : <http://example.org/ns#> | |
1999 PREFIX a: <http://example.org/ns2#> | |
2000 SELECT * | |
2001 WHERE { : a: :a . : : : . } | |
2002 | |
2003 </div> | |
2004 <hr/> | |
2005 <h2><a name="syntax-qname-05">syntax-qname-05.rq</a></h2> | |
2006 Syntax test | |
2007 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2008 | |
2009 <h3>Query</h3> | |
2010 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-qname-05.rq">data-r2/syntax-sparql1/syntax-qname-05.rq</a><br/> | |
2011 <div class="query"> | |
2012 PREFIX : <> | |
2013 SELECT * | |
2014 WHERE { : : : . } | |
2015 | |
2016 </div> | |
2017 <hr/> | |
2018 <h2><a name="syntax-qname-06">syntax-qname-06.rq</a></h2> | |
2019 Syntax test | |
2020 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2021 | |
2022 <h3>Query</h3> | |
2023 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-qname-06.rq">data-r2/syntax-sparql1/syntax-qname-06.rq</a><br/> | |
2024 <div class="query"> | |
2025 PREFIX : <#> | |
2026 SELECT * | |
2027 WHERE { : : : . } | |
2028 | |
2029 </div> | |
2030 <hr/> | |
2031 <h2><a name="syntax-qname-07">syntax-qname-07.rq</a></h2> | |
2032 Syntax test | |
2033 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2034 | |
2035 <h3>Query</h3> | |
2036 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-qname-07.rq">data-r2/syntax-sparql1/syntax-qname-07.rq</a><br/> | |
2037 <div class="query"> | |
2038 BASE <http://example.org/> | |
2039 PREFIX : <#> | |
2040 SELECT * | |
2041 WHERE { : : : . } | |
2042 | |
2043 </div> | |
2044 <hr/> | |
2045 <h2><a name="syntax-qname-08">syntax-qname-08.rq</a></h2> | |
2046 Syntax test | |
2047 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2048 | |
2049 <h3>Query</h3> | |
2050 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-qname-08.rq">data-r2/syntax-sparql1/syntax-qname-08.rq</a><br/> | |
2051 <div class="query"> | |
2052 BASE <http://example.org/> | |
2053 PREFIX : <#> | |
2054 PREFIX x.y: <x#> | |
2055 SELECT * | |
2056 WHERE { :a.b x.y: : . } | |
2057 | |
2058 </div> | |
2059 <hr/> | |
2060 <h2><a name="syntax-struct-01">syntax-struct-01.rq</a></h2> | |
2061 Syntax test | |
2062 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2063 | |
2064 <h3>Query</h3> | |
2065 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-struct-01.rq">data-r2/syntax-sparql1/syntax-struct-01.rq</a><br/> | |
2066 <div class="query"> | |
2067 # Operator | |
2068 PREFIX : <http://example.org/ns#> | |
2069 SELECT * | |
2070 { OPTIONAL { } } | |
2071 | |
2072 </div> | |
2073 <hr/> | |
2074 <h2><a name="syntax-struct-02">syntax-struct-02.rq</a></h2> | |
2075 Syntax test | |
2076 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2077 | |
2078 <h3>Query</h3> | |
2079 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-struct-02.rq">data-r2/syntax-sparql1/syntax-struct-02.rq</a><br/> | |
2080 <div class="query"> | |
2081 # Operator | |
2082 PREFIX : <http://example.org/ns#> | |
2083 SELECT * | |
2084 { OPTIONAL { :a :b :c } } | |
2085 | |
2086 </div> | |
2087 <hr/> | |
2088 <h2><a name="syntax-struct-03">syntax-struct-03.rq</a></h2> | |
2089 Syntax test | |
2090 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2091 | |
2092 <h3>Query</h3> | |
2093 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-struct-03.rq">data-r2/syntax-sparql1/syntax-struct-03.rq</a><br/> | |
2094 <div class="query"> | |
2095 # Triple, no DOT, operator | |
2096 PREFIX : <http://example.org/ns#> | |
2097 SELECT * | |
2098 { :p :q :r OPTIONAL { :a :b :c } } | |
2099 | |
2100 </div> | |
2101 <hr/> | |
2102 <h2><a name="syntax-struct-05">syntax-struct-05.rq</a></h2> | |
2103 Syntax test | |
2104 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2105 | |
2106 <h3>Query</h3> | |
2107 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-struct-05.rq">data-r2/syntax-sparql1/syntax-struct-05.rq</a><br/> | |
2108 <div class="query"> | |
2109 # Triple, DOT, operator | |
2110 PREFIX : <http://example.org/ns#> | |
2111 SELECT * | |
2112 { :p :q :r . OPTIONAL { :a :b :c } } | |
2113 | |
2114 </div> | |
2115 <hr/> | |
2116 <h2><a name="syntax-struct-06">syntax-struct-06.rq</a></h2> | |
2117 Syntax test | |
2118 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2119 | |
2120 <h3>Query</h3> | |
2121 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-struct-06.rq">data-r2/syntax-sparql1/syntax-struct-06.rq</a><br/> | |
2122 <div class="query"> | |
2123 # Triple, DOT, operator, DOT | |
2124 PREFIX : <http://example.org/ns#> | |
2125 SELECT * | |
2126 { :p :q :r . OPTIONAL { :a :b :c } . } | |
2127 | |
2128 </div> | |
2129 <hr/> | |
2130 <h2><a name="syntax-struct-07">syntax-struct-07.rq</a></h2> | |
2131 Syntax test | |
2132 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2133 | |
2134 <h3>Query</h3> | |
2135 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-struct-07.rq">data-r2/syntax-sparql1/syntax-struct-07.rq</a><br/> | |
2136 <div class="query"> | |
2137 # Operator, no DOT | |
2138 PREFIX : <http://example.org/ns#> | |
2139 SELECT * | |
2140 { OPTIONAL { :a :b :c } } | |
2141 | |
2142 </div> | |
2143 <hr/> | |
2144 <h2><a name="syntax-struct-08">syntax-struct-08.rq</a></h2> | |
2145 Syntax test | |
2146 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2147 | |
2148 <h3>Query</h3> | |
2149 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-struct-08.rq">data-r2/syntax-sparql1/syntax-struct-08.rq</a><br/> | |
2150 <div class="query"> | |
2151 # Operator, DOT | |
2152 PREFIX : <http://example.org/ns#> | |
2153 SELECT * | |
2154 { OPTIONAL { :a :b :c } . } | |
2155 | |
2156 </div> | |
2157 <hr/> | |
2158 <h2><a name="syntax-struct-09">syntax-struct-09.rq</a></h2> | |
2159 Syntax test | |
2160 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2161 | |
2162 <h3>Query</h3> | |
2163 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-struct-09.rq">data-r2/syntax-sparql1/syntax-struct-09.rq</a><br/> | |
2164 <div class="query"> | |
2165 # Operator, triple | |
2166 PREFIX : <http://example.org/ns#> | |
2167 SELECT * | |
2168 { OPTIONAL { :a :b :c } ?x ?y ?z } | |
2169 | |
2170 </div> | |
2171 <hr/> | |
2172 <h2><a name="syntax-struct-10">syntax-struct-10.rq</a></h2> | |
2173 Syntax test | |
2174 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2175 | |
2176 <h3>Query</h3> | |
2177 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-struct-10.rq">data-r2/syntax-sparql1/syntax-struct-10.rq</a><br/> | |
2178 <div class="query"> | |
2179 # Operator, DOT triple | |
2180 PREFIX : <http://example.org/ns#> | |
2181 SELECT * | |
2182 { OPTIONAL { :a :b :c } . ?x ?y ?z } | |
2183 | |
2184 </div> | |
2185 <hr/> | |
2186 <h2><a name="syntax-struct-11">syntax-struct-11.rq</a></h2> | |
2187 Syntax test | |
2188 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2189 | |
2190 <h3>Query</h3> | |
2191 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-struct-11.rq">data-r2/syntax-sparql1/syntax-struct-11.rq</a><br/> | |
2192 <div class="query"> | |
2193 # Triple, semi, operator | |
2194 PREFIX : <http://example.org/ns#> | |
2195 SELECT * | |
2196 { :p :q :r ; OPTIONAL { :a :b :c } } | |
2197 | |
2198 </div> | |
2199 <hr/> | |
2200 <h2><a name="syntax-struct-12">syntax-struct-12.rq</a></h2> | |
2201 Syntax test | |
2202 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2203 | |
2204 <h3>Query</h3> | |
2205 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-struct-12.rq">data-r2/syntax-sparql1/syntax-struct-12.rq</a><br/> | |
2206 <div class="query"> | |
2207 # Triple, semi, DOT, operator | |
2208 PREFIX : <http://example.org/ns#> | |
2209 SELECT * | |
2210 { :p :q :r ; . OPTIONAL { :a :b :c } } | |
2211 | |
2212 </div> | |
2213 <hr/> | |
2214 <h2><a name="syntax-struct-13">syntax-struct-13.rq</a></h2> | |
2215 Syntax test | |
2216 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2217 | |
2218 <h3>Query</h3> | |
2219 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-struct-13.rq">data-r2/syntax-sparql1/syntax-struct-13.rq</a><br/> | |
2220 <div class="query"> | |
2221 # Two elements in the group | |
2222 PREFIX : <http://example.org/ns#> | |
2223 SELECT * | |
2224 { :p :q :r . OPTIONAL { :a :b :c } | |
2225 :p :q :r . OPTIONAL { :a :b :c } | |
2226 } | |
2227 | |
2228 </div> | |
2229 <hr/> | |
2230 <h2><a name="syntax-struct-14">syntax-struct-14.rq</a></h2> | |
2231 Syntax test | |
2232 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2233 | |
2234 <h3>Query</h3> | |
2235 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-struct-14.rq">data-r2/syntax-sparql1/syntax-struct-14.rq</a><br/> | |
2236 <div class="query"> | |
2237 # Two elements in the group | |
2238 PREFIX : <http://example.org/ns#> | |
2239 SELECT * | |
2240 { :p :q :r OPTIONAL { :a :b :c } | |
2241 :p :q :r OPTIONAL { :a :b :c } | |
2242 } | |
2243 | |
2244 </div> | |
2245 <hr/> | |
2246 <h2><a name="syntax-union-01">syntax-union-01.rq</a></h2> | |
2247 Syntax test | |
2248 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2249 | |
2250 <h3>Query</h3> | |
2251 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-union-01.rq">data-r2/syntax-sparql1/syntax-union-01.rq</a><br/> | |
2252 <div class="query"> | |
2253 PREFIX : <http://example.org/ns#> | |
2254 SELECT * | |
2255 { | |
2256 { ?s ?p ?o } UNION { ?a ?b ?c } | |
2257 } | |
2258 | |
2259 </div> | |
2260 <hr/> | |
2261 <h2><a name="syntax-union-02">syntax-union-02.rq</a></h2> | |
2262 Syntax test | |
2263 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2264 | |
2265 <h3>Query</h3> | |
2266 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/syntax-union-02.rq">data-r2/syntax-sparql1/syntax-union-02.rq</a><br/> | |
2267 <div class="query"> | |
2268 PREFIX : <http://example.org/ns#> | |
2269 SELECT * | |
2270 { | |
2271 { ?s ?p ?o } UNION { ?a ?b ?c } UNION { ?r ?s ?t } | |
2272 } | |
2273 | |
2274 </div> | |
2275 <hr/> | |
2276 <h2><a name="syntax-bnode-01">syntax-bnode-01.rq</a></h2> | |
2277 Syntax test | |
2278 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2279 | |
2280 <h3>Query</h3> | |
2281 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-bnode-01.rq">data-r2/syntax-sparql2/syntax-bnode-01.rq</a><br/> | |
2282 <div class="query"> | |
2283 PREFIX : <http://example.org/> | |
2284 SELECT * WHERE { [] :p [] } | |
2285 | |
2286 </div> | |
2287 <hr/> | |
2288 <h2><a name="syntax-bnode-02">syntax-bnode-02.rq</a></h2> | |
2289 Syntax test | |
2290 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2291 | |
2292 <h3>Query</h3> | |
2293 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-bnode-02.rq">data-r2/syntax-sparql2/syntax-bnode-02.rq</a><br/> | |
2294 <div class="query"> | |
2295 PREFIX : <http://example.org/> | |
2296 # Tab | |
2297 SELECT * WHERE { [ ] :p [ | |
2298 ] } | |
2299 | |
2300 </div> | |
2301 <hr/> | |
2302 <h2><a name="syntax-bnode-03">syntax-bnode-03.rq</a></h2> | |
2303 Syntax test | |
2304 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2305 | |
2306 <h3>Query</h3> | |
2307 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-bnode-03.rq">data-r2/syntax-sparql2/syntax-bnode-03.rq</a><br/> | |
2308 <div class="query"> | |
2309 PREFIX : <http://example.org/> | |
2310 SELECT * WHERE { [ :p :q | |
2311 ] } | |
2312 | |
2313 </div> | |
2314 <hr/> | |
2315 <h2><a name="syntax-dataset-01">syntax-dataset-01.rq</a></h2> | |
2316 Syntax test | |
2317 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2318 | |
2319 <h3>Query</h3> | |
2320 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-dataset-01.rq">data-r2/syntax-sparql2/syntax-dataset-01.rq</a><br/> | |
2321 <div class="query"> | |
2322 PREFIX : <http://example.org/> | |
2323 SELECT ?x | |
2324 FROM <http://example.org/graph> | |
2325 WHERE {} | |
2326 | |
2327 </div> | |
2328 <hr/> | |
2329 <h2><a name="syntax-dataset-02">syntax-dataset-02.rq</a></h2> | |
2330 Syntax test | |
2331 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2332 | |
2333 <h3>Query</h3> | |
2334 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-dataset-02.rq">data-r2/syntax-sparql2/syntax-dataset-02.rq</a><br/> | |
2335 <div class="query"> | |
2336 PREFIX : <http://example.org/> | |
2337 SELECT ?x | |
2338 FROM NAMED <http://example.org/graph1> | |
2339 WHERE {} | |
2340 | |
2341 </div> | |
2342 <hr/> | |
2343 <h2><a name="syntax-dataset-03">syntax-dataset-03.rq</a></h2> | |
2344 Syntax test | |
2345 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2346 | |
2347 <h3>Query</h3> | |
2348 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-dataset-03.rq">data-r2/syntax-sparql2/syntax-dataset-03.rq</a><br/> | |
2349 <div class="query"> | |
2350 PREFIX : <http://example.org/> | |
2351 SELECT ?x | |
2352 FROM NAMED :graph1 | |
2353 FROM NAMED :graph2 | |
2354 WHERE {} | |
2355 | |
2356 </div> | |
2357 <hr/> | |
2358 <h2><a name="syntax-dataset-04">syntax-dataset-04.rq</a></h2> | |
2359 Syntax test | |
2360 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2361 | |
2362 <h3>Query</h3> | |
2363 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-dataset-04.rq">data-r2/syntax-sparql2/syntax-dataset-04.rq</a><br/> | |
2364 <div class="query"> | |
2365 PREFIX : <http://example.org/> | |
2366 SELECT ?x | |
2367 FROM :g1 | |
2368 FROM :g2 | |
2369 FROM NAMED :graph1 | |
2370 FROM NAMED :graph2 | |
2371 WHERE {} | |
2372 | |
2373 </div> | |
2374 <hr/> | |
2375 <h2><a name="syntax-esc-01">syntax-esc-01.rq</a></h2> | |
2376 Syntax test | |
2377 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2378 | |
2379 <h3>Query</h3> | |
2380 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-esc-01.rq">data-r2/syntax-sparql2/syntax-esc-01.rq</a><br/> | |
2381 <div class="query"> | |
2382 SELECT * | |
2383 WHERE { <x> <p> "\t" } | |
2384 | |
2385 </div> | |
2386 <hr/> | |
2387 <h2><a name="syntax-esc-02">syntax-esc-02.rq</a></h2> | |
2388 Syntax test | |
2389 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2390 | |
2391 <h3>Query</h3> | |
2392 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-esc-02.rq">data-r2/syntax-sparql2/syntax-esc-02.rq</a><br/> | |
2393 <div class="query"> | |
2394 SELECT * | |
2395 WHERE { <x> <p> "x\t" } | |
2396 | |
2397 </div> | |
2398 <hr/> | |
2399 <h2><a name="syntax-esc-03">syntax-esc-03.rq</a></h2> | |
2400 Syntax test | |
2401 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2402 | |
2403 <h3>Query</h3> | |
2404 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-esc-03.rq">data-r2/syntax-sparql2/syntax-esc-03.rq</a><br/> | |
2405 <div class="query"> | |
2406 SELECT * | |
2407 WHERE { <x> <p> "\tx" } | |
2408 | |
2409 </div> | |
2410 <hr/> | |
2411 <h2><a name="syntax-esc-04">syntax-esc-04.rq</a></h2> | |
2412 Syntax test | |
2413 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2414 | |
2415 <h3>Query</h3> | |
2416 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-esc-04.rq">data-r2/syntax-sparql2/syntax-esc-04.rq</a><br/> | |
2417 <div class="query"> | |
2418 PREFIX : <http://example/> | |
2419 SELECT * | |
2420 WHERE { <\u0078> :\u0070 ?xx\u0078 } | |
2421 | |
2422 </div> | |
2423 <hr/> | |
2424 <h2><a name="syntax-esc-05">syntax-esc-05.rq</a></h2> | |
2425 Syntax test | |
2426 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2427 | |
2428 <h3>Query</h3> | |
2429 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-esc-05.rq">data-r2/syntax-sparql2/syntax-esc-05.rq</a><br/> | |
2430 <div class="query"> | |
2431 PREFIX : <http://example/> | |
2432 SELECT * | |
2433 # Comments can contain \ u | |
2434 # <\u0078> :\u0070 ?xx\u0078 | |
2435 WHERE { <\u0078> :\u0070 ?xx\u0078 } | |
2436 | |
2437 </div> | |
2438 <hr/> | |
2439 <h2><a name="syntax-form-ask-02">syntax-form-ask-02.rq</a></h2> | |
2440 Syntax test | |
2441 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2442 | |
2443 <h3>Query</h3> | |
2444 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-form-ask-02.rq">data-r2/syntax-sparql2/syntax-form-ask-02.rq</a><br/> | |
2445 <div class="query"> | |
2446 ASK {} | |
2447 | |
2448 </div> | |
2449 <hr/> | |
2450 <h2><a name="syntax-form-construct01">syntax-form-construct01.rq</a></h2> | |
2451 Syntax test | |
2452 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2453 | |
2454 <h3>Query</h3> | |
2455 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-form-construct01.rq">data-r2/syntax-sparql2/syntax-form-construct01.rq</a><br/> | |
2456 <div class="query"> | |
2457 CONSTRUCT { ?s <p1> <o> . ?s <p2> ?o } WHERE {?s ?p ?o} | |
2458 | |
2459 </div> | |
2460 <hr/> | |
2461 <h2><a name="syntax-form-construct02">syntax-form-construct02.rq</a></h2> | |
2462 Syntax test | |
2463 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2464 | |
2465 <h3>Query</h3> | |
2466 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-form-construct02.rq">data-r2/syntax-sparql2/syntax-form-construct02.rq</a><br/> | |
2467 <div class="query"> | |
2468 CONSTRUCT { ?s <p1> <o> . ?s <p2> ?o .} WHERE {?s ?p ?o} | |
2469 | |
2470 </div> | |
2471 <hr/> | |
2472 <h2><a name="syntax-form-construct03">syntax-form-construct03.rq</a></h2> | |
2473 Syntax test | |
2474 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2475 | |
2476 <h3>Query</h3> | |
2477 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-form-construct03.rq">data-r2/syntax-sparql2/syntax-form-construct03.rq</a><br/> | |
2478 <div class="query"> | |
2479 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
2480 CONSTRUCT { [] rdf:subject ?s ; | |
2481 rdf:predicate ?p ; | |
2482 rdf:object ?o } | |
2483 WHERE {?s ?p ?o} | |
2484 | |
2485 </div> | |
2486 <hr/> | |
2487 <h2><a name="syntax-form-construct04">syntax-form-construct04.rq</a></h2> | |
2488 Syntax test | |
2489 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2490 | |
2491 <h3>Query</h3> | |
2492 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-form-construct04.rq">data-r2/syntax-sparql2/syntax-form-construct04.rq</a><br/> | |
2493 <div class="query"> | |
2494 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
2495 CONSTRUCT { [] rdf:subject ?s ; | |
2496 rdf:predicate ?p ; | |
2497 rdf:object ?o . } | |
2498 WHERE {?s ?p ?o} | |
2499 | |
2500 </div> | |
2501 <hr/> | |
2502 <h2><a name="syntax-form-construct06">syntax-form-construct06.rq</a></h2> | |
2503 Syntax test | |
2504 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2505 | |
2506 <h3>Query</h3> | |
2507 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-form-construct06.rq">data-r2/syntax-sparql2/syntax-form-construct06.rq</a><br/> | |
2508 <div class="query"> | |
2509 CONSTRUCT {} WHERE {} | |
2510 | |
2511 </div> | |
2512 <hr/> | |
2513 <h2><a name="syntax-form-describe01">syntax-form-describe01.rq</a></h2> | |
2514 Syntax test | |
2515 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2516 | |
2517 <h3>Query</h3> | |
2518 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-form-describe01.rq">data-r2/syntax-sparql2/syntax-form-describe01.rq</a><br/> | |
2519 <div class="query"> | |
2520 DESCRIBE <u> | |
2521 | |
2522 </div> | |
2523 <hr/> | |
2524 <h2><a name="syntax-form-describe02">syntax-form-describe02.rq</a></h2> | |
2525 Syntax test | |
2526 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2527 | |
2528 <h3>Query</h3> | |
2529 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-form-describe02.rq">data-r2/syntax-sparql2/syntax-form-describe02.rq</a><br/> | |
2530 <div class="query"> | |
2531 DESCRIBE <u> ?u WHERE { <x> <q> ?u . } | |
2532 | |
2533 </div> | |
2534 <hr/> | |
2535 <h2><a name="syntax-form-select-01">syntax-form-select-01.rq</a></h2> | |
2536 Syntax test | |
2537 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2538 | |
2539 <h3>Query</h3> | |
2540 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-form-select-01.rq">data-r2/syntax-sparql2/syntax-form-select-01.rq</a><br/> | |
2541 <div class="query"> | |
2542 SELECT * WHERE { } | |
2543 | |
2544 </div> | |
2545 <hr/> | |
2546 <h2><a name="syntax-form-select-02">syntax-form-select-02.rq</a></h2> | |
2547 Syntax test | |
2548 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2549 | |
2550 <h3>Query</h3> | |
2551 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-form-select-02.rq">data-r2/syntax-sparql2/syntax-form-select-02.rq</a><br/> | |
2552 <div class="query"> | |
2553 SELECT * { } | |
2554 | |
2555 </div> | |
2556 <hr/> | |
2557 <h2><a name="syntax-function-01">syntax-function-01.rq</a></h2> | |
2558 Syntax test | |
2559 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2560 | |
2561 <h3>Query</h3> | |
2562 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-function-01.rq">data-r2/syntax-sparql2/syntax-function-01.rq</a><br/> | |
2563 <div class="query"> | |
2564 PREFIX q: <http://example.org/> | |
2565 SELECT * WHERE { FILTER (q:name()) } | |
2566 | |
2567 </div> | |
2568 <hr/> | |
2569 <h2><a name="syntax-function-02">syntax-function-02.rq</a></h2> | |
2570 Syntax test | |
2571 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2572 | |
2573 <h3>Query</h3> | |
2574 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-function-02.rq">data-r2/syntax-sparql2/syntax-function-02.rq</a><br/> | |
2575 <div class="query"> | |
2576 PREFIX q: <http://example.org/> | |
2577 SELECT * WHERE { FILTER (q:name( )) } | |
2578 | |
2579 </div> | |
2580 <hr/> | |
2581 <h2><a name="syntax-function-03">syntax-function-03.rq</a></h2> | |
2582 Syntax test | |
2583 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2584 | |
2585 <h3>Query</h3> | |
2586 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-function-03.rq">data-r2/syntax-sparql2/syntax-function-03.rq</a><br/> | |
2587 <div class="query"> | |
2588 PREFIX q: <http://example.org/> | |
2589 SELECT * WHERE { FILTER (q:name( | |
2590 )) } | |
2591 | |
2592 </div> | |
2593 <hr/> | |
2594 <h2><a name="syntax-function-04">syntax-function-04.rq</a></h2> | |
2595 Syntax test | |
2596 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2597 | |
2598 <h3>Query</h3> | |
2599 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-function-04.rq">data-r2/syntax-sparql2/syntax-function-04.rq</a><br/> | |
2600 <div class="query"> | |
2601 PREFIX q: <http://example.org/> | |
2602 SELECT * WHERE { FILTER (q:name(1 | |
2603 )) . FILTER (q:name(1,2)) . FILTER (q:name(1 | |
2604 ,2))} | |
2605 | |
2606 </div> | |
2607 <hr/> | |
2608 <h2><a name="syntax-general-01">syntax-general-01.rq</a></h2> | |
2609 Syntax test | |
2610 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2611 | |
2612 <h3>Query</h3> | |
2613 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-general-01.rq">data-r2/syntax-sparql2/syntax-general-01.rq</a><br/> | |
2614 <div class="query"> | |
2615 SELECT * WHERE { <a><b><c> } | |
2616 | |
2617 </div> | |
2618 <hr/> | |
2619 <h2><a name="syntax-general-02">syntax-general-02.rq</a></h2> | |
2620 Syntax test | |
2621 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2622 | |
2623 <h3>Query</h3> | |
2624 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-general-02.rq">data-r2/syntax-sparql2/syntax-general-02.rq</a><br/> | |
2625 <div class="query"> | |
2626 SELECT * WHERE { <a><b>_:x } | |
2627 | |
2628 </div> | |
2629 <hr/> | |
2630 <h2><a name="syntax-general-03">syntax-general-03.rq</a></h2> | |
2631 Syntax test | |
2632 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2633 | |
2634 <h3>Query</h3> | |
2635 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-general-03.rq">data-r2/syntax-sparql2/syntax-general-03.rq</a><br/> | |
2636 <div class="query"> | |
2637 SELECT * WHERE { <a><b>1 } | |
2638 | |
2639 </div> | |
2640 <hr/> | |
2641 <h2><a name="syntax-general-04">syntax-general-04.rq</a></h2> | |
2642 Syntax test | |
2643 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2644 | |
2645 <h3>Query</h3> | |
2646 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-general-04.rq">data-r2/syntax-sparql2/syntax-general-04.rq</a><br/> | |
2647 <div class="query"> | |
2648 SELECT * WHERE { <a><b>+11 } | |
2649 | |
2650 </div> | |
2651 <hr/> | |
2652 <h2><a name="syntax-general-05">syntax-general-05.rq</a></h2> | |
2653 Syntax test | |
2654 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2655 | |
2656 <h3>Query</h3> | |
2657 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-general-05.rq">data-r2/syntax-sparql2/syntax-general-05.rq</a><br/> | |
2658 <div class="query"> | |
2659 SELECT * WHERE { <a><b>-1 } | |
2660 | |
2661 </div> | |
2662 <hr/> | |
2663 <h2><a name="syntax-general-06">syntax-general-06.rq</a></h2> | |
2664 Syntax test | |
2665 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2666 | |
2667 <h3>Query</h3> | |
2668 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-general-06.rq">data-r2/syntax-sparql2/syntax-general-06.rq</a><br/> | |
2669 <div class="query"> | |
2670 SELECT * WHERE { <a><b>1.0 } | |
2671 | |
2672 </div> | |
2673 <hr/> | |
2674 <h2><a name="syntax-general-07">syntax-general-07.rq</a></h2> | |
2675 Syntax test | |
2676 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2677 | |
2678 <h3>Query</h3> | |
2679 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-general-07.rq">data-r2/syntax-sparql2/syntax-general-07.rq</a><br/> | |
2680 <div class="query"> | |
2681 SELECT * WHERE { <a><b>+1.0 } | |
2682 | |
2683 </div> | |
2684 <hr/> | |
2685 <h2><a name="syntax-general-08">syntax-general-08.rq</a></h2> | |
2686 Syntax test | |
2687 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2688 | |
2689 <h3>Query</h3> | |
2690 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-general-08.rq">data-r2/syntax-sparql2/syntax-general-08.rq</a><br/> | |
2691 <div class="query"> | |
2692 SELECT * WHERE { <a><b>-1.0 } | |
2693 | |
2694 </div> | |
2695 <hr/> | |
2696 <h2><a name="syntax-general-09">syntax-general-09.rq</a></h2> | |
2697 Syntax test | |
2698 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2699 | |
2700 <h3>Query</h3> | |
2701 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-general-09.rq">data-r2/syntax-sparql2/syntax-general-09.rq</a><br/> | |
2702 <div class="query"> | |
2703 SELECT * WHERE { <a><b>1.0e0 } | |
2704 | |
2705 </div> | |
2706 <hr/> | |
2707 <h2><a name="syntax-general-10">syntax-general-10.rq</a></h2> | |
2708 Syntax test | |
2709 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2710 | |
2711 <h3>Query</h3> | |
2712 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-general-10.rq">data-r2/syntax-sparql2/syntax-general-10.rq</a><br/> | |
2713 <div class="query"> | |
2714 SELECT * WHERE { <a><b>+1.0e+1 } | |
2715 | |
2716 </div> | |
2717 <hr/> | |
2718 <h2><a name="syntax-general-11">syntax-general-11.rq</a></h2> | |
2719 Syntax test | |
2720 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2721 | |
2722 <h3>Query</h3> | |
2723 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-general-11.rq">data-r2/syntax-sparql2/syntax-general-11.rq</a><br/> | |
2724 <div class="query"> | |
2725 SELECT * WHERE { <a><b>-1.0e-1 } | |
2726 | |
2727 </div> | |
2728 <hr/> | |
2729 <h2><a name="syntax-general-12">syntax-general-12.rq</a></h2> | |
2730 Syntax test | |
2731 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2732 | |
2733 <h3>Query</h3> | |
2734 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-general-12.rq">data-r2/syntax-sparql2/syntax-general-12.rq</a><br/> | |
2735 <div class="query"> | |
2736 # Legal, if unusual, IRIs | |
2737 SELECT * WHERE { <a> <b> <?z> } | |
2738 | |
2739 </div> | |
2740 <hr/> | |
2741 <h2><a name="syntax-general-13">syntax-general-13.rq</a></h2> | |
2742 Syntax test | |
2743 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2744 | |
2745 <h3>Query</h3> | |
2746 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-general-13.rq">data-r2/syntax-sparql2/syntax-general-13.rq</a><br/> | |
2747 <div class="query"> | |
2748 # Legal, if unusual, IRIs | |
2749 BASE <http://example/page.html> | |
2750 SELECT * WHERE { <a> <b> <#x> } | |
2751 | |
2752 </div> | |
2753 <hr/> | |
2754 <h2><a name="syntax-general-14">syntax-general-14.rq</a></h2> | |
2755 Syntax test | |
2756 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2757 | |
2758 <h3>Query</h3> | |
2759 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-general-14.rq">data-r2/syntax-sparql2/syntax-general-14.rq</a><br/> | |
2760 <div class="query"> | |
2761 # Legal, if unusual, IRIs | |
2762 BASE <http://example/page.html?query> | |
2763 SELECT * WHERE { <a> <b> <&param=value> } | |
2764 | |
2765 </div> | |
2766 <hr/> | |
2767 <h2><a name="syntax-graph-01">syntax-graph-01.rq</a></h2> | |
2768 Syntax test | |
2769 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2770 | |
2771 <h3>Query</h3> | |
2772 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-graph-01.rq">data-r2/syntax-sparql2/syntax-graph-01.rq</a><br/> | |
2773 <div class="query"> | |
2774 PREFIX : <http://example.org/> | |
2775 SELECT * | |
2776 WHERE | |
2777 { | |
2778 GRAPH ?g { } | |
2779 } | |
2780 | |
2781 </div> | |
2782 <hr/> | |
2783 <h2><a name="syntax-graph-02">syntax-graph-02.rq</a></h2> | |
2784 Syntax test | |
2785 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2786 | |
2787 <h3>Query</h3> | |
2788 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-graph-02.rq">data-r2/syntax-sparql2/syntax-graph-02.rq</a><br/> | |
2789 <div class="query"> | |
2790 PREFIX : <http://example.org/> | |
2791 SELECT * | |
2792 WHERE | |
2793 { | |
2794 GRAPH :a { } | |
2795 } | |
2796 | |
2797 </div> | |
2798 <hr/> | |
2799 <h2><a name="syntax-graph-03">syntax-graph-03.rq</a></h2> | |
2800 Syntax test | |
2801 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2802 | |
2803 <h3>Query</h3> | |
2804 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-graph-03.rq">data-r2/syntax-sparql2/syntax-graph-03.rq</a><br/> | |
2805 <div class="query"> | |
2806 PREFIX : <http://example.org/> | |
2807 SELECT * | |
2808 WHERE | |
2809 { | |
2810 GRAPH ?g { :x :b ?a } | |
2811 } | |
2812 | |
2813 </div> | |
2814 <hr/> | |
2815 <h2><a name="syntax-graph-04">syntax-graph-04.rq</a></h2> | |
2816 Syntax test | |
2817 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2818 | |
2819 <h3>Query</h3> | |
2820 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-graph-04.rq">data-r2/syntax-sparql2/syntax-graph-04.rq</a><br/> | |
2821 <div class="query"> | |
2822 PREFIX : <http://example.org/> | |
2823 SELECT * | |
2824 WHERE | |
2825 { | |
2826 :x :p :z | |
2827 GRAPH ?g { :x :b ?a } | |
2828 } | |
2829 | |
2830 </div> | |
2831 <hr/> | |
2832 <h2><a name="syntax-graph-05">syntax-graph-05.rq</a></h2> | |
2833 Syntax test | |
2834 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2835 | |
2836 <h3>Query</h3> | |
2837 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-graph-05.rq">data-r2/syntax-sparql2/syntax-graph-05.rq</a><br/> | |
2838 <div class="query"> | |
2839 PREFIX : <http://example.org/> | |
2840 SELECT * | |
2841 WHERE | |
2842 { | |
2843 :x :p :z | |
2844 GRAPH ?g { :x :b ?a . GRAPH ?g2 { :x :p ?x } } | |
2845 } | |
2846 | |
2847 </div> | |
2848 <hr/> | |
2849 <h2><a name="syntax-keywords-01">syntax-keywords-01.rq</a></h2> | |
2850 Syntax test | |
2851 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2852 | |
2853 <h3>Query</h3> | |
2854 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-keywords-01.rq">data-r2/syntax-sparql2/syntax-keywords-01.rq</a><br/> | |
2855 <div class="query"> | |
2856 # use keyword FILTER as a namespace prefix | |
2857 PREFIX FILTER: <http://example.org/ns#> | |
2858 SELECT * | |
2859 WHERE { ?x FILTER:foo ?z FILTER (?z) } | |
2860 | |
2861 </div> | |
2862 <hr/> | |
2863 <h2><a name="syntax-keywords-02">syntax-keywords-02.rq</a></h2> | |
2864 Syntax test | |
2865 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2866 | |
2867 <h3>Query</h3> | |
2868 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-keywords-02.rq">data-r2/syntax-sparql2/syntax-keywords-02.rq</a><br/> | |
2869 <div class="query"> | |
2870 # use keyword FILTER as a local name | |
2871 PREFIX : <http://example.org/ns#> | |
2872 SELECT * | |
2873 WHERE { ?x :FILTER ?z FILTER (?z) } | |
2874 | |
2875 </div> | |
2876 <hr/> | |
2877 <h2><a name="syntax-keywords-03">syntax-keywords-03.rq</a></h2> | |
2878 Syntax test | |
2879 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2880 | |
2881 <h3>Query</h3> | |
2882 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-keywords-03.rq">data-r2/syntax-sparql2/syntax-keywords-03.rq</a><br/> | |
2883 <div class="query"> | |
2884 # use keyword UNION as a namespace prefix | |
2885 PREFIX UNION: <http://example.org/ns#> | |
2886 SELECT * | |
2887 WHERE { ?x UNION:foo ?z } | |
2888 | |
2889 </div> | |
2890 <hr/> | |
2891 <h2><a name="syntax-lists-01">syntax-lists-01.rq</a></h2> | |
2892 Syntax test | |
2893 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2894 | |
2895 <h3>Query</h3> | |
2896 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-lists-01.rq">data-r2/syntax-sparql2/syntax-lists-01.rq</a><br/> | |
2897 <div class="query"> | |
2898 PREFIX : <http://example.org/> | |
2899 SELECT * WHERE { () :p 1 } | |
2900 | |
2901 </div> | |
2902 <hr/> | |
2903 <h2><a name="syntax-lists-02">syntax-lists-02.rq</a></h2> | |
2904 Syntax test | |
2905 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2906 | |
2907 <h3>Query</h3> | |
2908 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-lists-02.rq">data-r2/syntax-sparql2/syntax-lists-02.rq</a><br/> | |
2909 <div class="query"> | |
2910 PREFIX : <http://example.org/> | |
2911 SELECT * WHERE { ( ) :p 1 } | |
2912 | |
2913 </div> | |
2914 <hr/> | |
2915 <h2><a name="syntax-lists-03">syntax-lists-03.rq</a></h2> | |
2916 Syntax test | |
2917 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2918 | |
2919 <h3>Query</h3> | |
2920 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-lists-03.rq">data-r2/syntax-sparql2/syntax-lists-03.rq</a><br/> | |
2921 <div class="query"> | |
2922 PREFIX : <http://example.org/> | |
2923 SELECT * WHERE { ( | |
2924 ) :p 1 } | |
2925 | |
2926 </div> | |
2927 <hr/> | |
2928 <h2><a name="syntax-lists-04">syntax-lists-04.rq</a></h2> | |
2929 Syntax test | |
2930 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2931 | |
2932 <h3>Query</h3> | |
2933 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-lists-04.rq">data-r2/syntax-sparql2/syntax-lists-04.rq</a><br/> | |
2934 <div class="query"> | |
2935 PREFIX : <http://example.org/> | |
2936 SELECT * WHERE { ( 1 2 | |
2937 ) :p 1 } | |
2938 | |
2939 </div> | |
2940 <hr/> | |
2941 <h2><a name="syntax-lists-05">syntax-lists-05.rq</a></h2> | |
2942 Syntax test | |
2943 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
2944 | |
2945 <h3>Query</h3> | |
2946 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/syntax-lists-05.rq">data-r2/syntax-sparql2/syntax-lists-05.rq</a><br/> | |
2947 <div class="query"> | |
2948 PREFIX : <http://example.org/> | |
2949 SELECT * WHERE { ( 1 2 | |
2950 ) } | |
2951 | |
2952 </div> | |
2953 <hr/> | |
2954 <h2><a name="blabel-cross-filter">syn-blabel-cross-filter</a></h2> | |
2955 Syntax test | |
2956 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0012/2007-04-10-dawg-minutes.html#item06">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0012/2007-04-10-dawg-minutes.html#item06</a></div> | |
2957 | |
2958 <h3>Query</h3> | |
2959 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-blabel-cross-filter.rq">data-r2/syntax-sparql3/syn-blabel-cross-filter.rq</a><br/> | |
2960 <div class="query"> | |
2961 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
2962 # BNode label used across a FILTER. | |
2963 PREFIX : <http://xmlns.com/foaf/0.1/> | |
2964 | |
2965 ASK { _:who :homepage ?homepage | |
2966 FILTER REGEX(?homepage, "^http://example.org/") | |
2967 _:who :schoolHomepage ?schoolPage } | |
2968 | |
2969 </div> | |
2970 <hr/> | |
2971 <h2><a name="blabel-cross-graph-bad">syn-blabel-cross-graph-bad</a></h2> | |
2972 Negative syntax test | |
2973 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0012/2007-04-10-dawg-minutes.html#item06">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0012/2007-04-10-dawg-minutes.html#item06</a></div> | |
2974 | |
2975 <h3>Query</h3> | |
2976 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-blabel-cross-graph-bad.rq">data-r2/syntax-sparql3/syn-blabel-cross-graph-bad.rq</a><br/> | |
2977 <div class="query"> | |
2978 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
2979 # BNode label used across a GRAPH. | |
2980 PREFIX : <http://xmlns.com/foaf/0.1/> | |
2981 | |
2982 ASK { _:who :homepage ?homepage | |
2983 GRAPH ?g { ?someone :made ?homepage } | |
2984 _:who :schoolHomepage ?schoolPage } | |
2985 | |
2986 </div> | |
2987 <hr/> | |
2988 <h2><a name="blabel-cross-optional-bad">syn-blabel-cross-optional-bad</a></h2> | |
2989 Negative syntax test | |
2990 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html</a></div> | |
2991 | |
2992 <h3>Query</h3> | |
2993 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-blabel-cross-optional-bad.rq">data-r2/syntax-sparql3/syn-blabel-cross-optional-bad.rq</a><br/> | |
2994 <div class="query"> | |
2995 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
2996 # BNode label used across an OPTIONAL. | |
2997 # This isn't necessarily a *syntax* test, but references to bnode labels | |
2998 # may not span basic graph patterns. | |
2999 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
3000 | |
3001 ASK { _:who foaf:homepage ?homepage | |
3002 OPTIONAL { ?someone foaf:made ?homepage } | |
3003 _:who foaf:schoolHomepage ?schoolPage } | |
3004 | |
3005 </div> | |
3006 <hr/> | |
3007 <h2><a name="blabel-cross-union-bad">syn-blabel-cross-union-bad</a></h2> | |
3008 Negative syntax test | |
3009 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html</a></div> | |
3010 | |
3011 <h3>Query</h3> | |
3012 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-blabel-cross-union-bad.rq">data-r2/syntax-sparql3/syn-blabel-cross-union-bad.rq</a><br/> | |
3013 <div class="query"> | |
3014 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
3015 # BNode label used across a UNION. | |
3016 # This isn't necessarily a *syntax* test, but references to bnode labels | |
3017 # may not span basic graph patterns. | |
3018 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
3019 | |
3020 ASK { _:who foaf:homepage ?homepage | |
3021 { ?someone foaf:made ?homepage } | |
3022 UNION | |
3023 { ?homepage foaf:maker ?someone } | |
3024 _:who foaf:schoolHomepage ?schoolPage } | |
3025 | |
3026 </div> | |
3027 <hr/> | |
3028 <h2><a name="bnode-dot">syn-bad-bnode-dot.rq</a></h2> | |
3029 Negative syntax test | |
3030 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3031 | |
3032 <h3>Query</h3> | |
3033 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-bnode-dot.rq">data-r2/syntax-sparql3/syn-bad-bnode-dot.rq</a><br/> | |
3034 <div class="query"> | |
3035 # NegativeSyntax/bnode-dot.rq | |
3036 SELECT * WHERE {[] . } | |
3037 | |
3038 </div> | |
3039 <hr/> | |
3040 <h2><a name="bnodes-missing-pvalues-01">syn-bad-bnodes-missing-pvalues-01.rq</a></h2> | |
3041 Negative syntax test | |
3042 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3043 | |
3044 <h3>Query</h3> | |
3045 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-bnodes-missing-pvalues-01.rq">data-r2/syntax-sparql3/syn-bad-bnodes-missing-pvalues-01.rq</a><br/> | |
3046 <div class="query"> | |
3047 # NegativeSyntax/bnodes-missing-pvalues.rq | |
3048 PREFIX : <http://example/ns#> | |
3049 SELECT * WHERE { [,] :p [;] . } | |
3050 | |
3051 </div> | |
3052 <hr/> | |
3053 <h2><a name="bnodes-missing-pvalues-02">syn-bad-bnodes-missing-pvalues-02.rq</a></h2> | |
3054 Negative syntax test | |
3055 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3056 | |
3057 <h3>Query</h3> | |
3058 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-bnodes-missing-pvalues-02.rq">data-r2/syntax-sparql3/syn-bad-bnodes-missing-pvalues-02.rq</a><br/> | |
3059 <div class="query"> | |
3060 # NegativeSyntax/bnodes-missing-pvalues-02.rq | |
3061 SELECT * WHERE {() . [,] . [,;] } | |
3062 | |
3063 </div> | |
3064 <hr/> | |
3065 <h2><a name="empty-optional-01">syn-bad-empty-optional-01.rq</a></h2> | |
3066 Negative syntax test | |
3067 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3068 | |
3069 <h3>Query</h3> | |
3070 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-empty-optional-01.rq">data-r2/syntax-sparql3/syn-bad-empty-optional-01.rq</a><br/> | |
3071 <div class="query"> | |
3072 # NegativeSyntax/empty-optional.rq | |
3073 SELECT * { OPTIONAL FILTER (?x) } | |
3074 | |
3075 </div> | |
3076 <hr/> | |
3077 <h2><a name="empty-optional-02">syn-bad-empty-optional-02.rq</a></h2> | |
3078 Negative syntax test | |
3079 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3080 | |
3081 <h3>Query</h3> | |
3082 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-empty-optional-02.rq">data-r2/syntax-sparql3/syn-bad-empty-optional-02.rq</a><br/> | |
3083 <div class="query"> | |
3084 # NegativeSyntax/empty-optional-02.rq | |
3085 SELECT * { OPTIONAL GRAPH ?v OPTIONAL FILTER (?x) } | |
3086 | |
3087 </div> | |
3088 <hr/> | |
3089 <h2><a name="filter-missing-parens">syn-bad-filter-missing-parens.rq</a></h2> | |
3090 Negative syntax test | |
3091 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3092 | |
3093 <h3>Query</h3> | |
3094 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-filter-missing-parens.rq">data-r2/syntax-sparql3/syn-bad-filter-missing-parens.rq</a><br/> | |
3095 <div class="query"> | |
3096 # NegativeSyntax/filter-missing-parens.rq | |
3097 SELECT * { ?s ?p ?o FILTER ?x } | |
3098 | |
3099 </div> | |
3100 <hr/> | |
3101 <h2><a name="lone-list">syn-bad-lone-list.rq</a></h2> | |
3102 Negative syntax test | |
3103 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3104 | |
3105 <h3>Query</h3> | |
3106 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-lone-list.rq">data-r2/syntax-sparql3/syn-bad-lone-list.rq</a><br/> | |
3107 <div class="query"> | |
3108 # NegativeSyntax/lone-list.rq | |
3109 SELECT * WHERE { () } | |
3110 | |
3111 </div> | |
3112 <hr/> | |
3113 <h2><a name="lone-node">syn-bad-lone-node.rq</a></h2> | |
3114 Negative syntax test | |
3115 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3116 | |
3117 <h3>Query</h3> | |
3118 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-lone-node.rq">data-r2/syntax-sparql3/syn-bad-lone-node.rq</a><br/> | |
3119 <div class="query"> | |
3120 # NegativeSyntax/lone-node.rq | |
3121 SELECT * WHERE {<a>} | |
3122 | |
3123 </div> | |
3124 <hr/> | |
3125 <h2><a name="syn-01">syn-01.rq</a></h2> | |
3126 Syntax test | |
3127 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3128 | |
3129 <h3>Query</h3> | |
3130 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-01.rq">data-r2/syntax-sparql3/syn-01.rq</a><br/> | |
3131 <div class="query"> | |
3132 # Dot after triple | |
3133 SELECT * WHERE | |
3134 { ?s ?p ?o . } | |
3135 | |
3136 </div> | |
3137 <hr/> | |
3138 <h2><a name="syn-02">syn-02.rq</a></h2> | |
3139 Syntax test | |
3140 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3141 | |
3142 <h3>Query</h3> | |
3143 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-02.rq">data-r2/syntax-sparql3/syn-02.rq</a><br/> | |
3144 <div class="query"> | |
3145 # No dot after triple | |
3146 SELECT * WHERE | |
3147 { ?s ?p ?o } | |
3148 | |
3149 </div> | |
3150 <hr/> | |
3151 <h2><a name="syn-03">syn-03.rq</a></h2> | |
3152 Syntax test | |
3153 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3154 | |
3155 <h3>Query</h3> | |
3156 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-03.rq">data-r2/syntax-sparql3/syn-03.rq</a><br/> | |
3157 <div class="query"> | |
3158 SELECT * WHERE | |
3159 { ?s ?p ?o . ?s ?p ?o . } | |
3160 | |
3161 </div> | |
3162 <hr/> | |
3163 <h2><a name="syn-04">syn-04.rq</a></h2> | |
3164 Syntax test | |
3165 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3166 | |
3167 <h3>Query</h3> | |
3168 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-04.rq">data-r2/syntax-sparql3/syn-04.rq</a><br/> | |
3169 <div class="query"> | |
3170 # No dot | |
3171 SELECT * WHERE | |
3172 { ?s ?p ?o . ?s ?p ?o } | |
3173 | |
3174 </div> | |
3175 <hr/> | |
3176 <h2><a name="syn-05">syn-05.rq</a></h2> | |
3177 Syntax test | |
3178 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3179 | |
3180 <h3>Query</h3> | |
3181 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-05.rq">data-r2/syntax-sparql3/syn-05.rq</a><br/> | |
3182 <div class="query"> | |
3183 # DOT after non-triples | |
3184 SELECT * WHERE | |
3185 { FILTER (?o>5) . } | |
3186 | |
3187 </div> | |
3188 <hr/> | |
3189 <h2><a name="syn-06">syn-06.rq</a></h2> | |
3190 Syntax test | |
3191 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3192 | |
3193 <h3>Query</h3> | |
3194 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-06.rq">data-r2/syntax-sparql3/syn-06.rq</a><br/> | |
3195 <div class="query"> | |
3196 # DOT after non-triples | |
3197 SELECT * WHERE | |
3198 { FILTER (?o>5) . ?s ?p ?o } | |
3199 | |
3200 </div> | |
3201 <hr/> | |
3202 <h2><a name="syn-07">syn-07.rq</a></h2> | |
3203 Syntax test | |
3204 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3205 | |
3206 <h3>Query</h3> | |
3207 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-07.rq">data-r2/syntax-sparql3/syn-07.rq</a><br/> | |
3208 <div class="query"> | |
3209 # Trailing ; | |
3210 PREFIX : <http://example/ns#> | |
3211 SELECT * WHERE | |
3212 { :s :p :o ; FILTER(?x) } | |
3213 | |
3214 </div> | |
3215 <hr/> | |
3216 <h2><a name="syn-08">syn-08.rq</a></h2> | |
3217 Syntax test | |
3218 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3219 | |
3220 <h3>Query</h3> | |
3221 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-08.rq">data-r2/syntax-sparql3/syn-08.rq</a><br/> | |
3222 <div class="query"> | |
3223 # Broken ; | |
3224 PREFIX : <http://example/ns#> | |
3225 SELECT * WHERE | |
3226 { :s :p :o ; . } | |
3227 | |
3228 </div> | |
3229 <hr/> | |
3230 <h2><a name="syn-bad-01">syn-bad-01.rq</a></h2> | |
3231 Negative syntax test | |
3232 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3233 | |
3234 <h3>Query</h3> | |
3235 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-01.rq">data-r2/syntax-sparql3/syn-bad-01.rq</a><br/> | |
3236 <div class="query"> | |
3237 # More a test that bad syntax tests work! | |
3238 PREFIX ex: <http://example/ns#> | |
3239 SELECT * | |
3240 | |
3241 </div> | |
3242 <hr/> | |
3243 <h2><a name="syn-bad-02">syn-bad-02.rq</a></h2> | |
3244 Negative syntax test | |
3245 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3246 | |
3247 <h3>Query</h3> | |
3248 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-02.rq">data-r2/syntax-sparql3/syn-bad-02.rq</a><br/> | |
3249 <div class="query"> | |
3250 # Missing DOT, 2 triples | |
3251 PREFIX : <http://example/ns#> | |
3252 SELECT * | |
3253 { :s1 :p1 :o1 :s2 :p2 :o2 . } | |
3254 | |
3255 </div> | |
3256 <hr/> | |
3257 <h2><a name="syn-bad-03">syn-bad-03.rq</a></h2> | |
3258 Negative syntax test | |
3259 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3260 | |
3261 <h3>Query</h3> | |
3262 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-03.rq">data-r2/syntax-sparql3/syn-bad-03.rq</a><br/> | |
3263 <div class="query"> | |
3264 # Missing DOT between triples | |
3265 PREFIX : <http://example/ns#> | |
3266 SELECT * | |
3267 { :s1 :p1 :o1 :s2 :p2 :o2 . } | |
3268 | |
3269 </div> | |
3270 <hr/> | |
3271 <h2><a name="syn-bad-04">syn-bad-04.rq</a></h2> | |
3272 Negative syntax test | |
3273 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3274 | |
3275 <h3>Query</h3> | |
3276 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-04.rq">data-r2/syntax-sparql3/syn-bad-04.rq</a><br/> | |
3277 <div class="query"> | |
3278 # Missing DOT after ; between triples | |
3279 PREFIX : <http://example/ns#> | |
3280 SELECT * | |
3281 { :s1 :p1 :o1 ; :s2 :p2 :o2 . } | |
3282 | |
3283 </div> | |
3284 <hr/> | |
3285 <h2><a name="syn-bad-05">syn-bad-05.rq</a></h2> | |
3286 Negative syntax test | |
3287 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3288 | |
3289 <h3>Query</h3> | |
3290 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-05.rq">data-r2/syntax-sparql3/syn-bad-05.rq</a><br/> | |
3291 <div class="query"> | |
3292 # DOT, no triples | |
3293 SELECT * WHERE | |
3294 { . } | |
3295 | |
3296 </div> | |
3297 <hr/> | |
3298 <h2><a name="syn-bad-06">syn-bad-06.rq</a></h2> | |
3299 Negative syntax test | |
3300 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3301 | |
3302 <h3>Query</h3> | |
3303 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-06.rq">data-r2/syntax-sparql3/syn-bad-06.rq</a><br/> | |
3304 <div class="query"> | |
3305 # DOT, no triples | |
3306 SELECT * WHERE | |
3307 { . . } | |
3308 | |
3309 </div> | |
3310 <hr/> | |
3311 <h2><a name="syn-bad-07">syn-bad-07.rq</a></h2> | |
3312 Negative syntax test | |
3313 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3314 | |
3315 <h3>Query</h3> | |
3316 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-07.rq">data-r2/syntax-sparql3/syn-bad-07.rq</a><br/> | |
3317 <div class="query"> | |
3318 # DOT, then triples | |
3319 SELECT * WHERE | |
3320 { . ?s ?p ?o } | |
3321 | |
3322 </div> | |
3323 <hr/> | |
3324 <h2><a name="syn-bad-08">syn-bad-08.rq</a></h2> | |
3325 Negative syntax test | |
3326 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3327 | |
3328 <h3>Query</h3> | |
3329 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-08.rq">data-r2/syntax-sparql3/syn-bad-08.rq</a><br/> | |
3330 <div class="query"> | |
3331 # Multiple DOTs | |
3332 SELECT * WHERE | |
3333 { ?s ?p ?o . . } | |
3334 | |
3335 </div> | |
3336 <hr/> | |
3337 <h2><a name="syn-bad-09">syn-bad-09.rq</a></h2> | |
3338 Negative syntax test | |
3339 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3340 | |
3341 <h3>Query</h3> | |
3342 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-09.rq">data-r2/syntax-sparql3/syn-bad-09.rq</a><br/> | |
3343 <div class="query"> | |
3344 # Multiple DOTs | |
3345 SELECT * WHERE | |
3346 { ?s ?p ?o .. } | |
3347 | |
3348 </div> | |
3349 <hr/> | |
3350 <h2><a name="syn-bad-10">syn-bad-10.rq</a></h2> | |
3351 Negative syntax test | |
3352 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3353 | |
3354 <h3>Query</h3> | |
3355 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-10.rq">data-r2/syntax-sparql3/syn-bad-10.rq</a><br/> | |
3356 <div class="query"> | |
3357 # Multiple DOTs | |
3358 SELECT * WHERE | |
3359 { ?s ?p ?o . . ?s1 ?p1 ?o1 } | |
3360 | |
3361 </div> | |
3362 <hr/> | |
3363 <h2><a name="syn-bad-11">syn-bad-11.rq</a></h2> | |
3364 Negative syntax test | |
3365 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3366 | |
3367 <h3>Query</h3> | |
3368 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-11.rq">data-r2/syntax-sparql3/syn-bad-11.rq</a><br/> | |
3369 <div class="query"> | |
3370 # Multiple DOTs | |
3371 SELECT * WHERE | |
3372 { ?s ?p ?o .. ?s1 ?p1 ?o1 } | |
3373 | |
3374 </div> | |
3375 <hr/> | |
3376 <h2><a name="syn-bad-12">syn-bad-12.rq</a></h2> | |
3377 Negative syntax test | |
3378 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3379 | |
3380 <h3>Query</h3> | |
3381 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-12.rq">data-r2/syntax-sparql3/syn-bad-12.rq</a><br/> | |
3382 <div class="query"> | |
3383 # Multiple DOTs | |
3384 SELECT * WHERE | |
3385 { ?s ?p ?o . . ?s1 ?p1 ?o1 } | |
3386 | |
3387 </div> | |
3388 <hr/> | |
3389 <h2><a name="syn-bad-13">syn-bad-13.rq</a></h2> | |
3390 Negative syntax test | |
3391 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3392 | |
3393 <h3>Query</h3> | |
3394 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-13.rq">data-r2/syntax-sparql3/syn-bad-13.rq</a><br/> | |
3395 <div class="query"> | |
3396 # Multiple DOTs | |
3397 SELECT * WHERE | |
3398 { ?s ?p ?o . ?s1 ?p1 ?o1 .. } | |
3399 | |
3400 </div> | |
3401 <hr/> | |
3402 <h2><a name="syn-bad-14">syn-bad-14.rq</a></h2> | |
3403 Negative syntax test | |
3404 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3405 | |
3406 <h3>Query</h3> | |
3407 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-14.rq">data-r2/syntax-sparql3/syn-bad-14.rq</a><br/> | |
3408 <div class="query"> | |
3409 # DOT, no triples | |
3410 SELECT * WHERE | |
3411 { . FILTER(?x) } | |
3412 | |
3413 </div> | |
3414 <hr/> | |
3415 <h2><a name="syn-bad-15">syn-bad-15.rq</a></h2> | |
3416 Negative syntax test | |
3417 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3418 | |
3419 <h3>Query</h3> | |
3420 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-15.rq">data-r2/syntax-sparql3/syn-bad-15.rq</a><br/> | |
3421 <div class="query"> | |
3422 # Broken ; | |
3423 SELECT * WHERE | |
3424 { ; FILTER(?x) } | |
3425 | |
3426 </div> | |
3427 <hr/> | |
3428 <h2><a name="syn-bad-16">syn-bad-16.rq</a></h2> | |
3429 Negative syntax test | |
3430 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3431 | |
3432 <h3>Query</h3> | |
3433 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-16.rq">data-r2/syntax-sparql3/syn-bad-16.rq</a><br/> | |
3434 <div class="query"> | |
3435 # Broken ; | |
3436 PREFIX : <http://example/ns#> | |
3437 SELECT * WHERE | |
3438 { :s ; :p :o } | |
3439 | |
3440 </div> | |
3441 <hr/> | |
3442 <h2><a name="syn-bad-17">syn-bad-17.rq</a></h2> | |
3443 Negative syntax test | |
3444 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3445 | |
3446 <h3>Query</h3> | |
3447 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-17.rq">data-r2/syntax-sparql3/syn-bad-17.rq</a><br/> | |
3448 <div class="query"> | |
3449 # Broken ; | |
3450 PREFIX : <http://example/ns#> | |
3451 SELECT * WHERE | |
3452 { :s :p ; } | |
3453 | |
3454 </div> | |
3455 <hr/> | |
3456 <h2><a name="syn-bad-18">syn-bad-18.rq</a></h2> | |
3457 Negative syntax test | |
3458 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3459 | |
3460 <h3>Query</h3> | |
3461 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-18.rq">data-r2/syntax-sparql3/syn-bad-18.rq</a><br/> | |
3462 <div class="query"> | |
3463 # Broken ; | |
3464 PREFIX : <http://example/ns#> | |
3465 SELECT * WHERE | |
3466 { :s :p ; FILTER(?x) } | |
3467 | |
3468 </div> | |
3469 <hr/> | |
3470 <h2><a name="syn-bad-19">syn-bad-19.rq</a></h2> | |
3471 Negative syntax test | |
3472 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3473 | |
3474 <h3>Query</h3> | |
3475 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-19.rq">data-r2/syntax-sparql3/syn-bad-19.rq</a><br/> | |
3476 <div class="query"> | |
3477 # Broken ; | |
3478 PREFIX : <http://example/ns#> | |
3479 SELECT * WHERE | |
3480 { :s :p :o . ; } | |
3481 | |
3482 </div> | |
3483 <hr/> | |
3484 <h2><a name="syn-bad-20">syn-bad-20.rq</a></h2> | |
3485 Negative syntax test | |
3486 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3487 | |
3488 <h3>Query</h3> | |
3489 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-20.rq">data-r2/syntax-sparql3/syn-bad-20.rq</a><br/> | |
3490 <div class="query"> | |
3491 # Broken , | |
3492 PREFIX : <http://example/ns#> | |
3493 SELECT * WHERE | |
3494 { :s , :p :o } | |
3495 | |
3496 </div> | |
3497 <hr/> | |
3498 <h2><a name="syn-bad-21">syn-bad-21.rq</a></h2> | |
3499 Negative syntax test | |
3500 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3501 | |
3502 <h3>Query</h3> | |
3503 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-21.rq">data-r2/syntax-sparql3/syn-bad-21.rq</a><br/> | |
3504 <div class="query"> | |
3505 # Broken , | |
3506 PREFIX : <http://example/ns#> | |
3507 SELECT * WHERE | |
3508 { :s :p , :o } | |
3509 | |
3510 </div> | |
3511 <hr/> | |
3512 <h2><a name="syn-bad-22">syn-bad-22.rq</a></h2> | |
3513 Negative syntax test | |
3514 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3515 | |
3516 <h3>Query</h3> | |
3517 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-22.rq">data-r2/syntax-sparql3/syn-bad-22.rq</a><br/> | |
3518 <div class="query"> | |
3519 # Broken , | |
3520 PREFIX : <http://example/ns#> | |
3521 SELECT * WHERE | |
3522 { :s :p , } | |
3523 | |
3524 </div> | |
3525 <hr/> | |
3526 <h2><a name="syn-bad-23">syn-bad-23.rq</a></h2> | |
3527 Negative syntax test | |
3528 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3529 | |
3530 <h3>Query</h3> | |
3531 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-23.rq">data-r2/syntax-sparql3/syn-bad-23.rq</a><br/> | |
3532 <div class="query"> | |
3533 # Broken , can't trail | |
3534 PREFIX : <http://example/ns#> | |
3535 SELECT * WHERE | |
3536 { :s :p :o , } | |
3537 | |
3538 </div> | |
3539 <hr/> | |
3540 <h2><a name="syn-bad-24">syn-bad-24.rq</a></h2> | |
3541 Negative syntax test | |
3542 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3543 | |
3544 <h3>Query</h3> | |
3545 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-24.rq">data-r2/syntax-sparql3/syn-bad-24.rq</a><br/> | |
3546 <div class="query"> | |
3547 # Broken , (should be ;) | |
3548 PREFIX : <http://example/ns#> | |
3549 SELECT * WHERE | |
3550 { :s :p1 :o1 , :p2 :o2} | |
3551 | |
3552 </div> | |
3553 <hr/> | |
3554 <h2><a name="syn-bad-25">syn-bad-25.rq</a></h2> | |
3555 Negative syntax test | |
3556 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3557 | |
3558 <h3>Query</h3> | |
3559 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-25.rq">data-r2/syntax-sparql3/syn-bad-25.rq</a><br/> | |
3560 <div class="query"> | |
3561 CONSTRUCT | |
3562 | |
3563 </div> | |
3564 <hr/> | |
3565 <h2><a name="syn-bad-26">syn-bad-26.rq</a></h2> | |
3566 Negative syntax test | |
3567 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html</a></div> | |
3568 | |
3569 <h3>Query</h3> | |
3570 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-26.rq">data-r2/syntax-sparql3/syn-bad-26.rq</a><br/> | |
3571 <div class="query"> | |
3572 # Tokenizing matters. | |
3573 # "longest token rule" means this isn't a "<" and "&&" | |
3574 PREFIX : <http://example/ns#> | |
3575 SELECT * WHERE | |
3576 { FILTER (?x<?a&&?b>?y) } | |
3577 | |
3578 </div> | |
3579 <hr/> | |
3580 <h2><a name="syn-bad-27">syn-bad-27.rq</a></h2> | |
3581 Negative syntax test | |
3582 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3583 | |
3584 <h3>Query</h3> | |
3585 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-27.rq">data-r2/syntax-sparql3/syn-bad-27.rq</a><br/> | |
3586 <div class="query"> | |
3587 PREFIX : <http://example.org/ns#> | |
3588 SELECT * WHERE { :x [] :q } | |
3589 | |
3590 </div> | |
3591 <hr/> | |
3592 <h2><a name="syn-bad-28">syn-bad-28.rq</a></h2> | |
3593 Negative syntax test | |
3594 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3595 | |
3596 <h3>Query</h3> | |
3597 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-28.rq">data-r2/syntax-sparql3/syn-bad-28.rq</a><br/> | |
3598 <div class="query"> | |
3599 PREFIX : <http://example.org/ns#> | |
3600 SELECT * WHERE { :x _:a :q } | |
3601 | |
3602 </div> | |
3603 <hr/> | |
3604 <h2><a name="syn-bad-29">syn-bad-29.rq</a></h2> | |
3605 Negative syntax test | |
3606 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3607 | |
3608 <h3>Query</h3> | |
3609 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-29.rq">data-r2/syntax-sparql3/syn-bad-29.rq</a><br/> | |
3610 <div class="query"> | |
3611 # Syntactic blank node in a filter. | |
3612 SELECT * WHERE { <a><b>_:x FILTER(_:x) } | |
3613 | |
3614 </div> | |
3615 <hr/> | |
3616 <h2><a name="syn-bad-30">syn-bad-30.rq</a></h2> | |
3617 Negative syntax test | |
3618 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3619 | |
3620 <h3>Query</h3> | |
3621 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-30.rq">data-r2/syntax-sparql3/syn-bad-30.rq</a><br/> | |
3622 <div class="query"> | |
3623 # Syntactic blank node in a filter. | |
3624 SELECT * WHERE { <a><b>_:x FILTER(_:x < 3) } | |
3625 | |
3626 </div> | |
3627 <hr/> | |
3628 <h2><a name="syn-bad-31">syn-bad-31.rq</a></h2> | |
3629 Negative syntax test | |
3630 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0047</a></div> | |
3631 | |
3632 <h3>Query</h3> | |
3633 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/syn-bad-31.rq">data-r2/syntax-sparql3/syn-bad-31.rq</a><br/> | |
3634 <div class="query"> | |
3635 PREFIX : <http://example.org/> | |
3636 SELECT * | |
3637 WHERE | |
3638 { | |
3639 GRAPH [] { } | |
3640 } | |
3641 | |
3642 </div> | |
3643 <hr/> | |
3644 <h2><a name="syn-09">syn-09.rq</a></h2> | |
3645 Syntax test | |
3646 <div class="approval">Approved by <a href="http://www.w3.org/2007/02/13-dawg-minutes.html">http://www.w3.org/2007/02/13-dawg-minutes.html</a></div> | |
3647 | |
3648 <h3>Query</h3> | |
3649 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql4/syn-09.rq">data-r2/syntax-sparql4/syn-09.rq</a><br/> | |
3650 <div class="query"> | |
3651 PREFIX : <http://example.org/> | |
3652 SELECT * | |
3653 WHERE | |
3654 { | |
3655 _:a ?p ?v . _:a ?q 1 | |
3656 } | |
3657 | |
3658 </div> | |
3659 <hr/> | |
3660 <h2><a name="syn-10">syn-10.rq</a></h2> | |
3661 Syntax test | |
3662 <div class="approval">Approved by <a href="http://www.w3.org/2007/02/13-dawg-minutes.html">http://www.w3.org/2007/02/13-dawg-minutes.html</a></div> | |
3663 | |
3664 <h3>Query</h3> | |
3665 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql4/syn-10.rq">data-r2/syntax-sparql4/syn-10.rq</a><br/> | |
3666 <div class="query"> | |
3667 PREFIX : <http://example.org/> | |
3668 SELECT * | |
3669 WHERE | |
3670 { | |
3671 { _:a ?p ?v . _:a ?q _:a } UNION { _:b ?q _:c } | |
3672 } | |
3673 | |
3674 </div> | |
3675 <hr/> | |
3676 <h2><a name="syn-11">syn-11.rq</a></h2> | |
3677 Syntax test | |
3678 <div class="approval">Approved by <a href="http://www.w3.org/2007/02/13-dawg-minutes.html">http://www.w3.org/2007/02/13-dawg-minutes.html</a></div> | |
3679 | |
3680 <h3>Query</h3> | |
3681 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql4/syn-11.rq">data-r2/syntax-sparql4/syn-11.rq</a><br/> | |
3682 <div class="query"> | |
3683 PREFIX : <http://example.org/> | |
3684 SELECT * | |
3685 WHERE | |
3686 { | |
3687 _:a ?p ?v . FILTER(true) . [] ?q _:a | |
3688 } | |
3689 | |
3690 </div> | |
3691 <hr/> | |
3692 <h2><a name="syn-bad-34">syn-bad-34.rq</a></h2> | |
3693 Negative syntax test | |
3694 <div class="approval">Approved by <a href="http://www.w3.org/2007/02/13-dawg-minutes.html">http://www.w3.org/2007/02/13-dawg-minutes.html</a></div> | |
3695 | |
3696 <h3>Query</h3> | |
3697 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql4/syn-bad-34.rq">data-r2/syntax-sparql4/syn-bad-34.rq</a><br/> | |
3698 <div class="query"> | |
3699 PREFIX : <http://example.org/> | |
3700 SELECT * | |
3701 WHERE | |
3702 { | |
3703 _:a ?p ?v . { _:a ?q 1 } | |
3704 } | |
3705 | |
3706 </div> | |
3707 <hr/> | |
3708 <h2><a name="syn-bad-35">syn-bad-35.rq</a></h2> | |
3709 Negative syntax test | |
3710 <div class="approval">Approved by <a href="http://www.w3.org/2007/02/13-dawg-minutes.html">http://www.w3.org/2007/02/13-dawg-minutes.html</a></div> | |
3711 | |
3712 <h3>Query</h3> | |
3713 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql4/syn-bad-35.rq">data-r2/syntax-sparql4/syn-bad-35.rq</a><br/> | |
3714 <div class="query"> | |
3715 PREFIX : <http://example.org/> | |
3716 SELECT * | |
3717 WHERE | |
3718 { | |
3719 { _:a ?p ?v . } _:a ?q 1 | |
3720 } | |
3721 | |
3722 </div> | |
3723 <hr/> | |
3724 <h2><a name="syn-bad-36">syn-bad-36.rq</a></h2> | |
3725 Negative syntax test | |
3726 <div class="approval">Approved by <a href="http://www.w3.org/2007/02/13-dawg-minutes.html">http://www.w3.org/2007/02/13-dawg-minutes.html</a></div> | |
3727 | |
3728 <h3>Query</h3> | |
3729 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql4/syn-bad-36.rq">data-r2/syntax-sparql4/syn-bad-36.rq</a><br/> | |
3730 <div class="query"> | |
3731 PREFIX : <http://example.org/> | |
3732 SELECT * | |
3733 WHERE | |
3734 { | |
3735 { _:a ?p ?v . } UNION { _:a ?q 1 } | |
3736 } | |
3737 | |
3738 </div> | |
3739 <hr/> | |
3740 <h2><a name="syn-bad-37">syn-bad-37.rq</a></h2> | |
3741 Negative syntax test | |
3742 <div class="approval">Approved by <a href="http://www.w3.org/2007/02/13-dawg-minutes.html">http://www.w3.org/2007/02/13-dawg-minutes.html</a></div> | |
3743 | |
3744 <h3>Query</h3> | |
3745 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql4/syn-bad-37.rq">data-r2/syntax-sparql4/syn-bad-37.rq</a><br/> | |
3746 <div class="query"> | |
3747 PREFIX : <http://example.org/> | |
3748 SELECT * | |
3749 WHERE | |
3750 { | |
3751 { _:a ?p ?v . } _:a ?q 1 | |
3752 } | |
3753 | |
3754 </div> | |
3755 <hr/> | |
3756 <h2><a name="syn-bad-38">syn-bad-38.rq</a></h2> | |
3757 Negative syntax test | |
3758 <div class="approval">Approved by <a href="http://www.w3.org/2007/02/13-dawg-minutes.html">http://www.w3.org/2007/02/13-dawg-minutes.html</a></div> | |
3759 | |
3760 <h3>Query</h3> | |
3761 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql4/syn-bad-38.rq">data-r2/syntax-sparql4/syn-bad-38.rq</a><br/> | |
3762 <div class="query"> | |
3763 PREFIX : <http://example.org/> | |
3764 SELECT * | |
3765 WHERE | |
3766 { | |
3767 _:a ?p ?v . OPTIONAL {_:a ?q 1 } | |
3768 } | |
3769 | |
3770 </div> | |
3771 <hr/> | |
3772 <h2><a name="syn-bad-GRAPH-breaks-BGP">syn-bad-GRAPH-breaks-BGP</a></h2> | |
3773 Negative syntax test | |
3774 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0063/29-dawg-minutes.htm">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0063/29-dawg-minutes.htm</a></div> | |
3775 <p>bad: re-used BNode label after GRAPH</p> | |
3776 <h3>Query</h3> | |
3777 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql4/syn-bad-GRAPH-breaks-BGP.rq">data-r2/syntax-sparql4/syn-bad-GRAPH-breaks-BGP.rq</a><br/> | |
3778 <div class="query"> | |
3779 # bad: re-used BNode label after GRAPH | |
3780 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
3781 | |
3782 PREFIX : <http://example.org/> | |
3783 SELECT * | |
3784 WHERE | |
3785 { | |
3786 _:a ?p ?v . GRAPH ?g { ?s ?p ?v } _:a ?q 1 | |
3787 } | |
3788 | |
3789 </div> | |
3790 <hr/> | |
3791 <h2><a name="syn-bad-OPT-breaks-BGP">syn-bad-OPT-breaks-BGP</a></h2> | |
3792 Negative syntax test | |
3793 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0063/29-dawg-minutes.htm">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0063/29-dawg-minutes.htm</a></div> | |
3794 <p>bad: re-used BNode label after OPTIONAL</p> | |
3795 <h3>Query</h3> | |
3796 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql4/syn-bad-OPT-breaks-BGP.rq">data-r2/syntax-sparql4/syn-bad-OPT-breaks-BGP.rq</a><br/> | |
3797 <div class="query"> | |
3798 # bad: re-used BNode label after OPTIONAL | |
3799 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
3800 | |
3801 PREFIX : <http://example.org/> | |
3802 SELECT * | |
3803 WHERE | |
3804 { | |
3805 _:a ?p ?v . OPTIONAL { ?s ?p ?v } _:a ?q 1 | |
3806 } | |
3807 | |
3808 </div> | |
3809 <hr/> | |
3810 <h2><a name="syn-bad-UNION-breaks-BGP">syn-bad-UNION-breaks-BGP</a></h2> | |
3811 Negative syntax test | |
3812 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html</a></div> | |
3813 <p>bad: re-used BNode label after UNION</p> | |
3814 <h3>Query</h3> | |
3815 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql4/syn-bad-UNION-breaks-BGP.rq">data-r2/syntax-sparql4/syn-bad-UNION-breaks-BGP.rq</a><br/> | |
3816 <div class="query"> | |
3817 # bad: re-used BNode label after UNION | |
3818 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
3819 # This isn't necessarily a *syntax* test, but references to bnode labels | |
3820 # may not span basic graph patterns. | |
3821 | |
3822 PREFIX : <http://example.org/> | |
3823 SELECT * | |
3824 WHERE | |
3825 { | |
3826 _:a ?p ?v1 { ?s <p1> ?o } UNION { ?s <p2> ?o } _:a ?p ?v2 | |
3827 } | |
3828 | |
3829 </div> | |
3830 <hr/> | |
3831 <h2><a name="syn-leading-digits-in-prefixed-names">syn-leading-digits-in-prefixed-names.rq</a></h2> | |
3832 Syntax test | |
3833 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0063/29-dawg-minutes.htm">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0063/29-dawg-minutes.htm</a></div> | |
3834 | |
3835 <h3>Query</h3> | |
3836 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql4/syn-leading-digits-in-prefixed-names.rq">data-r2/syntax-sparql4/syn-leading-digits-in-prefixed-names.rq</a><br/> | |
3837 <div class="query"> | |
3838 PREFIX dob: <http://placetime.com/interval/gregorian/1977-01-18T04:00:00Z/P> | |
3839 PREFIX time: <http://www.ai.sri.com/daml/ontologies/time/Time.daml#> | |
3840 PREFIX dc: <http://purl.org/dc/elements/1.1/> | |
3841 SELECT ?desc | |
3842 WHERE { | |
3843 dob:1D a time:ProperInterval; | |
3844 dc:description ?desc. | |
3845 } | |
3846 | |
3847 </div> | |
3848 <hr/> | |
3849 <h2><a name="filter-nested-1">Filter-nested - 1</a></h2> | |
3850 Query evaluation test | |
3851 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
3852 <p>A FILTER is in scope for variables bound at the same level of the query tree</p> | |
3853 <h3>Default Graph</h3> | |
3854 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/data-1.ttl">data-r2/algebra/data-1.ttl</a></p> | |
3855 <div class="query"> | |
3856 @prefix : <http://example/> . | |
3857 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
3858 | |
3859 :x :p "1"^^xsd:integer . | |
3860 | |
3861 | |
3862 </div> | |
3863 <h3>Named Graphs</h3> | |
3864 | |
3865 <h3>Query</h3> | |
3866 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/filter-nested-1.rq">data-r2/algebra/filter-nested-1.rq</a><br/> | |
3867 <div class="query"> | |
3868 PREFIX : <http://example/> | |
3869 | |
3870 SELECT ?v | |
3871 { :x :p ?v . FILTER(?v = 1) } | |
3872 | |
3873 </div> | |
3874 <h3>Results</h3> | |
3875 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/filter-nested-1.srx">data-r2/algebra/filter-nested-1.srx</a></p> | |
3876 <hr/> | |
3877 <h2><a name="filter-nested-2">Filter-nested - 2</a></h2> | |
3878 Query evaluation test | |
3879 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
3880 <p>A FILTER in a group { ... } cannot see variables bound outside that group</p> | |
3881 <h3>Default Graph</h3> | |
3882 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/data-1.ttl">data-r2/algebra/data-1.ttl</a></p> | |
3883 <div class="query"> | |
3884 @prefix : <http://example/> . | |
3885 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
3886 | |
3887 :x :p "1"^^xsd:integer . | |
3888 | |
3889 | |
3890 </div> | |
3891 <h3>Named Graphs</h3> | |
3892 | |
3893 <h3>Query</h3> | |
3894 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/filter-nested-2.rq">data-r2/algebra/filter-nested-2.rq</a><br/> | |
3895 <div class="query"> | |
3896 PREFIX : <http://example/> | |
3897 | |
3898 SELECT ?v | |
3899 { :x :p ?v . { FILTER(?v = 1) } } | |
3900 | |
3901 </div> | |
3902 <h3>Results</h3> | |
3903 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/filter-nested-2.srx">data-r2/algebra/filter-nested-2.srx</a></p> | |
3904 <hr/> | |
3905 <h2><a name="filter-place-1">Filter-placement - 1</a></h2> | |
3906 Query evaluation test | |
3907 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
3908 <p>FILTER placed after the triple pattern that contains the variable tested</p> | |
3909 <h3>Default Graph</h3> | |
3910 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/data-2.ttl">data-r2/algebra/data-2.ttl</a></p> | |
3911 <div class="query"> | |
3912 @prefix : <http://example/> . | |
3913 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
3914 | |
3915 :x :p "1"^^xsd:integer . | |
3916 :x :p "2"^^xsd:integer . | |
3917 :x :p "3"^^xsd:integer . | |
3918 :x :p "4"^^xsd:integer . | |
3919 | |
3920 :x :q "1"^^xsd:integer . | |
3921 :x :q "2"^^xsd:integer . | |
3922 :x :q "3"^^xsd:integer . | |
3923 | |
3924 </div> | |
3925 <h3>Named Graphs</h3> | |
3926 | |
3927 <h3>Query</h3> | |
3928 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/filter-placement-1.rq">data-r2/algebra/filter-placement-1.rq</a><br/> | |
3929 <div class="query"> | |
3930 PREFIX : <http://example/> | |
3931 | |
3932 SELECT ?v | |
3933 { | |
3934 ?s :p ?v . | |
3935 FILTER (?v = 2) | |
3936 } | |
3937 | |
3938 </div> | |
3939 <h3>Results</h3> | |
3940 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/filter-placement-1.srx">data-r2/algebra/filter-placement-1.srx</a></p> | |
3941 <hr/> | |
3942 <h2><a name="filter-place-2">Filter-placement - 2</a></h2> | |
3943 Query evaluation test | |
3944 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
3945 <p>FILTERs are scoped to the nearest enclosing group - placement within that group does not matter</p> | |
3946 <h3>Default Graph</h3> | |
3947 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/data-2.ttl">data-r2/algebra/data-2.ttl</a></p> | |
3948 <div class="query"> | |
3949 @prefix : <http://example/> . | |
3950 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
3951 | |
3952 :x :p "1"^^xsd:integer . | |
3953 :x :p "2"^^xsd:integer . | |
3954 :x :p "3"^^xsd:integer . | |
3955 :x :p "4"^^xsd:integer . | |
3956 | |
3957 :x :q "1"^^xsd:integer . | |
3958 :x :q "2"^^xsd:integer . | |
3959 :x :q "3"^^xsd:integer . | |
3960 | |
3961 </div> | |
3962 <h3>Named Graphs</h3> | |
3963 | |
3964 <h3>Query</h3> | |
3965 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/filter-placement-2.rq">data-r2/algebra/filter-placement-2.rq</a><br/> | |
3966 <div class="query"> | |
3967 PREFIX : <http://example/> | |
3968 | |
3969 SELECT ?v | |
3970 { | |
3971 FILTER (?v = 2) | |
3972 ?s :p ?v . | |
3973 } | |
3974 | |
3975 </div> | |
3976 <h3>Results</h3> | |
3977 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/filter-placement-2.srx">data-r2/algebra/filter-placement-2.srx</a></p> | |
3978 <hr/> | |
3979 <h2><a name="filter-place-3">Filter-placement - 3</a></h2> | |
3980 Query evaluation test | |
3981 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
3982 <p>FILTERs are scoped to the nearest enclosing group - placement within that group does not matter</p> | |
3983 <h3>Default Graph</h3> | |
3984 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/data-2.ttl">data-r2/algebra/data-2.ttl</a></p> | |
3985 <div class="query"> | |
3986 @prefix : <http://example/> . | |
3987 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
3988 | |
3989 :x :p "1"^^xsd:integer . | |
3990 :x :p "2"^^xsd:integer . | |
3991 :x :p "3"^^xsd:integer . | |
3992 :x :p "4"^^xsd:integer . | |
3993 | |
3994 :x :q "1"^^xsd:integer . | |
3995 :x :q "2"^^xsd:integer . | |
3996 :x :q "3"^^xsd:integer . | |
3997 | |
3998 </div> | |
3999 <h3>Named Graphs</h3> | |
4000 | |
4001 <h3>Query</h3> | |
4002 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/filter-placement-3.rq">data-r2/algebra/filter-placement-3.rq</a><br/> | |
4003 <div class="query"> | |
4004 PREFIX : <http://example/> | |
4005 | |
4006 SELECT ?v ?w | |
4007 { | |
4008 FILTER (?v = 2) | |
4009 FILTER (?w = 3) | |
4010 ?s :p ?v . | |
4011 ?s :q ?w . | |
4012 } | |
4013 | |
4014 </div> | |
4015 <h3>Results</h3> | |
4016 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/filter-placement-3.srx">data-r2/algebra/filter-placement-3.srx</a></p> | |
4017 <hr/> | |
4018 <h2><a name="filter-scope-1">Filter-scope - 1</a></h2> | |
4019 Query evaluation test | |
4020 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
4021 <p>FILTERs in an OPTIONAL do not extend to variables bound outside of the LeftJoin(...) operation</p> | |
4022 <h3>Default Graph</h3> | |
4023 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/data-2.ttl">data-r2/algebra/data-2.ttl</a></p> | |
4024 <div class="query"> | |
4025 @prefix : <http://example/> . | |
4026 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
4027 | |
4028 :x :p "1"^^xsd:integer . | |
4029 :x :p "2"^^xsd:integer . | |
4030 :x :p "3"^^xsd:integer . | |
4031 :x :p "4"^^xsd:integer . | |
4032 | |
4033 :x :q "1"^^xsd:integer . | |
4034 :x :q "2"^^xsd:integer . | |
4035 :x :q "3"^^xsd:integer . | |
4036 | |
4037 </div> | |
4038 <h3>Named Graphs</h3> | |
4039 | |
4040 <h3>Query</h3> | |
4041 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/filter-scope-1.rq">data-r2/algebra/filter-scope-1.rq</a><br/> | |
4042 <div class="query"> | |
4043 PREFIX : <http://example/> | |
4044 | |
4045 SELECT * | |
4046 { | |
4047 :x :p ?v . | |
4048 { :x :q ?w | |
4049 OPTIONAL { :x :p ?v2 FILTER(?v = 1) } | |
4050 } | |
4051 } | |
4052 | |
4053 </div> | |
4054 <h3>Results</h3> | |
4055 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/filter-scope-1.srx">data-r2/algebra/filter-scope-1.srx</a></p> | |
4056 <hr/> | |
4057 <h2><a name="join-combo-1">Join operator with OPTs, BGPs, and UNIONs</a></h2> | |
4058 Query evaluation test | |
4059 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html</a></div> | |
4060 <p>Tests nested combination of Join with a BGP / OPT and a BGP / UNION</p> | |
4061 <h3>Default Graph</h3> | |
4062 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/join-combo-graph-2.ttl">data-r2/algebra/join-combo-graph-2.ttl</a></p> | |
4063 <div class="query"> | |
4064 @prefix : <http://example/> . | |
4065 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
4066 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
4067 | |
4068 :x1 :p "1"^^xsd:integer . | |
4069 :x1 :r "4"^^xsd:integer . | |
4070 :x2 :p "2"^^xsd:integer . | |
4071 :x2 :r "10"^^xsd:integer . | |
4072 :x2 :x "1"^^xsd:integer . | |
4073 :x3 :q "3"^^xsd:integer . | |
4074 :x3 :q "4"^^xsd:integer . | |
4075 :x3 :s "1"^^xsd:integer . | |
4076 :x3 :t :s . | |
4077 :p a rdf:Property . | |
4078 :x1 :z :p . | |
4079 | |
4080 </div> | |
4081 <h3>Named Graphs</h3> | |
4082 | |
4083 <h3>Query</h3> | |
4084 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/join-combo-1.rq">data-r2/algebra/join-combo-1.rq</a><br/> | |
4085 <div class="query"> | |
4086 PREFIX : <http://example/> | |
4087 | |
4088 SELECT ?a ?y ?d ?z | |
4089 { | |
4090 ?a :p ?c OPTIONAL { ?a :r ?d }. | |
4091 ?a ?p 1 { ?p a ?y } UNION { ?a ?z ?p } | |
4092 } | |
4093 </div> | |
4094 <h3>Results</h3> | |
4095 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/join-combo-1.srx">data-r2/algebra/join-combo-1.srx</a></p> | |
4096 <hr/> | |
4097 <h2><a name="join-combo-2">Join operator with Graph and Union</a></h2> | |
4098 Query evaluation test | |
4099 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html</a></div> | |
4100 <p>Tests combination of Join operator with Graph on LHS and Union on RHS</p> | |
4101 <h3>Default Graph</h3> | |
4102 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/join-combo-graph-2.ttl">data-r2/algebra/join-combo-graph-2.ttl</a></p> | |
4103 <div class="query"> | |
4104 @prefix : <http://example/> . | |
4105 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
4106 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
4107 | |
4108 :x1 :p "1"^^xsd:integer . | |
4109 :x1 :r "4"^^xsd:integer . | |
4110 :x2 :p "2"^^xsd:integer . | |
4111 :x2 :r "10"^^xsd:integer . | |
4112 :x2 :x "1"^^xsd:integer . | |
4113 :x3 :q "3"^^xsd:integer . | |
4114 :x3 :q "4"^^xsd:integer . | |
4115 :x3 :s "1"^^xsd:integer . | |
4116 :x3 :t :s . | |
4117 :p a rdf:Property . | |
4118 :x1 :z :p . | |
4119 | |
4120 </div><p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/join-combo-graph-1.ttl">http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/join-combo-graph-1.ttl</a></p> | |
4121 <div class="query"> | |
4122 @prefix : <http://example/> . | |
4123 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
4124 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
4125 | |
4126 :x1 :p "1"^^xsd:integer . | |
4127 :x1 :r "4"^^xsd:integer . | |
4128 :x2 :p "2"^^xsd:integer . | |
4129 :x2 :r "10"^^xsd:integer . | |
4130 :x2 :x "1"^^xsd:integer . | |
4131 :x3 :q "3"^^xsd:integer . | |
4132 :x3 :q "4"^^xsd:integer . | |
4133 :x3 :s "1"^^xsd:integer . | |
4134 :x3 :t :s . | |
4135 :p a rdf:Property . | |
4136 :x1 :z :p . | |
4137 | |
4138 </div> | |
4139 <h3>Named Graphs</h3> | |
4140 | |
4141 <h3>Query</h3> | |
4142 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/join-combo-2.rq">data-r2/algebra/join-combo-2.rq</a><br/> | |
4143 <div class="query"> | |
4144 PREFIX : <http://example/> | |
4145 | |
4146 SELECT ?x ?y ?z | |
4147 { | |
4148 GRAPH ?g { ?x ?p 1 } { ?x :p ?y } UNION { ?p a ?z } | |
4149 } | |
4150 | |
4151 </div> | |
4152 <h3>Results</h3> | |
4153 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/join-combo-2.srx">data-r2/algebra/join-combo-2.srx</a></p> | |
4154 <hr/> | |
4155 <h2><a name="join-scope-1">Join scope - 1</a></h2> | |
4156 Query evaluation test | |
4157 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
4158 <p>Variables have query scope.</p> | |
4159 <h3>Default Graph</h3> | |
4160 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/var-scope-join-1.ttl">data-r2/algebra/var-scope-join-1.ttl</a></p> | |
4161 <div class="query"> | |
4162 @prefix : <http://example/> . | |
4163 | |
4164 _:B1 :name "paul" . | |
4165 _:B1 :phone "777-3426". | |
4166 | |
4167 _:B2 :name "john" . | |
4168 _:B2 :email <mailto:john@acd.edu> . | |
4169 | |
4170 _:B3 :name "george". | |
4171 _:B3 :webPage <http://www.george.edu/> . | |
4172 | |
4173 _:B4 :name "ringo". | |
4174 _:B4 :email <mailto:ringo@acd.edu> . | |
4175 _:B4 :webPage <http://www.starr.edu/> . | |
4176 _:B4 :phone "888-4537". | |
4177 | |
4178 </div> | |
4179 <h3>Named Graphs</h3> | |
4180 | |
4181 <h3>Query</h3> | |
4182 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/var-scope-join-1.rq">data-r2/algebra/var-scope-join-1.rq</a><br/> | |
4183 <div class="query"> | |
4184 PREFIX : <http://example/> | |
4185 | |
4186 SELECT * | |
4187 { | |
4188 ?X :name "paul" | |
4189 {?Y :name "george" . OPTIONAL { ?X :email ?Z } } | |
4190 } | |
4191 | |
4192 | |
4193 </div> | |
4194 <h3>Results</h3> | |
4195 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/var-scope-join-1.srx">data-r2/algebra/var-scope-join-1.srx</a></p> | |
4196 <hr/> | |
4197 <h2><a name="nested-opt-1">Nested Optionals - 1</a></h2> | |
4198 Query evaluation test | |
4199 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
4200 <p>Nested-optionals with a shared variable that does not appear in the middle pattern (a not well-formed query pattern as per "Semantics and Complexity" of SPARQL</p> | |
4201 <h3>Default Graph</h3> | |
4202 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/two-nested-opt.ttl">data-r2/algebra/two-nested-opt.ttl</a></p> | |
4203 <div class="query"> | |
4204 @prefix : <http://example/> . | |
4205 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
4206 | |
4207 :x1 :p "1"^^xsd:integer . | |
4208 :x2 :p "2"^^xsd:integer . | |
4209 :x3 :q "3"^^xsd:integer . | |
4210 :x3 :q "4"^^xsd:integer . | |
4211 | |
4212 </div> | |
4213 <h3>Named Graphs</h3> | |
4214 | |
4215 <h3>Query</h3> | |
4216 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/two-nested-opt.rq">data-r2/algebra/two-nested-opt.rq</a><br/> | |
4217 <div class="query"> | |
4218 PREFIX : <http://example/> | |
4219 | |
4220 SELECT * | |
4221 { | |
4222 :x1 :p ?v . | |
4223 OPTIONAL | |
4224 { | |
4225 :x3 :q ?w . | |
4226 OPTIONAL { :x2 :p ?v } | |
4227 } | |
4228 } | |
4229 | |
4230 </div> | |
4231 <h3>Results</h3> | |
4232 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/two-nested-opt.srx">data-r2/algebra/two-nested-opt.srx</a></p> | |
4233 <hr/> | |
4234 <h2><a name="nested-opt-2">Nested Optionals - 2</a></h2> | |
4235 Query evaluation test | |
4236 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
4237 <p>OPTIONALs parse in a left-associative manner</p> | |
4238 <h3>Default Graph</h3> | |
4239 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/two-nested-opt.ttl">data-r2/algebra/two-nested-opt.ttl</a></p> | |
4240 <div class="query"> | |
4241 @prefix : <http://example/> . | |
4242 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
4243 | |
4244 :x1 :p "1"^^xsd:integer . | |
4245 :x2 :p "2"^^xsd:integer . | |
4246 :x3 :q "3"^^xsd:integer . | |
4247 :x3 :q "4"^^xsd:integer . | |
4248 | |
4249 </div> | |
4250 <h3>Named Graphs</h3> | |
4251 | |
4252 <h3>Query</h3> | |
4253 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/two-nested-opt-alt.rq">data-r2/algebra/two-nested-opt-alt.rq</a><br/> | |
4254 <div class="query"> | |
4255 PREFIX : <http://example/> | |
4256 | |
4257 ## The nested optional example, rewritten to a form that is the same | |
4258 ## for the SPARQL algebra and the declarative semantics. | |
4259 SELECT * | |
4260 { | |
4261 :x1 :p ?v . | |
4262 OPTIONAL { :x3 :q ?w } | |
4263 OPTIONAL { :x3 :q ?w . :x2 :p ?v } | |
4264 } | |
4265 | |
4266 </div> | |
4267 <h3>Results</h3> | |
4268 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/two-nested-opt-alt.srx">data-r2/algebra/two-nested-opt-alt.srx</a></p> | |
4269 <hr/> | |
4270 <h2><a name="opt-filter-1">Optional-filter - 1</a></h2> | |
4271 Query evaluation test | |
4272 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
4273 <p>A FILTER inside an OPTIONAL can reference a variable bound in the required part of the OPTIONAL</p> | |
4274 <h3>Default Graph</h3> | |
4275 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/opt-filter-1.ttl">data-r2/algebra/opt-filter-1.ttl</a></p> | |
4276 <div class="query"> | |
4277 @prefix : <http://example/> . | |
4278 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
4279 | |
4280 :x1 :p "1"^^xsd:integer . | |
4281 :x2 :p "2"^^xsd:integer . | |
4282 | |
4283 :x3 :q "3"^^xsd:integer . | |
4284 :x3 :q "4"^^xsd:integer . | |
4285 | |
4286 | |
4287 </div> | |
4288 <h3>Named Graphs</h3> | |
4289 | |
4290 <h3>Query</h3> | |
4291 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/opt-filter-1.rq">data-r2/algebra/opt-filter-1.rq</a><br/> | |
4292 <div class="query"> | |
4293 PREFIX : <http://example/> | |
4294 | |
4295 SELECT * | |
4296 { | |
4297 ?x :p ?v . | |
4298 OPTIONAL | |
4299 { | |
4300 ?y :q ?w . | |
4301 FILTER(?v=2) | |
4302 } | |
4303 } | |
4304 | |
4305 </div> | |
4306 <h3>Results</h3> | |
4307 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/opt-filter-1.srx">data-r2/algebra/opt-filter-1.srx</a></p> | |
4308 <hr/> | |
4309 <h2><a name="opt-filter-2">Optional-filter - 2 filters</a></h2> | |
4310 Query evaluation test | |
4311 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
4312 <p>FILTERs inside an OPTIONAL can refer to variables from both the required and optional parts of the construct.</p> | |
4313 <h3>Default Graph</h3> | |
4314 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/opt-filter-2.ttl">data-r2/algebra/opt-filter-2.ttl</a></p> | |
4315 <div class="query"> | |
4316 @prefix : <http://example/> . | |
4317 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
4318 | |
4319 :x1 :p "1"^^xsd:integer . | |
4320 :x2 :p "2"^^xsd:integer . | |
4321 | |
4322 :x3 :q "3"^^xsd:integer . | |
4323 :x3 :q "4"^^xsd:integer . | |
4324 | |
4325 | |
4326 </div> | |
4327 <h3>Named Graphs</h3> | |
4328 | |
4329 <h3>Query</h3> | |
4330 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/opt-filter-2.rq">data-r2/algebra/opt-filter-2.rq</a><br/> | |
4331 <div class="query"> | |
4332 PREFIX : <http://example/> | |
4333 | |
4334 SELECT * | |
4335 { | |
4336 ?x :p ?v . | |
4337 OPTIONAL | |
4338 { | |
4339 ?y :q ?w . | |
4340 FILTER(?v=2) | |
4341 FILTER(?w=3) | |
4342 } | |
4343 } | |
4344 | |
4345 </div> | |
4346 <h3>Results</h3> | |
4347 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/opt-filter-2.srx">data-r2/algebra/opt-filter-2.srx</a></p> | |
4348 <hr/> | |
4349 <h2><a name="opt-filter-3">Optional-filter - scope of variable</a></h2> | |
4350 Query evaluation test | |
4351 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
4352 <p>FILTERs in an OPTIONAL do not extend to variables bound outside of the LeftJoin(...) operation</p> | |
4353 <h3>Default Graph</h3> | |
4354 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/opt-filter-3.ttl">data-r2/algebra/opt-filter-3.ttl</a></p> | |
4355 <div class="query"> | |
4356 @prefix : <http://example/> . | |
4357 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
4358 | |
4359 :x1 :p "1"^^xsd:integer . | |
4360 :x2 :p "2"^^xsd:integer . | |
4361 | |
4362 :x3 :q "3"^^xsd:integer . | |
4363 :x3 :q "4"^^xsd:integer . | |
4364 | |
4365 | |
4366 </div> | |
4367 <h3>Named Graphs</h3> | |
4368 | |
4369 <h3>Query</h3> | |
4370 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/opt-filter-3.rq">data-r2/algebra/opt-filter-3.rq</a><br/> | |
4371 <div class="query"> | |
4372 PREFIX : <http://example/> | |
4373 | |
4374 SELECT * | |
4375 { | |
4376 :x :p ?v . | |
4377 { :x :q ?w | |
4378 # ?v is not in scope so ?v2 never set | |
4379 OPTIONAL { :x :p ?v2 FILTER(?v = 1) } | |
4380 } | |
4381 } | |
4382 | |
4383 </div> | |
4384 <h3>Results</h3> | |
4385 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/opt-filter-3.srx">data-r2/algebra/opt-filter-3.srx</a></p> | |
4386 <hr/> | |
4387 <h2><a name="ask-1">ASK-1 (SPARQL XML results)</a></h2> | |
4388 Query evaluation test | |
4389 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
4390 | |
4391 <h3>Default Graph</h3> | |
4392 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/ask/data.ttl">data-r2/ask/data.ttl</a></p> | |
4393 <div class="query"> | |
4394 @prefix : <http://example/> . | |
4395 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
4396 | |
4397 :x :p "1"^^xsd:integer . | |
4398 :x :p "2"^^xsd:integer . | |
4399 :x :p "3"^^xsd:integer . | |
4400 | |
4401 :y :p :a . | |
4402 :a :q :r . | |
4403 | |
4404 </div> | |
4405 <h3>Named Graphs</h3> | |
4406 | |
4407 <h3>Query</h3> | |
4408 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/ask/ask-1.rq">data-r2/ask/ask-1.rq</a><br/> | |
4409 <div class="query"> | |
4410 PREFIX : <http://example/> | |
4411 | |
4412 ASK { :x :p 1 } | |
4413 | |
4414 </div> | |
4415 <h3>Results</h3> | |
4416 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/ask/ask-1.srx">data-r2/ask/ask-1.srx</a></p> | |
4417 <hr/> | |
4418 <h2><a name="ask-4">ASK-4 (SPARQL XML results)</a></h2> | |
4419 Query evaluation test | |
4420 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
4421 | |
4422 <h3>Default Graph</h3> | |
4423 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/ask/data.ttl">data-r2/ask/data.ttl</a></p> | |
4424 <div class="query"> | |
4425 @prefix : <http://example/> . | |
4426 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
4427 | |
4428 :x :p "1"^^xsd:integer . | |
4429 :x :p "2"^^xsd:integer . | |
4430 :x :p "3"^^xsd:integer . | |
4431 | |
4432 :y :p :a . | |
4433 :a :q :r . | |
4434 | |
4435 </div> | |
4436 <h3>Named Graphs</h3> | |
4437 | |
4438 <h3>Query</h3> | |
4439 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/ask/ask-4.rq">data-r2/ask/ask-4.rq</a><br/> | |
4440 <div class="query"> | |
4441 PREFIX : <http://example/> | |
4442 | |
4443 ASK { :x :p 99 } | |
4444 | |
4445 </div> | |
4446 <h3>Results</h3> | |
4447 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/ask/ask-4.srx">data-r2/ask/ask-4.srx</a></p> | |
4448 <hr/> | |
4449 <h2><a name="ask-7">ASK-7 (SPARQL XML results)</a></h2> | |
4450 Query evaluation test | |
4451 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
4452 | |
4453 <h3>Default Graph</h3> | |
4454 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/ask/data.ttl">data-r2/ask/data.ttl</a></p> | |
4455 <div class="query"> | |
4456 @prefix : <http://example/> . | |
4457 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
4458 | |
4459 :x :p "1"^^xsd:integer . | |
4460 :x :p "2"^^xsd:integer . | |
4461 :x :p "3"^^xsd:integer . | |
4462 | |
4463 :y :p :a . | |
4464 :a :q :r . | |
4465 | |
4466 </div> | |
4467 <h3>Named Graphs</h3> | |
4468 | |
4469 <h3>Query</h3> | |
4470 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/ask/ask-7.rq">data-r2/ask/ask-7.rq</a><br/> | |
4471 <div class="query"> | |
4472 PREFIX : <http://example/> | |
4473 | |
4474 ASK { :x :p ?x } | |
4475 | |
4476 </div> | |
4477 <h3>Results</h3> | |
4478 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/ask/ask-7.srx">data-r2/ask/ask-7.srx</a></p> | |
4479 <hr/> | |
4480 <h2><a name="ask-8">ASK-8 (SPARQL XML results)</a></h2> | |
4481 Query evaluation test | |
4482 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html</a></div> | |
4483 | |
4484 <h3>Default Graph</h3> | |
4485 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/ask/data.ttl">data-r2/ask/data.ttl</a></p> | |
4486 <div class="query"> | |
4487 @prefix : <http://example/> . | |
4488 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
4489 | |
4490 :x :p "1"^^xsd:integer . | |
4491 :x :p "2"^^xsd:integer . | |
4492 :x :p "3"^^xsd:integer . | |
4493 | |
4494 :y :p :a . | |
4495 :a :q :r . | |
4496 | |
4497 </div> | |
4498 <h3>Named Graphs</h3> | |
4499 | |
4500 <h3>Query</h3> | |
4501 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/ask/ask-8.rq">data-r2/ask/ask-8.rq</a><br/> | |
4502 <div class="query"> | |
4503 PREFIX : <http://example/> | |
4504 | |
4505 ASK { :x :p ?x . FILTER(?x = 99) } | |
4506 | |
4507 </div> | |
4508 <h3>Results</h3> | |
4509 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/ask/ask-8.srx">data-r2/ask/ask-8.srx</a></p> | |
4510 <hr/> | |
4511 <h2><a name="base-prefix-1">Basic - Prefix/Base 1</a></h2> | |
4512 Query evaluation test | |
4513 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
4514 | |
4515 <h3>Default Graph</h3> | |
4516 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-1.ttl">data-r2/basic/data-1.ttl</a></p> | |
4517 <div class="query"> | |
4518 @prefix ns: <http://example.org/ns#> . | |
4519 @prefix x: <http://example.org/x/> . | |
4520 @prefix z: <http://example.org/x/#> . | |
4521 | |
4522 x:x ns:p "d:x ns:p" . | |
4523 x:x x:p "x:x x:p" . | |
4524 | |
4525 z:x z:p "z:x z:p" . | |
4526 | |
4527 </div> | |
4528 <h3>Named Graphs</h3> | |
4529 | |
4530 <h3>Query</h3> | |
4531 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/base-prefix-1.rq">data-r2/basic/base-prefix-1.rq</a><br/> | |
4532 <div class="query"> | |
4533 BASE <http://example.org/x/> | |
4534 PREFIX : <> | |
4535 | |
4536 SELECT * WHERE { :x ?p ?v } | |
4537 | |
4538 </div> | |
4539 <h3>Results</h3> | |
4540 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/base-prefix-1.srx">data-r2/basic/base-prefix-1.srx</a></p> | |
4541 <hr/> | |
4542 <h2><a name="base-prefix-2">Basic - Prefix/Base 2</a></h2> | |
4543 Query evaluation test | |
4544 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
4545 | |
4546 <h3>Default Graph</h3> | |
4547 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-1.ttl">data-r2/basic/data-1.ttl</a></p> | |
4548 <div class="query"> | |
4549 @prefix ns: <http://example.org/ns#> . | |
4550 @prefix x: <http://example.org/x/> . | |
4551 @prefix z: <http://example.org/x/#> . | |
4552 | |
4553 x:x ns:p "d:x ns:p" . | |
4554 x:x x:p "x:x x:p" . | |
4555 | |
4556 z:x z:p "z:x z:p" . | |
4557 | |
4558 </div> | |
4559 <h3>Named Graphs</h3> | |
4560 | |
4561 <h3>Query</h3> | |
4562 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/base-prefix-2.rq">data-r2/basic/base-prefix-2.rq</a><br/> | |
4563 <div class="query"> | |
4564 BASE <http://example.org/x/> | |
4565 PREFIX : <#> | |
4566 | |
4567 SELECT * WHERE { :x ?p ?v } | |
4568 | |
4569 </div> | |
4570 <h3>Results</h3> | |
4571 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/base-prefix-2.srx">data-r2/basic/base-prefix-2.srx</a></p> | |
4572 <hr/> | |
4573 <h2><a name="base-prefix-3">Basic - Prefix/Base 3</a></h2> | |
4574 Query evaluation test | |
4575 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
4576 | |
4577 <h3>Default Graph</h3> | |
4578 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-1.ttl">data-r2/basic/data-1.ttl</a></p> | |
4579 <div class="query"> | |
4580 @prefix ns: <http://example.org/ns#> . | |
4581 @prefix x: <http://example.org/x/> . | |
4582 @prefix z: <http://example.org/x/#> . | |
4583 | |
4584 x:x ns:p "d:x ns:p" . | |
4585 x:x x:p "x:x x:p" . | |
4586 | |
4587 z:x z:p "z:x z:p" . | |
4588 | |
4589 </div> | |
4590 <h3>Named Graphs</h3> | |
4591 | |
4592 <h3>Query</h3> | |
4593 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/base-prefix-3.rq">data-r2/basic/base-prefix-3.rq</a><br/> | |
4594 <div class="query"> | |
4595 PREFIX ns: <http://example.org/ns#> | |
4596 PREFIX x: <http://example.org/x/> | |
4597 | |
4598 SELECT * WHERE { x:x ns:p ?v } | |
4599 | |
4600 </div> | |
4601 <h3>Results</h3> | |
4602 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/base-prefix-3.srx">data-r2/basic/base-prefix-3.srx</a></p> | |
4603 <hr/> | |
4604 <h2><a name="base-prefix-4">Basic - Prefix/Base 4</a></h2> | |
4605 Query evaluation test | |
4606 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
4607 | |
4608 <h3>Default Graph</h3> | |
4609 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-1.ttl">data-r2/basic/data-1.ttl</a></p> | |
4610 <div class="query"> | |
4611 @prefix ns: <http://example.org/ns#> . | |
4612 @prefix x: <http://example.org/x/> . | |
4613 @prefix z: <http://example.org/x/#> . | |
4614 | |
4615 x:x ns:p "d:x ns:p" . | |
4616 x:x x:p "x:x x:p" . | |
4617 | |
4618 z:x z:p "z:x z:p" . | |
4619 | |
4620 </div> | |
4621 <h3>Named Graphs</h3> | |
4622 | |
4623 <h3>Query</h3> | |
4624 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/base-prefix-4.rq">data-r2/basic/base-prefix-4.rq</a><br/> | |
4625 <div class="query"> | |
4626 BASE <http://example.org/x/> | |
4627 | |
4628 SELECT * WHERE { <x> <p> ?v } | |
4629 | |
4630 </div> | |
4631 <h3>Results</h3> | |
4632 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/base-prefix-4.srx">data-r2/basic/base-prefix-4.srx</a></p> | |
4633 <hr/> | |
4634 <h2><a name="base-prefix-5">Basic - Prefix/Base 5</a></h2> | |
4635 Query evaluation test | |
4636 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
4637 | |
4638 <h3>Default Graph</h3> | |
4639 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-1.ttl">data-r2/basic/data-1.ttl</a></p> | |
4640 <div class="query"> | |
4641 @prefix ns: <http://example.org/ns#> . | |
4642 @prefix x: <http://example.org/x/> . | |
4643 @prefix z: <http://example.org/x/#> . | |
4644 | |
4645 x:x ns:p "d:x ns:p" . | |
4646 x:x x:p "x:x x:p" . | |
4647 | |
4648 z:x z:p "z:x z:p" . | |
4649 | |
4650 </div> | |
4651 <h3>Named Graphs</h3> | |
4652 | |
4653 <h3>Query</h3> | |
4654 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/base-prefix-5.rq">data-r2/basic/base-prefix-5.rq</a><br/> | |
4655 <div class="query"> | |
4656 BASE <http://example.org/x/> | |
4657 | |
4658 SELECT * WHERE { <#x> <#p> ?v } | |
4659 | |
4660 </div> | |
4661 <h3>Results</h3> | |
4662 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/base-prefix-5.srx">data-r2/basic/base-prefix-5.srx</a></p> | |
4663 <hr/> | |
4664 <h2><a name="bgp-no-match">Non-matching triple pattern</a></h2> | |
4665 Query evaluation test | |
4666 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html</a></div> | |
4667 <p>Patterns not in data don't match</p> | |
4668 <h3>Default Graph</h3> | |
4669 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-7.ttl">data-r2/basic/data-7.ttl</a></p> | |
4670 <div class="query"> | |
4671 @prefix : <http://example.org/> . | |
4672 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
4673 | |
4674 :john a foaf:Person ; | |
4675 foaf:name "John Smith" . | |
4676 | |
4677 | |
4678 | |
4679 </div> | |
4680 <h3>Named Graphs</h3> | |
4681 | |
4682 <h3>Query</h3> | |
4683 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/bgp-no-match.rq">data-r2/basic/bgp-no-match.rq</a><br/> | |
4684 <div class="query"> | |
4685 PREFIX : <http://example.org/> | |
4686 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
4687 SELECT ?x | |
4688 WHERE { | |
4689 ?x foaf:name "John Smith" ; | |
4690 a foaf:Womble . | |
4691 } | |
4692 | |
4693 | |
4694 </div> | |
4695 <h3>Results</h3> | |
4696 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/bgp-no-match.srx">data-r2/basic/bgp-no-match.srx</a></p> | |
4697 <hr/> | |
4698 <h2><a name="list-1">Basic - List 1</a></h2> | |
4699 Query evaluation test | |
4700 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
4701 | |
4702 <h3>Default Graph</h3> | |
4703 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-2.ttl">data-r2/basic/data-2.ttl</a></p> | |
4704 <div class="query"> | |
4705 @prefix : <http://example.org/ns#> . | |
4706 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
4707 | |
4708 | |
4709 :x :list0 () . | |
4710 :x :list1 ("1"^^xsd:integer) . | |
4711 :x :list2 ("11"^^xsd:integer "22"^^xsd:integer) . | |
4712 :x :list3 ("111"^^xsd:integer "222"^^xsd:integer "333"^^xsd:integer) . | |
4713 | |
4714 </div> | |
4715 <h3>Named Graphs</h3> | |
4716 | |
4717 <h3>Query</h3> | |
4718 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/list-1.rq">data-r2/basic/list-1.rq</a><br/> | |
4719 <div class="query"> | |
4720 PREFIX : <http://example.org/ns#> | |
4721 | |
4722 SELECT ?p | |
4723 { :x ?p () . } | |
4724 | |
4725 | |
4726 </div> | |
4727 <h3>Results</h3> | |
4728 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/list-1.srx">data-r2/basic/list-1.srx</a></p> | |
4729 <hr/> | |
4730 <h2><a name="list-2">Basic - List 2</a></h2> | |
4731 Query evaluation test | |
4732 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
4733 | |
4734 <h3>Default Graph</h3> | |
4735 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-2.ttl">data-r2/basic/data-2.ttl</a></p> | |
4736 <div class="query"> | |
4737 @prefix : <http://example.org/ns#> . | |
4738 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
4739 | |
4740 | |
4741 :x :list0 () . | |
4742 :x :list1 ("1"^^xsd:integer) . | |
4743 :x :list2 ("11"^^xsd:integer "22"^^xsd:integer) . | |
4744 :x :list3 ("111"^^xsd:integer "222"^^xsd:integer "333"^^xsd:integer) . | |
4745 | |
4746 </div> | |
4747 <h3>Named Graphs</h3> | |
4748 | |
4749 <h3>Query</h3> | |
4750 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/list-2.rq">data-r2/basic/list-2.rq</a><br/> | |
4751 <div class="query"> | |
4752 PREFIX : <http://example.org/ns#> | |
4753 | |
4754 SELECT ?p | |
4755 { :x ?p (1) . } | |
4756 | |
4757 | |
4758 </div> | |
4759 <h3>Results</h3> | |
4760 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/list-2.srx">data-r2/basic/list-2.srx</a></p> | |
4761 <hr/> | |
4762 <h2><a name="list-3">Basic - List 3</a></h2> | |
4763 Query evaluation test | |
4764 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
4765 | |
4766 <h3>Default Graph</h3> | |
4767 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-2.ttl">data-r2/basic/data-2.ttl</a></p> | |
4768 <div class="query"> | |
4769 @prefix : <http://example.org/ns#> . | |
4770 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
4771 | |
4772 | |
4773 :x :list0 () . | |
4774 :x :list1 ("1"^^xsd:integer) . | |
4775 :x :list2 ("11"^^xsd:integer "22"^^xsd:integer) . | |
4776 :x :list3 ("111"^^xsd:integer "222"^^xsd:integer "333"^^xsd:integer) . | |
4777 | |
4778 </div> | |
4779 <h3>Named Graphs</h3> | |
4780 | |
4781 <h3>Query</h3> | |
4782 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/list-3.rq">data-r2/basic/list-3.rq</a><br/> | |
4783 <div class="query"> | |
4784 PREFIX : <http://example.org/ns#> | |
4785 | |
4786 SELECT ?p ?v | |
4787 { :x ?p (?v) . } | |
4788 | |
4789 | |
4790 </div> | |
4791 <h3>Results</h3> | |
4792 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/list-3.srx">data-r2/basic/list-3.srx</a></p> | |
4793 <hr/> | |
4794 <h2><a name="list-4">Basic - List 4</a></h2> | |
4795 Query evaluation test | |
4796 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
4797 | |
4798 <h3>Default Graph</h3> | |
4799 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-2.ttl">data-r2/basic/data-2.ttl</a></p> | |
4800 <div class="query"> | |
4801 @prefix : <http://example.org/ns#> . | |
4802 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
4803 | |
4804 | |
4805 :x :list0 () . | |
4806 :x :list1 ("1"^^xsd:integer) . | |
4807 :x :list2 ("11"^^xsd:integer "22"^^xsd:integer) . | |
4808 :x :list3 ("111"^^xsd:integer "222"^^xsd:integer "333"^^xsd:integer) . | |
4809 | |
4810 </div> | |
4811 <h3>Named Graphs</h3> | |
4812 | |
4813 <h3>Query</h3> | |
4814 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/list-4.rq">data-r2/basic/list-4.rq</a><br/> | |
4815 <div class="query"> | |
4816 PREFIX : <http://example.org/ns#> | |
4817 | |
4818 SELECT ?p ?v ?w | |
4819 { :x ?p (?v ?w) . } | |
4820 | |
4821 | |
4822 </div> | |
4823 <h3>Results</h3> | |
4824 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/list-4.srx">data-r2/basic/list-4.srx</a></p> | |
4825 <hr/> | |
4826 <h2><a name="prefix-name-1">Prefix name 1</a></h2> | |
4827 Query evaluation test | |
4828 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html</a></div> | |
4829 <p>No local name - foo:</p> | |
4830 <h3>Default Graph</h3> | |
4831 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-6.ttl">data-r2/basic/data-6.ttl</a></p> | |
4832 <div class="query"> | |
4833 @prefix : <http://example.org/ns#> . | |
4834 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
4835 | |
4836 :x :p1 "1"^^xsd:integer . | |
4837 :x :p1 "2"^^xsd:integer . | |
4838 | |
4839 </div> | |
4840 <h3>Named Graphs</h3> | |
4841 | |
4842 <h3>Query</h3> | |
4843 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/prefix-name-1.rq">data-r2/basic/prefix-name-1.rq</a><br/> | |
4844 <div class="query"> | |
4845 PREFIX ex: <http://example.org/ns#x> | |
4846 SELECT ?p { | |
4847 ex: ?p 1 . | |
4848 } | |
4849 | |
4850 </div> | |
4851 <h3>Results</h3> | |
4852 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/prefix-name-1.srx">data-r2/basic/prefix-name-1.srx</a></p> | |
4853 <hr/> | |
4854 <h2><a name="quotes-1">Basic - Quotes 1</a></h2> | |
4855 Query evaluation test | |
4856 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
4857 | |
4858 <h3>Default Graph</h3> | |
4859 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-3.ttl">data-r2/basic/data-3.ttl</a></p> | |
4860 <div class="query"> | |
4861 @prefix : <http://example.org/ns#> . | |
4862 | |
4863 # This file uses UNIX line end conventions. | |
4864 | |
4865 :x1 :p1 "x" . | |
4866 :x2 :p2 """x | |
4867 y""" . | |
4868 | |
4869 :x3 :p3 """x | |
4870 y"""^^:someType . | |
4871 | |
4872 | |
4873 | |
4874 </div> | |
4875 <h3>Named Graphs</h3> | |
4876 | |
4877 <h3>Query</h3> | |
4878 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/quotes-1.rq">data-r2/basic/quotes-1.rq</a><br/> | |
4879 <div class="query"> | |
4880 PREFIX : <http://example.org/ns#> | |
4881 | |
4882 SELECT ?x | |
4883 { ?x ?p '''x''' } | |
4884 | |
4885 | |
4886 | |
4887 </div> | |
4888 <h3>Results</h3> | |
4889 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/quotes-1.srx">data-r2/basic/quotes-1.srx</a></p> | |
4890 <hr/> | |
4891 <h2><a name="quotes-2">Basic - Quotes 2</a></h2> | |
4892 Query evaluation test | |
4893 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
4894 | |
4895 <h3>Default Graph</h3> | |
4896 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-3.ttl">data-r2/basic/data-3.ttl</a></p> | |
4897 <div class="query"> | |
4898 @prefix : <http://example.org/ns#> . | |
4899 | |
4900 # This file uses UNIX line end conventions. | |
4901 | |
4902 :x1 :p1 "x" . | |
4903 :x2 :p2 """x | |
4904 y""" . | |
4905 | |
4906 :x3 :p3 """x | |
4907 y"""^^:someType . | |
4908 | |
4909 | |
4910 | |
4911 </div> | |
4912 <h3>Named Graphs</h3> | |
4913 | |
4914 <h3>Query</h3> | |
4915 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/quotes-2.rq">data-r2/basic/quotes-2.rq</a><br/> | |
4916 <div class="query"> | |
4917 PREFIX : <http://example.org/ns#> | |
4918 | |
4919 SELECT ?x | |
4920 { ?x ?p """x""" } | |
4921 | |
4922 | |
4923 | |
4924 </div> | |
4925 <h3>Results</h3> | |
4926 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/quotes-2.srx">data-r2/basic/quotes-2.srx</a></p> | |
4927 <hr/> | |
4928 <h2><a name="quotes-3">Basic - Quotes 3</a></h2> | |
4929 Query evaluation test | |
4930 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
4931 | |
4932 <h3>Default Graph</h3> | |
4933 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-3.ttl">data-r2/basic/data-3.ttl</a></p> | |
4934 <div class="query"> | |
4935 @prefix : <http://example.org/ns#> . | |
4936 | |
4937 # This file uses UNIX line end conventions. | |
4938 | |
4939 :x1 :p1 "x" . | |
4940 :x2 :p2 """x | |
4941 y""" . | |
4942 | |
4943 :x3 :p3 """x | |
4944 y"""^^:someType . | |
4945 | |
4946 | |
4947 | |
4948 </div> | |
4949 <h3>Named Graphs</h3> | |
4950 | |
4951 <h3>Query</h3> | |
4952 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/quotes-3.rq">data-r2/basic/quotes-3.rq</a><br/> | |
4953 <div class="query"> | |
4954 # This query uses UNIX line end conventions. | |
4955 # It is in CVS in binary. | |
4956 PREFIX : <http://example.org/ns#> | |
4957 | |
4958 SELECT ?x | |
4959 { ?x ?p '''x | |
4960 y''' | |
4961 } | |
4962 | |
4963 </div> | |
4964 <h3>Results</h3> | |
4965 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/quotes-3.srx">data-r2/basic/quotes-3.srx</a></p> | |
4966 <hr/> | |
4967 <h2><a name="quotes-4">Basic - Quotes 4</a></h2> | |
4968 Query evaluation test | |
4969 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
4970 | |
4971 <h3>Default Graph</h3> | |
4972 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-3.ttl">data-r2/basic/data-3.ttl</a></p> | |
4973 <div class="query"> | |
4974 @prefix : <http://example.org/ns#> . | |
4975 | |
4976 # This file uses UNIX line end conventions. | |
4977 | |
4978 :x1 :p1 "x" . | |
4979 :x2 :p2 """x | |
4980 y""" . | |
4981 | |
4982 :x3 :p3 """x | |
4983 y"""^^:someType . | |
4984 | |
4985 | |
4986 | |
4987 </div> | |
4988 <h3>Named Graphs</h3> | |
4989 | |
4990 <h3>Query</h3> | |
4991 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/quotes-4.rq">data-r2/basic/quotes-4.rq</a><br/> | |
4992 <div class="query"> | |
4993 # This query uses UNIX line end conventions. | |
4994 # It is in CVS in binary. | |
4995 PREFIX : <http://example.org/ns#> | |
4996 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
4997 | |
4998 SELECT ?x | |
4999 { ?x ?p """x | |
5000 y"""^^:someType | |
5001 } | |
5002 | |
5003 </div> | |
5004 <h3>Results</h3> | |
5005 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/quotes-4.srx">data-r2/basic/quotes-4.srx</a></p> | |
5006 <hr/> | |
5007 <h2><a name="spoo-1">Basic graph pattern - spoo</a></h2> | |
5008 Query evaluation test | |
5009 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
5010 <p>Test the :x :y :o1, :o2 construct</p> | |
5011 <h3>Default Graph</h3> | |
5012 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-6.ttl">data-r2/basic/data-6.ttl</a></p> | |
5013 <div class="query"> | |
5014 @prefix : <http://example.org/ns#> . | |
5015 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
5016 | |
5017 :x :p1 "1"^^xsd:integer . | |
5018 :x :p1 "2"^^xsd:integer . | |
5019 | |
5020 </div> | |
5021 <h3>Named Graphs</h3> | |
5022 | |
5023 <h3>Query</h3> | |
5024 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/spoo-1.rq">data-r2/basic/spoo-1.rq</a><br/> | |
5025 <div class="query"> | |
5026 PREFIX : <http://example.org/ns#> | |
5027 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5028 | |
5029 SELECT ?s WHERE { | |
5030 ?s :p1 1, 2 . | |
5031 } | |
5032 | |
5033 | |
5034 </div> | |
5035 <h3>Results</h3> | |
5036 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/spoo-1.srx">data-r2/basic/spoo-1.srx</a></p> | |
5037 <hr/> | |
5038 <h2><a name="term-1">Basic - Term 1</a></h2> | |
5039 Query evaluation test | |
5040 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
5041 | |
5042 <h3>Default Graph</h3> | |
5043 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-4.ttl">data-r2/basic/data-4.ttl</a></p> | |
5044 <div class="query"> | |
5045 @prefix : <http://example.org/ns#> . | |
5046 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
5047 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
5048 | |
5049 :x :p1 "true"^^xsd:boolean . | |
5050 :x :p2 "false"^^xsd:boolean . | |
5051 | |
5052 :x rdf:type :C . | |
5053 | |
5054 :x :n1 "123.0"^^xsd:decimal . | |
5055 :x :n2 "456."^^xsd:decimal . | |
5056 | |
5057 :x :n3 "+5"^^xsd:integer . | |
5058 :x :n4 "-18"^^xsd:integer . | |
5059 | |
5060 </div> | |
5061 <h3>Named Graphs</h3> | |
5062 | |
5063 <h3>Query</h3> | |
5064 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/term-1.rq">data-r2/basic/term-1.rq</a><br/> | |
5065 <div class="query"> | |
5066 PREFIX : <http://example.org/ns#> | |
5067 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5068 | |
5069 SELECT * { :x ?p true . } | |
5070 | |
5071 </div> | |
5072 <h3>Results</h3> | |
5073 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/term-1.srx">data-r2/basic/term-1.srx</a></p> | |
5074 <hr/> | |
5075 <h2><a name="term-2">Basic - Term 2</a></h2> | |
5076 Query evaluation test | |
5077 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
5078 | |
5079 <h3>Default Graph</h3> | |
5080 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-4.ttl">data-r2/basic/data-4.ttl</a></p> | |
5081 <div class="query"> | |
5082 @prefix : <http://example.org/ns#> . | |
5083 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
5084 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
5085 | |
5086 :x :p1 "true"^^xsd:boolean . | |
5087 :x :p2 "false"^^xsd:boolean . | |
5088 | |
5089 :x rdf:type :C . | |
5090 | |
5091 :x :n1 "123.0"^^xsd:decimal . | |
5092 :x :n2 "456."^^xsd:decimal . | |
5093 | |
5094 :x :n3 "+5"^^xsd:integer . | |
5095 :x :n4 "-18"^^xsd:integer . | |
5096 | |
5097 </div> | |
5098 <h3>Named Graphs</h3> | |
5099 | |
5100 <h3>Query</h3> | |
5101 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/term-2.rq">data-r2/basic/term-2.rq</a><br/> | |
5102 <div class="query"> | |
5103 PREFIX : <http://example.org/ns#> | |
5104 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5105 | |
5106 SELECT * { :x ?p false } | |
5107 | |
5108 </div> | |
5109 <h3>Results</h3> | |
5110 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/term-2.srx">data-r2/basic/term-2.srx</a></p> | |
5111 <hr/> | |
5112 <h2><a name="term-3">Basic - Term 3</a></h2> | |
5113 Query evaluation test | |
5114 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
5115 | |
5116 <h3>Default Graph</h3> | |
5117 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-4.ttl">data-r2/basic/data-4.ttl</a></p> | |
5118 <div class="query"> | |
5119 @prefix : <http://example.org/ns#> . | |
5120 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
5121 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
5122 | |
5123 :x :p1 "true"^^xsd:boolean . | |
5124 :x :p2 "false"^^xsd:boolean . | |
5125 | |
5126 :x rdf:type :C . | |
5127 | |
5128 :x :n1 "123.0"^^xsd:decimal . | |
5129 :x :n2 "456."^^xsd:decimal . | |
5130 | |
5131 :x :n3 "+5"^^xsd:integer . | |
5132 :x :n4 "-18"^^xsd:integer . | |
5133 | |
5134 </div> | |
5135 <h3>Named Graphs</h3> | |
5136 | |
5137 <h3>Query</h3> | |
5138 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/term-3.rq">data-r2/basic/term-3.rq</a><br/> | |
5139 <div class="query"> | |
5140 PREFIX : <http://example.org/ns#> | |
5141 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5142 | |
5143 SELECT * { :x a ?C . } | |
5144 | |
5145 </div> | |
5146 <h3>Results</h3> | |
5147 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/term-3.srx">data-r2/basic/term-3.srx</a></p> | |
5148 <hr/> | |
5149 <h2><a name="term-4">Basic - Term 4</a></h2> | |
5150 Query evaluation test | |
5151 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
5152 | |
5153 <h3>Default Graph</h3> | |
5154 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-4.ttl">data-r2/basic/data-4.ttl</a></p> | |
5155 <div class="query"> | |
5156 @prefix : <http://example.org/ns#> . | |
5157 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
5158 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
5159 | |
5160 :x :p1 "true"^^xsd:boolean . | |
5161 :x :p2 "false"^^xsd:boolean . | |
5162 | |
5163 :x rdf:type :C . | |
5164 | |
5165 :x :n1 "123.0"^^xsd:decimal . | |
5166 :x :n2 "456."^^xsd:decimal . | |
5167 | |
5168 :x :n3 "+5"^^xsd:integer . | |
5169 :x :n4 "-18"^^xsd:integer . | |
5170 | |
5171 </div> | |
5172 <h3>Named Graphs</h3> | |
5173 | |
5174 <h3>Query</h3> | |
5175 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/term-4.rq">data-r2/basic/term-4.rq</a><br/> | |
5176 <div class="query"> | |
5177 PREFIX : <http://example.org/ns#> | |
5178 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5179 | |
5180 SELECT * { :x ?p 123.0 } | |
5181 | |
5182 </div> | |
5183 <h3>Results</h3> | |
5184 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/term-4.srx">data-r2/basic/term-4.srx</a></p> | |
5185 <hr/> | |
5186 <h2><a name="term-5">Basic - Term 5</a></h2> | |
5187 Query evaluation test | |
5188 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
5189 | |
5190 <h3>Default Graph</h3> | |
5191 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-4.ttl">data-r2/basic/data-4.ttl</a></p> | |
5192 <div class="query"> | |
5193 @prefix : <http://example.org/ns#> . | |
5194 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
5195 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
5196 | |
5197 :x :p1 "true"^^xsd:boolean . | |
5198 :x :p2 "false"^^xsd:boolean . | |
5199 | |
5200 :x rdf:type :C . | |
5201 | |
5202 :x :n1 "123.0"^^xsd:decimal . | |
5203 :x :n2 "456."^^xsd:decimal . | |
5204 | |
5205 :x :n3 "+5"^^xsd:integer . | |
5206 :x :n4 "-18"^^xsd:integer . | |
5207 | |
5208 </div> | |
5209 <h3>Named Graphs</h3> | |
5210 | |
5211 <h3>Query</h3> | |
5212 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/term-5.rq">data-r2/basic/term-5.rq</a><br/> | |
5213 <div class="query"> | |
5214 PREFIX : <http://example.org/ns#> | |
5215 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5216 | |
5217 SELECT * { :x ?p 123.0. } | |
5218 | |
5219 </div> | |
5220 <h3>Results</h3> | |
5221 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/term-5.srx">data-r2/basic/term-5.srx</a></p> | |
5222 <hr/> | |
5223 <h2><a name="term-6">Basic - Term 6</a></h2> | |
5224 Query evaluation test | |
5225 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
5226 | |
5227 <h3>Default Graph</h3> | |
5228 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-4.ttl">data-r2/basic/data-4.ttl</a></p> | |
5229 <div class="query"> | |
5230 @prefix : <http://example.org/ns#> . | |
5231 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
5232 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
5233 | |
5234 :x :p1 "true"^^xsd:boolean . | |
5235 :x :p2 "false"^^xsd:boolean . | |
5236 | |
5237 :x rdf:type :C . | |
5238 | |
5239 :x :n1 "123.0"^^xsd:decimal . | |
5240 :x :n2 "456."^^xsd:decimal . | |
5241 | |
5242 :x :n3 "+5"^^xsd:integer . | |
5243 :x :n4 "-18"^^xsd:integer . | |
5244 | |
5245 </div> | |
5246 <h3>Named Graphs</h3> | |
5247 | |
5248 <h3>Query</h3> | |
5249 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/term-6.rq">data-r2/basic/term-6.rq</a><br/> | |
5250 <div class="query"> | |
5251 PREFIX : <http://example.org/ns#> | |
5252 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5253 | |
5254 # DOT is part of the decimal. | |
5255 SELECT * { :x ?p 456. } | |
5256 | |
5257 </div> | |
5258 <h3>Results</h3> | |
5259 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/term-6.srx">data-r2/basic/term-6.srx</a></p> | |
5260 <hr/> | |
5261 <h2><a name="term-7">Basic - Term 7</a></h2> | |
5262 Query evaluation test | |
5263 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
5264 | |
5265 <h3>Default Graph</h3> | |
5266 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-4.ttl">data-r2/basic/data-4.ttl</a></p> | |
5267 <div class="query"> | |
5268 @prefix : <http://example.org/ns#> . | |
5269 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
5270 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
5271 | |
5272 :x :p1 "true"^^xsd:boolean . | |
5273 :x :p2 "false"^^xsd:boolean . | |
5274 | |
5275 :x rdf:type :C . | |
5276 | |
5277 :x :n1 "123.0"^^xsd:decimal . | |
5278 :x :n2 "456."^^xsd:decimal . | |
5279 | |
5280 :x :n3 "+5"^^xsd:integer . | |
5281 :x :n4 "-18"^^xsd:integer . | |
5282 | |
5283 </div> | |
5284 <h3>Named Graphs</h3> | |
5285 | |
5286 <h3>Query</h3> | |
5287 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/term-7.rq">data-r2/basic/term-7.rq</a><br/> | |
5288 <div class="query"> | |
5289 PREFIX : <http://example.org/ns#> | |
5290 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5291 | |
5292 # DOT is part of the decimal. | |
5293 SELECT * { :x ?p 456. . } | |
5294 | |
5295 </div> | |
5296 <h3>Results</h3> | |
5297 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/term-7.srx">data-r2/basic/term-7.srx</a></p> | |
5298 <hr/> | |
5299 <h2><a name="term-8">Basic - Term 8</a></h2> | |
5300 Query evaluation test | |
5301 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
5302 | |
5303 <h3>Default Graph</h3> | |
5304 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-4.ttl">data-r2/basic/data-4.ttl</a></p> | |
5305 <div class="query"> | |
5306 @prefix : <http://example.org/ns#> . | |
5307 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
5308 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
5309 | |
5310 :x :p1 "true"^^xsd:boolean . | |
5311 :x :p2 "false"^^xsd:boolean . | |
5312 | |
5313 :x rdf:type :C . | |
5314 | |
5315 :x :n1 "123.0"^^xsd:decimal . | |
5316 :x :n2 "456."^^xsd:decimal . | |
5317 | |
5318 :x :n3 "+5"^^xsd:integer . | |
5319 :x :n4 "-18"^^xsd:integer . | |
5320 | |
5321 </div> | |
5322 <h3>Named Graphs</h3> | |
5323 | |
5324 <h3>Query</h3> | |
5325 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/term-8.rq">data-r2/basic/term-8.rq</a><br/> | |
5326 <div class="query"> | |
5327 PREFIX : <http://example.org/ns#> | |
5328 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5329 | |
5330 # DOT is part of the decimal. | |
5331 SELECT * { :x ?p +5 } | |
5332 | |
5333 </div> | |
5334 <h3>Results</h3> | |
5335 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/term-8.srx">data-r2/basic/term-8.srx</a></p> | |
5336 <hr/> | |
5337 <h2><a name="term-9">Basic - Term 9</a></h2> | |
5338 Query evaluation test | |
5339 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
5340 | |
5341 <h3>Default Graph</h3> | |
5342 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-4.ttl">data-r2/basic/data-4.ttl</a></p> | |
5343 <div class="query"> | |
5344 @prefix : <http://example.org/ns#> . | |
5345 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
5346 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
5347 | |
5348 :x :p1 "true"^^xsd:boolean . | |
5349 :x :p2 "false"^^xsd:boolean . | |
5350 | |
5351 :x rdf:type :C . | |
5352 | |
5353 :x :n1 "123.0"^^xsd:decimal . | |
5354 :x :n2 "456."^^xsd:decimal . | |
5355 | |
5356 :x :n3 "+5"^^xsd:integer . | |
5357 :x :n4 "-18"^^xsd:integer . | |
5358 | |
5359 </div> | |
5360 <h3>Named Graphs</h3> | |
5361 | |
5362 <h3>Query</h3> | |
5363 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/term-9.rq">data-r2/basic/term-9.rq</a><br/> | |
5364 <div class="query"> | |
5365 PREFIX : <http://example.org/ns#> | |
5366 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5367 | |
5368 # DOT is part of the decimal. | |
5369 SELECT * { :x ?p -18 } | |
5370 | |
5371 </div> | |
5372 <h3>Results</h3> | |
5373 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/term-9.srx">data-r2/basic/term-9.srx</a></p> | |
5374 <hr/> | |
5375 <h2><a name="var-1">Basic - Var 1</a></h2> | |
5376 Query evaluation test | |
5377 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
5378 | |
5379 <h3>Default Graph</h3> | |
5380 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-5.ttl">data-r2/basic/data-5.ttl</a></p> | |
5381 <div class="query"> | |
5382 @prefix : <http://example.org/ns#> . | |
5383 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
5384 | |
5385 :x :p1 "1"^^xsd:integer . | |
5386 :x :p2 "2"^^xsd:integer . | |
5387 | |
5388 </div> | |
5389 <h3>Named Graphs</h3> | |
5390 | |
5391 <h3>Query</h3> | |
5392 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/var-1.rq">data-r2/basic/var-1.rq</a><br/> | |
5393 <div class="query"> | |
5394 PREFIX : <http://example.org/ns#> | |
5395 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5396 | |
5397 SELECT * { :x ?p $v } | |
5398 | |
5399 </div> | |
5400 <h3>Results</h3> | |
5401 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/var-1.srx">data-r2/basic/var-1.srx</a></p> | |
5402 <hr/> | |
5403 <h2><a name="var-2">Basic - Var 2</a></h2> | |
5404 Query evaluation test | |
5405 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
5406 | |
5407 <h3>Default Graph</h3> | |
5408 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/data-5.ttl">data-r2/basic/data-5.ttl</a></p> | |
5409 <div class="query"> | |
5410 @prefix : <http://example.org/ns#> . | |
5411 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
5412 | |
5413 :x :p1 "1"^^xsd:integer . | |
5414 :x :p2 "2"^^xsd:integer . | |
5415 | |
5416 </div> | |
5417 <h3>Named Graphs</h3> | |
5418 | |
5419 <h3>Query</h3> | |
5420 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/var-2.rq">data-r2/basic/var-2.rq</a><br/> | |
5421 <div class="query"> | |
5422 PREFIX : <http://example.org/ns#> | |
5423 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5424 | |
5425 SELECT * { :x ?p $v . :x ?p ?v } | |
5426 | |
5427 </div> | |
5428 <h3>Results</h3> | |
5429 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/var-2.srx">data-r2/basic/var-2.srx</a></p> | |
5430 <hr/> | |
5431 <h2><a name="dawg-bnode-coref-001">dawg-bnode-coreference</a></h2> | |
5432 Query evaluation test | |
5433 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006</a></div> | |
5434 <p>Query results must maintain bnode co-references in the dataset</p> | |
5435 <h3>Default Graph</h3> | |
5436 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/bnode-coreference/data.ttl">data-r2/bnode-coreference/data.ttl</a></p> | |
5437 <div class="query"> | |
5438 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
5439 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
5440 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
5441 | |
5442 _:alice | |
5443 rdf:type foaf:Person ; | |
5444 foaf:name "Alice" ; | |
5445 foaf:mbox <mailto:alice@work> ; | |
5446 foaf:knows _:bob ; | |
5447 . | |
5448 | |
5449 _:bob | |
5450 rdf:type foaf:Person ; | |
5451 foaf:name "Bob" ; | |
5452 foaf:knows _:alice ; | |
5453 foaf:mbox <mailto:bob@work> ; | |
5454 foaf:mbox <mailto:bob@home> ; | |
5455 . | |
5456 | |
5457 | |
5458 _:eve | |
5459 rdf:type foaf:Person ; | |
5460 foaf:name "Eve" ; | |
5461 foaf:knows _:fred ; | |
5462 . | |
5463 | |
5464 _:fred | |
5465 rdf:type foaf:Person ; | |
5466 foaf:mbox <mailto:fred@edu> . | |
5467 | |
5468 </div> | |
5469 <h3>Named Graphs</h3> | |
5470 | |
5471 <h3>Query</h3> | |
5472 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/bnode-coreference/query.rq">data-r2/bnode-coreference/query.rq</a><br/> | |
5473 <div class="query"> | |
5474 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
5475 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
5476 | |
5477 SELECT ?x ?y | |
5478 WHERE { | |
5479 ?x foaf:knows ?y . | |
5480 } | |
5481 | |
5482 </div> | |
5483 <h3>Results</h3> | |
5484 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/bnode-coreference/result.ttl">data-r2/bnode-coreference/result.ttl</a></p> | |
5485 <hr/> | |
5486 <h2><a name="dawg-bev-1">Test 'boolean effective value' - true</a></h2> | |
5487 Query evaluation test | |
5488 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
5489 <p>Non-zero numerics, non-empty strings, and the true boolean have an EBV of true</p> | |
5490 <h3>Default Graph</h3> | |
5491 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/data-1.ttl">data-r2/boolean-effective-value/data-1.ttl</a></p> | |
5492 <div class="query"> | |
5493 @prefix : <http://example.org/ns#> . | |
5494 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
5495 | |
5496 # These object values are true by the boolean effective value rule. | |
5497 :x1 :p "1"^^xsd:integer . | |
5498 :x2 :p "foo" . | |
5499 :x3 :p "0.01"^^xsd:double . | |
5500 :x4 :p "true"^^xsd:boolean . | |
5501 | |
5502 # These are false | |
5503 :y1 :p "0"^^xsd:integer . | |
5504 :y2 :p "0.0"^^xsd:double . | |
5505 :y3 :p "" . | |
5506 :y4 :p "false"^^xsd:boolean . | |
5507 | |
5508 </div> | |
5509 <h3>Named Graphs</h3> | |
5510 | |
5511 <h3>Query</h3> | |
5512 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/query-bev-1.rq">data-r2/boolean-effective-value/query-bev-1.rq</a><br/> | |
5513 <div class="query"> | |
5514 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5515 PREFIX : <http://example.org/ns#> | |
5516 SELECT ?a | |
5517 WHERE | |
5518 { ?a :p ?v . | |
5519 FILTER (?v) . | |
5520 } | |
5521 | |
5522 </div> | |
5523 <h3>Results</h3> | |
5524 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/result-bev-1.ttl">data-r2/boolean-effective-value/result-bev-1.ttl</a></p> | |
5525 <hr/> | |
5526 <h2><a name="dawg-bev-2">Test 'boolean effective value' - false</a></h2> | |
5527 Query evaluation test | |
5528 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
5529 <p>Zero-valued numerics, the empty string, and the false boolean have an EBV of false</p> | |
5530 <h3>Default Graph</h3> | |
5531 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/data-1.ttl">data-r2/boolean-effective-value/data-1.ttl</a></p> | |
5532 <div class="query"> | |
5533 @prefix : <http://example.org/ns#> . | |
5534 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
5535 | |
5536 # These object values are true by the boolean effective value rule. | |
5537 :x1 :p "1"^^xsd:integer . | |
5538 :x2 :p "foo" . | |
5539 :x3 :p "0.01"^^xsd:double . | |
5540 :x4 :p "true"^^xsd:boolean . | |
5541 | |
5542 # These are false | |
5543 :y1 :p "0"^^xsd:integer . | |
5544 :y2 :p "0.0"^^xsd:double . | |
5545 :y3 :p "" . | |
5546 :y4 :p "false"^^xsd:boolean . | |
5547 | |
5548 </div> | |
5549 <h3>Named Graphs</h3> | |
5550 | |
5551 <h3>Query</h3> | |
5552 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/query-bev-2.rq">data-r2/boolean-effective-value/query-bev-2.rq</a><br/> | |
5553 <div class="query"> | |
5554 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5555 PREFIX : <http://example.org/ns#> | |
5556 SELECT ?a | |
5557 WHERE | |
5558 { ?a :p ?v . | |
5559 FILTER ( ! ?v ) . | |
5560 } | |
5561 | |
5562 </div> | |
5563 <h3>Results</h3> | |
5564 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/result-bev-2.ttl">data-r2/boolean-effective-value/result-bev-2.ttl</a></p> | |
5565 <hr/> | |
5566 <h2><a name="dawg-bev-3">Test 'boolean effective value' - &&</a></h2> | |
5567 Query evaluation test | |
5568 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
5569 <p>The && operator takes the EBV of its operands</p> | |
5570 <h3>Default Graph</h3> | |
5571 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/data-1.ttl">data-r2/boolean-effective-value/data-1.ttl</a></p> | |
5572 <div class="query"> | |
5573 @prefix : <http://example.org/ns#> . | |
5574 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
5575 | |
5576 # These object values are true by the boolean effective value rule. | |
5577 :x1 :p "1"^^xsd:integer . | |
5578 :x2 :p "foo" . | |
5579 :x3 :p "0.01"^^xsd:double . | |
5580 :x4 :p "true"^^xsd:boolean . | |
5581 | |
5582 # These are false | |
5583 :y1 :p "0"^^xsd:integer . | |
5584 :y2 :p "0.0"^^xsd:double . | |
5585 :y3 :p "" . | |
5586 :y4 :p "false"^^xsd:boolean . | |
5587 | |
5588 </div> | |
5589 <h3>Named Graphs</h3> | |
5590 | |
5591 <h3>Query</h3> | |
5592 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/query-bev-3.rq">data-r2/boolean-effective-value/query-bev-3.rq</a><br/> | |
5593 <div class="query"> | |
5594 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5595 PREFIX : <http://example.org/ns#> | |
5596 SELECT ?a | |
5597 WHERE | |
5598 { ?a :p ?v . | |
5599 FILTER ("true"^^xsd:boolean && ?v) . | |
5600 } | |
5601 | |
5602 </div> | |
5603 <h3>Results</h3> | |
5604 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/result-bev-3.ttl">data-r2/boolean-effective-value/result-bev-3.ttl</a></p> | |
5605 <hr/> | |
5606 <h2><a name="dawg-bev-4">Test 'boolean effective value' - ||</a></h2> | |
5607 Query evaluation test | |
5608 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
5609 <p>The || operator takes the EBV of its operands</p> | |
5610 <h3>Default Graph</h3> | |
5611 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/data-1.ttl">data-r2/boolean-effective-value/data-1.ttl</a></p> | |
5612 <div class="query"> | |
5613 @prefix : <http://example.org/ns#> . | |
5614 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
5615 | |
5616 # These object values are true by the boolean effective value rule. | |
5617 :x1 :p "1"^^xsd:integer . | |
5618 :x2 :p "foo" . | |
5619 :x3 :p "0.01"^^xsd:double . | |
5620 :x4 :p "true"^^xsd:boolean . | |
5621 | |
5622 # These are false | |
5623 :y1 :p "0"^^xsd:integer . | |
5624 :y2 :p "0.0"^^xsd:double . | |
5625 :y3 :p "" . | |
5626 :y4 :p "false"^^xsd:boolean . | |
5627 | |
5628 </div> | |
5629 <h3>Named Graphs</h3> | |
5630 | |
5631 <h3>Query</h3> | |
5632 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/query-bev-4.rq">data-r2/boolean-effective-value/query-bev-4.rq</a><br/> | |
5633 <div class="query"> | |
5634 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5635 PREFIX : <http://example.org/ns#> | |
5636 SELECT ?a | |
5637 WHERE | |
5638 { ?a :p ?v . | |
5639 FILTER ("false"^^xsd:boolean || ?v) . | |
5640 } | |
5641 | |
5642 </div> | |
5643 <h3>Results</h3> | |
5644 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/result-bev-4.ttl">data-r2/boolean-effective-value/result-bev-4.ttl</a></p> | |
5645 <hr/> | |
5646 <h2><a name="dawg-bev-5">Test 'boolean effective value' - optional</a></h2> | |
5647 Query evaluation test | |
5648 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
5649 <p>The EBV of an unbound value or a literal with an unknown datatype is a type error, which eliminates the solution in question</p> | |
5650 <h3>Default Graph</h3> | |
5651 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/data-2.ttl">data-r2/boolean-effective-value/data-2.ttl</a></p> | |
5652 <div class="query"> | |
5653 @prefix : <http://example.org/ns#> . | |
5654 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
5655 | |
5656 # These object values are true by the boolean effective value rule. | |
5657 :x1 :p "1"^^xsd:integer . | |
5658 :x2 :p "foo" . | |
5659 :x3 :p "0.01"^^xsd:double . | |
5660 :x4 :p "true"^^xsd:boolean . | |
5661 | |
5662 # These are false | |
5663 :y1 :p "0"^^xsd:integer . | |
5664 :y2 :p "0.0"^^xsd:double . | |
5665 :y3 :p "" . | |
5666 :y4 :p "false"^^xsd:boolean . | |
5667 | |
5668 # Optionals | |
5669 :x1 :q "true"^^xsd:boolean . | |
5670 :x2 :q "false"^^xsd:boolean . | |
5671 :x3 :q "foo"^^:unknown . | |
5672 | |
5673 </div> | |
5674 <h3>Named Graphs</h3> | |
5675 | |
5676 <h3>Query</h3> | |
5677 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/query-bev-5.rq">data-r2/boolean-effective-value/query-bev-5.rq</a><br/> | |
5678 <div class="query"> | |
5679 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5680 PREFIX : <http://example.org/ns#> | |
5681 SELECT ?a | |
5682 WHERE | |
5683 { ?a :p ?v . | |
5684 OPTIONAL | |
5685 { ?a :q ?w } . | |
5686 FILTER (?w) . | |
5687 } | |
5688 | |
5689 </div> | |
5690 <h3>Results</h3> | |
5691 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/result-bev-5.ttl">data-r2/boolean-effective-value/result-bev-5.ttl</a></p> | |
5692 <hr/> | |
5693 <h2><a name="dawg-bev-6">Test 'boolean effective value' - unknown types</a></h2> | |
5694 Query evaluation test | |
5695 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
5696 <p>Negating a type error is still a type error</p> | |
5697 <h3>Default Graph</h3> | |
5698 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/data-2.ttl">data-r2/boolean-effective-value/data-2.ttl</a></p> | |
5699 <div class="query"> | |
5700 @prefix : <http://example.org/ns#> . | |
5701 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
5702 | |
5703 # These object values are true by the boolean effective value rule. | |
5704 :x1 :p "1"^^xsd:integer . | |
5705 :x2 :p "foo" . | |
5706 :x3 :p "0.01"^^xsd:double . | |
5707 :x4 :p "true"^^xsd:boolean . | |
5708 | |
5709 # These are false | |
5710 :y1 :p "0"^^xsd:integer . | |
5711 :y2 :p "0.0"^^xsd:double . | |
5712 :y3 :p "" . | |
5713 :y4 :p "false"^^xsd:boolean . | |
5714 | |
5715 # Optionals | |
5716 :x1 :q "true"^^xsd:boolean . | |
5717 :x2 :q "false"^^xsd:boolean . | |
5718 :x3 :q "foo"^^:unknown . | |
5719 | |
5720 </div> | |
5721 <h3>Named Graphs</h3> | |
5722 | |
5723 <h3>Query</h3> | |
5724 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/query-bev-6.rq">data-r2/boolean-effective-value/query-bev-6.rq</a><br/> | |
5725 <div class="query"> | |
5726 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5727 PREFIX : <http://example.org/ns#> | |
5728 SELECT ?a ?w | |
5729 WHERE | |
5730 { ?a :p ?v . | |
5731 OPTIONAL | |
5732 { ?a :q ?w } . | |
5733 FILTER ( ! ?w ) . | |
5734 } | |
5735 | |
5736 </div> | |
5737 <h3>Results</h3> | |
5738 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/result-bev-6.ttl">data-r2/boolean-effective-value/result-bev-6.ttl</a></p> | |
5739 <hr/> | |
5740 <h2><a name="dawg-boolean-literal">Test literal 'true'</a></h2> | |
5741 Query evaluation test | |
5742 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html</a></div> | |
5743 | |
5744 <h3>Default Graph</h3> | |
5745 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/data-1.ttl">data-r2/boolean-effective-value/data-1.ttl</a></p> | |
5746 <div class="query"> | |
5747 @prefix : <http://example.org/ns#> . | |
5748 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
5749 | |
5750 # These object values are true by the boolean effective value rule. | |
5751 :x1 :p "1"^^xsd:integer . | |
5752 :x2 :p "foo" . | |
5753 :x3 :p "0.01"^^xsd:double . | |
5754 :x4 :p "true"^^xsd:boolean . | |
5755 | |
5756 # These are false | |
5757 :y1 :p "0"^^xsd:integer . | |
5758 :y2 :p "0.0"^^xsd:double . | |
5759 :y3 :p "" . | |
5760 :y4 :p "false"^^xsd:boolean . | |
5761 | |
5762 </div> | |
5763 <h3>Named Graphs</h3> | |
5764 | |
5765 <h3>Query</h3> | |
5766 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/query-boolean-literal.rq">data-r2/boolean-effective-value/query-boolean-literal.rq</a><br/> | |
5767 <div class="query"> | |
5768 prefix : <http://example.org/ns#> | |
5769 select ?x where { | |
5770 ?x :p "foo" . | |
5771 FILTER (true) . | |
5772 } | |
5773 | |
5774 </div> | |
5775 <h3>Results</h3> | |
5776 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/result-boolean-literal.ttl">data-r2/boolean-effective-value/result-boolean-literal.ttl</a></p> | |
5777 <hr/> | |
5778 <h2><a name="dawg-bound-query-001">dawg-bound-query-001</a></h2> | |
5779 Query evaluation test | |
5780 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006</a></div> | |
5781 <p>BOUND test case.</p> | |
5782 <h3>Default Graph</h3> | |
5783 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/bound/data.ttl">data-r2/bound/data.ttl</a></p> | |
5784 <div class="query"> | |
5785 @prefix : <http://example.org/ns#> . | |
5786 :a1 :b :c1 . | |
5787 :c1 :d :e . | |
5788 :a2 :b :c2 . | |
5789 :c2 :b :f . | |
5790 | |
5791 </div> | |
5792 <h3>Named Graphs</h3> | |
5793 | |
5794 <h3>Query</h3> | |
5795 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/bound/bound1.rq">data-r2/bound/bound1.rq</a><br/> | |
5796 <div class="query"> | |
5797 PREFIX : <http://example.org/ns#> | |
5798 SELECT ?a ?c | |
5799 WHERE | |
5800 { ?a :b ?c . | |
5801 OPTIONAL | |
5802 { ?c :d ?e } . | |
5803 FILTER (! bound(?e)) | |
5804 } | |
5805 | |
5806 </div> | |
5807 <h3>Results</h3> | |
5808 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/bound/bound1-result.ttl">data-r2/bound/bound1-result.ttl</a></p> | |
5809 <hr/> | |
5810 <h2><a name="cast-bool">Cast to xsd:boolean</a></h2> | |
5811 Query evaluation test | |
5812 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html</a></div> | |
5813 | |
5814 <h3>Default Graph</h3> | |
5815 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/data.ttl">data-r2/cast/data.ttl</a></p> | |
5816 <div class="query"> | |
5817 @prefix : <http://example.org/> . | |
5818 | |
5819 :iri :p :z . | |
5820 :str :p "string" . | |
5821 :fltdbl :p "-10.2E3" . | |
5822 :decimal :p "+33.3300" . | |
5823 :int :p "13" . | |
5824 :dT :p "2002-10-10T17:00:00Z" . | |
5825 :bool :p "true" . | |
5826 | |
5827 </div> | |
5828 <h3>Named Graphs</h3> | |
5829 | |
5830 <h3>Query</h3> | |
5831 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/cast-bool.rq">data-r2/cast/cast-bool.rq</a><br/> | |
5832 <div class="query"> | |
5833 PREFIX : <http://example.org/> | |
5834 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
5835 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5836 SELECT ?s WHERE { | |
5837 ?s :p ?v . | |
5838 FILTER(datatype(xsd:boolean(?v)) = xsd:boolean) . | |
5839 } | |
5840 | |
5841 </div> | |
5842 <h3>Results</h3> | |
5843 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/cast-bool.srx">data-r2/cast/cast-bool.srx</a></p> | |
5844 <hr/> | |
5845 <h2><a name="cast-dT">Cast to xsd:dateTime</a></h2> | |
5846 Query evaluation test | |
5847 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html</a></div> | |
5848 | |
5849 <h3>Default Graph</h3> | |
5850 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/data.ttl">data-r2/cast/data.ttl</a></p> | |
5851 <div class="query"> | |
5852 @prefix : <http://example.org/> . | |
5853 | |
5854 :iri :p :z . | |
5855 :str :p "string" . | |
5856 :fltdbl :p "-10.2E3" . | |
5857 :decimal :p "+33.3300" . | |
5858 :int :p "13" . | |
5859 :dT :p "2002-10-10T17:00:00Z" . | |
5860 :bool :p "true" . | |
5861 | |
5862 </div> | |
5863 <h3>Named Graphs</h3> | |
5864 | |
5865 <h3>Query</h3> | |
5866 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/cast-dT.rq">data-r2/cast/cast-dT.rq</a><br/> | |
5867 <div class="query"> | |
5868 PREFIX : <http://example.org/> | |
5869 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
5870 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5871 SELECT ?s WHERE { | |
5872 ?s :p ?v . | |
5873 FILTER(datatype(xsd:dateTime(?v)) = xsd:dateTime) . | |
5874 } | |
5875 | |
5876 </div> | |
5877 <h3>Results</h3> | |
5878 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/cast-dT.srx">data-r2/cast/cast-dT.srx</a></p> | |
5879 <hr/> | |
5880 <h2><a name="cast-dbl">Cast to xsd:double</a></h2> | |
5881 Query evaluation test | |
5882 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html</a></div> | |
5883 | |
5884 <h3>Default Graph</h3> | |
5885 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/data.ttl">data-r2/cast/data.ttl</a></p> | |
5886 <div class="query"> | |
5887 @prefix : <http://example.org/> . | |
5888 | |
5889 :iri :p :z . | |
5890 :str :p "string" . | |
5891 :fltdbl :p "-10.2E3" . | |
5892 :decimal :p "+33.3300" . | |
5893 :int :p "13" . | |
5894 :dT :p "2002-10-10T17:00:00Z" . | |
5895 :bool :p "true" . | |
5896 | |
5897 </div> | |
5898 <h3>Named Graphs</h3> | |
5899 | |
5900 <h3>Query</h3> | |
5901 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/cast-dbl.rq">data-r2/cast/cast-dbl.rq</a><br/> | |
5902 <div class="query"> | |
5903 PREFIX : <http://example.org/> | |
5904 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
5905 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5906 SELECT ?s WHERE { | |
5907 ?s :p ?v . | |
5908 FILTER(datatype(xsd:double(?v)) = xsd:double) . | |
5909 } | |
5910 | |
5911 </div> | |
5912 <h3>Results</h3> | |
5913 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/cast-dbl.srx">data-r2/cast/cast-dbl.srx</a></p> | |
5914 <hr/> | |
5915 <h2><a name="cast-dec">Cast to xsd:decimal</a></h2> | |
5916 Query evaluation test | |
5917 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html</a></div> | |
5918 | |
5919 <h3>Default Graph</h3> | |
5920 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/data.ttl">data-r2/cast/data.ttl</a></p> | |
5921 <div class="query"> | |
5922 @prefix : <http://example.org/> . | |
5923 | |
5924 :iri :p :z . | |
5925 :str :p "string" . | |
5926 :fltdbl :p "-10.2E3" . | |
5927 :decimal :p "+33.3300" . | |
5928 :int :p "13" . | |
5929 :dT :p "2002-10-10T17:00:00Z" . | |
5930 :bool :p "true" . | |
5931 | |
5932 </div> | |
5933 <h3>Named Graphs</h3> | |
5934 | |
5935 <h3>Query</h3> | |
5936 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/cast-dec.rq">data-r2/cast/cast-dec.rq</a><br/> | |
5937 <div class="query"> | |
5938 PREFIX : <http://example.org/> | |
5939 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
5940 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5941 SELECT ?s WHERE { | |
5942 ?s :p ?v . | |
5943 FILTER(datatype(xsd:decimal(?v)) = xsd:decimal) . | |
5944 } | |
5945 | |
5946 </div> | |
5947 <h3>Results</h3> | |
5948 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/cast-dec.srx">data-r2/cast/cast-dec.srx</a></p> | |
5949 <hr/> | |
5950 <h2><a name="cast-flt">Cast to xsd:float</a></h2> | |
5951 Query evaluation test | |
5952 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html</a></div> | |
5953 | |
5954 <h3>Default Graph</h3> | |
5955 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/data.ttl">data-r2/cast/data.ttl</a></p> | |
5956 <div class="query"> | |
5957 @prefix : <http://example.org/> . | |
5958 | |
5959 :iri :p :z . | |
5960 :str :p "string" . | |
5961 :fltdbl :p "-10.2E3" . | |
5962 :decimal :p "+33.3300" . | |
5963 :int :p "13" . | |
5964 :dT :p "2002-10-10T17:00:00Z" . | |
5965 :bool :p "true" . | |
5966 | |
5967 </div> | |
5968 <h3>Named Graphs</h3> | |
5969 | |
5970 <h3>Query</h3> | |
5971 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/cast-flt.rq">data-r2/cast/cast-flt.rq</a><br/> | |
5972 <div class="query"> | |
5973 PREFIX : <http://example.org/> | |
5974 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
5975 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
5976 SELECT ?s WHERE { | |
5977 ?s :p ?v . | |
5978 FILTER(datatype(xsd:float(?v)) = xsd:float) . | |
5979 } | |
5980 | |
5981 </div> | |
5982 <h3>Results</h3> | |
5983 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/cast-flt.srx">data-r2/cast/cast-flt.srx</a></p> | |
5984 <hr/> | |
5985 <h2><a name="cast-int">Cast to xsd:integer</a></h2> | |
5986 Query evaluation test | |
5987 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html</a></div> | |
5988 | |
5989 <h3>Default Graph</h3> | |
5990 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/data.ttl">data-r2/cast/data.ttl</a></p> | |
5991 <div class="query"> | |
5992 @prefix : <http://example.org/> . | |
5993 | |
5994 :iri :p :z . | |
5995 :str :p "string" . | |
5996 :fltdbl :p "-10.2E3" . | |
5997 :decimal :p "+33.3300" . | |
5998 :int :p "13" . | |
5999 :dT :p "2002-10-10T17:00:00Z" . | |
6000 :bool :p "true" . | |
6001 | |
6002 </div> | |
6003 <h3>Named Graphs</h3> | |
6004 | |
6005 <h3>Query</h3> | |
6006 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/cast-int.rq">data-r2/cast/cast-int.rq</a><br/> | |
6007 <div class="query"> | |
6008 PREFIX : <http://example.org/> | |
6009 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
6010 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
6011 SELECT ?s WHERE { | |
6012 ?s :p ?v . | |
6013 FILTER(datatype(xsd:integer(?v)) = xsd:integer) . | |
6014 } | |
6015 | |
6016 </div> | |
6017 <h3>Results</h3> | |
6018 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/cast-int.srx">data-r2/cast/cast-int.srx</a></p> | |
6019 <hr/> | |
6020 <h2><a name="cast-str">Cast to xsd:string</a></h2> | |
6021 Query evaluation test | |
6022 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html</a></div> | |
6023 | |
6024 <h3>Default Graph</h3> | |
6025 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/data.ttl">data-r2/cast/data.ttl</a></p> | |
6026 <div class="query"> | |
6027 @prefix : <http://example.org/> . | |
6028 | |
6029 :iri :p :z . | |
6030 :str :p "string" . | |
6031 :fltdbl :p "-10.2E3" . | |
6032 :decimal :p "+33.3300" . | |
6033 :int :p "13" . | |
6034 :dT :p "2002-10-10T17:00:00Z" . | |
6035 :bool :p "true" . | |
6036 | |
6037 </div> | |
6038 <h3>Named Graphs</h3> | |
6039 | |
6040 <h3>Query</h3> | |
6041 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/cast-str.rq">data-r2/cast/cast-str.rq</a><br/> | |
6042 <div class="query"> | |
6043 PREFIX : <http://example.org/> | |
6044 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
6045 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
6046 SELECT ?s WHERE { | |
6047 ?s :p ?v . | |
6048 FILTER(datatype(xsd:string(?v)) = xsd:string) . | |
6049 } | |
6050 | |
6051 </div> | |
6052 <h3>Results</h3> | |
6053 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/cast-str.srx">data-r2/cast/cast-str.srx</a></p> | |
6054 <hr/> | |
6055 <h2><a name="construct-1">dawg-construct-identity</a></h2> | |
6056 Query evaluation test | |
6057 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
6058 <p>Graph equivalent result graph</p> | |
6059 <h3>Default Graph</h3> | |
6060 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/construct/data-ident.ttl">data-r2/construct/data-ident.ttl</a></p> | |
6061 <div class="query"> | |
6062 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
6063 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
6064 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
6065 | |
6066 _:alice | |
6067 rdf:type foaf:Person ; | |
6068 foaf:name "Alice" ; | |
6069 foaf:mbox <mailto:alice@work> ; | |
6070 foaf:knows _:bob ; | |
6071 . | |
6072 | |
6073 _:bob | |
6074 rdf:type foaf:Person ; | |
6075 foaf:name "Bob" ; | |
6076 foaf:knows _:alice ; | |
6077 foaf:mbox <mailto:bob@work> ; | |
6078 foaf:mbox <mailto:bob@home> ; | |
6079 . | |
6080 | |
6081 </div> | |
6082 <h3>Named Graphs</h3> | |
6083 | |
6084 <h3>Query</h3> | |
6085 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/construct/query-ident.rq">data-r2/construct/query-ident.rq</a><br/> | |
6086 <div class="query"> | |
6087 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
6088 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
6089 | |
6090 CONSTRUCT { ?s ?p ?o . } | |
6091 WHERE { | |
6092 ?s ?p ?o . | |
6093 } | |
6094 | |
6095 </div> | |
6096 <h3>Results</h3> | |
6097 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/construct/result-ident.ttl">data-r2/construct/result-ident.ttl</a></p> | |
6098 <hr/> | |
6099 <h2><a name="construct-2">dawg-construct-subgraph</a></h2> | |
6100 Query evaluation test | |
6101 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
6102 <p>Result subgraph of original graph</p> | |
6103 <h3>Default Graph</h3> | |
6104 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/construct/data-ident.ttl">data-r2/construct/data-ident.ttl</a></p> | |
6105 <div class="query"> | |
6106 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
6107 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
6108 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
6109 | |
6110 _:alice | |
6111 rdf:type foaf:Person ; | |
6112 foaf:name "Alice" ; | |
6113 foaf:mbox <mailto:alice@work> ; | |
6114 foaf:knows _:bob ; | |
6115 . | |
6116 | |
6117 _:bob | |
6118 rdf:type foaf:Person ; | |
6119 foaf:name "Bob" ; | |
6120 foaf:knows _:alice ; | |
6121 foaf:mbox <mailto:bob@work> ; | |
6122 foaf:mbox <mailto:bob@home> ; | |
6123 . | |
6124 | |
6125 </div> | |
6126 <h3>Named Graphs</h3> | |
6127 | |
6128 <h3>Query</h3> | |
6129 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/construct/query-subgraph.rq">data-r2/construct/query-subgraph.rq</a><br/> | |
6130 <div class="query"> | |
6131 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
6132 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
6133 | |
6134 CONSTRUCT { ?s foaf:name ?o . } | |
6135 WHERE { | |
6136 ?s foaf:name ?o . | |
6137 } | |
6138 | |
6139 </div> | |
6140 <h3>Results</h3> | |
6141 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/construct/result-subgraph.ttl">data-r2/construct/result-subgraph.ttl</a></p> | |
6142 <hr/> | |
6143 <h2><a name="construct-3">dawg-construct-reification-1</a></h2> | |
6144 Query evaluation test | |
6145 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
6146 <p>Reification of the default graph</p> | |
6147 <h3>Default Graph</h3> | |
6148 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/construct/data-reif.ttl">data-r2/construct/data-reif.ttl</a></p> | |
6149 <div class="query"> | |
6150 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
6151 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
6152 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
6153 | |
6154 _:alice | |
6155 rdf:type foaf:Person ; | |
6156 foaf:name "Alice" ; | |
6157 foaf:mbox <mailto:alice@work> ; | |
6158 foaf:knows _:bob ; | |
6159 . | |
6160 | |
6161 _:bob | |
6162 rdf:type foaf:Person ; | |
6163 foaf:name "Bob" ; | |
6164 foaf:knows _:alice ; | |
6165 foaf:mbox <mailto:bob@home> ; | |
6166 . | |
6167 | |
6168 </div> | |
6169 <h3>Named Graphs</h3> | |
6170 | |
6171 <h3>Query</h3> | |
6172 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/construct/query-reif-1.rq">data-r2/construct/query-reif-1.rq</a><br/> | |
6173 <div class="query"> | |
6174 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
6175 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
6176 | |
6177 CONSTRUCT { [ rdf:subject ?s ; | |
6178 rdf:predicate ?p ; | |
6179 rdf:object ?o ] . } | |
6180 WHERE { | |
6181 ?s ?p ?o . | |
6182 } | |
6183 | |
6184 </div> | |
6185 <h3>Results</h3> | |
6186 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/construct/result-reif.ttl">data-r2/construct/result-reif.ttl</a></p> | |
6187 <hr/> | |
6188 <h2><a name="construct-4">dawg-construct-reification-2</a></h2> | |
6189 Query evaluation test | |
6190 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
6191 <p>Reification of the default graph</p> | |
6192 <h3>Default Graph</h3> | |
6193 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/construct/data-reif.ttl">data-r2/construct/data-reif.ttl</a></p> | |
6194 <div class="query"> | |
6195 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
6196 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
6197 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
6198 | |
6199 _:alice | |
6200 rdf:type foaf:Person ; | |
6201 foaf:name "Alice" ; | |
6202 foaf:mbox <mailto:alice@work> ; | |
6203 foaf:knows _:bob ; | |
6204 . | |
6205 | |
6206 _:bob | |
6207 rdf:type foaf:Person ; | |
6208 foaf:name "Bob" ; | |
6209 foaf:knows _:alice ; | |
6210 foaf:mbox <mailto:bob@home> ; | |
6211 . | |
6212 | |
6213 </div> | |
6214 <h3>Named Graphs</h3> | |
6215 | |
6216 <h3>Query</h3> | |
6217 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/construct/query-reif-2.rq">data-r2/construct/query-reif-2.rq</a><br/> | |
6218 <div class="query"> | |
6219 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
6220 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
6221 | |
6222 CONSTRUCT { _:a rdf:subject ?s ; | |
6223 rdf:predicate ?p ; | |
6224 rdf:object ?o . } | |
6225 WHERE { | |
6226 ?s ?p ?o . | |
6227 } | |
6228 | |
6229 </div> | |
6230 <h3>Results</h3> | |
6231 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/construct/result-reif.ttl">data-r2/construct/result-reif.ttl</a></p> | |
6232 <hr/> | |
6233 <h2><a name="construct-5">dawg-construct-optional</a></h2> | |
6234 Query evaluation test | |
6235 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
6236 <p>Reification of the default graph</p> | |
6237 <h3>Default Graph</h3> | |
6238 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/construct/data-opt.ttl">data-r2/construct/data-opt.ttl</a></p> | |
6239 <div class="query"> | |
6240 @prefix : <http://example/> . | |
6241 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
6242 | |
6243 :x :p :a . | |
6244 :x :p :b . | |
6245 :x :p :c . | |
6246 :x :p "1"^^xsd:integer . | |
6247 | |
6248 :a :q "2"^^xsd:integer . | |
6249 :a :r "2"^^xsd:integer . | |
6250 | |
6251 :b :q "2"^^xsd:integer . | |
6252 | |
6253 </div> | |
6254 <h3>Named Graphs</h3> | |
6255 | |
6256 <h3>Query</h3> | |
6257 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/construct/query-construct-optional.rq">data-r2/construct/query-construct-optional.rq</a><br/> | |
6258 <div class="query"> | |
6259 PREFIX : <http://example/> | |
6260 | |
6261 CONSTRUCT { ?x :p2 ?v } | |
6262 | |
6263 WHERE | |
6264 { | |
6265 ?x :p ?o . | |
6266 OPTIONAL {?o :q ?v } | |
6267 } | |
6268 | |
6269 | |
6270 </div> | |
6271 <h3>Results</h3> | |
6272 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/construct/result-construct-optional.ttl">data-r2/construct/result-construct-optional.ttl</a></p> | |
6273 <hr/> | |
6274 <h2><a name="dawg-dataset-01">dataset-01</a></h2> | |
6275 Query evaluation test | |
6276 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
6277 <p>Data: default dataset / Query: default dataset</p> | |
6278 <h3>Default Graph</h3> | |
6279 | |
6280 <h3>Named Graphs</h3> | |
6281 | |
6282 <h3>Query</h3> | |
6283 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-01.rq">data-r2/dataset/dataset-01.rq</a><br/> | |
6284 <div class="query"> | |
6285 PREFIX : <http://example/> | |
6286 | |
6287 SELECT * | |
6288 FROM <data-g1.ttl> | |
6289 { ?s ?p ?o } | |
6290 | |
6291 </div> | |
6292 <h3>Results</h3> | |
6293 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-01.ttl">data-r2/dataset/dataset-01.ttl</a></p> | |
6294 <hr/> | |
6295 <h2><a name="dawg-dataset-02">dataset-02</a></h2> | |
6296 Query evaluation test | |
6297 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
6298 <p>Data: named dataset / Query: default dataset</p> | |
6299 <h3>Default Graph</h3> | |
6300 | |
6301 <h3>Named Graphs</h3> | |
6302 | |
6303 <h3>Query</h3> | |
6304 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-02.rq">data-r2/dataset/dataset-02.rq</a><br/> | |
6305 <div class="query"> | |
6306 PREFIX : <http://example/> | |
6307 | |
6308 SELECT * | |
6309 FROM NAMED <data-g1.ttl> | |
6310 { ?s ?p ?o } | |
6311 | |
6312 </div> | |
6313 <h3>Results</h3> | |
6314 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-02.ttl">data-r2/dataset/dataset-02.ttl</a></p> | |
6315 <hr/> | |
6316 <h2><a name="dawg-dataset-03">dataset-03</a></h2> | |
6317 Query evaluation test | |
6318 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
6319 <p>Data: named dataset / Query: named dataset dataset</p> | |
6320 <h3>Default Graph</h3> | |
6321 | |
6322 <h3>Named Graphs</h3> | |
6323 | |
6324 <h3>Query</h3> | |
6325 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-03.rq">data-r2/dataset/dataset-03.rq</a><br/> | |
6326 <div class="query"> | |
6327 PREFIX : <http://example/> | |
6328 | |
6329 SELECT * | |
6330 FROM NAMED <data-g1.ttl> | |
6331 { | |
6332 GRAPH ?g { ?s ?p ?o } | |
6333 } | |
6334 | |
6335 | |
6336 </div> | |
6337 <h3>Results</h3> | |
6338 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-03.ttl">data-r2/dataset/dataset-03.ttl</a></p> | |
6339 <hr/> | |
6340 <h2><a name="dawg-dataset-04">dataset-04</a></h2> | |
6341 Query evaluation test | |
6342 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
6343 <p>Data: named dataset / Query: default dataset</p> | |
6344 <h3>Default Graph</h3> | |
6345 | |
6346 <h3>Named Graphs</h3> | |
6347 | |
6348 <h3>Query</h3> | |
6349 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-04.rq">data-r2/dataset/dataset-04.rq</a><br/> | |
6350 <div class="query"> | |
6351 PREFIX : <http://example/> | |
6352 | |
6353 SELECT * | |
6354 FROM <data-g1.ttl> | |
6355 { | |
6356 GRAPH ?g { ?s ?p ?o } | |
6357 } | |
6358 | |
6359 | |
6360 </div> | |
6361 <h3>Results</h3> | |
6362 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-04.ttl">data-r2/dataset/dataset-04.ttl</a></p> | |
6363 <hr/> | |
6364 <h2><a name="dawg-dataset-05">dataset-05</a></h2> | |
6365 Query evaluation test | |
6366 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
6367 <p>Data: default and named / Query: default dataset</p> | |
6368 <h3>Default Graph</h3> | |
6369 | |
6370 <h3>Named Graphs</h3> | |
6371 | |
6372 <h3>Query</h3> | |
6373 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-05.rq">data-r2/dataset/dataset-05.rq</a><br/> | |
6374 <div class="query"> | |
6375 PREFIX : <http://example/> | |
6376 | |
6377 SELECT * | |
6378 FROM <data-g1.ttl> | |
6379 FROM NAMED <data-g2.ttl> | |
6380 { ?s ?p ?o } | |
6381 | |
6382 </div> | |
6383 <h3>Results</h3> | |
6384 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-05.ttl">data-r2/dataset/dataset-05.ttl</a></p> | |
6385 <hr/> | |
6386 <h2><a name="dawg-dataset-06">dataset-06</a></h2> | |
6387 Query evaluation test | |
6388 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
6389 <p>Data: default and named / Query: named dataset</p> | |
6390 <h3>Default Graph</h3> | |
6391 | |
6392 <h3>Named Graphs</h3> | |
6393 | |
6394 <h3>Query</h3> | |
6395 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-06.rq">data-r2/dataset/dataset-06.rq</a><br/> | |
6396 <div class="query"> | |
6397 PREFIX : <http://example/> | |
6398 | |
6399 SELECT * | |
6400 FROM <data-g1.ttl> | |
6401 FROM NAMED <data-g2.ttl> | |
6402 { | |
6403 GRAPH ?g { ?s ?p ?o } | |
6404 } | |
6405 | |
6406 | |
6407 </div> | |
6408 <h3>Results</h3> | |
6409 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-06.ttl">data-r2/dataset/dataset-06.ttl</a></p> | |
6410 <hr/> | |
6411 <h2><a name="dawg-dataset-07">dataset-07</a></h2> | |
6412 Query evaluation test | |
6413 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
6414 <p>Data: default and named / Query: all data by UNION</p> | |
6415 <h3>Default Graph</h3> | |
6416 | |
6417 <h3>Named Graphs</h3> | |
6418 | |
6419 <h3>Query</h3> | |
6420 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-07.rq">data-r2/dataset/dataset-07.rq</a><br/> | |
6421 <div class="query"> | |
6422 PREFIX : <http://example/> | |
6423 | |
6424 SELECT * | |
6425 FROM <data-g1.ttl> | |
6426 FROM NAMED <data-g2.ttl> | |
6427 { | |
6428 { ?s ?p ?o } | |
6429 UNION | |
6430 { GRAPH ?g { ?s ?p ?o } } | |
6431 } | |
6432 | |
6433 </div> | |
6434 <h3>Results</h3> | |
6435 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-07.ttl">data-r2/dataset/dataset-07.ttl</a></p> | |
6436 <hr/> | |
6437 <h2><a name="dawg-dataset-08">dataset-08</a></h2> | |
6438 Query evaluation test | |
6439 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
6440 <p>Data: default and named / Query: common subjects</p> | |
6441 <h3>Default Graph</h3> | |
6442 | |
6443 <h3>Named Graphs</h3> | |
6444 | |
6445 <h3>Query</h3> | |
6446 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-08.rq">data-r2/dataset/dataset-08.rq</a><br/> | |
6447 <div class="query"> | |
6448 PREFIX : <http://example/> | |
6449 | |
6450 SELECT * | |
6451 FROM <data-g1.ttl> | |
6452 FROM NAMED <data-g2.ttl> | |
6453 { | |
6454 ?s ?p ?o | |
6455 GRAPH ?g { ?s ?q ?v } | |
6456 } | |
6457 | |
6458 </div> | |
6459 <h3>Results</h3> | |
6460 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-08.ttl">data-r2/dataset/dataset-08.ttl</a></p> | |
6461 <hr/> | |
6462 <h2><a name="dawg-dataset-09">dataset-09</a></h2> | |
6463 Query evaluation test | |
6464 | |
6465 <p>Data: default and named (bnodes) / Query: common subjects</p> | |
6466 <h3>Default Graph</h3> | |
6467 | |
6468 <h3>Named Graphs</h3> | |
6469 | |
6470 <h3>Query</h3> | |
6471 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-09.rq">data-r2/dataset/dataset-09.rq</a><br/> | |
6472 <div class="query"> | |
6473 PREFIX : <http://example/> | |
6474 | |
6475 SELECT * | |
6476 FROM <data-g3.ttl> | |
6477 FROM NAMED <data-g3.ttl>{ | |
6478 ?s ?p ?o | |
6479 GRAPH ?g { ?s ?q ?v } | |
6480 } | |
6481 | |
6482 </div> | |
6483 <h3>Results</h3> | |
6484 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-09.ttl">data-r2/dataset/dataset-09.ttl</a></p> | |
6485 <hr/> | |
6486 <h2><a name="dawg-dataset-09b">dataset-09b</a></h2> | |
6487 Query evaluation test | |
6488 <div class="approval">Approved by <a href="http://www.w3.org/2007/10/09-dawg-minutes.html">http://www.w3.org/2007/10/09-dawg-minutes.html</a></div> | |
6489 <p>Data: default and named (bnodes) / Query: common subjects</p> | |
6490 <h3>Default Graph</h3> | |
6491 | |
6492 <h3>Named Graphs</h3> | |
6493 | |
6494 <h3>Query</h3> | |
6495 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-09b.rq">data-r2/dataset/dataset-09b.rq</a><br/> | |
6496 <div class="query"> | |
6497 PREFIX : <http://example/> | |
6498 | |
6499 SELECT * | |
6500 FROM <data-g3-dup.ttl> | |
6501 FROM NAMED <data-g3.ttl>{ | |
6502 ?s ?p ?o | |
6503 GRAPH ?g { ?s ?q ?v } | |
6504 } | |
6505 | |
6506 </div> | |
6507 <h3>Results</h3> | |
6508 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-09.ttl">data-r2/dataset/dataset-09.ttl</a></p> | |
6509 <hr/> | |
6510 <h2><a name="dawg-dataset-10">dataset-10</a></h2> | |
6511 Query evaluation test | |
6512 | |
6513 <p>Data: default and named (same data, with bnodes) / Query: common subjects</p> | |
6514 <h3>Default Graph</h3> | |
6515 | |
6516 <h3>Named Graphs</h3> | |
6517 | |
6518 <h3>Query</h3> | |
6519 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-10.rq">data-r2/dataset/dataset-10.rq</a><br/> | |
6520 <div class="query"> | |
6521 PREFIX : <http://example/> | |
6522 | |
6523 SELECT * | |
6524 FROM <data-g3.ttl> | |
6525 FROM NAMED <data-g3.ttl> | |
6526 { | |
6527 ?s ?p ?o | |
6528 GRAPH ?g { ?s ?q ?v } | |
6529 } | |
6530 | |
6531 </div> | |
6532 <h3>Results</h3> | |
6533 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-10.ttl">data-r2/dataset/dataset-10.ttl</a></p> | |
6534 <hr/> | |
6535 <h2><a name="dawg-dataset-10b">dataset-10b</a></h2> | |
6536 Query evaluation test | |
6537 <div class="approval">Approved by <a href="http://www.w3.org/2007/10/09-dawg-minutes.html">http://www.w3.org/2007/10/09-dawg-minutes.html</a></div> | |
6538 <p>Data: default and named (same data, with bnodes) / Query: common subjects</p> | |
6539 <h3>Default Graph</h3> | |
6540 | |
6541 <h3>Named Graphs</h3> | |
6542 | |
6543 <h3>Query</h3> | |
6544 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-10b.rq">data-r2/dataset/dataset-10b.rq</a><br/> | |
6545 <div class="query"> | |
6546 PREFIX : <http://example/> | |
6547 | |
6548 SELECT * | |
6549 FROM <data-g3-dup.ttl> | |
6550 FROM NAMED <data-g3.ttl> | |
6551 { | |
6552 ?s ?p ?o | |
6553 GRAPH ?g { ?s ?q ?v } | |
6554 } | |
6555 | |
6556 </div> | |
6557 <h3>Results</h3> | |
6558 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-10.ttl">data-r2/dataset/dataset-10.ttl</a></p> | |
6559 <hr/> | |
6560 <h2><a name="dawg-dataset-11">dataset-11</a></h2> | |
6561 Query evaluation test | |
6562 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html</a></div> | |
6563 <p>Data: default and named (several) / Query: get everything</p> | |
6564 <h3>Default Graph</h3> | |
6565 | |
6566 <h3>Named Graphs</h3> | |
6567 | |
6568 <h3>Query</h3> | |
6569 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-11.rq">data-r2/dataset/dataset-11.rq</a><br/> | |
6570 <div class="query"> | |
6571 PREFIX : <http://example/> | |
6572 | |
6573 SELECT * | |
6574 FROM <data-g1.ttl> | |
6575 FROM NAMED <data-g1.ttl> | |
6576 FROM NAMED <data-g2.ttl> | |
6577 FROM NAMED <data-g3.ttl> | |
6578 FROM NAMED <data-g4.ttl> | |
6579 { | |
6580 { ?s ?p ?o } | |
6581 UNION | |
6582 { GRAPH ?g { ?s ?p ?o } } | |
6583 } | |
6584 | |
6585 </div> | |
6586 <h3>Results</h3> | |
6587 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-11.ttl">data-r2/dataset/dataset-11.ttl</a></p> | |
6588 <hr/> | |
6589 <h2><a name="dawg-dataset-12">dataset-12</a></h2> | |
6590 Query evaluation test | |
6591 | |
6592 <p>Data: default (several) and named (several) / Query: get everything</p> | |
6593 <h3>Default Graph</h3> | |
6594 | |
6595 <h3>Named Graphs</h3> | |
6596 | |
6597 <h3>Query</h3> | |
6598 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-12.rq">data-r2/dataset/dataset-12.rq</a><br/> | |
6599 <div class="query"> | |
6600 PREFIX : <http://example/> | |
6601 | |
6602 SELECT * | |
6603 FROM <data-g1.ttl> | |
6604 FROM <data-g2.ttl> | |
6605 FROM <data-g3.ttl> | |
6606 FROM <data-g4.ttl> | |
6607 FROM NAMED <data-g1.ttl> | |
6608 FROM NAMED <data-g2.ttl> | |
6609 FROM NAMED <data-g3.ttl> | |
6610 FROM NAMED <data-g4.ttl> | |
6611 { | |
6612 { ?s ?p ?o } | |
6613 UNION | |
6614 { GRAPH ?g { ?s ?p ?o } } | |
6615 } | |
6616 | |
6617 </div> | |
6618 <h3>Results</h3> | |
6619 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-12.ttl">data-r2/dataset/dataset-12.ttl</a></p> | |
6620 <hr/> | |
6621 <h2><a name="dawg-dataset-12b">dataset-12b</a></h2> | |
6622 Query evaluation test | |
6623 <div class="approval">Approved by <a href="http://www.w3.org/2007/10/09-dawg-minutes.html">http://www.w3.org/2007/10/09-dawg-minutes.html</a></div> | |
6624 <p>Data: default (several) and named (several) / Query: get everything</p> | |
6625 <h3>Default Graph</h3> | |
6626 | |
6627 <h3>Named Graphs</h3> | |
6628 | |
6629 <h3>Query</h3> | |
6630 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-12b.rq">data-r2/dataset/dataset-12b.rq</a><br/> | |
6631 <div class="query"> | |
6632 PREFIX : <http://example/> | |
6633 | |
6634 SELECT * | |
6635 FROM <data-g1-dup.ttl> | |
6636 FROM <data-g2-dup.ttl> | |
6637 FROM <data-g3-dup.ttl> | |
6638 FROM <data-g4-dup.ttl> | |
6639 FROM NAMED <data-g1.ttl> | |
6640 FROM NAMED <data-g2.ttl> | |
6641 FROM NAMED <data-g3.ttl> | |
6642 FROM NAMED <data-g4.ttl> | |
6643 { | |
6644 { ?s ?p ?o } | |
6645 UNION | |
6646 { GRAPH ?g { ?s ?p ?o } } | |
6647 } | |
6648 | |
6649 </div> | |
6650 <h3>Results</h3> | |
6651 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dataset-12.ttl">data-r2/dataset/dataset-12.ttl</a></p> | |
6652 <hr/> | |
6653 <h2><a name="distinct-1">Numbers: Distinct</a></h2> | |
6654 Query evaluation test | |
6655 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
6656 | |
6657 <h3>Default Graph</h3> | |
6658 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/data-num.ttl">data-r2/distinct/data-num.ttl</a></p> | |
6659 <div class="query"> | |
6660 @prefix : <http://example/> . | |
6661 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
6662 | |
6663 :x1 :p1 "1"^^xsd:integer . | |
6664 :x1 :p2 "1"^^xsd:integer . | |
6665 | |
6666 :x2 :p1 "1"^^xsd:integer . | |
6667 :x2 :p2 "1"^^xsd:integer . | |
6668 | |
6669 :x3 :p1 "01"^^xsd:integer . | |
6670 :x3 :p2 "01"^^xsd:integer . | |
6671 | |
6672 :x4 :p1 "+1"^^xsd:integer . | |
6673 :x4 :p2 "+1"^^xsd:integer . | |
6674 | |
6675 :y1 :p1 "1.0"^^xsd:decimal . | |
6676 :y1 :p2 "1.0"^^xsd:decimal . | |
6677 | |
6678 :y2 :p1 "+1.0"^^xsd:decimal . | |
6679 :y2 :p2 "+1.0"^^xsd:decimal . | |
6680 | |
6681 :y3 :p1 "01.0"^^xsd:decimal . | |
6682 :y3 :p2 "01.0"^^xsd:decimal . | |
6683 | |
6684 :z1 :p1 "1.0e0"^^xsd:double . | |
6685 :z1 :p2 "1.0e0"^^xsd:double . | |
6686 | |
6687 :z2 :p1 "1.0e0"^^xsd:double . | |
6688 :z2 :p2 "1.0e0"^^xsd:double . | |
6689 | |
6690 :z3 :p1 "1.3e0"^^xsd:double . | |
6691 :z3 :p2 "1.3e0"^^xsd:double . | |
6692 | |
6693 :z4 :p1 "1.3e0"^^xsd:double . | |
6694 :z5 :p1 "1.3e0"^^xsd:float . | |
6695 | |
6696 </div> | |
6697 <h3>Named Graphs</h3> | |
6698 | |
6699 <h3>Query</h3> | |
6700 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/distinct-1.rq">data-r2/distinct/distinct-1.rq</a><br/> | |
6701 <div class="query"> | |
6702 PREFIX : <http://example/> | |
6703 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
6704 | |
6705 SELECT DISTINCT ?v | |
6706 { | |
6707 ?x ?p ?v . | |
6708 } | |
6709 | |
6710 </div> | |
6711 <h3>Results</h3> | |
6712 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/distinct-num.srx">data-r2/distinct/distinct-num.srx</a></p> | |
6713 <hr/> | |
6714 <h2><a name="distinct-2">Strings: Distinct</a></h2> | |
6715 Query evaluation test | |
6716 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
6717 | |
6718 <h3>Default Graph</h3> | |
6719 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/data-str.ttl">data-r2/distinct/data-str.ttl</a></p> | |
6720 <div class="query"> | |
6721 @prefix : <http://example/> . | |
6722 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
6723 | |
6724 :x1 :p "abc" . | |
6725 :x1 :q "abc" . | |
6726 | |
6727 :x2 :p "abc"@en . | |
6728 :x2 :q "abc"@en . | |
6729 | |
6730 :x3 :p "ABC" . | |
6731 :x3 :q "ABC" . | |
6732 | |
6733 :x4 :p "ABC"@en . | |
6734 :x4 :q "ABC"@en . | |
6735 | |
6736 | |
6737 :x5 :p "abc"^^xsd:string . | |
6738 :x5 :q "abc"^^xsd:string . | |
6739 :x6 :p "ABC"^^xsd:string . | |
6740 :x6 :q "ABC"^^xsd:string . | |
6741 | |
6742 :x7 :p "" . | |
6743 :x7 :q "" . | |
6744 | |
6745 :x8 :p ""@en . | |
6746 :x8 :q ""@en . | |
6747 | |
6748 :x9 :p ""^^xsd:string . | |
6749 :x9 :q ""^^xsd:string . | |
6750 | |
6751 </div> | |
6752 <h3>Named Graphs</h3> | |
6753 | |
6754 <h3>Query</h3> | |
6755 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/distinct-1.rq">data-r2/distinct/distinct-1.rq</a><br/> | |
6756 <div class="query"> | |
6757 PREFIX : <http://example/> | |
6758 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
6759 | |
6760 SELECT DISTINCT ?v | |
6761 { | |
6762 ?x ?p ?v . | |
6763 } | |
6764 | |
6765 </div> | |
6766 <h3>Results</h3> | |
6767 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/distinct-str.srx">data-r2/distinct/distinct-str.srx</a></p> | |
6768 <hr/> | |
6769 <h2><a name="distinct-3">Nodes: Distinct</a></h2> | |
6770 Query evaluation test | |
6771 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
6772 | |
6773 <h3>Default Graph</h3> | |
6774 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/data-node.ttl">data-r2/distinct/data-node.ttl</a></p> | |
6775 <div class="query"> | |
6776 @prefix : <http://example/> . | |
6777 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
6778 | |
6779 :x1 :p1 :z1 . | |
6780 :x1 :p1 _:a . | |
6781 | |
6782 :x1 :p2 :z1 . | |
6783 :x1 :p2 _:a . | |
6784 | |
6785 | |
6786 </div> | |
6787 <h3>Named Graphs</h3> | |
6788 | |
6789 <h3>Query</h3> | |
6790 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/distinct-1.rq">data-r2/distinct/distinct-1.rq</a><br/> | |
6791 <div class="query"> | |
6792 PREFIX : <http://example/> | |
6793 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
6794 | |
6795 SELECT DISTINCT ?v | |
6796 { | |
6797 ?x ?p ?v . | |
6798 } | |
6799 | |
6800 </div> | |
6801 <h3>Results</h3> | |
6802 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/distinct-node.srx">data-r2/distinct/distinct-node.srx</a></p> | |
6803 <hr/> | |
6804 <h2><a name="distinct-4">Opt: Distinct</a></h2> | |
6805 Query evaluation test | |
6806 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
6807 | |
6808 <h3>Default Graph</h3> | |
6809 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/data-opt.ttl">data-r2/distinct/data-opt.ttl</a></p> | |
6810 <div class="query"> | |
6811 @prefix : <http://example/> . | |
6812 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
6813 | |
6814 :x1 :p1 :z1 . | |
6815 :x1 :p1 :z2 . | |
6816 :x1 :p1 _:a . | |
6817 | |
6818 :x1 :p2 :z1 . | |
6819 :x1 :p2 :z2 . | |
6820 :x1 :p2 _:a . | |
6821 | |
6822 :z1 :q :r . | |
6823 _:a :q :s . | |
6824 | |
6825 </div> | |
6826 <h3>Named Graphs</h3> | |
6827 | |
6828 <h3>Query</h3> | |
6829 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/distinct-2.rq">data-r2/distinct/distinct-2.rq</a><br/> | |
6830 <div class="query"> | |
6831 PREFIX : <http://example/> | |
6832 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
6833 | |
6834 SELECT DISTINCT ?v | |
6835 { | |
6836 :x1 ?p ?o | |
6837 OPTIONAL { ?o :q ?v } | |
6838 } | |
6839 | |
6840 </div> | |
6841 <h3>Results</h3> | |
6842 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/distinct-opt.srx">data-r2/distinct/distinct-opt.srx</a></p> | |
6843 <hr/> | |
6844 <h2><a name="distinct-9">All: Distinct</a></h2> | |
6845 Query evaluation test | |
6846 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
6847 | |
6848 <h3>Default Graph</h3> | |
6849 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/data-all.ttl">data-r2/distinct/data-all.ttl</a></p> | |
6850 <div class="query"> | |
6851 ## data-num.ttl | |
6852 @prefix : <http://example/> . | |
6853 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
6854 | |
6855 :x1 :p1 "1"^^xsd:integer . | |
6856 :x1 :p2 "1"^^xsd:integer . | |
6857 | |
6858 :x2 :p1 "1"^^xsd:integer . | |
6859 :x2 :p2 "1"^^xsd:integer . | |
6860 | |
6861 :x3 :p1 "01"^^xsd:integer . | |
6862 :x3 :p2 "01"^^xsd:integer . | |
6863 | |
6864 :x4 :p1 "+1"^^xsd:integer . | |
6865 :x4 :p2 "+1"^^xsd:integer . | |
6866 | |
6867 :y1 :p1 "1.0"^^xsd:decimal . | |
6868 :y1 :p2 "1.0"^^xsd:decimal . | |
6869 | |
6870 :y2 :p1 "+1.0"^^xsd:decimal . | |
6871 :y2 :p2 "+1.0"^^xsd:decimal . | |
6872 | |
6873 :y3 :p1 "01.0"^^xsd:decimal . | |
6874 :y3 :p2 "01.0"^^xsd:decimal . | |
6875 | |
6876 :z1 :p1 "1.0e0"^^xsd:double . | |
6877 :z1 :p2 "1.0e0"^^xsd:double . | |
6878 | |
6879 :z2 :p1 "1.0e0"^^xsd:double . | |
6880 :z2 :p2 "1.0e0"^^xsd:double . | |
6881 | |
6882 :z3 :p1 "1.3e0"^^xsd:double . | |
6883 :z3 :p2 "1.3e0"^^xsd:double . | |
6884 | |
6885 :z4 :p1 "1.3e0"^^xsd:double . | |
6886 :z5 :p1 "1.3e0"^^xsd:float . | |
6887 | |
6888 ## data-str.ttl | |
6889 | |
6890 :x1 :p "abc" . | |
6891 :x1 :q "abc" . | |
6892 | |
6893 :x2 :p "abc"@en . | |
6894 :x2 :q "abc"@en . | |
6895 | |
6896 :x3 :p "ABC" . | |
6897 :x3 :q "ABC" . | |
6898 | |
6899 :x4 :p "ABC"@en . | |
6900 :x4 :q "ABC"@en . | |
6901 | |
6902 | |
6903 :x5 :p "abc"^^xsd:string . | |
6904 :x5 :q "abc"^^xsd:string . | |
6905 :x6 :p "ABC"^^xsd:string . | |
6906 :x6 :q "ABC"^^xsd:string . | |
6907 | |
6908 :x7 :p "" . | |
6909 :x7 :q "" . | |
6910 | |
6911 :x8 :p ""@en . | |
6912 :x8 :q ""@en . | |
6913 | |
6914 :x9 :p ""^^xsd:string . | |
6915 :x9 :q ""^^xsd:string . | |
6916 | |
6917 ## data-node.ttl | |
6918 | |
6919 :x1 :p1 :z1 . | |
6920 :x1 :p1 _:a . | |
6921 | |
6922 :x1 :p2 :z1 . | |
6923 :x1 :p2 _:a . | |
6924 | |
6925 | |
6926 </div> | |
6927 <h3>Named Graphs</h3> | |
6928 | |
6929 <h3>Query</h3> | |
6930 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/distinct-1.rq">data-r2/distinct/distinct-1.rq</a><br/> | |
6931 <div class="query"> | |
6932 PREFIX : <http://example/> | |
6933 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
6934 | |
6935 SELECT DISTINCT ?v | |
6936 { | |
6937 ?x ?p ?v . | |
6938 } | |
6939 | |
6940 </div> | |
6941 <h3>Results</h3> | |
6942 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/distinct-all.srx">data-r2/distinct/distinct-all.srx</a></p> | |
6943 <hr/> | |
6944 <h2><a name="distinct-star-1">SELECT DISTINCT *</a></h2> | |
6945 Query evaluation test | |
6946 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0060/2007-08-07-dawg-minutes.html</a></div> | |
6947 | |
6948 <h3>Default Graph</h3> | |
6949 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/data-star.ttl">data-r2/distinct/data-star.ttl</a></p> | |
6950 <div class="query"> | |
6951 @prefix : <http://example/> . | |
6952 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
6953 | |
6954 :x1 :p "abc" . | |
6955 :x1 :q "abc" . | |
6956 :x2 :p "abc" . | |
6957 | |
6958 | |
6959 | |
6960 </div> | |
6961 <h3>Named Graphs</h3> | |
6962 | |
6963 <h3>Query</h3> | |
6964 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/distinct-star-1.rq">data-r2/distinct/distinct-star-1.rq</a><br/> | |
6965 <div class="query"> | |
6966 PREFIX : <http://example/> | |
6967 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
6968 SELECT DISTINCT * | |
6969 WHERE { | |
6970 { ?s :p ?o } UNION { ?s :q ?o } | |
6971 } | |
6972 | |
6973 | |
6974 </div> | |
6975 <h3>Results</h3> | |
6976 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/distinct-star-1.srx">data-r2/distinct/distinct-star-1.srx</a></p> | |
6977 <hr/> | |
6978 <h2><a name="no-distinct-1">Numbers: No distinct</a></h2> | |
6979 Query evaluation test | |
6980 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
6981 | |
6982 <h3>Default Graph</h3> | |
6983 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/data-num.ttl">data-r2/distinct/data-num.ttl</a></p> | |
6984 <div class="query"> | |
6985 @prefix : <http://example/> . | |
6986 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
6987 | |
6988 :x1 :p1 "1"^^xsd:integer . | |
6989 :x1 :p2 "1"^^xsd:integer . | |
6990 | |
6991 :x2 :p1 "1"^^xsd:integer . | |
6992 :x2 :p2 "1"^^xsd:integer . | |
6993 | |
6994 :x3 :p1 "01"^^xsd:integer . | |
6995 :x3 :p2 "01"^^xsd:integer . | |
6996 | |
6997 :x4 :p1 "+1"^^xsd:integer . | |
6998 :x4 :p2 "+1"^^xsd:integer . | |
6999 | |
7000 :y1 :p1 "1.0"^^xsd:decimal . | |
7001 :y1 :p2 "1.0"^^xsd:decimal . | |
7002 | |
7003 :y2 :p1 "+1.0"^^xsd:decimal . | |
7004 :y2 :p2 "+1.0"^^xsd:decimal . | |
7005 | |
7006 :y3 :p1 "01.0"^^xsd:decimal . | |
7007 :y3 :p2 "01.0"^^xsd:decimal . | |
7008 | |
7009 :z1 :p1 "1.0e0"^^xsd:double . | |
7010 :z1 :p2 "1.0e0"^^xsd:double . | |
7011 | |
7012 :z2 :p1 "1.0e0"^^xsd:double . | |
7013 :z2 :p2 "1.0e0"^^xsd:double . | |
7014 | |
7015 :z3 :p1 "1.3e0"^^xsd:double . | |
7016 :z3 :p2 "1.3e0"^^xsd:double . | |
7017 | |
7018 :z4 :p1 "1.3e0"^^xsd:double . | |
7019 :z5 :p1 "1.3e0"^^xsd:float . | |
7020 | |
7021 </div> | |
7022 <h3>Named Graphs</h3> | |
7023 | |
7024 <h3>Query</h3> | |
7025 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/no-distinct-1.rq">data-r2/distinct/no-distinct-1.rq</a><br/> | |
7026 <div class="query"> | |
7027 SELECT ?v | |
7028 { | |
7029 ?x ?p ?v . | |
7030 } | |
7031 | |
7032 </div> | |
7033 <h3>Results</h3> | |
7034 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/no-distinct-num.srx">data-r2/distinct/no-distinct-num.srx</a></p> | |
7035 <hr/> | |
7036 <h2><a name="no-distinct-2">Strings: No distinct</a></h2> | |
7037 Query evaluation test | |
7038 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
7039 | |
7040 <h3>Default Graph</h3> | |
7041 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/data-str.ttl">data-r2/distinct/data-str.ttl</a></p> | |
7042 <div class="query"> | |
7043 @prefix : <http://example/> . | |
7044 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
7045 | |
7046 :x1 :p "abc" . | |
7047 :x1 :q "abc" . | |
7048 | |
7049 :x2 :p "abc"@en . | |
7050 :x2 :q "abc"@en . | |
7051 | |
7052 :x3 :p "ABC" . | |
7053 :x3 :q "ABC" . | |
7054 | |
7055 :x4 :p "ABC"@en . | |
7056 :x4 :q "ABC"@en . | |
7057 | |
7058 | |
7059 :x5 :p "abc"^^xsd:string . | |
7060 :x5 :q "abc"^^xsd:string . | |
7061 :x6 :p "ABC"^^xsd:string . | |
7062 :x6 :q "ABC"^^xsd:string . | |
7063 | |
7064 :x7 :p "" . | |
7065 :x7 :q "" . | |
7066 | |
7067 :x8 :p ""@en . | |
7068 :x8 :q ""@en . | |
7069 | |
7070 :x9 :p ""^^xsd:string . | |
7071 :x9 :q ""^^xsd:string . | |
7072 | |
7073 </div> | |
7074 <h3>Named Graphs</h3> | |
7075 | |
7076 <h3>Query</h3> | |
7077 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/no-distinct-1.rq">data-r2/distinct/no-distinct-1.rq</a><br/> | |
7078 <div class="query"> | |
7079 SELECT ?v | |
7080 { | |
7081 ?x ?p ?v . | |
7082 } | |
7083 | |
7084 </div> | |
7085 <h3>Results</h3> | |
7086 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/no-distinct-str.srx">data-r2/distinct/no-distinct-str.srx</a></p> | |
7087 <hr/> | |
7088 <h2><a name="no-distinct-3">Nodes: No distinct</a></h2> | |
7089 Query evaluation test | |
7090 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
7091 | |
7092 <h3>Default Graph</h3> | |
7093 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/data-node.ttl">data-r2/distinct/data-node.ttl</a></p> | |
7094 <div class="query"> | |
7095 @prefix : <http://example/> . | |
7096 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
7097 | |
7098 :x1 :p1 :z1 . | |
7099 :x1 :p1 _:a . | |
7100 | |
7101 :x1 :p2 :z1 . | |
7102 :x1 :p2 _:a . | |
7103 | |
7104 | |
7105 </div> | |
7106 <h3>Named Graphs</h3> | |
7107 | |
7108 <h3>Query</h3> | |
7109 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/no-distinct-1.rq">data-r2/distinct/no-distinct-1.rq</a><br/> | |
7110 <div class="query"> | |
7111 SELECT ?v | |
7112 { | |
7113 ?x ?p ?v . | |
7114 } | |
7115 | |
7116 </div> | |
7117 <h3>Results</h3> | |
7118 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/no-distinct-node.srx">data-r2/distinct/no-distinct-node.srx</a></p> | |
7119 <hr/> | |
7120 <h2><a name="no-distinct-4">Opt: No distinct</a></h2> | |
7121 Query evaluation test | |
7122 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
7123 | |
7124 <h3>Default Graph</h3> | |
7125 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/data-opt.ttl">data-r2/distinct/data-opt.ttl</a></p> | |
7126 <div class="query"> | |
7127 @prefix : <http://example/> . | |
7128 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
7129 | |
7130 :x1 :p1 :z1 . | |
7131 :x1 :p1 :z2 . | |
7132 :x1 :p1 _:a . | |
7133 | |
7134 :x1 :p2 :z1 . | |
7135 :x1 :p2 :z2 . | |
7136 :x1 :p2 _:a . | |
7137 | |
7138 :z1 :q :r . | |
7139 _:a :q :s . | |
7140 | |
7141 </div> | |
7142 <h3>Named Graphs</h3> | |
7143 | |
7144 <h3>Query</h3> | |
7145 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/no-distinct-2.rq">data-r2/distinct/no-distinct-2.rq</a><br/> | |
7146 <div class="query"> | |
7147 PREFIX : <http://example/> | |
7148 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
7149 | |
7150 SELECT ?v | |
7151 { | |
7152 :x1 ?p ?o | |
7153 OPTIONAL { ?o :q ?v } | |
7154 } | |
7155 | |
7156 </div> | |
7157 <h3>Results</h3> | |
7158 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/no-distinct-opt.srx">data-r2/distinct/no-distinct-opt.srx</a></p> | |
7159 <hr/> | |
7160 <h2><a name="no-distinct-9">All: No distinct</a></h2> | |
7161 Query evaluation test | |
7162 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
7163 | |
7164 <h3>Default Graph</h3> | |
7165 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/data-all.ttl">data-r2/distinct/data-all.ttl</a></p> | |
7166 <div class="query"> | |
7167 ## data-num.ttl | |
7168 @prefix : <http://example/> . | |
7169 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
7170 | |
7171 :x1 :p1 "1"^^xsd:integer . | |
7172 :x1 :p2 "1"^^xsd:integer . | |
7173 | |
7174 :x2 :p1 "1"^^xsd:integer . | |
7175 :x2 :p2 "1"^^xsd:integer . | |
7176 | |
7177 :x3 :p1 "01"^^xsd:integer . | |
7178 :x3 :p2 "01"^^xsd:integer . | |
7179 | |
7180 :x4 :p1 "+1"^^xsd:integer . | |
7181 :x4 :p2 "+1"^^xsd:integer . | |
7182 | |
7183 :y1 :p1 "1.0"^^xsd:decimal . | |
7184 :y1 :p2 "1.0"^^xsd:decimal . | |
7185 | |
7186 :y2 :p1 "+1.0"^^xsd:decimal . | |
7187 :y2 :p2 "+1.0"^^xsd:decimal . | |
7188 | |
7189 :y3 :p1 "01.0"^^xsd:decimal . | |
7190 :y3 :p2 "01.0"^^xsd:decimal . | |
7191 | |
7192 :z1 :p1 "1.0e0"^^xsd:double . | |
7193 :z1 :p2 "1.0e0"^^xsd:double . | |
7194 | |
7195 :z2 :p1 "1.0e0"^^xsd:double . | |
7196 :z2 :p2 "1.0e0"^^xsd:double . | |
7197 | |
7198 :z3 :p1 "1.3e0"^^xsd:double . | |
7199 :z3 :p2 "1.3e0"^^xsd:double . | |
7200 | |
7201 :z4 :p1 "1.3e0"^^xsd:double . | |
7202 :z5 :p1 "1.3e0"^^xsd:float . | |
7203 | |
7204 ## data-str.ttl | |
7205 | |
7206 :x1 :p "abc" . | |
7207 :x1 :q "abc" . | |
7208 | |
7209 :x2 :p "abc"@en . | |
7210 :x2 :q "abc"@en . | |
7211 | |
7212 :x3 :p "ABC" . | |
7213 :x3 :q "ABC" . | |
7214 | |
7215 :x4 :p "ABC"@en . | |
7216 :x4 :q "ABC"@en . | |
7217 | |
7218 | |
7219 :x5 :p "abc"^^xsd:string . | |
7220 :x5 :q "abc"^^xsd:string . | |
7221 :x6 :p "ABC"^^xsd:string . | |
7222 :x6 :q "ABC"^^xsd:string . | |
7223 | |
7224 :x7 :p "" . | |
7225 :x7 :q "" . | |
7226 | |
7227 :x8 :p ""@en . | |
7228 :x8 :q ""@en . | |
7229 | |
7230 :x9 :p ""^^xsd:string . | |
7231 :x9 :q ""^^xsd:string . | |
7232 | |
7233 ## data-node.ttl | |
7234 | |
7235 :x1 :p1 :z1 . | |
7236 :x1 :p1 _:a . | |
7237 | |
7238 :x1 :p2 :z1 . | |
7239 :x1 :p2 _:a . | |
7240 | |
7241 | |
7242 </div> | |
7243 <h3>Named Graphs</h3> | |
7244 | |
7245 <h3>Query</h3> | |
7246 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/no-distinct-1.rq">data-r2/distinct/no-distinct-1.rq</a><br/> | |
7247 <div class="query"> | |
7248 SELECT ?v | |
7249 { | |
7250 ?x ?p ?v . | |
7251 } | |
7252 | |
7253 </div> | |
7254 <h3>Results</h3> | |
7255 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/no-distinct-all.srx">data-r2/distinct/no-distinct-all.srx</a></p> | |
7256 <hr/> | |
7257 <h2><a name="dawg-datatype-1">datatype-1</a></h2> | |
7258 Query evaluation test | |
7259 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006</a></div> | |
7260 | |
7261 <h3>Default Graph</h3> | |
7262 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-builtin-1.ttl">data-r2/expr-builtin/data-builtin-1.ttl</a></p> | |
7263 <div class="query"> | |
7264 @prefix : <http://example.org/things#> . | |
7265 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
7266 | |
7267 :xi1 :p "1"^^xsd:integer . | |
7268 :xi2 :p "1"^^xsd:integer . | |
7269 :xi3 :p "01"^^xsd:integer . | |
7270 | |
7271 :xd1 :p "1.0e0"^^xsd:double . | |
7272 :xd2 :p "1.0"^^xsd:double . | |
7273 :xd3 :p "1"^^xsd:double . | |
7274 | |
7275 :xt1 :p "zzz"^^:myType . | |
7276 | |
7277 :xp1 :p "zzz" . | |
7278 :xp2 :p "1" . | |
7279 :xp2 :p "" . | |
7280 | |
7281 :xu :p :z . | |
7282 | |
7283 :xb :p _:a . | |
7284 | |
7285 </div> | |
7286 <h3>Named Graphs</h3> | |
7287 | |
7288 <h3>Query</h3> | |
7289 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/q-datatype-1.rq">data-r2/expr-builtin/q-datatype-1.rq</a><br/> | |
7290 <div class="query"> | |
7291 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
7292 PREFIX : <http://example.org/things#> | |
7293 SELECT ?x ?v | |
7294 WHERE | |
7295 { ?x :p ?v . | |
7296 FILTER ( datatype(?v) = xsd:double ) . | |
7297 } | |
7298 | |
7299 </div> | |
7300 <h3>Results</h3> | |
7301 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-datatype-1.ttl">data-r2/expr-builtin/result-datatype-1.ttl</a></p> | |
7302 <hr/> | |
7303 <h2><a name="dawg-datatype-2">datatype-2 : Literals with a datatype</a></h2> | |
7304 Query evaluation test | |
7305 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006</a></div> | |
7306 <p>updated from original test case: eliminated ordering from test</p> | |
7307 <h3>Default Graph</h3> | |
7308 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-builtin-2.ttl">data-r2/expr-builtin/data-builtin-2.ttl</a></p> | |
7309 <div class="query"> | |
7310 @prefix : <http://example/> . | |
7311 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
7312 | |
7313 :x1 :p "string" . | |
7314 :x2 :p "string"^^xsd:string . | |
7315 :x3 :p "string"@en . | |
7316 :x4 :p "lex"^^:unknownType . | |
7317 :x5 :p "1234"^^xsd:integer . | |
7318 :x6 :p <http://example/iri> . | |
7319 :x7 :p _:bNode . | |
7320 | |
7321 | |
7322 | |
7323 | |
7324 | |
7325 </div> | |
7326 <h3>Named Graphs</h3> | |
7327 | |
7328 <h3>Query</h3> | |
7329 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/q-datatype-2.rq">data-r2/expr-builtin/q-datatype-2.rq</a><br/> | |
7330 <div class="query"> | |
7331 # Which literals have a datatype and which are errors. | |
7332 | |
7333 PREFIX : <http://example/> | |
7334 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
7335 | |
7336 SELECT ?x | |
7337 { ?x :p ?v . | |
7338 FILTER( datatype(?v) != <http://example/NotADataTypeIRI> ) | |
7339 } | |
7340 | |
7341 </div> | |
7342 <h3>Results</h3> | |
7343 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-datatype-2.srx">data-r2/expr-builtin/result-datatype-2.srx</a></p> | |
7344 <hr/> | |
7345 <h2><a name="dawg-datatype-3">datatype-3 : Literals with a datatype of xsd:string</a></h2> | |
7346 Query evaluation test | |
7347 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006</a></div> | |
7348 <p>updated from original test case: eliminated ordering from test</p> | |
7349 <h3>Default Graph</h3> | |
7350 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-builtin-2.ttl">data-r2/expr-builtin/data-builtin-2.ttl</a></p> | |
7351 <div class="query"> | |
7352 @prefix : <http://example/> . | |
7353 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
7354 | |
7355 :x1 :p "string" . | |
7356 :x2 :p "string"^^xsd:string . | |
7357 :x3 :p "string"@en . | |
7358 :x4 :p "lex"^^:unknownType . | |
7359 :x5 :p "1234"^^xsd:integer . | |
7360 :x6 :p <http://example/iri> . | |
7361 :x7 :p _:bNode . | |
7362 | |
7363 | |
7364 | |
7365 | |
7366 | |
7367 </div> | |
7368 <h3>Named Graphs</h3> | |
7369 | |
7370 <h3>Query</h3> | |
7371 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/q-datatype-3.rq">data-r2/expr-builtin/q-datatype-3.rq</a><br/> | |
7372 <div class="query"> | |
7373 # Whichliterals have xsd:string as a datatype | |
7374 | |
7375 PREFIX : <http://example/> | |
7376 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
7377 | |
7378 SELECT ?x | |
7379 { ?x :p ?v . | |
7380 FILTER( datatype(?v) = xsd:string ) | |
7381 } | |
7382 | |
7383 </div> | |
7384 <h3>Results</h3> | |
7385 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-datatype-3.srx">data-r2/expr-builtin/result-datatype-3.srx</a></p> | |
7386 <hr/> | |
7387 <h2><a name="dawg-isBlank-1">isBlank-1</a></h2> | |
7388 Query evaluation test | |
7389 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006</a></div> | |
7390 | |
7391 <h3>Default Graph</h3> | |
7392 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-builtin-1.ttl">data-r2/expr-builtin/data-builtin-1.ttl</a></p> | |
7393 <div class="query"> | |
7394 @prefix : <http://example.org/things#> . | |
7395 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
7396 | |
7397 :xi1 :p "1"^^xsd:integer . | |
7398 :xi2 :p "1"^^xsd:integer . | |
7399 :xi3 :p "01"^^xsd:integer . | |
7400 | |
7401 :xd1 :p "1.0e0"^^xsd:double . | |
7402 :xd2 :p "1.0"^^xsd:double . | |
7403 :xd3 :p "1"^^xsd:double . | |
7404 | |
7405 :xt1 :p "zzz"^^:myType . | |
7406 | |
7407 :xp1 :p "zzz" . | |
7408 :xp2 :p "1" . | |
7409 :xp2 :p "" . | |
7410 | |
7411 :xu :p :z . | |
7412 | |
7413 :xb :p _:a . | |
7414 | |
7415 </div> | |
7416 <h3>Named Graphs</h3> | |
7417 | |
7418 <h3>Query</h3> | |
7419 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/q-blank-1.rq">data-r2/expr-builtin/q-blank-1.rq</a><br/> | |
7420 <div class="query"> | |
7421 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
7422 PREFIX : <http://example.org/things#> | |
7423 SELECT ?x ?v | |
7424 WHERE | |
7425 { ?x :p ?v . | |
7426 FILTER isBlank(?v) . | |
7427 } | |
7428 | |
7429 </div> | |
7430 <h3>Results</h3> | |
7431 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-blank-1.ttl">data-r2/expr-builtin/result-blank-1.ttl</a></p> | |
7432 <hr/> | |
7433 <h2><a name="dawg-isIRI-1">isIRI-1</a></h2> | |
7434 Query evaluation test | |
7435 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html</a></div> | |
7436 | |
7437 <h3>Default Graph</h3> | |
7438 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-builtin-1.ttl">data-r2/expr-builtin/data-builtin-1.ttl</a></p> | |
7439 <div class="query"> | |
7440 @prefix : <http://example.org/things#> . | |
7441 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
7442 | |
7443 :xi1 :p "1"^^xsd:integer . | |
7444 :xi2 :p "1"^^xsd:integer . | |
7445 :xi3 :p "01"^^xsd:integer . | |
7446 | |
7447 :xd1 :p "1.0e0"^^xsd:double . | |
7448 :xd2 :p "1.0"^^xsd:double . | |
7449 :xd3 :p "1"^^xsd:double . | |
7450 | |
7451 :xt1 :p "zzz"^^:myType . | |
7452 | |
7453 :xp1 :p "zzz" . | |
7454 :xp2 :p "1" . | |
7455 :xp2 :p "" . | |
7456 | |
7457 :xu :p :z . | |
7458 | |
7459 :xb :p _:a . | |
7460 | |
7461 </div> | |
7462 <h3>Named Graphs</h3> | |
7463 | |
7464 <h3>Query</h3> | |
7465 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/q-iri-1.rq">data-r2/expr-builtin/q-iri-1.rq</a><br/> | |
7466 <div class="query"> | |
7467 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
7468 PREFIX : <http://example.org/things#> | |
7469 SELECT ?x ?v | |
7470 WHERE | |
7471 { ?x :p ?v . | |
7472 FILTER isIRI(?v) . | |
7473 } | |
7474 | |
7475 </div> | |
7476 <h3>Results</h3> | |
7477 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-iri-1.ttl">data-r2/expr-builtin/result-iri-1.ttl</a></p> | |
7478 <hr/> | |
7479 <h2><a name="dawg-isLiteral-1">isLiteral</a></h2> | |
7480 Query evaluation test | |
7481 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html</a></div> | |
7482 | |
7483 <h3>Default Graph</h3> | |
7484 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-builtin-2.ttl">data-r2/expr-builtin/data-builtin-2.ttl</a></p> | |
7485 <div class="query"> | |
7486 @prefix : <http://example/> . | |
7487 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
7488 | |
7489 :x1 :p "string" . | |
7490 :x2 :p "string"^^xsd:string . | |
7491 :x3 :p "string"@en . | |
7492 :x4 :p "lex"^^:unknownType . | |
7493 :x5 :p "1234"^^xsd:integer . | |
7494 :x6 :p <http://example/iri> . | |
7495 :x7 :p _:bNode . | |
7496 | |
7497 | |
7498 | |
7499 | |
7500 | |
7501 </div> | |
7502 <h3>Named Graphs</h3> | |
7503 | |
7504 <h3>Query</h3> | |
7505 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/q-isliteral-1.rq">data-r2/expr-builtin/q-isliteral-1.rq</a><br/> | |
7506 <div class="query"> | |
7507 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
7508 PREFIX : <http://example/> | |
7509 SELECT ?x | |
7510 WHERE | |
7511 { ?x :p ?v . | |
7512 FILTER isLiteral(?v) . | |
7513 } | |
7514 | |
7515 </div> | |
7516 <h3>Results</h3> | |
7517 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-isliteral-1.ttl">data-r2/expr-builtin/result-isliteral-1.ttl</a></p> | |
7518 <hr/> | |
7519 <h2><a name="dawg-isURI-1">isURI-1</a></h2> | |
7520 Query evaluation test | |
7521 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006</a></div> | |
7522 | |
7523 <h3>Default Graph</h3> | |
7524 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-builtin-1.ttl">data-r2/expr-builtin/data-builtin-1.ttl</a></p> | |
7525 <div class="query"> | |
7526 @prefix : <http://example.org/things#> . | |
7527 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
7528 | |
7529 :xi1 :p "1"^^xsd:integer . | |
7530 :xi2 :p "1"^^xsd:integer . | |
7531 :xi3 :p "01"^^xsd:integer . | |
7532 | |
7533 :xd1 :p "1.0e0"^^xsd:double . | |
7534 :xd2 :p "1.0"^^xsd:double . | |
7535 :xd3 :p "1"^^xsd:double . | |
7536 | |
7537 :xt1 :p "zzz"^^:myType . | |
7538 | |
7539 :xp1 :p "zzz" . | |
7540 :xp2 :p "1" . | |
7541 :xp2 :p "" . | |
7542 | |
7543 :xu :p :z . | |
7544 | |
7545 :xb :p _:a . | |
7546 | |
7547 </div> | |
7548 <h3>Named Graphs</h3> | |
7549 | |
7550 <h3>Query</h3> | |
7551 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/q-uri-1.rq">data-r2/expr-builtin/q-uri-1.rq</a><br/> | |
7552 <div class="query"> | |
7553 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
7554 PREFIX : <http://example.org/things#> | |
7555 SELECT ?x ?v | |
7556 WHERE | |
7557 { ?x :p ?v . | |
7558 FILTER isURI(?v) . | |
7559 } | |
7560 | |
7561 </div> | |
7562 <h3>Results</h3> | |
7563 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-uri-1.ttl">data-r2/expr-builtin/result-uri-1.ttl</a></p> | |
7564 <hr/> | |
7565 <h2><a name="dawg-lang-1">lang-1 : Literals with a lang tag of some kind</a></h2> | |
7566 Query evaluation test | |
7567 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006</a></div> | |
7568 <p>updated from original test case: eliminated ordering from test</p> | |
7569 <h3>Default Graph</h3> | |
7570 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-builtin-2.ttl">data-r2/expr-builtin/data-builtin-2.ttl</a></p> | |
7571 <div class="query"> | |
7572 @prefix : <http://example/> . | |
7573 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
7574 | |
7575 :x1 :p "string" . | |
7576 :x2 :p "string"^^xsd:string . | |
7577 :x3 :p "string"@en . | |
7578 :x4 :p "lex"^^:unknownType . | |
7579 :x5 :p "1234"^^xsd:integer . | |
7580 :x6 :p <http://example/iri> . | |
7581 :x7 :p _:bNode . | |
7582 | |
7583 | |
7584 | |
7585 | |
7586 | |
7587 </div> | |
7588 <h3>Named Graphs</h3> | |
7589 | |
7590 <h3>Query</h3> | |
7591 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/q-lang-1.rq">data-r2/expr-builtin/q-lang-1.rq</a><br/> | |
7592 <div class="query"> | |
7593 # Test which things have a lang tag of some form. | |
7594 | |
7595 PREFIX : <http://example/> | |
7596 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
7597 | |
7598 SELECT ?x | |
7599 { ?x :p ?v . | |
7600 FILTER ( lang(?v) != '@NotALangTag@' ) | |
7601 } | |
7602 | |
7603 </div> | |
7604 <h3>Results</h3> | |
7605 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-lang-1.srx">data-r2/expr-builtin/result-lang-1.srx</a></p> | |
7606 <hr/> | |
7607 <h2><a name="dawg-lang-2">lang-2 : Literals with a lang tag of ''</a></h2> | |
7608 Query evaluation test | |
7609 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006</a></div> | |
7610 <p>updated from original test case: eliminated ordering from test</p> | |
7611 <h3>Default Graph</h3> | |
7612 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-builtin-2.ttl">data-r2/expr-builtin/data-builtin-2.ttl</a></p> | |
7613 <div class="query"> | |
7614 @prefix : <http://example/> . | |
7615 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
7616 | |
7617 :x1 :p "string" . | |
7618 :x2 :p "string"^^xsd:string . | |
7619 :x3 :p "string"@en . | |
7620 :x4 :p "lex"^^:unknownType . | |
7621 :x5 :p "1234"^^xsd:integer . | |
7622 :x6 :p <http://example/iri> . | |
7623 :x7 :p _:bNode . | |
7624 | |
7625 | |
7626 | |
7627 | |
7628 | |
7629 </div> | |
7630 <h3>Named Graphs</h3> | |
7631 | |
7632 <h3>Query</h3> | |
7633 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/q-lang-2.rq">data-r2/expr-builtin/q-lang-2.rq</a><br/> | |
7634 <div class="query"> | |
7635 PREFIX : <http://example/> | |
7636 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
7637 | |
7638 SELECT ?x | |
7639 { ?x :p ?v . | |
7640 FILTER ( lang(?v) = '' ) | |
7641 } | |
7642 | |
7643 </div> | |
7644 <h3>Results</h3> | |
7645 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-lang-2.srx">data-r2/expr-builtin/result-lang-2.srx</a></p> | |
7646 <hr/> | |
7647 <h2><a name="dawg-lang-3">lang-3 : Graph matching with lang tag being a different case</a></h2> | |
7648 Query evaluation test | |
7649 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006</a></div> | |
7650 <p>updated from original test case: eliminated ordering from test</p> | |
7651 <h3>Default Graph</h3> | |
7652 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-builtin-2.ttl">data-r2/expr-builtin/data-builtin-2.ttl</a></p> | |
7653 <div class="query"> | |
7654 @prefix : <http://example/> . | |
7655 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
7656 | |
7657 :x1 :p "string" . | |
7658 :x2 :p "string"^^xsd:string . | |
7659 :x3 :p "string"@en . | |
7660 :x4 :p "lex"^^:unknownType . | |
7661 :x5 :p "1234"^^xsd:integer . | |
7662 :x6 :p <http://example/iri> . | |
7663 :x7 :p _:bNode . | |
7664 | |
7665 | |
7666 | |
7667 | |
7668 | |
7669 </div> | |
7670 <h3>Named Graphs</h3> | |
7671 | |
7672 <h3>Query</h3> | |
7673 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/q-lang-3.rq">data-r2/expr-builtin/q-lang-3.rq</a><br/> | |
7674 <div class="query"> | |
7675 PREFIX : <http://example/> | |
7676 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
7677 | |
7678 SELECT ?x | |
7679 { ?x :p "string"@EN | |
7680 } | |
7681 | |
7682 </div> | |
7683 <h3>Results</h3> | |
7684 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-lang-3.srx">data-r2/expr-builtin/result-lang-3.srx</a></p> | |
7685 <hr/> | |
7686 <h2><a name="dawg-langMatches-1">LangMatches-1</a></h2> | |
7687 Query evaluation test | |
7688 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006</a></div> | |
7689 <p>langMatches(lang(?v), 'en-GB') matches 'abc'@en-gb</p> | |
7690 <h3>Default Graph</h3> | |
7691 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-langMatches.ttl">data-r2/expr-builtin/data-langMatches.ttl</a></p> | |
7692 <div class="query"> | |
7693 @prefix : <http://example.org/#> . | |
7694 | |
7695 :x :p1 "abc" . | |
7696 :x :p2 <abc> . | |
7697 :x :p3 "abc"@en . | |
7698 :x :p4 "abc"@en-gb . | |
7699 :x :p5 "abc"@fr . | |
7700 | |
7701 </div> | |
7702 <h3>Named Graphs</h3> | |
7703 | |
7704 <h3>Query</h3> | |
7705 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/q-langMatches-1.rq">data-r2/expr-builtin/q-langMatches-1.rq</a><br/> | |
7706 <div class="query"> | |
7707 PREFIX : <http://example.org/#> | |
7708 | |
7709 SELECT * | |
7710 { :x ?p ?v . FILTER langMatches(lang(?v), "en-GB") . } | |
7711 | |
7712 </div> | |
7713 <h3>Results</h3> | |
7714 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-langMatches-1.ttl">data-r2/expr-builtin/result-langMatches-1.ttl</a></p> | |
7715 <hr/> | |
7716 <h2><a name="dawg-langMatches-2">LangMatches-2</a></h2> | |
7717 Query evaluation test | |
7718 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006</a></div> | |
7719 <p>langMatches(lang(?v), 'en') matches 'abc'@en, 'abc'@en-gb</p> | |
7720 <h3>Default Graph</h3> | |
7721 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-langMatches.ttl">data-r2/expr-builtin/data-langMatches.ttl</a></p> | |
7722 <div class="query"> | |
7723 @prefix : <http://example.org/#> . | |
7724 | |
7725 :x :p1 "abc" . | |
7726 :x :p2 <abc> . | |
7727 :x :p3 "abc"@en . | |
7728 :x :p4 "abc"@en-gb . | |
7729 :x :p5 "abc"@fr . | |
7730 | |
7731 </div> | |
7732 <h3>Named Graphs</h3> | |
7733 | |
7734 <h3>Query</h3> | |
7735 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/q-langMatches-2.rq">data-r2/expr-builtin/q-langMatches-2.rq</a><br/> | |
7736 <div class="query"> | |
7737 PREFIX : <http://example.org/#> | |
7738 | |
7739 SELECT * | |
7740 { :x ?p ?v . FILTER langMatches(lang(?v), "en") . } | |
7741 | |
7742 </div> | |
7743 <h3>Results</h3> | |
7744 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-langMatches-2.ttl">data-r2/expr-builtin/result-langMatches-2.ttl</a></p> | |
7745 <hr/> | |
7746 <h2><a name="dawg-langMatches-3">LangMatches-3</a></h2> | |
7747 Query evaluation test | |
7748 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006</a></div> | |
7749 <p>langMatches(lang(?v), '*') matches 'abc'@en, 'abc'@en-gb, 'abc'@fr</p> | |
7750 <h3>Default Graph</h3> | |
7751 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-langMatches.ttl">data-r2/expr-builtin/data-langMatches.ttl</a></p> | |
7752 <div class="query"> | |
7753 @prefix : <http://example.org/#> . | |
7754 | |
7755 :x :p1 "abc" . | |
7756 :x :p2 <abc> . | |
7757 :x :p3 "abc"@en . | |
7758 :x :p4 "abc"@en-gb . | |
7759 :x :p5 "abc"@fr . | |
7760 | |
7761 </div> | |
7762 <h3>Named Graphs</h3> | |
7763 | |
7764 <h3>Query</h3> | |
7765 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/q-langMatches-3.rq">data-r2/expr-builtin/q-langMatches-3.rq</a><br/> | |
7766 <div class="query"> | |
7767 PREFIX : <http://example.org/#> | |
7768 | |
7769 SELECT * | |
7770 { :x ?p ?v . FILTER langMatches(lang(?v), "*") . } | |
7771 | |
7772 </div> | |
7773 <h3>Results</h3> | |
7774 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-langMatches-3.ttl">data-r2/expr-builtin/result-langMatches-3.ttl</a></p> | |
7775 <hr/> | |
7776 <h2><a name="dawg-langMatches-4">LangMatches-4</a></h2> | |
7777 Query evaluation test | |
7778 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006</a></div> | |
7779 <p>! langMatches(lang(?v), '*') matches 'abc'</p> | |
7780 <h3>Default Graph</h3> | |
7781 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-langMatches.ttl">data-r2/expr-builtin/data-langMatches.ttl</a></p> | |
7782 <div class="query"> | |
7783 @prefix : <http://example.org/#> . | |
7784 | |
7785 :x :p1 "abc" . | |
7786 :x :p2 <abc> . | |
7787 :x :p3 "abc"@en . | |
7788 :x :p4 "abc"@en-gb . | |
7789 :x :p5 "abc"@fr . | |
7790 | |
7791 </div> | |
7792 <h3>Named Graphs</h3> | |
7793 | |
7794 <h3>Query</h3> | |
7795 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/q-langMatches-4.rq">data-r2/expr-builtin/q-langMatches-4.rq</a><br/> | |
7796 <div class="query"> | |
7797 PREFIX : <http://example.org/#> | |
7798 | |
7799 SELECT * | |
7800 { :x ?p ?v . FILTER (! langMatches(lang(?v), "*")) . } | |
7801 | |
7802 </div> | |
7803 <h3>Results</h3> | |
7804 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-langMatches-4.ttl">data-r2/expr-builtin/result-langMatches-4.ttl</a></p> | |
7805 <hr/> | |
7806 <h2><a name="dawg-langMatches-basic">LangMatches-basic</a></h2> | |
7807 Query evaluation test | |
7808 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html</a></div> | |
7809 <p>the basic range 'de-de' does not match 'de-Latn-de'</p> | |
7810 <h3>Default Graph</h3> | |
7811 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-langMatches-de.ttl">data-r2/expr-builtin/data-langMatches-de.ttl</a></p> | |
7812 <div class="query"> | |
7813 # data-langMatches-de.ttl | |
7814 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
7815 | |
7816 @prefix : <http://example.org/#> . | |
7817 | |
7818 :x :p3 "abc"@de . | |
7819 :x :p4 "abc"@de-de . | |
7820 :x :p5 "abc"@de-latn-de . | |
7821 | |
7822 </div> | |
7823 <h3>Named Graphs</h3> | |
7824 | |
7825 <h3>Query</h3> | |
7826 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/q-langMatches-de-de.rq">data-r2/expr-builtin/q-langMatches-de-de.rq</a><br/> | |
7827 <div class="query"> | |
7828 # q-langMatches-de-de.rq | |
7829 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
7830 | |
7831 PREFIX : <http://example.org/#> | |
7832 | |
7833 SELECT * | |
7834 { :x ?p ?v . FILTER langMatches(lang(?v), "de-de") . } | |
7835 | |
7836 </div> | |
7837 <h3>Results</h3> | |
7838 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-langMatches-de.ttl">data-r2/expr-builtin/result-langMatches-de.ttl</a></p> | |
7839 <hr/> | |
7840 <h2><a name="dawg-str-1">str-1</a></h2> | |
7841 Query evaluation test | |
7842 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006</a></div> | |
7843 | |
7844 <h3>Default Graph</h3> | |
7845 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-builtin-1.ttl">data-r2/expr-builtin/data-builtin-1.ttl</a></p> | |
7846 <div class="query"> | |
7847 @prefix : <http://example.org/things#> . | |
7848 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
7849 | |
7850 :xi1 :p "1"^^xsd:integer . | |
7851 :xi2 :p "1"^^xsd:integer . | |
7852 :xi3 :p "01"^^xsd:integer . | |
7853 | |
7854 :xd1 :p "1.0e0"^^xsd:double . | |
7855 :xd2 :p "1.0"^^xsd:double . | |
7856 :xd3 :p "1"^^xsd:double . | |
7857 | |
7858 :xt1 :p "zzz"^^:myType . | |
7859 | |
7860 :xp1 :p "zzz" . | |
7861 :xp2 :p "1" . | |
7862 :xp2 :p "" . | |
7863 | |
7864 :xu :p :z . | |
7865 | |
7866 :xb :p _:a . | |
7867 | |
7868 </div> | |
7869 <h3>Named Graphs</h3> | |
7870 | |
7871 <h3>Query</h3> | |
7872 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/q-str-1.rq">data-r2/expr-builtin/q-str-1.rq</a><br/> | |
7873 <div class="query"> | |
7874 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
7875 PREFIX : <http://example.org/things#> | |
7876 SELECT ?x ?v | |
7877 WHERE | |
7878 { ?x :p ?v . | |
7879 FILTER ( str(?v) = "1" ) . | |
7880 } | |
7881 | |
7882 </div> | |
7883 <h3>Results</h3> | |
7884 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-str-1.ttl">data-r2/expr-builtin/result-str-1.ttl</a></p> | |
7885 <hr/> | |
7886 <h2><a name="dawg-str-2">str-2</a></h2> | |
7887 Query evaluation test | |
7888 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006</a></div> | |
7889 | |
7890 <h3>Default Graph</h3> | |
7891 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-builtin-1.ttl">data-r2/expr-builtin/data-builtin-1.ttl</a></p> | |
7892 <div class="query"> | |
7893 @prefix : <http://example.org/things#> . | |
7894 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
7895 | |
7896 :xi1 :p "1"^^xsd:integer . | |
7897 :xi2 :p "1"^^xsd:integer . | |
7898 :xi3 :p "01"^^xsd:integer . | |
7899 | |
7900 :xd1 :p "1.0e0"^^xsd:double . | |
7901 :xd2 :p "1.0"^^xsd:double . | |
7902 :xd3 :p "1"^^xsd:double . | |
7903 | |
7904 :xt1 :p "zzz"^^:myType . | |
7905 | |
7906 :xp1 :p "zzz" . | |
7907 :xp2 :p "1" . | |
7908 :xp2 :p "" . | |
7909 | |
7910 :xu :p :z . | |
7911 | |
7912 :xb :p _:a . | |
7913 | |
7914 </div> | |
7915 <h3>Named Graphs</h3> | |
7916 | |
7917 <h3>Query</h3> | |
7918 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/q-str-2.rq">data-r2/expr-builtin/q-str-2.rq</a><br/> | |
7919 <div class="query"> | |
7920 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
7921 PREFIX : <http://example.org/things#> | |
7922 SELECT ?x ?v | |
7923 WHERE | |
7924 { ?x :p ?v . | |
7925 FILTER ( str(?v) = "01" ) . | |
7926 } | |
7927 | |
7928 </div> | |
7929 <h3>Results</h3> | |
7930 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-str-2.ttl">data-r2/expr-builtin/result-str-2.ttl</a></p> | |
7931 <hr/> | |
7932 <h2><a name="dawg-str-3">str-3</a></h2> | |
7933 Query evaluation test | |
7934 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006</a></div> | |
7935 | |
7936 <h3>Default Graph</h3> | |
7937 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-builtin-1.ttl">data-r2/expr-builtin/data-builtin-1.ttl</a></p> | |
7938 <div class="query"> | |
7939 @prefix : <http://example.org/things#> . | |
7940 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
7941 | |
7942 :xi1 :p "1"^^xsd:integer . | |
7943 :xi2 :p "1"^^xsd:integer . | |
7944 :xi3 :p "01"^^xsd:integer . | |
7945 | |
7946 :xd1 :p "1.0e0"^^xsd:double . | |
7947 :xd2 :p "1.0"^^xsd:double . | |
7948 :xd3 :p "1"^^xsd:double . | |
7949 | |
7950 :xt1 :p "zzz"^^:myType . | |
7951 | |
7952 :xp1 :p "zzz" . | |
7953 :xp2 :p "1" . | |
7954 :xp2 :p "" . | |
7955 | |
7956 :xu :p :z . | |
7957 | |
7958 :xb :p _:a . | |
7959 | |
7960 </div> | |
7961 <h3>Named Graphs</h3> | |
7962 | |
7963 <h3>Query</h3> | |
7964 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/q-str-3.rq">data-r2/expr-builtin/q-str-3.rq</a><br/> | |
7965 <div class="query"> | |
7966 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
7967 PREFIX : <http://example.org/things#> | |
7968 SELECT ?x ?v | |
7969 WHERE | |
7970 { ?x :p ?v . | |
7971 FILTER ( str(?v) = "zzz" ) . | |
7972 } | |
7973 | |
7974 </div> | |
7975 <h3>Results</h3> | |
7976 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-str-3.ttl">data-r2/expr-builtin/result-str-3.ttl</a></p> | |
7977 <hr/> | |
7978 <h2><a name="dawg-str-4">str-4</a></h2> | |
7979 Query evaluation test | |
7980 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006</a></div> | |
7981 | |
7982 <h3>Default Graph</h3> | |
7983 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-builtin-1.ttl">data-r2/expr-builtin/data-builtin-1.ttl</a></p> | |
7984 <div class="query"> | |
7985 @prefix : <http://example.org/things#> . | |
7986 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
7987 | |
7988 :xi1 :p "1"^^xsd:integer . | |
7989 :xi2 :p "1"^^xsd:integer . | |
7990 :xi3 :p "01"^^xsd:integer . | |
7991 | |
7992 :xd1 :p "1.0e0"^^xsd:double . | |
7993 :xd2 :p "1.0"^^xsd:double . | |
7994 :xd3 :p "1"^^xsd:double . | |
7995 | |
7996 :xt1 :p "zzz"^^:myType . | |
7997 | |
7998 :xp1 :p "zzz" . | |
7999 :xp2 :p "1" . | |
8000 :xp2 :p "" . | |
8001 | |
8002 :xu :p :z . | |
8003 | |
8004 :xb :p _:a . | |
8005 | |
8006 </div> | |
8007 <h3>Named Graphs</h3> | |
8008 | |
8009 <h3>Query</h3> | |
8010 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/q-str-4.rq">data-r2/expr-builtin/q-str-4.rq</a><br/> | |
8011 <div class="query"> | |
8012 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
8013 PREFIX : <http://example.org/things#> | |
8014 SELECT ?x ?v | |
8015 WHERE | |
8016 { ?x :p ?v . | |
8017 FILTER ( str(?v) = "" ) . | |
8018 } | |
8019 | |
8020 </div> | |
8021 <h3>Results</h3> | |
8022 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-str-4.ttl">data-r2/expr-builtin/result-str-4.ttl</a></p> | |
8023 <hr/> | |
8024 <h2><a name="lang-case-insensitive-eq">lang-case-insensitive-eq</a></h2> | |
8025 Query evaluation test | |
8026 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
8027 <p>'xyz'@en = 'xyz'@EN</p> | |
8028 <h3>Default Graph</h3> | |
8029 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/lang-case-sensitivity.ttl">data-r2/expr-builtin/lang-case-sensitivity.ttl</a></p> | |
8030 <div class="query"> | |
8031 # Data: minimal test of plain literal language sensitivity | |
8032 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
8033 | |
8034 @prefix : <http://example/> . | |
8035 | |
8036 :x2 :p "xyz"@en . | |
8037 :x3 :p "xyz"@EN . | |
8038 | |
8039 </div> | |
8040 <h3>Named Graphs</h3> | |
8041 | |
8042 <h3>Query</h3> | |
8043 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/lang-case-sensitivity-eq.rq">data-r2/expr-builtin/lang-case-sensitivity-eq.rq</a><br/> | |
8044 <div class="query"> | |
8045 # Test: 'xyz'@en = 'xyz'@EN | |
8046 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
8047 | |
8048 PREFIX : <http://example/> | |
8049 | |
8050 SELECT * | |
8051 { | |
8052 ?x1 :p ?v1 . | |
8053 ?x2 :p ?v2 . | |
8054 FILTER ( ?v1 = ?v2 ) | |
8055 } | |
8056 | |
8057 </div> | |
8058 <h3>Results</h3> | |
8059 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/lang-case-insensitive-eq.srx">data-r2/expr-builtin/lang-case-insensitive-eq.srx</a></p> | |
8060 <hr/> | |
8061 <h2><a name="lang-case-insensitive-ne">lang-case-insensitive-ne</a></h2> | |
8062 Query evaluation test | |
8063 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
8064 <p>'xyz'@en != 'xyz'@EN</p> | |
8065 <h3>Default Graph</h3> | |
8066 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/lang-case-sensitivity.ttl">data-r2/expr-builtin/lang-case-sensitivity.ttl</a></p> | |
8067 <div class="query"> | |
8068 # Data: minimal test of plain literal language sensitivity | |
8069 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
8070 | |
8071 @prefix : <http://example/> . | |
8072 | |
8073 :x2 :p "xyz"@en . | |
8074 :x3 :p "xyz"@EN . | |
8075 | |
8076 </div> | |
8077 <h3>Named Graphs</h3> | |
8078 | |
8079 <h3>Query</h3> | |
8080 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/lang-case-sensitivity-ne.rq">data-r2/expr-builtin/lang-case-sensitivity-ne.rq</a><br/> | |
8081 <div class="query"> | |
8082 # Test: 'xyz'@en != 'xyz'@EN | |
8083 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
8084 | |
8085 PREFIX : <http://example/> | |
8086 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
8087 | |
8088 SELECT * | |
8089 { | |
8090 ?x1 :p ?v1 . | |
8091 ?x2 :p ?v2 . | |
8092 FILTER ( ?v1 != ?v2 ) | |
8093 } | |
8094 | |
8095 </div> | |
8096 <h3>Results</h3> | |
8097 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/lang-case-insensitive-ne.srx">data-r2/expr-builtin/lang-case-insensitive-ne.srx</a></p> | |
8098 <hr/> | |
8099 <h2><a name="sameTerm-eq">sameTerm-eq</a></h2> | |
8100 Query evaluation test | |
8101 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html</a></div> | |
8102 <p>sameTerm(?v1, ?v2) && ?v1 = ?v2</p> | |
8103 <h3>Default Graph</h3> | |
8104 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-builtin-1.ttl">data-r2/expr-builtin/data-builtin-1.ttl</a></p> | |
8105 <div class="query"> | |
8106 @prefix : <http://example.org/things#> . | |
8107 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
8108 | |
8109 :xi1 :p "1"^^xsd:integer . | |
8110 :xi2 :p "1"^^xsd:integer . | |
8111 :xi3 :p "01"^^xsd:integer . | |
8112 | |
8113 :xd1 :p "1.0e0"^^xsd:double . | |
8114 :xd2 :p "1.0"^^xsd:double . | |
8115 :xd3 :p "1"^^xsd:double . | |
8116 | |
8117 :xt1 :p "zzz"^^:myType . | |
8118 | |
8119 :xp1 :p "zzz" . | |
8120 :xp2 :p "1" . | |
8121 :xp2 :p "" . | |
8122 | |
8123 :xu :p :z . | |
8124 | |
8125 :xb :p _:a . | |
8126 | |
8127 </div> | |
8128 <h3>Named Graphs</h3> | |
8129 | |
8130 <h3>Query</h3> | |
8131 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/sameTerm-eq.rq">data-r2/expr-builtin/sameTerm-eq.rq</a><br/> | |
8132 <div class="query"> | |
8133 # Test: sameTerm and eq | |
8134 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
8135 | |
8136 PREFIX : <http://example.org/things#> | |
8137 | |
8138 SELECT * | |
8139 { | |
8140 ?x1 :p ?v1 . | |
8141 ?x2 :p ?v2 . | |
8142 FILTER ( sameTerm(?v1, ?v2) && ?v1 = ?v2 ) | |
8143 } | |
8144 | |
8145 </div> | |
8146 <h3>Results</h3> | |
8147 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-sameTerm-eq.ttl">data-r2/expr-builtin/result-sameTerm-eq.ttl</a></p> | |
8148 <hr/> | |
8149 <h2><a name="sameTerm-not-eq">sameTerm-not-eq</a></h2> | |
8150 Query evaluation test | |
8151 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html</a></div> | |
8152 <p>!sameTerm(?v1, ?v2) && ?v1 = ?v2</p> | |
8153 <h3>Default Graph</h3> | |
8154 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-builtin-1.ttl">data-r2/expr-builtin/data-builtin-1.ttl</a></p> | |
8155 <div class="query"> | |
8156 @prefix : <http://example.org/things#> . | |
8157 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
8158 | |
8159 :xi1 :p "1"^^xsd:integer . | |
8160 :xi2 :p "1"^^xsd:integer . | |
8161 :xi3 :p "01"^^xsd:integer . | |
8162 | |
8163 :xd1 :p "1.0e0"^^xsd:double . | |
8164 :xd2 :p "1.0"^^xsd:double . | |
8165 :xd3 :p "1"^^xsd:double . | |
8166 | |
8167 :xt1 :p "zzz"^^:myType . | |
8168 | |
8169 :xp1 :p "zzz" . | |
8170 :xp2 :p "1" . | |
8171 :xp2 :p "" . | |
8172 | |
8173 :xu :p :z . | |
8174 | |
8175 :xb :p _:a . | |
8176 | |
8177 </div> | |
8178 <h3>Named Graphs</h3> | |
8179 | |
8180 <h3>Query</h3> | |
8181 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/sameTerm-not-eq.rq">data-r2/expr-builtin/sameTerm-not-eq.rq</a><br/> | |
8182 <div class="query"> | |
8183 # Test: !sameTerm and eq | |
8184 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
8185 | |
8186 PREFIX : <http://example.org/things#> | |
8187 | |
8188 SELECT * | |
8189 { | |
8190 ?x1 :p ?v1 . | |
8191 ?x2 :p ?v2 . | |
8192 FILTER ( !sameTerm(?v1, ?v2) && ?v1 = ?v2 ) | |
8193 } | |
8194 | |
8195 </div> | |
8196 <h3>Results</h3> | |
8197 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-sameTerm-not-eq.ttl">data-r2/expr-builtin/result-sameTerm-not-eq.ttl</a></p> | |
8198 <hr/> | |
8199 <h2><a name="sameTerm-simple">sameTerm-simple</a></h2> | |
8200 Query evaluation test | |
8201 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html</a></div> | |
8202 <p>sameTerm(?v1, ?v2)</p> | |
8203 <h3>Default Graph</h3> | |
8204 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/data-builtin-1.ttl">data-r2/expr-builtin/data-builtin-1.ttl</a></p> | |
8205 <div class="query"> | |
8206 @prefix : <http://example.org/things#> . | |
8207 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
8208 | |
8209 :xi1 :p "1"^^xsd:integer . | |
8210 :xi2 :p "1"^^xsd:integer . | |
8211 :xi3 :p "01"^^xsd:integer . | |
8212 | |
8213 :xd1 :p "1.0e0"^^xsd:double . | |
8214 :xd2 :p "1.0"^^xsd:double . | |
8215 :xd3 :p "1"^^xsd:double . | |
8216 | |
8217 :xt1 :p "zzz"^^:myType . | |
8218 | |
8219 :xp1 :p "zzz" . | |
8220 :xp2 :p "1" . | |
8221 :xp2 :p "" . | |
8222 | |
8223 :xu :p :z . | |
8224 | |
8225 :xb :p _:a . | |
8226 | |
8227 </div> | |
8228 <h3>Named Graphs</h3> | |
8229 | |
8230 <h3>Query</h3> | |
8231 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/sameTerm.rq">data-r2/expr-builtin/sameTerm.rq</a><br/> | |
8232 <div class="query"> | |
8233 # Test: sameTerm | |
8234 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
8235 | |
8236 PREFIX : <http://example.org/things#> | |
8237 | |
8238 SELECT * | |
8239 { | |
8240 ?x1 :p ?v1 . | |
8241 ?x2 :p ?v2 . | |
8242 FILTER sameTerm(?v1, ?v2) | |
8243 } | |
8244 | |
8245 </div> | |
8246 <h3>Results</h3> | |
8247 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/result-sameTerm.ttl">data-r2/expr-builtin/result-sameTerm.ttl</a></p> | |
8248 <hr/> | |
8249 <h2><a name="eq-1">Equality 1-1</a></h2> | |
8250 Query evaluation test | |
8251 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
8252 <p>= in FILTER expressions is value equality</p> | |
8253 <h3>Default Graph</h3> | |
8254 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/data-eq.ttl">data-r2/expr-equals/data-eq.ttl</a></p> | |
8255 <div class="query"> | |
8256 @prefix : <http://example.org/things#> . | |
8257 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
8258 | |
8259 :xi1 :p "1"^^xsd:integer . | |
8260 :xi2 :p "1"^^xsd:integer . | |
8261 :xi3 :p "01"^^xsd:integer . | |
8262 | |
8263 :xd1 :p "1.0e0"^^xsd:double . | |
8264 :xd2 :p "1.0"^^xsd:double . | |
8265 :xd3 :p "1"^^xsd:double . | |
8266 | |
8267 ## :xdec1 :p "1.0"^^xsd:decimal . | |
8268 ## :xdec2 :p "1"^^xsd:decimal . | |
8269 ## :xdec3 :p "01"^^xsd:decimal . | |
8270 | |
8271 :xt1 :p "zzz"^^:myType . | |
8272 | |
8273 :xp1 :p "zzz" . | |
8274 :xp2 :p "1" . | |
8275 | |
8276 :xu :p :z . | |
8277 | |
8278 #:xb :p _:a . | |
8279 | |
8280 </div> | |
8281 <h3>Named Graphs</h3> | |
8282 | |
8283 <h3>Query</h3> | |
8284 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/query-eq-1.rq">data-r2/expr-equals/query-eq-1.rq</a><br/> | |
8285 <div class="query"> | |
8286 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
8287 PREFIX : <http://example.org/things#> | |
8288 SELECT ?x | |
8289 WHERE | |
8290 { ?x :p ?v . | |
8291 FILTER ( ?v = 1 ) . | |
8292 } | |
8293 | |
8294 </div> | |
8295 <h3>Results</h3> | |
8296 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/result-eq-1.ttl">data-r2/expr-equals/result-eq-1.ttl</a></p> | |
8297 <hr/> | |
8298 <h2><a name="eq-2">Equality 1-2</a></h2> | |
8299 Query evaluation test | |
8300 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
8301 <p>= in FILTER expressions is value equality</p> | |
8302 <h3>Default Graph</h3> | |
8303 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/data-eq.ttl">data-r2/expr-equals/data-eq.ttl</a></p> | |
8304 <div class="query"> | |
8305 @prefix : <http://example.org/things#> . | |
8306 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
8307 | |
8308 :xi1 :p "1"^^xsd:integer . | |
8309 :xi2 :p "1"^^xsd:integer . | |
8310 :xi3 :p "01"^^xsd:integer . | |
8311 | |
8312 :xd1 :p "1.0e0"^^xsd:double . | |
8313 :xd2 :p "1.0"^^xsd:double . | |
8314 :xd3 :p "1"^^xsd:double . | |
8315 | |
8316 ## :xdec1 :p "1.0"^^xsd:decimal . | |
8317 ## :xdec2 :p "1"^^xsd:decimal . | |
8318 ## :xdec3 :p "01"^^xsd:decimal . | |
8319 | |
8320 :xt1 :p "zzz"^^:myType . | |
8321 | |
8322 :xp1 :p "zzz" . | |
8323 :xp2 :p "1" . | |
8324 | |
8325 :xu :p :z . | |
8326 | |
8327 #:xb :p _:a . | |
8328 | |
8329 </div> | |
8330 <h3>Named Graphs</h3> | |
8331 | |
8332 <h3>Query</h3> | |
8333 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/query-eq-2.rq">data-r2/expr-equals/query-eq-2.rq</a><br/> | |
8334 <div class="query"> | |
8335 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
8336 PREFIX : <http://example.org/things#> | |
8337 SELECT ?x | |
8338 WHERE | |
8339 { ?x :p ?v . | |
8340 FILTER ( ?v = 1.0e0 ) . | |
8341 } | |
8342 | |
8343 </div> | |
8344 <h3>Results</h3> | |
8345 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/result-eq-2.ttl">data-r2/expr-equals/result-eq-2.ttl</a></p> | |
8346 <hr/> | |
8347 <h2><a name="eq-2-1">Equality - 2 var - test equals</a></h2> | |
8348 Query evaluation test | |
8349 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
8350 <p>= in FILTER is value equality</p> | |
8351 <h3>Default Graph</h3> | |
8352 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/data-eq.ttl">data-r2/expr-equals/data-eq.ttl</a></p> | |
8353 <div class="query"> | |
8354 @prefix : <http://example.org/things#> . | |
8355 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
8356 | |
8357 :xi1 :p "1"^^xsd:integer . | |
8358 :xi2 :p "1"^^xsd:integer . | |
8359 :xi3 :p "01"^^xsd:integer . | |
8360 | |
8361 :xd1 :p "1.0e0"^^xsd:double . | |
8362 :xd2 :p "1.0"^^xsd:double . | |
8363 :xd3 :p "1"^^xsd:double . | |
8364 | |
8365 ## :xdec1 :p "1.0"^^xsd:decimal . | |
8366 ## :xdec2 :p "1"^^xsd:decimal . | |
8367 ## :xdec3 :p "01"^^xsd:decimal . | |
8368 | |
8369 :xt1 :p "zzz"^^:myType . | |
8370 | |
8371 :xp1 :p "zzz" . | |
8372 :xp2 :p "1" . | |
8373 | |
8374 :xu :p :z . | |
8375 | |
8376 #:xb :p _:a . | |
8377 | |
8378 </div> | |
8379 <h3>Named Graphs</h3> | |
8380 | |
8381 <h3>Query</h3> | |
8382 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/query-eq2-1.rq">data-r2/expr-equals/query-eq2-1.rq</a><br/> | |
8383 <div class="query"> | |
8384 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
8385 PREFIX : <http://example.org/things#> | |
8386 SELECT ?v1 ?v2 | |
8387 WHERE | |
8388 { ?x1 :p ?v1 . | |
8389 ?x2 :p ?v2 . | |
8390 FILTER ( ?v1 = ?v2 ) . | |
8391 } | |
8392 | |
8393 </div> | |
8394 <h3>Results</h3> | |
8395 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/result-eq2-1.ttl">data-r2/expr-equals/result-eq2-1.ttl</a></p> | |
8396 <hr/> | |
8397 <h2><a name="eq-2-2">Equality - 2 var - test not equals </a></h2> | |
8398 Query evaluation test | |
8399 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
8400 <p>!= in FILTER is value inequality</p> | |
8401 <h3>Default Graph</h3> | |
8402 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/data-eq.ttl">data-r2/expr-equals/data-eq.ttl</a></p> | |
8403 <div class="query"> | |
8404 @prefix : <http://example.org/things#> . | |
8405 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
8406 | |
8407 :xi1 :p "1"^^xsd:integer . | |
8408 :xi2 :p "1"^^xsd:integer . | |
8409 :xi3 :p "01"^^xsd:integer . | |
8410 | |
8411 :xd1 :p "1.0e0"^^xsd:double . | |
8412 :xd2 :p "1.0"^^xsd:double . | |
8413 :xd3 :p "1"^^xsd:double . | |
8414 | |
8415 ## :xdec1 :p "1.0"^^xsd:decimal . | |
8416 ## :xdec2 :p "1"^^xsd:decimal . | |
8417 ## :xdec3 :p "01"^^xsd:decimal . | |
8418 | |
8419 :xt1 :p "zzz"^^:myType . | |
8420 | |
8421 :xp1 :p "zzz" . | |
8422 :xp2 :p "1" . | |
8423 | |
8424 :xu :p :z . | |
8425 | |
8426 #:xb :p _:a . | |
8427 | |
8428 </div> | |
8429 <h3>Named Graphs</h3> | |
8430 | |
8431 <h3>Query</h3> | |
8432 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/query-eq2-1.rq">data-r2/expr-equals/query-eq2-1.rq</a><br/> | |
8433 <div class="query"> | |
8434 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
8435 PREFIX : <http://example.org/things#> | |
8436 SELECT ?v1 ?v2 | |
8437 WHERE | |
8438 { ?x1 :p ?v1 . | |
8439 ?x2 :p ?v2 . | |
8440 FILTER ( ?v1 = ?v2 ) . | |
8441 } | |
8442 | |
8443 </div> | |
8444 <h3>Results</h3> | |
8445 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/result-eq2-1.ttl">data-r2/expr-equals/result-eq2-1.ttl</a></p> | |
8446 <hr/> | |
8447 <h2><a name="eq-3">Equality 1-3</a></h2> | |
8448 Query evaluation test | |
8449 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
8450 <p>Numerics are not value-equivalent to plain literals</p> | |
8451 <h3>Default Graph</h3> | |
8452 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/data-eq.ttl">data-r2/expr-equals/data-eq.ttl</a></p> | |
8453 <div class="query"> | |
8454 @prefix : <http://example.org/things#> . | |
8455 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
8456 | |
8457 :xi1 :p "1"^^xsd:integer . | |
8458 :xi2 :p "1"^^xsd:integer . | |
8459 :xi3 :p "01"^^xsd:integer . | |
8460 | |
8461 :xd1 :p "1.0e0"^^xsd:double . | |
8462 :xd2 :p "1.0"^^xsd:double . | |
8463 :xd3 :p "1"^^xsd:double . | |
8464 | |
8465 ## :xdec1 :p "1.0"^^xsd:decimal . | |
8466 ## :xdec2 :p "1"^^xsd:decimal . | |
8467 ## :xdec3 :p "01"^^xsd:decimal . | |
8468 | |
8469 :xt1 :p "zzz"^^:myType . | |
8470 | |
8471 :xp1 :p "zzz" . | |
8472 :xp2 :p "1" . | |
8473 | |
8474 :xu :p :z . | |
8475 | |
8476 #:xb :p _:a . | |
8477 | |
8478 </div> | |
8479 <h3>Named Graphs</h3> | |
8480 | |
8481 <h3>Query</h3> | |
8482 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/query-eq-3.rq">data-r2/expr-equals/query-eq-3.rq</a><br/> | |
8483 <div class="query"> | |
8484 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
8485 PREFIX : <http://example.org/things#> | |
8486 SELECT ?x | |
8487 WHERE | |
8488 { ?x :p ?v . | |
8489 FILTER ( ?v = "1" ) . | |
8490 } | |
8491 | |
8492 </div> | |
8493 <h3>Results</h3> | |
8494 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/result-eq-3.ttl">data-r2/expr-equals/result-eq-3.ttl</a></p> | |
8495 <hr/> | |
8496 <h2><a name="eq-4">Equality 1-4</a></h2> | |
8497 Query evaluation test | |
8498 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
8499 <p>= compares plain literals and unknown types with the same lexical form as false</p> | |
8500 <h3>Default Graph</h3> | |
8501 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/data-eq.ttl">data-r2/expr-equals/data-eq.ttl</a></p> | |
8502 <div class="query"> | |
8503 @prefix : <http://example.org/things#> . | |
8504 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
8505 | |
8506 :xi1 :p "1"^^xsd:integer . | |
8507 :xi2 :p "1"^^xsd:integer . | |
8508 :xi3 :p "01"^^xsd:integer . | |
8509 | |
8510 :xd1 :p "1.0e0"^^xsd:double . | |
8511 :xd2 :p "1.0"^^xsd:double . | |
8512 :xd3 :p "1"^^xsd:double . | |
8513 | |
8514 ## :xdec1 :p "1.0"^^xsd:decimal . | |
8515 ## :xdec2 :p "1"^^xsd:decimal . | |
8516 ## :xdec3 :p "01"^^xsd:decimal . | |
8517 | |
8518 :xt1 :p "zzz"^^:myType . | |
8519 | |
8520 :xp1 :p "zzz" . | |
8521 :xp2 :p "1" . | |
8522 | |
8523 :xu :p :z . | |
8524 | |
8525 #:xb :p _:a . | |
8526 | |
8527 </div> | |
8528 <h3>Named Graphs</h3> | |
8529 | |
8530 <h3>Query</h3> | |
8531 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/query-eq-4.rq">data-r2/expr-equals/query-eq-4.rq</a><br/> | |
8532 <div class="query"> | |
8533 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
8534 PREFIX : <http://example.org/things#> | |
8535 SELECT ?x | |
8536 WHERE | |
8537 { ?x :p ?v . | |
8538 FILTER ( ?v = "zzz" ) . | |
8539 } | |
8540 | |
8541 </div> | |
8542 <h3>Results</h3> | |
8543 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/result-eq-4.ttl">data-r2/expr-equals/result-eq-4.ttl</a></p> | |
8544 <hr/> | |
8545 <h2><a name="eq-5">Equality 1-5</a></h2> | |
8546 Query evaluation test | |
8547 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
8548 <p>= on IRI terms</p> | |
8549 <h3>Default Graph</h3> | |
8550 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/data-eq.ttl">data-r2/expr-equals/data-eq.ttl</a></p> | |
8551 <div class="query"> | |
8552 @prefix : <http://example.org/things#> . | |
8553 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
8554 | |
8555 :xi1 :p "1"^^xsd:integer . | |
8556 :xi2 :p "1"^^xsd:integer . | |
8557 :xi3 :p "01"^^xsd:integer . | |
8558 | |
8559 :xd1 :p "1.0e0"^^xsd:double . | |
8560 :xd2 :p "1.0"^^xsd:double . | |
8561 :xd3 :p "1"^^xsd:double . | |
8562 | |
8563 ## :xdec1 :p "1.0"^^xsd:decimal . | |
8564 ## :xdec2 :p "1"^^xsd:decimal . | |
8565 ## :xdec3 :p "01"^^xsd:decimal . | |
8566 | |
8567 :xt1 :p "zzz"^^:myType . | |
8568 | |
8569 :xp1 :p "zzz" . | |
8570 :xp2 :p "1" . | |
8571 | |
8572 :xu :p :z . | |
8573 | |
8574 #:xb :p _:a . | |
8575 | |
8576 </div> | |
8577 <h3>Named Graphs</h3> | |
8578 | |
8579 <h3>Query</h3> | |
8580 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/query-eq-5.rq">data-r2/expr-equals/query-eq-5.rq</a><br/> | |
8581 <div class="query"> | |
8582 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
8583 PREFIX : <http://example.org/things#> | |
8584 SELECT ?x | |
8585 WHERE | |
8586 { ?x :p ?v . | |
8587 FILTER ( ?v = :z ) . | |
8588 } | |
8589 | |
8590 </div> | |
8591 <h3>Results</h3> | |
8592 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/result-eq-5.ttl">data-r2/expr-equals/result-eq-5.ttl</a></p> | |
8593 <hr/> | |
8594 <h2><a name="eq-graph-1">Equality 1-1 -- graph</a></h2> | |
8595 Query evaluation test | |
8596 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
8597 <p>Graph pattern matching matches exact terms, not values</p> | |
8598 <h3>Default Graph</h3> | |
8599 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/data-eq.ttl">data-r2/expr-equals/data-eq.ttl</a></p> | |
8600 <div class="query"> | |
8601 @prefix : <http://example.org/things#> . | |
8602 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
8603 | |
8604 :xi1 :p "1"^^xsd:integer . | |
8605 :xi2 :p "1"^^xsd:integer . | |
8606 :xi3 :p "01"^^xsd:integer . | |
8607 | |
8608 :xd1 :p "1.0e0"^^xsd:double . | |
8609 :xd2 :p "1.0"^^xsd:double . | |
8610 :xd3 :p "1"^^xsd:double . | |
8611 | |
8612 ## :xdec1 :p "1.0"^^xsd:decimal . | |
8613 ## :xdec2 :p "1"^^xsd:decimal . | |
8614 ## :xdec3 :p "01"^^xsd:decimal . | |
8615 | |
8616 :xt1 :p "zzz"^^:myType . | |
8617 | |
8618 :xp1 :p "zzz" . | |
8619 :xp2 :p "1" . | |
8620 | |
8621 :xu :p :z . | |
8622 | |
8623 #:xb :p _:a . | |
8624 | |
8625 </div> | |
8626 <h3>Named Graphs</h3> | |
8627 | |
8628 <h3>Query</h3> | |
8629 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/query-eq-graph-1.rq">data-r2/expr-equals/query-eq-graph-1.rq</a><br/> | |
8630 <div class="query"> | |
8631 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
8632 PREFIX : <http://example.org/things#> | |
8633 SELECT ?x | |
8634 WHERE | |
8635 { ?x :p 1 . | |
8636 } | |
8637 | |
8638 </div> | |
8639 <h3>Results</h3> | |
8640 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/result-eq-graph-1.ttl">data-r2/expr-equals/result-eq-graph-1.ttl</a></p> | |
8641 <hr/> | |
8642 <h2><a name="eq-graph-2">Equality 1-2 -- graph</a></h2> | |
8643 Query evaluation test | |
8644 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
8645 <p>Graph pattern matching matches exact terms, not values</p> | |
8646 <h3>Default Graph</h3> | |
8647 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/data-eq.ttl">data-r2/expr-equals/data-eq.ttl</a></p> | |
8648 <div class="query"> | |
8649 @prefix : <http://example.org/things#> . | |
8650 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
8651 | |
8652 :xi1 :p "1"^^xsd:integer . | |
8653 :xi2 :p "1"^^xsd:integer . | |
8654 :xi3 :p "01"^^xsd:integer . | |
8655 | |
8656 :xd1 :p "1.0e0"^^xsd:double . | |
8657 :xd2 :p "1.0"^^xsd:double . | |
8658 :xd3 :p "1"^^xsd:double . | |
8659 | |
8660 ## :xdec1 :p "1.0"^^xsd:decimal . | |
8661 ## :xdec2 :p "1"^^xsd:decimal . | |
8662 ## :xdec3 :p "01"^^xsd:decimal . | |
8663 | |
8664 :xt1 :p "zzz"^^:myType . | |
8665 | |
8666 :xp1 :p "zzz" . | |
8667 :xp2 :p "1" . | |
8668 | |
8669 :xu :p :z . | |
8670 | |
8671 #:xb :p _:a . | |
8672 | |
8673 </div> | |
8674 <h3>Named Graphs</h3> | |
8675 | |
8676 <h3>Query</h3> | |
8677 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/query-eq-graph-2.rq">data-r2/expr-equals/query-eq-graph-2.rq</a><br/> | |
8678 <div class="query"> | |
8679 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
8680 PREFIX : <http://example.org/things#> | |
8681 SELECT ?x | |
8682 WHERE | |
8683 { ?x :p 1.0e0 . | |
8684 } | |
8685 | |
8686 </div> | |
8687 <h3>Results</h3> | |
8688 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/result-eq-graph-2.ttl">data-r2/expr-equals/result-eq-graph-2.ttl</a></p> | |
8689 <hr/> | |
8690 <h2><a name="eq-graph-3">Equality 1-3 -- graph</a></h2> | |
8691 Query evaluation test | |
8692 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
8693 <p>Graph pattern matching matches exact terms, not values</p> | |
8694 <h3>Default Graph</h3> | |
8695 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/data-eq.ttl">data-r2/expr-equals/data-eq.ttl</a></p> | |
8696 <div class="query"> | |
8697 @prefix : <http://example.org/things#> . | |
8698 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
8699 | |
8700 :xi1 :p "1"^^xsd:integer . | |
8701 :xi2 :p "1"^^xsd:integer . | |
8702 :xi3 :p "01"^^xsd:integer . | |
8703 | |
8704 :xd1 :p "1.0e0"^^xsd:double . | |
8705 :xd2 :p "1.0"^^xsd:double . | |
8706 :xd3 :p "1"^^xsd:double . | |
8707 | |
8708 ## :xdec1 :p "1.0"^^xsd:decimal . | |
8709 ## :xdec2 :p "1"^^xsd:decimal . | |
8710 ## :xdec3 :p "01"^^xsd:decimal . | |
8711 | |
8712 :xt1 :p "zzz"^^:myType . | |
8713 | |
8714 :xp1 :p "zzz" . | |
8715 :xp2 :p "1" . | |
8716 | |
8717 :xu :p :z . | |
8718 | |
8719 #:xb :p _:a . | |
8720 | |
8721 </div> | |
8722 <h3>Named Graphs</h3> | |
8723 | |
8724 <h3>Query</h3> | |
8725 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/query-eq-graph-3.rq">data-r2/expr-equals/query-eq-graph-3.rq</a><br/> | |
8726 <div class="query"> | |
8727 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
8728 PREFIX : <http://example.org/things#> | |
8729 SELECT ?x | |
8730 WHERE | |
8731 { ?x :p "1" | |
8732 } | |
8733 | |
8734 </div> | |
8735 <h3>Results</h3> | |
8736 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/result-eq-graph-3.ttl">data-r2/expr-equals/result-eq-graph-3.ttl</a></p> | |
8737 <hr/> | |
8738 <h2><a name="eq-graph-4">Equality 1-4 -- graph</a></h2> | |
8739 Query evaluation test | |
8740 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
8741 <p>Graph pattern matching matches exact terms, not values</p> | |
8742 <h3>Default Graph</h3> | |
8743 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/data-eq.ttl">data-r2/expr-equals/data-eq.ttl</a></p> | |
8744 <div class="query"> | |
8745 @prefix : <http://example.org/things#> . | |
8746 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
8747 | |
8748 :xi1 :p "1"^^xsd:integer . | |
8749 :xi2 :p "1"^^xsd:integer . | |
8750 :xi3 :p "01"^^xsd:integer . | |
8751 | |
8752 :xd1 :p "1.0e0"^^xsd:double . | |
8753 :xd2 :p "1.0"^^xsd:double . | |
8754 :xd3 :p "1"^^xsd:double . | |
8755 | |
8756 ## :xdec1 :p "1.0"^^xsd:decimal . | |
8757 ## :xdec2 :p "1"^^xsd:decimal . | |
8758 ## :xdec3 :p "01"^^xsd:decimal . | |
8759 | |
8760 :xt1 :p "zzz"^^:myType . | |
8761 | |
8762 :xp1 :p "zzz" . | |
8763 :xp2 :p "1" . | |
8764 | |
8765 :xu :p :z . | |
8766 | |
8767 #:xb :p _:a . | |
8768 | |
8769 </div> | |
8770 <h3>Named Graphs</h3> | |
8771 | |
8772 <h3>Query</h3> | |
8773 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/query-eq-graph-4.rq">data-r2/expr-equals/query-eq-graph-4.rq</a><br/> | |
8774 <div class="query"> | |
8775 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
8776 PREFIX : <http://example.org/things#> | |
8777 SELECT ?x | |
8778 WHERE | |
8779 { ?x :p "zzz" . | |
8780 } | |
8781 | |
8782 </div> | |
8783 <h3>Results</h3> | |
8784 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/result-eq-graph-4.ttl">data-r2/expr-equals/result-eq-graph-4.ttl</a></p> | |
8785 <hr/> | |
8786 <h2><a name="eq-graph-5">Equality 1-5 -- graph</a></h2> | |
8787 Query evaluation test | |
8788 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/19-dawg-minutes.html">http://www.w3.org/2007/06/19-dawg-minutes.html</a></div> | |
8789 <p>Graph pattern matching matches exact terms, not values</p> | |
8790 <h3>Default Graph</h3> | |
8791 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/data-eq.ttl">data-r2/expr-equals/data-eq.ttl</a></p> | |
8792 <div class="query"> | |
8793 @prefix : <http://example.org/things#> . | |
8794 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
8795 | |
8796 :xi1 :p "1"^^xsd:integer . | |
8797 :xi2 :p "1"^^xsd:integer . | |
8798 :xi3 :p "01"^^xsd:integer . | |
8799 | |
8800 :xd1 :p "1.0e0"^^xsd:double . | |
8801 :xd2 :p "1.0"^^xsd:double . | |
8802 :xd3 :p "1"^^xsd:double . | |
8803 | |
8804 ## :xdec1 :p "1.0"^^xsd:decimal . | |
8805 ## :xdec2 :p "1"^^xsd:decimal . | |
8806 ## :xdec3 :p "01"^^xsd:decimal . | |
8807 | |
8808 :xt1 :p "zzz"^^:myType . | |
8809 | |
8810 :xp1 :p "zzz" . | |
8811 :xp2 :p "1" . | |
8812 | |
8813 :xu :p :z . | |
8814 | |
8815 #:xb :p _:a . | |
8816 | |
8817 </div> | |
8818 <h3>Named Graphs</h3> | |
8819 | |
8820 <h3>Query</h3> | |
8821 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/query-eq-graph-5.rq">data-r2/expr-equals/query-eq-graph-5.rq</a><br/> | |
8822 <div class="query"> | |
8823 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
8824 PREFIX : <http://example.org/things#> | |
8825 SELECT ?x | |
8826 WHERE | |
8827 { ?x :p ?v . | |
8828 FILTER ( ?v = :z ) . | |
8829 } | |
8830 | |
8831 </div> | |
8832 <h3>Results</h3> | |
8833 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/result-eq-graph-5.ttl">data-r2/expr-equals/result-eq-graph-5.ttl</a></p> | |
8834 <hr/> | |
8835 <h2><a name="ge-1">Greater-than or equals</a></h2> | |
8836 Query evaluation test | |
8837 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html</a></div> | |
8838 <p>>= in FILTER expressions</p> | |
8839 <h3>Default Graph</h3> | |
8840 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/data.ttl">data-r2/expr-ops/data.ttl</a></p> | |
8841 <div class="query"> | |
8842 @prefix : <http://example.org/> . | |
8843 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
8844 | |
8845 :x1 :p "1"^^xsd:integer . | |
8846 :x2 :p "2"^^xsd:integer . | |
8847 :x3 :p "3"^^xsd:integer . | |
8848 :x4 :p "4"^^xsd:integer . | |
8849 | |
8850 </div> | |
8851 <h3>Named Graphs</h3> | |
8852 | |
8853 <h3>Query</h3> | |
8854 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/query-ge-1.rq">data-r2/expr-ops/query-ge-1.rq</a><br/> | |
8855 <div class="query"> | |
8856 PREFIX : <http://example.org/> | |
8857 SELECT ?s WHERE { | |
8858 ?s :p ?o . | |
8859 FILTER(?o >= 3) . | |
8860 } | |
8861 | |
8862 </div> | |
8863 <h3>Results</h3> | |
8864 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/result-ge-1.srx">data-r2/expr-ops/result-ge-1.srx</a></p> | |
8865 <hr/> | |
8866 <h2><a name="le-1">Less-than or equals</a></h2> | |
8867 Query evaluation test | |
8868 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html</a></div> | |
8869 <p><= in FILTER expressions</p> | |
8870 <h3>Default Graph</h3> | |
8871 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/data.ttl">data-r2/expr-ops/data.ttl</a></p> | |
8872 <div class="query"> | |
8873 @prefix : <http://example.org/> . | |
8874 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
8875 | |
8876 :x1 :p "1"^^xsd:integer . | |
8877 :x2 :p "2"^^xsd:integer . | |
8878 :x3 :p "3"^^xsd:integer . | |
8879 :x4 :p "4"^^xsd:integer . | |
8880 | |
8881 </div> | |
8882 <h3>Named Graphs</h3> | |
8883 | |
8884 <h3>Query</h3> | |
8885 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/query-le-1.rq">data-r2/expr-ops/query-le-1.rq</a><br/> | |
8886 <div class="query"> | |
8887 PREFIX : <http://example.org/> | |
8888 SELECT ?s WHERE { | |
8889 ?s :p ?o . | |
8890 FILTER(?o <= 2) . | |
8891 } | |
8892 | |
8893 </div> | |
8894 <h3>Results</h3> | |
8895 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/result-le-1.srx">data-r2/expr-ops/result-le-1.srx</a></p> | |
8896 <hr/> | |
8897 <h2><a name="minus-1">Subtraction</a></h2> | |
8898 Query evaluation test | |
8899 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html</a></div> | |
8900 <p>A - B in FILTER expressions</p> | |
8901 <h3>Default Graph</h3> | |
8902 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/data.ttl">data-r2/expr-ops/data.ttl</a></p> | |
8903 <div class="query"> | |
8904 @prefix : <http://example.org/> . | |
8905 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
8906 | |
8907 :x1 :p "1"^^xsd:integer . | |
8908 :x2 :p "2"^^xsd:integer . | |
8909 :x3 :p "3"^^xsd:integer . | |
8910 :x4 :p "4"^^xsd:integer . | |
8911 | |
8912 </div> | |
8913 <h3>Named Graphs</h3> | |
8914 | |
8915 <h3>Query</h3> | |
8916 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/query-minus-1.rq">data-r2/expr-ops/query-minus-1.rq</a><br/> | |
8917 <div class="query"> | |
8918 PREFIX : <http://example.org/> | |
8919 SELECT ?s WHERE { | |
8920 ?s :p ?o . | |
8921 ?s2 :p ?o2 . | |
8922 FILTER(?o - ?o2 = 3) . | |
8923 } | |
8924 | |
8925 </div> | |
8926 <h3>Results</h3> | |
8927 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/result-minus-1.srx">data-r2/expr-ops/result-minus-1.srx</a></p> | |
8928 <hr/> | |
8929 <h2><a name="mul-1">Multiplication</a></h2> | |
8930 Query evaluation test | |
8931 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html</a></div> | |
8932 <p>A * B in FILTER expressions</p> | |
8933 <h3>Default Graph</h3> | |
8934 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/data.ttl">data-r2/expr-ops/data.ttl</a></p> | |
8935 <div class="query"> | |
8936 @prefix : <http://example.org/> . | |
8937 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
8938 | |
8939 :x1 :p "1"^^xsd:integer . | |
8940 :x2 :p "2"^^xsd:integer . | |
8941 :x3 :p "3"^^xsd:integer . | |
8942 :x4 :p "4"^^xsd:integer . | |
8943 | |
8944 </div> | |
8945 <h3>Named Graphs</h3> | |
8946 | |
8947 <h3>Query</h3> | |
8948 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/query-mul-1.rq">data-r2/expr-ops/query-mul-1.rq</a><br/> | |
8949 <div class="query"> | |
8950 PREFIX : <http://example.org/> | |
8951 SELECT ?s WHERE { | |
8952 ?s :p ?o . | |
8953 ?s2 :p ?o2 . | |
8954 FILTER(?o * ?o2 = 4) . | |
8955 } | |
8956 | |
8957 </div> | |
8958 <h3>Results</h3> | |
8959 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/result-mul-1.srx">data-r2/expr-ops/result-mul-1.srx</a></p> | |
8960 <hr/> | |
8961 <h2><a name="plus-1">Addition</a></h2> | |
8962 Query evaluation test | |
8963 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html</a></div> | |
8964 <p>A + B in FILTER expressions</p> | |
8965 <h3>Default Graph</h3> | |
8966 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/data.ttl">data-r2/expr-ops/data.ttl</a></p> | |
8967 <div class="query"> | |
8968 @prefix : <http://example.org/> . | |
8969 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
8970 | |
8971 :x1 :p "1"^^xsd:integer . | |
8972 :x2 :p "2"^^xsd:integer . | |
8973 :x3 :p "3"^^xsd:integer . | |
8974 :x4 :p "4"^^xsd:integer . | |
8975 | |
8976 </div> | |
8977 <h3>Named Graphs</h3> | |
8978 | |
8979 <h3>Query</h3> | |
8980 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/query-plus-1.rq">data-r2/expr-ops/query-plus-1.rq</a><br/> | |
8981 <div class="query"> | |
8982 PREFIX : <http://example.org/> | |
8983 SELECT ?s WHERE { | |
8984 ?s :p ?o . | |
8985 ?s2 :p ?o2 . | |
8986 FILTER(?o + ?o2 = 3) . | |
8987 } | |
8988 | |
8989 </div> | |
8990 <h3>Results</h3> | |
8991 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/result-plus-1.srx">data-r2/expr-ops/result-plus-1.srx</a></p> | |
8992 <hr/> | |
8993 <h2><a name="unminus-1">Unary Minus</a></h2> | |
8994 Query evaluation test | |
8995 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html</a></div> | |
8996 <p>-A in FILTER expressions</p> | |
8997 <h3>Default Graph</h3> | |
8998 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/data.ttl">data-r2/expr-ops/data.ttl</a></p> | |
8999 <div class="query"> | |
9000 @prefix : <http://example.org/> . | |
9001 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9002 | |
9003 :x1 :p "1"^^xsd:integer . | |
9004 :x2 :p "2"^^xsd:integer . | |
9005 :x3 :p "3"^^xsd:integer . | |
9006 :x4 :p "4"^^xsd:integer . | |
9007 | |
9008 </div> | |
9009 <h3>Named Graphs</h3> | |
9010 | |
9011 <h3>Query</h3> | |
9012 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/query-unminus-1.rq">data-r2/expr-ops/query-unminus-1.rq</a><br/> | |
9013 <div class="query"> | |
9014 PREFIX : <http://example.org/> | |
9015 SELECT ?s WHERE { | |
9016 ?s :p ?o . | |
9017 FILTER(-?o = -2) . | |
9018 } | |
9019 | |
9020 </div> | |
9021 <h3>Results</h3> | |
9022 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/result-unminus-1.srx">data-r2/expr-ops/result-unminus-1.srx</a></p> | |
9023 <hr/> | |
9024 <h2><a name="unplus-1">Unary Plusn</a></h2> | |
9025 Query evaluation test | |
9026 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html</a></div> | |
9027 <p>+A in FILTER expressions</p> | |
9028 <h3>Default Graph</h3> | |
9029 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/data.ttl">data-r2/expr-ops/data.ttl</a></p> | |
9030 <div class="query"> | |
9031 @prefix : <http://example.org/> . | |
9032 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9033 | |
9034 :x1 :p "1"^^xsd:integer . | |
9035 :x2 :p "2"^^xsd:integer . | |
9036 :x3 :p "3"^^xsd:integer . | |
9037 :x4 :p "4"^^xsd:integer . | |
9038 | |
9039 </div> | |
9040 <h3>Named Graphs</h3> | |
9041 | |
9042 <h3>Query</h3> | |
9043 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/query-unplus-1.rq">data-r2/expr-ops/query-unplus-1.rq</a><br/> | |
9044 <div class="query"> | |
9045 PREFIX : <http://example.org/> | |
9046 SELECT ?s WHERE { | |
9047 ?s :p ?o . | |
9048 FILTER(?o = +3) . | |
9049 } | |
9050 | |
9051 </div> | |
9052 <h3>Results</h3> | |
9053 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/result-unplus-1.srx">data-r2/expr-ops/result-unplus-1.srx</a></p> | |
9054 <hr/> | |
9055 <h2><a name="dawg-graph-01">graph-01</a></h2> | |
9056 Query evaluation test | |
9057 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
9058 <p>Data: default graph / Query: default graph</p> | |
9059 <h3>Default Graph</h3> | |
9060 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g1.ttl">data-r2/graph/data-g1.ttl</a></p> | |
9061 <div class="query"> | |
9062 @prefix : <http://example/> . | |
9063 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9064 | |
9065 :x :p "1"^^xsd:integer . | |
9066 :a :p "9"^^xsd:integer . | |
9067 | |
9068 </div> | |
9069 <h3>Named Graphs</h3> | |
9070 | |
9071 <h3>Query</h3> | |
9072 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-01.rq">data-r2/graph/graph-01.rq</a><br/> | |
9073 <div class="query"> | |
9074 PREFIX : <http://example/> | |
9075 | |
9076 SELECT * { ?s ?p ?o } | |
9077 | |
9078 </div> | |
9079 <h3>Results</h3> | |
9080 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-01.ttl">data-r2/graph/graph-01.ttl</a></p> | |
9081 <hr/> | |
9082 <h2><a name="dawg-graph-02">graph-02</a></h2> | |
9083 Query evaluation test | |
9084 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
9085 <p>Data: named graph / Query: default graph</p> | |
9086 <h3>Default Graph</h3> | |
9087 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g1.ttl">http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g1.ttl</a></p> | |
9088 <div class="query"> | |
9089 @prefix : <http://example/> . | |
9090 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9091 | |
9092 :x :p "1"^^xsd:integer . | |
9093 :a :p "9"^^xsd:integer . | |
9094 | |
9095 </div> | |
9096 <h3>Named Graphs</h3> | |
9097 | |
9098 <h3>Query</h3> | |
9099 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-02.rq">data-r2/graph/graph-02.rq</a><br/> | |
9100 <div class="query"> | |
9101 PREFIX : <http://example/> | |
9102 | |
9103 SELECT * { ?s ?p ?o } | |
9104 | |
9105 </div> | |
9106 <h3>Results</h3> | |
9107 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-02.ttl">data-r2/graph/graph-02.ttl</a></p> | |
9108 <hr/> | |
9109 <h2><a name="dawg-graph-03">graph-03</a></h2> | |
9110 Query evaluation test | |
9111 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
9112 <p>Data: named graph / Query: named graph graph</p> | |
9113 <h3>Default Graph</h3> | |
9114 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g1.ttl">http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g1.ttl</a></p> | |
9115 <div class="query"> | |
9116 @prefix : <http://example/> . | |
9117 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9118 | |
9119 :x :p "1"^^xsd:integer . | |
9120 :a :p "9"^^xsd:integer . | |
9121 | |
9122 </div> | |
9123 <h3>Named Graphs</h3> | |
9124 | |
9125 <h3>Query</h3> | |
9126 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-03.rq">data-r2/graph/graph-03.rq</a><br/> | |
9127 <div class="query"> | |
9128 PREFIX : <http://example/> | |
9129 | |
9130 SELECT * { | |
9131 GRAPH ?g { ?s ?p ?o } | |
9132 } | |
9133 | |
9134 | |
9135 </div> | |
9136 <h3>Results</h3> | |
9137 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-03.ttl">data-r2/graph/graph-03.ttl</a></p> | |
9138 <hr/> | |
9139 <h2><a name="dawg-graph-04">graph-04</a></h2> | |
9140 Query evaluation test | |
9141 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
9142 <p>Data: named graph / Query: default graph</p> | |
9143 <h3>Default Graph</h3> | |
9144 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g1.ttl">data-r2/graph/data-g1.ttl</a></p> | |
9145 <div class="query"> | |
9146 @prefix : <http://example/> . | |
9147 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9148 | |
9149 :x :p "1"^^xsd:integer . | |
9150 :a :p "9"^^xsd:integer . | |
9151 | |
9152 </div> | |
9153 <h3>Named Graphs</h3> | |
9154 | |
9155 <h3>Query</h3> | |
9156 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-04.rq">data-r2/graph/graph-04.rq</a><br/> | |
9157 <div class="query"> | |
9158 PREFIX : <http://example/> | |
9159 | |
9160 SELECT * { | |
9161 GRAPH ?g { ?s ?p ?o } | |
9162 } | |
9163 | |
9164 | |
9165 </div> | |
9166 <h3>Results</h3> | |
9167 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-04.ttl">data-r2/graph/graph-04.ttl</a></p> | |
9168 <hr/> | |
9169 <h2><a name="dawg-graph-05">graph-05</a></h2> | |
9170 Query evaluation test | |
9171 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
9172 <p>Data: default and named / Query: default graph</p> | |
9173 <h3>Default Graph</h3> | |
9174 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g1.ttl">data-r2/graph/data-g1.ttl</a></p> | |
9175 <div class="query"> | |
9176 @prefix : <http://example/> . | |
9177 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9178 | |
9179 :x :p "1"^^xsd:integer . | |
9180 :a :p "9"^^xsd:integer . | |
9181 | |
9182 </div><p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g2.ttl">http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g2.ttl</a></p> | |
9183 <div class="query"> | |
9184 @prefix : <http://example/> . | |
9185 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9186 | |
9187 :x :p "1"^^xsd:integer . | |
9188 :a :p "9"^^xsd:integer . | |
9189 | |
9190 </div> | |
9191 <h3>Named Graphs</h3> | |
9192 | |
9193 <h3>Query</h3> | |
9194 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-05.rq">data-r2/graph/graph-05.rq</a><br/> | |
9195 <div class="query"> | |
9196 PREFIX : <http://example/> | |
9197 | |
9198 SELECT * { ?s ?p ?o } | |
9199 | |
9200 </div> | |
9201 <h3>Results</h3> | |
9202 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-05.ttl">data-r2/graph/graph-05.ttl</a></p> | |
9203 <hr/> | |
9204 <h2><a name="dawg-graph-06">graph-06</a></h2> | |
9205 Query evaluation test | |
9206 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
9207 <p>Data: default and named / Query: named graph</p> | |
9208 <h3>Default Graph</h3> | |
9209 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g1.ttl">data-r2/graph/data-g1.ttl</a></p> | |
9210 <div class="query"> | |
9211 @prefix : <http://example/> . | |
9212 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9213 | |
9214 :x :p "1"^^xsd:integer . | |
9215 :a :p "9"^^xsd:integer . | |
9216 | |
9217 </div><p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g2.ttl">http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g2.ttl</a></p> | |
9218 <div class="query"> | |
9219 @prefix : <http://example/> . | |
9220 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9221 | |
9222 :x :p "1"^^xsd:integer . | |
9223 :a :p "9"^^xsd:integer . | |
9224 | |
9225 </div> | |
9226 <h3>Named Graphs</h3> | |
9227 | |
9228 <h3>Query</h3> | |
9229 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-06.rq">data-r2/graph/graph-06.rq</a><br/> | |
9230 <div class="query"> | |
9231 PREFIX : <http://example/> | |
9232 | |
9233 SELECT * { | |
9234 GRAPH ?g { ?s ?p ?o } | |
9235 } | |
9236 | |
9237 | |
9238 </div> | |
9239 <h3>Results</h3> | |
9240 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-06.ttl">data-r2/graph/graph-06.ttl</a></p> | |
9241 <hr/> | |
9242 <h2><a name="dawg-graph-07">graph-07</a></h2> | |
9243 Query evaluation test | |
9244 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
9245 <p>Data: default and named / Query: all data by UNION</p> | |
9246 <h3>Default Graph</h3> | |
9247 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g1.ttl">data-r2/graph/data-g1.ttl</a></p> | |
9248 <div class="query"> | |
9249 @prefix : <http://example/> . | |
9250 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9251 | |
9252 :x :p "1"^^xsd:integer . | |
9253 :a :p "9"^^xsd:integer . | |
9254 | |
9255 </div><p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g2.ttl">http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g2.ttl</a></p> | |
9256 <div class="query"> | |
9257 @prefix : <http://example/> . | |
9258 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9259 | |
9260 :x :p "1"^^xsd:integer . | |
9261 :a :p "9"^^xsd:integer . | |
9262 | |
9263 </div> | |
9264 <h3>Named Graphs</h3> | |
9265 | |
9266 <h3>Query</h3> | |
9267 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-07.rq">data-r2/graph/graph-07.rq</a><br/> | |
9268 <div class="query"> | |
9269 PREFIX : <http://example/> | |
9270 | |
9271 SELECT * | |
9272 { | |
9273 { ?s ?p ?o } | |
9274 UNION | |
9275 { GRAPH ?g { ?s ?p ?o } } | |
9276 } | |
9277 | |
9278 </div> | |
9279 <h3>Results</h3> | |
9280 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-07.ttl">data-r2/graph/graph-07.ttl</a></p> | |
9281 <hr/> | |
9282 <h2><a name="dawg-graph-08">graph-08</a></h2> | |
9283 Query evaluation test | |
9284 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
9285 <p>Data: default and named / Query: common subjects</p> | |
9286 <h3>Default Graph</h3> | |
9287 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g1.ttl">data-r2/graph/data-g1.ttl</a></p> | |
9288 <div class="query"> | |
9289 @prefix : <http://example/> . | |
9290 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9291 | |
9292 :x :p "1"^^xsd:integer . | |
9293 :a :p "9"^^xsd:integer . | |
9294 | |
9295 </div><p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g2.ttl">http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g2.ttl</a></p> | |
9296 <div class="query"> | |
9297 @prefix : <http://example/> . | |
9298 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9299 | |
9300 :x :p "1"^^xsd:integer . | |
9301 :a :p "9"^^xsd:integer . | |
9302 | |
9303 </div> | |
9304 <h3>Named Graphs</h3> | |
9305 | |
9306 <h3>Query</h3> | |
9307 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-08.rq">data-r2/graph/graph-08.rq</a><br/> | |
9308 <div class="query"> | |
9309 PREFIX : <http://example/> | |
9310 | |
9311 SELECT * | |
9312 { | |
9313 ?s ?p ?o | |
9314 GRAPH ?g { ?s ?q ?v } | |
9315 } | |
9316 | |
9317 </div> | |
9318 <h3>Results</h3> | |
9319 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-08.ttl">data-r2/graph/graph-08.ttl</a></p> | |
9320 <hr/> | |
9321 <h2><a name="dawg-graph-09">graph-09</a></h2> | |
9322 Query evaluation test | |
9323 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
9324 <p>Data: default and named (bnodes) / Query: common subjects</p> | |
9325 <h3>Default Graph</h3> | |
9326 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g3.ttl">data-r2/graph/data-g3.ttl</a></p> | |
9327 <div class="query"> | |
9328 @prefix : <http://example/> . | |
9329 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9330 | |
9331 _:x :p "1"^^xsd:integer . | |
9332 _:a :p "9"^^xsd:integer . | |
9333 | |
9334 </div><p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g4.ttl">http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g4.ttl</a></p> | |
9335 <div class="query"> | |
9336 @prefix : <http://example/> . | |
9337 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9338 | |
9339 _:x :p "1"^^xsd:integer . | |
9340 _:a :p "9"^^xsd:integer . | |
9341 | |
9342 </div> | |
9343 <h3>Named Graphs</h3> | |
9344 | |
9345 <h3>Query</h3> | |
9346 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-09.rq">data-r2/graph/graph-09.rq</a><br/> | |
9347 <div class="query"> | |
9348 PREFIX : <http://example/> | |
9349 | |
9350 SELECT * | |
9351 { | |
9352 ?s ?p ?o | |
9353 GRAPH ?g { ?s ?q ?v } | |
9354 } | |
9355 | |
9356 </div> | |
9357 <h3>Results</h3> | |
9358 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-09.ttl">data-r2/graph/graph-09.ttl</a></p> | |
9359 <hr/> | |
9360 <h2><a name="dawg-graph-10">graph-10</a></h2> | |
9361 Query evaluation test | |
9362 | |
9363 <p>Data: default and named (same data, with bnodes) / Query: common subjects</p> | |
9364 <h3>Default Graph</h3> | |
9365 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g3.ttl">data-r2/graph/data-g3.ttl</a></p> | |
9366 <div class="query"> | |
9367 @prefix : <http://example/> . | |
9368 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9369 | |
9370 _:x :p "1"^^xsd:integer . | |
9371 _:a :p "9"^^xsd:integer . | |
9372 | |
9373 </div><p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g3.ttl">http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g3.ttl</a></p> | |
9374 <div class="query"> | |
9375 @prefix : <http://example/> . | |
9376 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9377 | |
9378 _:x :p "1"^^xsd:integer . | |
9379 _:a :p "9"^^xsd:integer . | |
9380 | |
9381 </div> | |
9382 <h3>Named Graphs</h3> | |
9383 | |
9384 <h3>Query</h3> | |
9385 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-10.rq">data-r2/graph/graph-10.rq</a><br/> | |
9386 <div class="query"> | |
9387 PREFIX : <http://example/> | |
9388 | |
9389 SELECT * | |
9390 { | |
9391 ?s ?p ?o | |
9392 GRAPH ?g { ?s ?q ?v } | |
9393 } | |
9394 | |
9395 </div> | |
9396 <h3>Results</h3> | |
9397 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-10.ttl">data-r2/graph/graph-10.ttl</a></p> | |
9398 <hr/> | |
9399 <h2><a name="dawg-graph-10b">graph-10b</a></h2> | |
9400 Query evaluation test | |
9401 <div class="approval">Approved by <a href="http://www.w3.org/2007/10/09-dawg-minutes.html">http://www.w3.org/2007/10/09-dawg-minutes.html</a></div> | |
9402 <p>Data: default and named (same data, with bnodes) / Query: common subjects</p> | |
9403 <h3>Default Graph</h3> | |
9404 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g3.ttl">data-r2/graph/data-g3.ttl</a></p> | |
9405 <div class="query"> | |
9406 @prefix : <http://example/> . | |
9407 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9408 | |
9409 _:x :p "1"^^xsd:integer . | |
9410 _:a :p "9"^^xsd:integer . | |
9411 | |
9412 </div><p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g3-dup.ttl">http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g3-dup.ttl</a></p> | |
9413 <div class="query"> | |
9414 @prefix : <http://example/> . | |
9415 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9416 | |
9417 _:x :p "1"^^xsd:integer . | |
9418 _:a :p "9"^^xsd:integer . | |
9419 | |
9420 </div> | |
9421 <h3>Named Graphs</h3> | |
9422 | |
9423 <h3>Query</h3> | |
9424 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-10.rq">data-r2/graph/graph-10.rq</a><br/> | |
9425 <div class="query"> | |
9426 PREFIX : <http://example/> | |
9427 | |
9428 SELECT * | |
9429 { | |
9430 ?s ?p ?o | |
9431 GRAPH ?g { ?s ?q ?v } | |
9432 } | |
9433 | |
9434 </div> | |
9435 <h3>Results</h3> | |
9436 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-10.ttl">data-r2/graph/graph-10.ttl</a></p> | |
9437 <hr/> | |
9438 <h2><a name="dawg-graph-11">graph-11</a></h2> | |
9439 Query evaluation test | |
9440 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
9441 <p>Data: default and named (several) / Query: get everything</p> | |
9442 <h3>Default Graph</h3> | |
9443 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g1.ttl">data-r2/graph/data-g1.ttl</a></p> | |
9444 <div class="query"> | |
9445 @prefix : <http://example/> . | |
9446 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9447 | |
9448 :x :p "1"^^xsd:integer . | |
9449 :a :p "9"^^xsd:integer . | |
9450 | |
9451 </div><p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g1.ttl">data-r2/graph/data-g1.ttl</a></p> | |
9452 <div class="query"> | |
9453 @prefix : <http://example/> . | |
9454 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9455 | |
9456 :x :p "1"^^xsd:integer . | |
9457 :a :p "9"^^xsd:integer . | |
9458 | |
9459 </div><p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g1.ttl">data-r2/graph/data-g1.ttl</a></p> | |
9460 <div class="query"> | |
9461 @prefix : <http://example/> . | |
9462 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9463 | |
9464 :x :p "1"^^xsd:integer . | |
9465 :a :p "9"^^xsd:integer . | |
9466 | |
9467 </div><p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g1.ttl">data-r2/graph/data-g1.ttl</a></p> | |
9468 <div class="query"> | |
9469 @prefix : <http://example/> . | |
9470 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9471 | |
9472 :x :p "1"^^xsd:integer . | |
9473 :a :p "9"^^xsd:integer . | |
9474 | |
9475 </div><p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g4.ttl">http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g4.ttl</a></p> | |
9476 <div class="query"> | |
9477 @prefix : <http://example/> . | |
9478 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9479 | |
9480 :x :p "1"^^xsd:integer . | |
9481 :a :p "9"^^xsd:integer . | |
9482 | |
9483 </div><p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g3.ttl">http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g3.ttl</a></p> | |
9484 <div class="query"> | |
9485 @prefix : <http://example/> . | |
9486 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9487 | |
9488 :x :p "1"^^xsd:integer . | |
9489 :a :p "9"^^xsd:integer . | |
9490 | |
9491 </div><p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g2.ttl">http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g2.ttl</a></p> | |
9492 <div class="query"> | |
9493 @prefix : <http://example/> . | |
9494 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9495 | |
9496 :x :p "1"^^xsd:integer . | |
9497 :a :p "9"^^xsd:integer . | |
9498 | |
9499 </div><p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g1.ttl">http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g1.ttl</a></p> | |
9500 <div class="query"> | |
9501 @prefix : <http://example/> . | |
9502 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9503 | |
9504 :x :p "1"^^xsd:integer . | |
9505 :a :p "9"^^xsd:integer . | |
9506 | |
9507 </div> | |
9508 <h3>Named Graphs</h3> | |
9509 | |
9510 <h3>Query</h3> | |
9511 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-11.rq">data-r2/graph/graph-11.rq</a><br/> | |
9512 <div class="query"> | |
9513 PREFIX : <http://example/> | |
9514 | |
9515 SELECT * | |
9516 { | |
9517 { ?s ?p ?o } | |
9518 UNION | |
9519 { GRAPH ?g { ?s ?p ?o } } | |
9520 } | |
9521 | |
9522 </div> | |
9523 <h3>Results</h3> | |
9524 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-11.ttl">data-r2/graph/graph-11.ttl</a></p> | |
9525 <hr/> | |
9526 <h2><a name="kanji-1">kanji-01</a></h2> | |
9527 Query evaluation test | |
9528 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
9529 | |
9530 <h3>Default Graph</h3> | |
9531 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/i18n/kanji.ttl">data-r2/i18n/kanji.ttl</a></p> | |
9532 <div class="query"> | |
9533 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
9534 # See DOCUMENT INFO below. | |
9535 | |
9536 # NAMESPACES | |
9537 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
9538 @prefix owl: <http://www.w3.org/2002/07/owl#> . | |
9539 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
9540 @prefix 食: <http://www.w3.org/2001/sw/DataAccess/tests/data/i18n/kanji.ttl#> . | |
9541 | |
9542 # DOCUMENT INFO | |
9543 <> rdfs:comment "test kanji IRIs (composed from QNames)" ; | |
9544 owl:versionInfo "$Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $". | |
9545 | |
9546 # DOCUMENT | |
9547 _:alice foaf:name "Alice" ; | |
9548 食:食べる 食:納豆 . | |
9549 | |
9550 _:bob foaf:name "Bob" ; | |
9551 食:食べる 食:海老 . | |
9552 | |
9553 | |
9554 </div> | |
9555 <h3>Named Graphs</h3> | |
9556 | |
9557 <h3>Query</h3> | |
9558 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/i18n/kanji-01.rq">data-r2/i18n/kanji-01.rq</a><br/> | |
9559 <div class="query"> | |
9560 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
9561 # test kanji QNames | |
9562 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
9563 PREFIX 食: <http://www.w3.org/2001/sw/DataAccess/tests/data/i18n/kanji.ttl#> | |
9564 SELECT ?name ?food WHERE { | |
9565 [ foaf:name ?name ; | |
9566 食:食べる ?food ] . } | |
9567 | |
9568 </div> | |
9569 <h3>Results</h3> | |
9570 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/i18n/kanji-01-results.ttl">data-r2/i18n/kanji-01-results.ttl</a></p> | |
9571 <hr/> | |
9572 <h2><a name="kanji-2">kanji-02</a></h2> | |
9573 Query evaluation test | |
9574 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
9575 | |
9576 <h3>Default Graph</h3> | |
9577 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/i18n/kanji.ttl">data-r2/i18n/kanji.ttl</a></p> | |
9578 <div class="query"> | |
9579 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
9580 # See DOCUMENT INFO below. | |
9581 | |
9582 # NAMESPACES | |
9583 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
9584 @prefix owl: <http://www.w3.org/2002/07/owl#> . | |
9585 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
9586 @prefix 食: <http://www.w3.org/2001/sw/DataAccess/tests/data/i18n/kanji.ttl#> . | |
9587 | |
9588 # DOCUMENT INFO | |
9589 <> rdfs:comment "test kanji IRIs (composed from QNames)" ; | |
9590 owl:versionInfo "$Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $". | |
9591 | |
9592 # DOCUMENT | |
9593 _:alice foaf:name "Alice" ; | |
9594 食:食べる 食:納豆 . | |
9595 | |
9596 _:bob foaf:name "Bob" ; | |
9597 食:食べる 食:海老 . | |
9598 | |
9599 | |
9600 </div> | |
9601 <h3>Named Graphs</h3> | |
9602 | |
9603 <h3>Query</h3> | |
9604 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/i18n/kanji-02.rq">data-r2/i18n/kanji-02.rq</a><br/> | |
9605 <div class="query"> | |
9606 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
9607 # test wide spaces | |
9608 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
9609 PREFIX 食: <http://www.w3.org/2001/sw/DataAccess/tests/data/i18n/kanji.ttl#> | |
9610 SELECT ?name WHERE { | |
9611 [ foaf:name ?name ; | |
9612 食:食べる 食:海老 ] . } | |
9613 | |
9614 </div> | |
9615 <h3>Results</h3> | |
9616 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/i18n/kanji-02-results.ttl">data-r2/i18n/kanji-02-results.ttl</a></p> | |
9617 <hr/> | |
9618 <h2><a name="normalization-1">normalization-01</a></h2> | |
9619 Query evaluation test | |
9620 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html</a></div> | |
9621 | |
9622 <h3>Default Graph</h3> | |
9623 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/i18n/normalization-01.ttl">data-r2/i18n/normalization-01.ttl</a></p> | |
9624 <div class="query"> | |
9625 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
9626 # See DOCUMENT INFO below. | |
9627 | |
9628 # NAMESPACES | |
9629 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
9630 @prefix owl: <http://www.w3.org/2002/07/owl#> . | |
9631 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
9632 @prefix HR: <http://www.w3.org/2001/sw/DataAccess/tests/data/i18n/normalization.ttl#> . | |
9633 | |
9634 # DOCUMENT INFO | |
9635 <> rdfs:comment "Normalized and non-normalized IRIs" ; | |
9636 owl:versionInfo "$Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $". | |
9637 | |
9638 # DOCUMENT | |
9639 [] foaf:name "Alice" ; | |
9640 HR:resumé "Alice's normalized resumé" . | |
9641 | |
9642 [] foaf:name "Bob" ; | |
9643 HR:resumé "Bob's non-normalized resumé" . | |
9644 | |
9645 [] foaf:name "Eve" ; | |
9646 HR:resumé "Eve's normalized resumé" ; | |
9647 HR:resumé "Eve's non-normalized resumé" . | |
9648 | |
9649 </div> | |
9650 <h3>Named Graphs</h3> | |
9651 | |
9652 <h3>Query</h3> | |
9653 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/i18n/normalization-01.rq">data-r2/i18n/normalization-01.rq</a><br/> | |
9654 <div class="query"> | |
9655 # Figure out what happens with normalization form C. | |
9656 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
9657 PREFIX HR: <http://www.w3.org/2001/sw/DataAccess/tests/data/i18n/normalization.ttl#> | |
9658 SELECT ?name | |
9659 WHERE { [ foaf:name ?name; | |
9660 HR:resumé ?resume ] . } | |
9661 | |
9662 </div> | |
9663 <h3>Results</h3> | |
9664 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/i18n/normalization-01-results.ttl">data-r2/i18n/normalization-01-results.ttl</a></p> | |
9665 <hr/> | |
9666 <h2><a name="normalization-2">normalization-02</a></h2> | |
9667 Query evaluation test | |
9668 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
9669 <p>Example 1 from http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JulSep/0096</p> | |
9670 <h3>Default Graph</h3> | |
9671 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/i18n/normalization-02.ttl">data-r2/i18n/normalization-02.ttl</a></p> | |
9672 <div class="query"> | |
9673 # Example 1 from | |
9674 # http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JulSep/0096 | |
9675 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
9676 @prefix : <http://example/vocab#>. | |
9677 | |
9678 :s1 :p <example://a/b/c/%7Bfoo%7D#xyz>. | |
9679 :s2 :p <eXAMPLE://a/./b/../b/%63/%7bfoo%7d#xyz>. | |
9680 | |
9681 | |
9682 </div> | |
9683 <h3>Named Graphs</h3> | |
9684 | |
9685 <h3>Query</h3> | |
9686 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/i18n/normalization-02.rq">data-r2/i18n/normalization-02.rq</a><br/> | |
9687 <div class="query"> | |
9688 # Example 1 from | |
9689 # http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JulSep/0096 | |
9690 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
9691 PREFIX : <http://example/vocab#> | |
9692 PREFIX p1: <eXAMPLE://a/./b/../b/%63/%7bfoo%7d#> | |
9693 | |
9694 SELECT ?S WHERE { ?S :p p1:xyz } | |
9695 | |
9696 | |
9697 </div> | |
9698 <h3>Results</h3> | |
9699 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/i18n/normalization-02-results.ttl">data-r2/i18n/normalization-02-results.ttl</a></p> | |
9700 <hr/> | |
9701 <h2><a name="normalization-3">normalization-03</a></h2> | |
9702 Query evaluation test | |
9703 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes</a></div> | |
9704 <p>Example 2 from http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JulSep/0096</p> | |
9705 <h3>Default Graph</h3> | |
9706 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/i18n/normalization-03.ttl">data-r2/i18n/normalization-03.ttl</a></p> | |
9707 <div class="query"> | |
9708 # Example 1 from | |
9709 # http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JulSep/0096 | |
9710 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
9711 @prefix : <http://example/vocab#>. | |
9712 | |
9713 :s3 :p <http://example.com:80/#abc>. | |
9714 :s4 :p <http://example.com/#abc>. | |
9715 :s5 :p <http://example.com/#abc>. | |
9716 | |
9717 | |
9718 </div> | |
9719 <h3>Named Graphs</h3> | |
9720 | |
9721 <h3>Query</h3> | |
9722 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/i18n/normalization-03.rq">data-r2/i18n/normalization-03.rq</a><br/> | |
9723 <div class="query"> | |
9724 # Example 2 from | |
9725 # http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JulSep/0096 | |
9726 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
9727 PREFIX : <http://example/vocab#> | |
9728 PREFIX p2: <http://example.com:80/#> | |
9729 | |
9730 SELECT ?S WHERE { ?S :p p2:abc } | |
9731 | |
9732 | |
9733 </div> | |
9734 <h3>Results</h3> | |
9735 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/i18n/normalization-03-results.ttl">data-r2/i18n/normalization-03-results.ttl</a></p> | |
9736 <hr/> | |
9737 <h2><a name="date-1">date-1</a></h2> | |
9738 Query evaluation test | |
9739 | |
9740 <p>Added type : xsd:date '='</p> | |
9741 <h3>Default Graph</h3> | |
9742 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/data-3.ttl">data-r2/open-world/data-3.ttl</a></p> | |
9743 <div class="query"> | |
9744 @prefix : <http://example/> . | |
9745 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9746 | |
9747 :dt1 :r "2006-08-23T09:00:00+01:00"^^xsd:dateTime . | |
9748 | |
9749 :d1 :r "2006-08-23"^^xsd:date . | |
9750 :d2 :r "2006-08-23Z"^^xsd:date . | |
9751 :d3 :r "2006-08-23+00:00"^^xsd:date . | |
9752 | |
9753 :d4 :r "2001-01-01"^^xsd:date . | |
9754 :d5 :r "2001-01-01Z"^^xsd:date . | |
9755 | |
9756 :d6 :s "2006-08-23"^^xsd:date . | |
9757 :d7 :s "2006-08-24Z"^^xsd:date . | |
9758 :d8 :s "2000-01-01"^^xsd:date . | |
9759 | |
9760 </div> | |
9761 <h3>Named Graphs</h3> | |
9762 | |
9763 <h3>Query</h3> | |
9764 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/date-1.rq">data-r2/open-world/date-1.rq</a><br/> | |
9765 <div class="query"> | |
9766 PREFIX : <http://example/> | |
9767 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
9768 | |
9769 SELECT * | |
9770 { | |
9771 ?x :r ?v . | |
9772 FILTER ( ?v = "2006-08-23"^^xsd:date ) | |
9773 } | |
9774 | |
9775 </div> | |
9776 <h3>Results</h3> | |
9777 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/date-1-result.srx">data-r2/open-world/date-1-result.srx</a></p> | |
9778 <hr/> | |
9779 <h2><a name="date-2">date-2</a></h2> | |
9780 Query evaluation test | |
9781 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
9782 <p>Added type : xsd:date '!='</p> | |
9783 <h3>Default Graph</h3> | |
9784 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/data-3.ttl">data-r2/open-world/data-3.ttl</a></p> | |
9785 <div class="query"> | |
9786 @prefix : <http://example/> . | |
9787 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9788 | |
9789 :dt1 :r "2006-08-23T09:00:00+01:00"^^xsd:dateTime . | |
9790 | |
9791 :d1 :r "2006-08-23"^^xsd:date . | |
9792 :d2 :r "2006-08-23Z"^^xsd:date . | |
9793 :d3 :r "2006-08-23+00:00"^^xsd:date . | |
9794 | |
9795 :d4 :r "2001-01-01"^^xsd:date . | |
9796 :d5 :r "2001-01-01Z"^^xsd:date . | |
9797 | |
9798 :d6 :s "2006-08-23"^^xsd:date . | |
9799 :d7 :s "2006-08-24Z"^^xsd:date . | |
9800 :d8 :s "2000-01-01"^^xsd:date . | |
9801 | |
9802 </div> | |
9803 <h3>Named Graphs</h3> | |
9804 | |
9805 <h3>Query</h3> | |
9806 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/date-2.rq">data-r2/open-world/date-2.rq</a><br/> | |
9807 <div class="query"> | |
9808 PREFIX : <http://example/> | |
9809 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
9810 | |
9811 SELECT * | |
9812 { | |
9813 ?x :r ?v . | |
9814 FILTER ( ?v != "2006-08-23"^^xsd:date ) | |
9815 } | |
9816 | |
9817 </div> | |
9818 <h3>Results</h3> | |
9819 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/date-2-result.srx">data-r2/open-world/date-2-result.srx</a></p> | |
9820 <hr/> | |
9821 <h2><a name="date-3">date-3</a></h2> | |
9822 Query evaluation test | |
9823 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
9824 <p>Added type : xsd:date '>'</p> | |
9825 <h3>Default Graph</h3> | |
9826 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/data-3.ttl">data-r2/open-world/data-3.ttl</a></p> | |
9827 <div class="query"> | |
9828 @prefix : <http://example/> . | |
9829 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9830 | |
9831 :dt1 :r "2006-08-23T09:00:00+01:00"^^xsd:dateTime . | |
9832 | |
9833 :d1 :r "2006-08-23"^^xsd:date . | |
9834 :d2 :r "2006-08-23Z"^^xsd:date . | |
9835 :d3 :r "2006-08-23+00:00"^^xsd:date . | |
9836 | |
9837 :d4 :r "2001-01-01"^^xsd:date . | |
9838 :d5 :r "2001-01-01Z"^^xsd:date . | |
9839 | |
9840 :d6 :s "2006-08-23"^^xsd:date . | |
9841 :d7 :s "2006-08-24Z"^^xsd:date . | |
9842 :d8 :s "2000-01-01"^^xsd:date . | |
9843 | |
9844 </div> | |
9845 <h3>Named Graphs</h3> | |
9846 | |
9847 <h3>Query</h3> | |
9848 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/date-3.rq">data-r2/open-world/date-3.rq</a><br/> | |
9849 <div class="query"> | |
9850 PREFIX : <http://example/> | |
9851 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
9852 | |
9853 SELECT * | |
9854 { | |
9855 ?x :r ?v . | |
9856 FILTER ( ?v > "2006-08-22"^^xsd:date ) | |
9857 } | |
9858 | |
9859 </div> | |
9860 <h3>Results</h3> | |
9861 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/date-3-result.srx">data-r2/open-world/date-3-result.srx</a></p> | |
9862 <hr/> | |
9863 <h2><a name="date-4">date-4</a></h2> | |
9864 Query evaluation test | |
9865 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
9866 <p>xsd:date ORDER BY</p> | |
9867 <h3>Default Graph</h3> | |
9868 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/data-3.ttl">data-r2/open-world/data-3.ttl</a></p> | |
9869 <div class="query"> | |
9870 @prefix : <http://example/> . | |
9871 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9872 | |
9873 :dt1 :r "2006-08-23T09:00:00+01:00"^^xsd:dateTime . | |
9874 | |
9875 :d1 :r "2006-08-23"^^xsd:date . | |
9876 :d2 :r "2006-08-23Z"^^xsd:date . | |
9877 :d3 :r "2006-08-23+00:00"^^xsd:date . | |
9878 | |
9879 :d4 :r "2001-01-01"^^xsd:date . | |
9880 :d5 :r "2001-01-01Z"^^xsd:date . | |
9881 | |
9882 :d6 :s "2006-08-23"^^xsd:date . | |
9883 :d7 :s "2006-08-24Z"^^xsd:date . | |
9884 :d8 :s "2000-01-01"^^xsd:date . | |
9885 | |
9886 </div> | |
9887 <h3>Named Graphs</h3> | |
9888 | |
9889 <h3>Query</h3> | |
9890 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/date-4.rq">data-r2/open-world/date-4.rq</a><br/> | |
9891 <div class="query"> | |
9892 PREFIX : <http://example/> | |
9893 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
9894 | |
9895 SELECT ?x ?date | |
9896 { | |
9897 ?x :s ?date . | |
9898 FILTER ( datatype(?date) = xsd:date ) | |
9899 } | |
9900 | |
9901 </div> | |
9902 <h3>Results</h3> | |
9903 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/date-4-result.srx">data-r2/open-world/date-4-result.srx</a></p> | |
9904 <hr/> | |
9905 <h2><a name="open-cmp-01">open-cmp-01</a></h2> | |
9906 Query evaluation test | |
9907 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
9908 <p>Find things that compare with < or ></p> | |
9909 <h3>Default Graph</h3> | |
9910 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/data-4.ttl">data-r2/open-world/data-4.ttl</a></p> | |
9911 <div class="query"> | |
9912 @prefix : <http://example/> . | |
9913 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9914 | |
9915 | |
9916 | |
9917 :x1 :p [ :v1 "v1" ; :v2 "v2" ] . | |
9918 | |
9919 :x2 :p [ :v1 "1"^^xsd:integer ; :v2 "v2" ] . | |
9920 | |
9921 :x3 :p [ :v1 "x"^^:unknown ; :v2 "x"^^:unknown ] . | |
9922 | |
9923 :x4 :p [ :v1 <test:abc> ; :v2 <test:abc> ] . | |
9924 | |
9925 :x5 :p [ :v1 "2006-08-23T09:00:00+01:00"^^xsd:dateTime ; | |
9926 :v2 "2006-08-22"^^xsd:date ]. | |
9927 | |
9928 </div> | |
9929 <h3>Named Graphs</h3> | |
9930 | |
9931 <h3>Query</h3> | |
9932 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-cmp-01.rq">data-r2/open-world/open-cmp-01.rq</a><br/> | |
9933 <div class="query"> | |
9934 PREFIX : <http://example/> | |
9935 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
9936 | |
9937 SELECT ?x ?v1 ?v2 | |
9938 { | |
9939 ?x :p [ :v1 ?v1 ; :v2 ?v2 ] . | |
9940 FILTER ( ?v1 < ?v2 || ?v1 > ?v2 ) | |
9941 } | |
9942 | |
9943 </div> | |
9944 <h3>Results</h3> | |
9945 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-cmp-01-result.srx">data-r2/open-world/open-cmp-01-result.srx</a></p> | |
9946 <hr/> | |
9947 <h2><a name="open-cmp-02">open-cmp-02</a></h2> | |
9948 Query evaluation test | |
9949 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html</a></div> | |
9950 <p>Find things that compare with <= and ></p> | |
9951 <h3>Default Graph</h3> | |
9952 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/data-4.ttl">data-r2/open-world/data-4.ttl</a></p> | |
9953 <div class="query"> | |
9954 @prefix : <http://example/> . | |
9955 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9956 | |
9957 | |
9958 | |
9959 :x1 :p [ :v1 "v1" ; :v2 "v2" ] . | |
9960 | |
9961 :x2 :p [ :v1 "1"^^xsd:integer ; :v2 "v2" ] . | |
9962 | |
9963 :x3 :p [ :v1 "x"^^:unknown ; :v2 "x"^^:unknown ] . | |
9964 | |
9965 :x4 :p [ :v1 <test:abc> ; :v2 <test:abc> ] . | |
9966 | |
9967 :x5 :p [ :v1 "2006-08-23T09:00:00+01:00"^^xsd:dateTime ; | |
9968 :v2 "2006-08-22"^^xsd:date ]. | |
9969 | |
9970 </div> | |
9971 <h3>Named Graphs</h3> | |
9972 | |
9973 <h3>Query</h3> | |
9974 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-cmp-02.rq">data-r2/open-world/open-cmp-02.rq</a><br/> | |
9975 <div class="query"> | |
9976 PREFIX : <http://example/> | |
9977 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
9978 | |
9979 SELECT ?x ?v1 ?v2 | |
9980 { | |
9981 ?x :p [ :v1 ?v1 ; :v2 ?v2 ] . | |
9982 FILTER ( ?v1 < ?v2 || ?v1 = ?v2 || ?v1 > ?v2 ) | |
9983 } | |
9984 | |
9985 </div> | |
9986 <h3>Results</h3> | |
9987 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-cmp-02-result.srx">data-r2/open-world/open-cmp-02-result.srx</a></p> | |
9988 <hr/> | |
9989 <h2><a name="open-eq-01">open-eq-01</a></h2> | |
9990 Query evaluation test | |
9991 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
9992 <p>graph match - no lexical form in data (assumes no value matching)</p> | |
9993 <h3>Default Graph</h3> | |
9994 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/data-1.ttl">data-r2/open-world/data-1.ttl</a></p> | |
9995 <div class="query"> | |
9996 @prefix t: <http://example/t#> . | |
9997 @prefix : <http://example/ns#> . | |
9998 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
9999 | |
10000 :x1 :p "a"^^t:type1 . | |
10001 :x2 :p "b"^^t:type1 . | |
10002 | |
10003 :y1 :p "a"^^t:type2 . | |
10004 :y2 :p "b"^^t:type2 . | |
10005 | |
10006 :z1 :p "1"^^xsd:integer . | |
10007 :z2 :p "01"^^xsd:integer . | |
10008 :z3 :p "2"^^xsd:integer . | |
10009 :z4 :p "02"^^xsd:integer . | |
10010 | |
10011 | |
10012 | |
10013 | |
10014 </div> | |
10015 <h3>Named Graphs</h3> | |
10016 | |
10017 <h3>Query</h3> | |
10018 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-01.rq">data-r2/open-world/open-eq-01.rq</a><br/> | |
10019 <div class="query"> | |
10020 # SPARQL is defined over simple entailment so | |
10021 # only syntactic matches show. | |
10022 # (Some systems may match because they do | |
10023 # value-based matching in the graph (D-entailment)) | |
10024 | |
10025 # Does not strictly match "1"^xsd:integer | |
10026 | |
10027 PREFIX : <http://example/ns#> | |
10028 PREFIX t: <http://example/t#> | |
10029 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
10030 | |
10031 SELECT * | |
10032 { ?x :p "001"^^xsd:integer } | |
10033 </div> | |
10034 <h3>Results</h3> | |
10035 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-01-result.srx">data-r2/open-world/open-eq-01-result.srx</a></p> | |
10036 <hr/> | |
10037 <h2><a name="open-eq-02">open-eq-02</a></h2> | |
10038 Query evaluation test | |
10039 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
10040 <p>graph match - unknown type</p> | |
10041 <h3>Default Graph</h3> | |
10042 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/data-1.ttl">data-r2/open-world/data-1.ttl</a></p> | |
10043 <div class="query"> | |
10044 @prefix t: <http://example/t#> . | |
10045 @prefix : <http://example/ns#> . | |
10046 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
10047 | |
10048 :x1 :p "a"^^t:type1 . | |
10049 :x2 :p "b"^^t:type1 . | |
10050 | |
10051 :y1 :p "a"^^t:type2 . | |
10052 :y2 :p "b"^^t:type2 . | |
10053 | |
10054 :z1 :p "1"^^xsd:integer . | |
10055 :z2 :p "01"^^xsd:integer . | |
10056 :z3 :p "2"^^xsd:integer . | |
10057 :z4 :p "02"^^xsd:integer . | |
10058 | |
10059 | |
10060 | |
10061 | |
10062 </div> | |
10063 <h3>Named Graphs</h3> | |
10064 | |
10065 <h3>Query</h3> | |
10066 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-02.rq">data-r2/open-world/open-eq-02.rq</a><br/> | |
10067 <div class="query"> | |
10068 # Test matching in a graph pattern | |
10069 # Unknown type | |
10070 | |
10071 PREFIX : <http://example/ns#> | |
10072 PREFIX t: <http://example/t#> | |
10073 | |
10074 SELECT * | |
10075 { ?x :p "a"^^t:type1 } | |
10076 | |
10077 </div> | |
10078 <h3>Results</h3> | |
10079 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-02-result.srx">data-r2/open-world/open-eq-02-result.srx</a></p> | |
10080 <hr/> | |
10081 <h2><a name="open-eq-03">open-eq-03</a></h2> | |
10082 Query evaluation test | |
10083 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
10084 <p>Filter(?v=1)</p> | |
10085 <h3>Default Graph</h3> | |
10086 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/data-1.ttl">data-r2/open-world/data-1.ttl</a></p> | |
10087 <div class="query"> | |
10088 @prefix t: <http://example/t#> . | |
10089 @prefix : <http://example/ns#> . | |
10090 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
10091 | |
10092 :x1 :p "a"^^t:type1 . | |
10093 :x2 :p "b"^^t:type1 . | |
10094 | |
10095 :y1 :p "a"^^t:type2 . | |
10096 :y2 :p "b"^^t:type2 . | |
10097 | |
10098 :z1 :p "1"^^xsd:integer . | |
10099 :z2 :p "01"^^xsd:integer . | |
10100 :z3 :p "2"^^xsd:integer . | |
10101 :z4 :p "02"^^xsd:integer . | |
10102 | |
10103 | |
10104 | |
10105 | |
10106 </div> | |
10107 <h3>Named Graphs</h3> | |
10108 | |
10109 <h3>Query</h3> | |
10110 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-03.rq">data-r2/open-world/open-eq-03.rq</a><br/> | |
10111 <div class="query"> | |
10112 # SPARQL FILTER test by value. | |
10113 # A processor knows about XSD integer | |
10114 # so 1 and 01 pass the filter | |
10115 | |
10116 PREFIX : <http://example/ns#> | |
10117 PREFIX t: <http://example/t#> | |
10118 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
10119 PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
10120 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
10121 | |
10122 SELECT * | |
10123 { ?x :p ?v | |
10124 FILTER ( ?v = 1 ) | |
10125 } | |
10126 | |
10127 </div> | |
10128 <h3>Results</h3> | |
10129 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-03-result.srx">data-r2/open-world/open-eq-03-result.srx</a></p> | |
10130 <hr/> | |
10131 <h2><a name="open-eq-04">open-eq-04</a></h2> | |
10132 Query evaluation test | |
10133 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
10134 <p>Filter(?v!=1)</p> | |
10135 <h3>Default Graph</h3> | |
10136 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/data-1.ttl">data-r2/open-world/data-1.ttl</a></p> | |
10137 <div class="query"> | |
10138 @prefix t: <http://example/t#> . | |
10139 @prefix : <http://example/ns#> . | |
10140 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
10141 | |
10142 :x1 :p "a"^^t:type1 . | |
10143 :x2 :p "b"^^t:type1 . | |
10144 | |
10145 :y1 :p "a"^^t:type2 . | |
10146 :y2 :p "b"^^t:type2 . | |
10147 | |
10148 :z1 :p "1"^^xsd:integer . | |
10149 :z2 :p "01"^^xsd:integer . | |
10150 :z3 :p "2"^^xsd:integer . | |
10151 :z4 :p "02"^^xsd:integer . | |
10152 | |
10153 | |
10154 | |
10155 | |
10156 </div> | |
10157 <h3>Named Graphs</h3> | |
10158 | |
10159 <h3>Query</h3> | |
10160 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-04.rq">data-r2/open-world/open-eq-04.rq</a><br/> | |
10161 <div class="query"> | |
10162 # SPARQL FILTER test by value. | |
10163 # A processor knows about XSD integer | |
10164 # so 1 and 01 are excluded by the filter | |
10165 | |
10166 PREFIX : <http://example/ns#> | |
10167 PREFIX t: <http://example/t#> | |
10168 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
10169 PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
10170 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
10171 | |
10172 SELECT * | |
10173 { ?x :p ?v | |
10174 FILTER ( ?v != 1 ) | |
10175 } | |
10176 | |
10177 </div> | |
10178 <h3>Results</h3> | |
10179 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-04-result.srx">data-r2/open-world/open-eq-04-result.srx</a></p> | |
10180 <hr/> | |
10181 <h2><a name="open-eq-05">open-eq-05</a></h2> | |
10182 Query evaluation test | |
10183 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
10184 <p>FILTER(?v = unknown type)</p> | |
10185 <h3>Default Graph</h3> | |
10186 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/data-1.ttl">data-r2/open-world/data-1.ttl</a></p> | |
10187 <div class="query"> | |
10188 @prefix t: <http://example/t#> . | |
10189 @prefix : <http://example/ns#> . | |
10190 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
10191 | |
10192 :x1 :p "a"^^t:type1 . | |
10193 :x2 :p "b"^^t:type1 . | |
10194 | |
10195 :y1 :p "a"^^t:type2 . | |
10196 :y2 :p "b"^^t:type2 . | |
10197 | |
10198 :z1 :p "1"^^xsd:integer . | |
10199 :z2 :p "01"^^xsd:integer . | |
10200 :z3 :p "2"^^xsd:integer . | |
10201 :z4 :p "02"^^xsd:integer . | |
10202 | |
10203 | |
10204 | |
10205 | |
10206 </div> | |
10207 <h3>Named Graphs</h3> | |
10208 | |
10209 <h3>Query</h3> | |
10210 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-05.rq">data-r2/open-world/open-eq-05.rq</a><br/> | |
10211 <div class="query"> | |
10212 # SPARQL FILTER test by value. | |
10213 # Only one valus is known to be "a"^^t:type1 | |
10214 # (others maybe but the processor does not positively know this) | |
10215 | |
10216 PREFIX : <http://example/ns#> | |
10217 PREFIX t: <http://example/t#> | |
10218 | |
10219 SELECT * | |
10220 { ?x :p ?v | |
10221 FILTER ( ?v = "a"^^t:type1 ) | |
10222 } | |
10223 | |
10224 </div> | |
10225 <h3>Results</h3> | |
10226 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-05-result.srx">data-r2/open-world/open-eq-05-result.srx</a></p> | |
10227 <hr/> | |
10228 <h2><a name="open-eq-06">open-eq-06</a></h2> | |
10229 Query evaluation test | |
10230 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
10231 <p>FILTER(?v != unknown type)</p> | |
10232 <h3>Default Graph</h3> | |
10233 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/data-1.ttl">data-r2/open-world/data-1.ttl</a></p> | |
10234 <div class="query"> | |
10235 @prefix t: <http://example/t#> . | |
10236 @prefix : <http://example/ns#> . | |
10237 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
10238 | |
10239 :x1 :p "a"^^t:type1 . | |
10240 :x2 :p "b"^^t:type1 . | |
10241 | |
10242 :y1 :p "a"^^t:type2 . | |
10243 :y2 :p "b"^^t:type2 . | |
10244 | |
10245 :z1 :p "1"^^xsd:integer . | |
10246 :z2 :p "01"^^xsd:integer . | |
10247 :z3 :p "2"^^xsd:integer . | |
10248 :z4 :p "02"^^xsd:integer . | |
10249 | |
10250 | |
10251 | |
10252 | |
10253 </div> | |
10254 <h3>Named Graphs</h3> | |
10255 | |
10256 <h3>Query</h3> | |
10257 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-06.rq">data-r2/open-world/open-eq-06.rq</a><br/> | |
10258 <div class="query"> | |
10259 # SPARQL FILTER test by value for known types. | |
10260 # Nothing is known to be not the same value as "a"^^t:type1 | |
10261 # "b"^^t:type1 might be a different lexical form for the same value | |
10262 # "a"^^t:type2 might have overlapping value spaces for this lexicial form. | |
10263 | |
10264 PREFIX : <http://example/ns#> | |
10265 PREFIX t: <http://example/t#> | |
10266 | |
10267 SELECT * | |
10268 { ?x :p ?v | |
10269 FILTER ( ?v != "a"^^t:type1 ) | |
10270 } | |
10271 | |
10272 </div> | |
10273 <h3>Results</h3> | |
10274 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-06-result.srx">data-r2/open-world/open-eq-06-result.srx</a></p> | |
10275 <hr/> | |
10276 <h2><a name="open-eq-07">open-eq-07</a></h2> | |
10277 Query evaluation test | |
10278 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
10279 <p>Test of '=' </p> | |
10280 <h3>Default Graph</h3> | |
10281 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/data-2.ttl">data-r2/open-world/data-2.ttl</a></p> | |
10282 <div class="query"> | |
10283 @prefix : <http://example/> . | |
10284 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
10285 | |
10286 :x1 :p "xyz" . | |
10287 :x2 :p "xyz"@en . | |
10288 :x3 :p "xyz"@EN . | |
10289 :x4 :p "xyz"^^xsd:string . | |
10290 :x5 :p "xyz"^^xsd:integer . | |
10291 :x6 :p "xyz"^^:unknown . | |
10292 :x7 :p _:xyz . | |
10293 :x8 :p :xyz . | |
10294 | |
10295 :y1 :q "abc" . | |
10296 :y2 :q "abc"@en . | |
10297 :y3 :q "abc"@EN . | |
10298 :y4 :q "abc"^^xsd:string . | |
10299 :y5 :q "abc"^^xsd:integer . | |
10300 :y6 :q "abc"^^:unknown . | |
10301 :y7 :q _:abc . | |
10302 :y8 :q :abc . | |
10303 | |
10304 </div> | |
10305 <h3>Named Graphs</h3> | |
10306 | |
10307 <h3>Query</h3> | |
10308 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-07.rq">data-r2/open-world/open-eq-07.rq</a><br/> | |
10309 <div class="query"> | |
10310 PREFIX : <http://example/> | |
10311 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
10312 | |
10313 SELECT * | |
10314 { | |
10315 ?x1 :p ?v1 . | |
10316 ?x2 :p ?v2 . | |
10317 FILTER ( ?v1 = ?v2 ) | |
10318 } | |
10319 | |
10320 </div> | |
10321 <h3>Results</h3> | |
10322 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-07-result.srx">data-r2/open-world/open-eq-07-result.srx</a></p> | |
10323 <hr/> | |
10324 <h2><a name="open-eq-08">open-eq-08</a></h2> | |
10325 Query evaluation test | |
10326 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
10327 <p>Test of '!='</p> | |
10328 <h3>Default Graph</h3> | |
10329 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/data-2.ttl">data-r2/open-world/data-2.ttl</a></p> | |
10330 <div class="query"> | |
10331 @prefix : <http://example/> . | |
10332 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
10333 | |
10334 :x1 :p "xyz" . | |
10335 :x2 :p "xyz"@en . | |
10336 :x3 :p "xyz"@EN . | |
10337 :x4 :p "xyz"^^xsd:string . | |
10338 :x5 :p "xyz"^^xsd:integer . | |
10339 :x6 :p "xyz"^^:unknown . | |
10340 :x7 :p _:xyz . | |
10341 :x8 :p :xyz . | |
10342 | |
10343 :y1 :q "abc" . | |
10344 :y2 :q "abc"@en . | |
10345 :y3 :q "abc"@EN . | |
10346 :y4 :q "abc"^^xsd:string . | |
10347 :y5 :q "abc"^^xsd:integer . | |
10348 :y6 :q "abc"^^:unknown . | |
10349 :y7 :q _:abc . | |
10350 :y8 :q :abc . | |
10351 | |
10352 </div> | |
10353 <h3>Named Graphs</h3> | |
10354 | |
10355 <h3>Query</h3> | |
10356 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-08.rq">data-r2/open-world/open-eq-08.rq</a><br/> | |
10357 <div class="query"> | |
10358 PREFIX : <http://example/> | |
10359 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
10360 | |
10361 SELECT * | |
10362 { | |
10363 ?x1 :p ?v1 . | |
10364 ?x2 :p ?v2 . | |
10365 FILTER ( ?v1 != ?v2 ) | |
10366 } | |
10367 | |
10368 </div> | |
10369 <h3>Results</h3> | |
10370 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-08-result.srx">data-r2/open-world/open-eq-08-result.srx</a></p> | |
10371 <hr/> | |
10372 <h2><a name="open-eq-09">open-eq-09</a></h2> | |
10373 Query evaluation test | |
10374 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
10375 <p>Test of '='</p> | |
10376 <h3>Default Graph</h3> | |
10377 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/data-2.ttl">data-r2/open-world/data-2.ttl</a></p> | |
10378 <div class="query"> | |
10379 @prefix : <http://example/> . | |
10380 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
10381 | |
10382 :x1 :p "xyz" . | |
10383 :x2 :p "xyz"@en . | |
10384 :x3 :p "xyz"@EN . | |
10385 :x4 :p "xyz"^^xsd:string . | |
10386 :x5 :p "xyz"^^xsd:integer . | |
10387 :x6 :p "xyz"^^:unknown . | |
10388 :x7 :p _:xyz . | |
10389 :x8 :p :xyz . | |
10390 | |
10391 :y1 :q "abc" . | |
10392 :y2 :q "abc"@en . | |
10393 :y3 :q "abc"@EN . | |
10394 :y4 :q "abc"^^xsd:string . | |
10395 :y5 :q "abc"^^xsd:integer . | |
10396 :y6 :q "abc"^^:unknown . | |
10397 :y7 :q _:abc . | |
10398 :y8 :q :abc . | |
10399 | |
10400 </div> | |
10401 <h3>Named Graphs</h3> | |
10402 | |
10403 <h3>Query</h3> | |
10404 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-09.rq">data-r2/open-world/open-eq-09.rq</a><br/> | |
10405 <div class="query"> | |
10406 PREFIX : <http://example/> | |
10407 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
10408 | |
10409 SELECT * | |
10410 { | |
10411 ?x :p ?v1 . | |
10412 ?y :q ?v2 . | |
10413 FILTER ( ?v1 = ?v2 ) | |
10414 } | |
10415 | |
10416 </div> | |
10417 <h3>Results</h3> | |
10418 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-09-result.srx">data-r2/open-world/open-eq-09-result.srx</a></p> | |
10419 <hr/> | |
10420 <h2><a name="open-eq-10">open-eq-10</a></h2> | |
10421 Query evaluation test | |
10422 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
10423 <p>Test of '!='</p> | |
10424 <h3>Default Graph</h3> | |
10425 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/data-2.ttl">data-r2/open-world/data-2.ttl</a></p> | |
10426 <div class="query"> | |
10427 @prefix : <http://example/> . | |
10428 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
10429 | |
10430 :x1 :p "xyz" . | |
10431 :x2 :p "xyz"@en . | |
10432 :x3 :p "xyz"@EN . | |
10433 :x4 :p "xyz"^^xsd:string . | |
10434 :x5 :p "xyz"^^xsd:integer . | |
10435 :x6 :p "xyz"^^:unknown . | |
10436 :x7 :p _:xyz . | |
10437 :x8 :p :xyz . | |
10438 | |
10439 :y1 :q "abc" . | |
10440 :y2 :q "abc"@en . | |
10441 :y3 :q "abc"@EN . | |
10442 :y4 :q "abc"^^xsd:string . | |
10443 :y5 :q "abc"^^xsd:integer . | |
10444 :y6 :q "abc"^^:unknown . | |
10445 :y7 :q _:abc . | |
10446 :y8 :q :abc . | |
10447 | |
10448 </div> | |
10449 <h3>Named Graphs</h3> | |
10450 | |
10451 <h3>Query</h3> | |
10452 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-10.rq">data-r2/open-world/open-eq-10.rq</a><br/> | |
10453 <div class="query"> | |
10454 PREFIX : <http://example/> | |
10455 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
10456 | |
10457 SELECT * | |
10458 { | |
10459 ?x :p ?v1 . | |
10460 ?y :q ?v2 . | |
10461 FILTER ( ?v1 != ?v2 ) | |
10462 } | |
10463 | |
10464 </div> | |
10465 <h3>Results</h3> | |
10466 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-10-result.srx">data-r2/open-world/open-eq-10-result.srx</a></p> | |
10467 <hr/> | |
10468 <h2><a name="open-eq-11">open-eq-11</a></h2> | |
10469 Query evaluation test | |
10470 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
10471 <p>test of '=' || '!='</p> | |
10472 <h3>Default Graph</h3> | |
10473 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/data-2.ttl">data-r2/open-world/data-2.ttl</a></p> | |
10474 <div class="query"> | |
10475 @prefix : <http://example/> . | |
10476 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
10477 | |
10478 :x1 :p "xyz" . | |
10479 :x2 :p "xyz"@en . | |
10480 :x3 :p "xyz"@EN . | |
10481 :x4 :p "xyz"^^xsd:string . | |
10482 :x5 :p "xyz"^^xsd:integer . | |
10483 :x6 :p "xyz"^^:unknown . | |
10484 :x7 :p _:xyz . | |
10485 :x8 :p :xyz . | |
10486 | |
10487 :y1 :q "abc" . | |
10488 :y2 :q "abc"@en . | |
10489 :y3 :q "abc"@EN . | |
10490 :y4 :q "abc"^^xsd:string . | |
10491 :y5 :q "abc"^^xsd:integer . | |
10492 :y6 :q "abc"^^:unknown . | |
10493 :y7 :q _:abc . | |
10494 :y8 :q :abc . | |
10495 | |
10496 </div> | |
10497 <h3>Named Graphs</h3> | |
10498 | |
10499 <h3>Query</h3> | |
10500 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-11.rq">data-r2/open-world/open-eq-11.rq</a><br/> | |
10501 <div class="query"> | |
10502 PREFIX : <http://example/> | |
10503 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
10504 | |
10505 SELECT * | |
10506 { | |
10507 ?x :p ?v1 . | |
10508 ?y :q ?v2 . | |
10509 FILTER ( ?v1 != ?v2 || ?v1 = ?v2 ) | |
10510 } | |
10511 | |
10512 </div> | |
10513 <h3>Results</h3> | |
10514 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-11-result.srx">data-r2/open-world/open-eq-11-result.srx</a></p> | |
10515 <hr/> | |
10516 <h2><a name="open-eq-12">open-eq-12</a></h2> | |
10517 Query evaluation test | |
10518 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
10519 <p>find pairs that don't value-compare</p> | |
10520 <h3>Default Graph</h3> | |
10521 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/data-2.ttl">data-r2/open-world/data-2.ttl</a></p> | |
10522 <div class="query"> | |
10523 @prefix : <http://example/> . | |
10524 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
10525 | |
10526 :x1 :p "xyz" . | |
10527 :x2 :p "xyz"@en . | |
10528 :x3 :p "xyz"@EN . | |
10529 :x4 :p "xyz"^^xsd:string . | |
10530 :x5 :p "xyz"^^xsd:integer . | |
10531 :x6 :p "xyz"^^:unknown . | |
10532 :x7 :p _:xyz . | |
10533 :x8 :p :xyz . | |
10534 | |
10535 :y1 :q "abc" . | |
10536 :y2 :q "abc"@en . | |
10537 :y3 :q "abc"@EN . | |
10538 :y4 :q "abc"^^xsd:string . | |
10539 :y5 :q "abc"^^xsd:integer . | |
10540 :y6 :q "abc"^^:unknown . | |
10541 :y7 :q _:abc . | |
10542 :y8 :q :abc . | |
10543 | |
10544 </div> | |
10545 <h3>Named Graphs</h3> | |
10546 | |
10547 <h3>Query</h3> | |
10548 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-12.rq">data-r2/open-world/open-eq-12.rq</a><br/> | |
10549 <div class="query"> | |
10550 PREFIX : <http://example/> | |
10551 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
10552 | |
10553 SELECT ?x ?v1 ?y ?v2 | |
10554 { | |
10555 ?x :p ?v1 . | |
10556 ?y :p ?v2 . | |
10557 OPTIONAL { ?y :p ?v3 . FILTER( ?v1 != ?v3 || ?v1 = ?v3 )} | |
10558 FILTER (!bound(?v3)) | |
10559 } | |
10560 | |
10561 </div> | |
10562 <h3>Results</h3> | |
10563 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/open-eq-12-result.srx">data-r2/open-world/open-eq-12-result.srx</a></p> | |
10564 <hr/> | |
10565 <h2><a name="dawg-optional-filter-001">OPTIONAL-FILTER</a></h2> | |
10566 Query evaluation test | |
10567 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
10568 <p>FILTER inside an OPTIONAL does not block an entire solution</p> | |
10569 <h3>Default Graph</h3> | |
10570 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional-filter/data-1.ttl">data-r2/optional-filter/data-1.ttl</a></p> | |
10571 <div class="query"> | |
10572 @prefix x: <http://example.org/ns#> . | |
10573 @prefix : <http://example.org/books#> . | |
10574 @prefix dc: <http://purl.org/dc/elements/1.1/> . | |
10575 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
10576 | |
10577 :book1 dc:title "TITLE 1" . | |
10578 :book1 x:price "10"^^xsd:integer . | |
10579 | |
10580 :book2 dc:title "TITLE 2" . | |
10581 :book2 x:price "20"^^xsd:integer . | |
10582 | |
10583 :book3 dc:title "TITLE 3" . | |
10584 | |
10585 </div> | |
10586 <h3>Named Graphs</h3> | |
10587 | |
10588 <h3>Query</h3> | |
10589 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional-filter/expr-1.rq">data-r2/optional-filter/expr-1.rq</a><br/> | |
10590 <div class="query"> | |
10591 PREFIX dc: <http://purl.org/dc/elements/1.1/> | |
10592 PREFIX x: <http://example.org/ns#> | |
10593 SELECT ?title ?price | |
10594 WHERE | |
10595 { ?book dc:title ?title . | |
10596 OPTIONAL | |
10597 { ?book x:price ?price . | |
10598 FILTER (?price < 15) . | |
10599 } . | |
10600 } | |
10601 | |
10602 </div> | |
10603 <h3>Results</h3> | |
10604 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional-filter/expr-1-result.ttl">data-r2/optional-filter/expr-1-result.ttl</a></p> | |
10605 <hr/> | |
10606 <h2><a name="dawg-optional-filter-002">OPTIONAL - Outer FILTER</a></h2> | |
10607 Query evaluation test | |
10608 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
10609 <p>FILTER outside an OPTIONAL tests bound and unbound variables</p> | |
10610 <h3>Default Graph</h3> | |
10611 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional-filter/data-1.ttl">data-r2/optional-filter/data-1.ttl</a></p> | |
10612 <div class="query"> | |
10613 @prefix x: <http://example.org/ns#> . | |
10614 @prefix : <http://example.org/books#> . | |
10615 @prefix dc: <http://purl.org/dc/elements/1.1/> . | |
10616 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
10617 | |
10618 :book1 dc:title "TITLE 1" . | |
10619 :book1 x:price "10"^^xsd:integer . | |
10620 | |
10621 :book2 dc:title "TITLE 2" . | |
10622 :book2 x:price "20"^^xsd:integer . | |
10623 | |
10624 :book3 dc:title "TITLE 3" . | |
10625 | |
10626 </div> | |
10627 <h3>Named Graphs</h3> | |
10628 | |
10629 <h3>Query</h3> | |
10630 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional-filter/expr-2.rq">data-r2/optional-filter/expr-2.rq</a><br/> | |
10631 <div class="query"> | |
10632 PREFIX dc: <http://purl.org/dc/elements/1.1/> | |
10633 PREFIX x: <http://example.org/ns#> | |
10634 SELECT ?title ?price | |
10635 WHERE | |
10636 { ?book dc:title ?title . | |
10637 OPTIONAL | |
10638 { ?book x:price ?price } . | |
10639 FILTER (?price < 15) . | |
10640 } | |
10641 | |
10642 </div> | |
10643 <h3>Results</h3> | |
10644 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional-filter/expr-2-result.ttl">data-r2/optional-filter/expr-2-result.ttl</a></p> | |
10645 <hr/> | |
10646 <h2><a name="dawg-optional-filter-003">OPTIONAL - Outer FILTER with BOUND</a></h2> | |
10647 Query evaluation test | |
10648 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html</a></div> | |
10649 <p>Use !bound to only run outer FILTERs against variables bound in an OPTIONAL</p> | |
10650 <h3>Default Graph</h3> | |
10651 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional-filter/data-1.ttl">data-r2/optional-filter/data-1.ttl</a></p> | |
10652 <div class="query"> | |
10653 @prefix x: <http://example.org/ns#> . | |
10654 @prefix : <http://example.org/books#> . | |
10655 @prefix dc: <http://purl.org/dc/elements/1.1/> . | |
10656 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
10657 | |
10658 :book1 dc:title "TITLE 1" . | |
10659 :book1 x:price "10"^^xsd:integer . | |
10660 | |
10661 :book2 dc:title "TITLE 2" . | |
10662 :book2 x:price "20"^^xsd:integer . | |
10663 | |
10664 :book3 dc:title "TITLE 3" . | |
10665 | |
10666 </div> | |
10667 <h3>Named Graphs</h3> | |
10668 | |
10669 <h3>Query</h3> | |
10670 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional-filter/expr-3.rq">data-r2/optional-filter/expr-3.rq</a><br/> | |
10671 <div class="query"> | |
10672 PREFIX dc: <http://purl.org/dc/elements/1.1/> | |
10673 PREFIX x: <http://example.org/ns#> | |
10674 SELECT ?title ?price | |
10675 WHERE | |
10676 { ?book dc:title ?title . | |
10677 OPTIONAL | |
10678 { ?book x:price ?price } . | |
10679 FILTER ( ( ! bound(?price) ) || ( ?price < 15 ) ) . | |
10680 } | |
10681 | |
10682 </div> | |
10683 <h3>Results</h3> | |
10684 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional-filter/expr-3-result.ttl">data-r2/optional-filter/expr-3-result.ttl</a></p> | |
10685 <hr/> | |
10686 <h2><a name="dawg-optional-filter-004">OPTIONAL - Inner FILTER with negative EBV for outer variables</a></h2> | |
10687 Query evaluation test | |
10688 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007OctDec/att-0006/02-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007OctDec/att-0006/02-dawg-minutes.html</a></div> | |
10689 <p>FILTER inside an OPTIONAL does not corrupt the entire solution</p> | |
10690 <h3>Default Graph</h3> | |
10691 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional-filter/data-1.ttl">data-r2/optional-filter/data-1.ttl</a></p> | |
10692 <div class="query"> | |
10693 @prefix x: <http://example.org/ns#> . | |
10694 @prefix : <http://example.org/books#> . | |
10695 @prefix dc: <http://purl.org/dc/elements/1.1/> . | |
10696 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
10697 | |
10698 :book1 dc:title "TITLE 1" . | |
10699 :book1 x:price "10"^^xsd:integer . | |
10700 | |
10701 :book2 dc:title "TITLE 2" . | |
10702 :book2 x:price "20"^^xsd:integer . | |
10703 | |
10704 :book3 dc:title "TITLE 3" . | |
10705 | |
10706 </div> | |
10707 <h3>Named Graphs</h3> | |
10708 | |
10709 <h3>Query</h3> | |
10710 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional-filter/expr-4.rq">data-r2/optional-filter/expr-4.rq</a><br/> | |
10711 <div class="query"> | |
10712 PREFIX dc: <http://purl.org/dc/elements/1.1/> | |
10713 PREFIX x: <http://example.org/ns#> | |
10714 SELECT ?title ?price | |
10715 WHERE | |
10716 { ?book dc:title ?title . | |
10717 OPTIONAL | |
10718 { ?book x:price ?price . | |
10719 FILTER (?price < 15 && ?title = "TITLE 2") . | |
10720 } . | |
10721 } | |
10722 | |
10723 </div> | |
10724 <h3>Results</h3> | |
10725 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional-filter/expr-4-result.ttl">data-r2/optional-filter/expr-4-result.ttl</a></p> | |
10726 <hr/> | |
10727 <h2><a name="dawg-optional-filter-005-not-simplified">dawg-optional-filter-005-not-simplified</a></h2> | |
10728 Query evaluation test | |
10729 | |
10730 <p>Double curly braces do NOT get simplified to single curly braces early on, before filters are scoped</p> | |
10731 <h3>Default Graph</h3> | |
10732 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional-filter/data-1.ttl">data-r2/optional-filter/data-1.ttl</a></p> | |
10733 <div class="query"> | |
10734 @prefix x: <http://example.org/ns#> . | |
10735 @prefix : <http://example.org/books#> . | |
10736 @prefix dc: <http://purl.org/dc/elements/1.1/> . | |
10737 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
10738 | |
10739 :book1 dc:title "TITLE 1" . | |
10740 :book1 x:price "10"^^xsd:integer . | |
10741 | |
10742 :book2 dc:title "TITLE 2" . | |
10743 :book2 x:price "20"^^xsd:integer . | |
10744 | |
10745 :book3 dc:title "TITLE 3" . | |
10746 | |
10747 </div> | |
10748 <h3>Named Graphs</h3> | |
10749 | |
10750 <h3>Query</h3> | |
10751 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional-filter/expr-5.rq">data-r2/optional-filter/expr-5.rq</a><br/> | |
10752 <div class="query"> | |
10753 PREFIX dc: <http://purl.org/dc/elements/1.1/> | |
10754 PREFIX x: <http://example.org/ns#> | |
10755 SELECT ?title ?price | |
10756 WHERE | |
10757 { ?book dc:title ?title . | |
10758 OPTIONAL | |
10759 { | |
10760 { | |
10761 ?book x:price ?price . | |
10762 FILTER (?title = "TITLE 2") . | |
10763 } | |
10764 } . | |
10765 } | |
10766 | |
10767 </div> | |
10768 <h3>Results</h3> | |
10769 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional-filter/expr-5-result-not-simplified.ttl">data-r2/optional-filter/expr-5-result-not-simplified.ttl</a></p> | |
10770 <hr/> | |
10771 <h2><a name="dawg-optional-filter-005-simplified">dawg-optional-filter-005-simplified</a></h2> | |
10772 Query evaluation test | |
10773 | |
10774 <p>Double curly braces get simplified to single curly braces early on, before filters are scoped</p> | |
10775 <h3>Default Graph</h3> | |
10776 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional-filter/data-1.ttl">data-r2/optional-filter/data-1.ttl</a></p> | |
10777 <div class="query"> | |
10778 @prefix x: <http://example.org/ns#> . | |
10779 @prefix : <http://example.org/books#> . | |
10780 @prefix dc: <http://purl.org/dc/elements/1.1/> . | |
10781 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
10782 | |
10783 :book1 dc:title "TITLE 1" . | |
10784 :book1 x:price "10"^^xsd:integer . | |
10785 | |
10786 :book2 dc:title "TITLE 2" . | |
10787 :book2 x:price "20"^^xsd:integer . | |
10788 | |
10789 :book3 dc:title "TITLE 3" . | |
10790 | |
10791 </div> | |
10792 <h3>Named Graphs</h3> | |
10793 | |
10794 <h3>Query</h3> | |
10795 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional-filter/expr-5.rq">data-r2/optional-filter/expr-5.rq</a><br/> | |
10796 <div class="query"> | |
10797 PREFIX dc: <http://purl.org/dc/elements/1.1/> | |
10798 PREFIX x: <http://example.org/ns#> | |
10799 SELECT ?title ?price | |
10800 WHERE | |
10801 { ?book dc:title ?title . | |
10802 OPTIONAL | |
10803 { | |
10804 { | |
10805 ?book x:price ?price . | |
10806 FILTER (?title = "TITLE 2") . | |
10807 } | |
10808 } . | |
10809 } | |
10810 | |
10811 </div> | |
10812 <h3>Results</h3> | |
10813 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional-filter/expr-5-result-simplified.ttl">data-r2/optional-filter/expr-5-result-simplified.ttl</a></p> | |
10814 <hr/> | |
10815 <h2><a name="dawg-optional-001">One optional clause</a></h2> | |
10816 Query evaluation test | |
10817 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006</a></div> | |
10818 <p>One optional clause</p> | |
10819 <h3>Default Graph</h3> | |
10820 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/data.ttl">data-r2/optional/data.ttl</a></p> | |
10821 <div class="query"> | |
10822 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
10823 | |
10824 _:a foaf:mbox <mailto:alice@example.net> . | |
10825 _:a foaf:name "Alice" . | |
10826 _:a foaf:nick "WhoMe?" . | |
10827 | |
10828 _:b foaf:mbox <mailto:bert@example.net> . | |
10829 _:b foaf:name "Bert" . | |
10830 | |
10831 _:e foaf:mbox <mailto:eve@example.net> . | |
10832 _:e foaf:nick "DuckSoup" . | |
10833 | |
10834 </div> | |
10835 <h3>Named Graphs</h3> | |
10836 | |
10837 <h3>Query</h3> | |
10838 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/q-opt-1.rq">data-r2/optional/q-opt-1.rq</a><br/> | |
10839 <div class="query"> | |
10840 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
10841 | |
10842 SELECT ?mbox ?name | |
10843 { | |
10844 ?x foaf:mbox ?mbox . | |
10845 OPTIONAL { ?x foaf:name ?name } . | |
10846 } | |
10847 | |
10848 </div> | |
10849 <h3>Results</h3> | |
10850 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/result-opt-1.ttl">data-r2/optional/result-opt-1.ttl</a></p> | |
10851 <hr/> | |
10852 <h2><a name="dawg-optional-002">Two optional clauses</a></h2> | |
10853 Query evaluation test | |
10854 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006</a></div> | |
10855 <p>One optional clause</p> | |
10856 <h3>Default Graph</h3> | |
10857 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/data.ttl">data-r2/optional/data.ttl</a></p> | |
10858 <div class="query"> | |
10859 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
10860 | |
10861 _:a foaf:mbox <mailto:alice@example.net> . | |
10862 _:a foaf:name "Alice" . | |
10863 _:a foaf:nick "WhoMe?" . | |
10864 | |
10865 _:b foaf:mbox <mailto:bert@example.net> . | |
10866 _:b foaf:name "Bert" . | |
10867 | |
10868 _:e foaf:mbox <mailto:eve@example.net> . | |
10869 _:e foaf:nick "DuckSoup" . | |
10870 | |
10871 </div> | |
10872 <h3>Named Graphs</h3> | |
10873 | |
10874 <h3>Query</h3> | |
10875 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/q-opt-2.rq">data-r2/optional/q-opt-2.rq</a><br/> | |
10876 <div class="query"> | |
10877 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
10878 | |
10879 SELECT ?mbox ?name ?nick | |
10880 { | |
10881 ?x foaf:mbox ?mbox . | |
10882 OPTIONAL { ?x foaf:name ?name } . | |
10883 OPTIONAL { ?x foaf:nick ?nick } . | |
10884 } | |
10885 | |
10886 </div> | |
10887 <h3>Results</h3> | |
10888 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/result-opt-2.ttl">data-r2/optional/result-opt-2.ttl</a></p> | |
10889 <hr/> | |
10890 <h2><a name="dawg-optional-complex-1">Complex optional semantics: 1</a></h2> | |
10891 Query evaluation test | |
10892 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html</a></div> | |
10893 <p>Complex optional: LeftJoin(LeftJoin(BGP(..),{..}),Join(BGP(..),Union(..,..)))</p> | |
10894 <h3>Default Graph</h3> | |
10895 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/complex-data-1.ttl">data-r2/optional/complex-data-1.ttl</a></p> | |
10896 <div class="query"> | |
10897 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
10898 | |
10899 <tag:alice@example:foafUri> | |
10900 foaf:mbox <mailto:alice@example.net>; | |
10901 foaf:name "Alice"; | |
10902 foaf:nick "WhoMe?"; | |
10903 foaf:depiction <http://example.com/alice.png> . | |
10904 | |
10905 <tag:bert@example:foafUri> | |
10906 foaf:mbox <mailto:bert@example.net> ; | |
10907 foaf:nick "BigB" ; | |
10908 foaf:name "Bert" . | |
10909 | |
10910 <tag:eve@example:foafUri> | |
10911 foaf:mbox <mailto:eve@example.net> ; | |
10912 foaf:firstName "Eve" . | |
10913 | |
10914 <tag:john@example:foafUri> | |
10915 foaf:mbox <mailto:john@example.net> ; | |
10916 foaf:nick "jDoe"; | |
10917 foaf:isPrimaryTopicOf <http://example.com/people/johnDoe> . | |
10918 | |
10919 </div> | |
10920 <h3>Named Graphs</h3> | |
10921 | |
10922 <h3>Query</h3> | |
10923 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/q-opt-complex-1.rq">data-r2/optional/q-opt-complex-1.rq</a><br/> | |
10924 <div class="query"> | |
10925 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
10926 SELECT ?person ?nick ?page ?img ?name ?firstN | |
10927 { | |
10928 ?person foaf:nick ?nick | |
10929 OPTIONAL { ?person foaf:isPrimaryTopicOf ?page } | |
10930 OPTIONAL { | |
10931 ?person foaf:name ?name | |
10932 { ?person foaf:depiction ?img } UNION | |
10933 { ?person foaf:firstName ?firstN } | |
10934 } FILTER ( bound(?page) || bound(?img) || bound(?firstN) ) | |
10935 } | |
10936 </div> | |
10937 <h3>Results</h3> | |
10938 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/result-opt-complex-1.ttl">data-r2/optional/result-opt-complex-1.ttl</a></p> | |
10939 <hr/> | |
10940 <h2><a name="dawg-optional-complex-2">Complex optional semantics: 2</a></h2> | |
10941 Query evaluation test | |
10942 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html</a></div> | |
10943 <p>Complex optional: LeftJoin(Join(BGP(..),Graph(var,{..})),Union(..,..))</p> | |
10944 <h3>Default Graph</h3> | |
10945 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/complex-data-2.ttl">data-r2/optional/complex-data-2.ttl</a></p> | |
10946 <div class="query"> | |
10947 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
10948 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
10949 @prefix ex: <http://example.org/things#> . | |
10950 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
10951 | |
10952 _:a rdf:type foaf:Person ; | |
10953 foaf:name "Eve" ; | |
10954 ex:empId "9"^^xsd:integer . | |
10955 | |
10956 _:b rdf:type foaf:Person ; | |
10957 foaf:name "Alice" ; | |
10958 ex:empId "29"^^xsd:integer ; | |
10959 ex:healthplan ex:HealthPlanD. | |
10960 | |
10961 _:c rdf:type foaf:Person ; | |
10962 foaf:name "Fred" ; | |
10963 ex:empId "27"^^xsd:integer . | |
10964 | |
10965 _:e foaf:name "Bob" ; | |
10966 ex:empId "23"^^xsd:integer ; | |
10967 ex:healthplan ex:HealthPlanC. | |
10968 | |
10969 _:f foaf:name "Bob" ; | |
10970 ex:empId "30"^^xsd:integer; | |
10971 ex:healthplan ex:HealthPlanB. | |
10972 | |
10973 _:g rdf:type foaf:Person; | |
10974 ex:ssn "000000000"; | |
10975 foaf:name "Bert"; | |
10976 ex:department "DeptA" ; | |
10977 ex:healthplan ex:HealthPlanA. | |
10978 | |
10979 | |
10980 </div><p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/complex-data-1.ttl">http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/complex-data-1.ttl</a></p> | |
10981 <div class="query"> | |
10982 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
10983 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
10984 @prefix ex: <http://example.org/things#> . | |
10985 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
10986 | |
10987 _:a rdf:type foaf:Person ; | |
10988 foaf:name "Eve" ; | |
10989 ex:empId "9"^^xsd:integer . | |
10990 | |
10991 _:b rdf:type foaf:Person ; | |
10992 foaf:name "Alice" ; | |
10993 ex:empId "29"^^xsd:integer ; | |
10994 ex:healthplan ex:HealthPlanD. | |
10995 | |
10996 _:c rdf:type foaf:Person ; | |
10997 foaf:name "Fred" ; | |
10998 ex:empId "27"^^xsd:integer . | |
10999 | |
11000 _:e foaf:name "Bob" ; | |
11001 ex:empId "23"^^xsd:integer ; | |
11002 ex:healthplan ex:HealthPlanC. | |
11003 | |
11004 _:f foaf:name "Bob" ; | |
11005 ex:empId "30"^^xsd:integer; | |
11006 ex:healthplan ex:HealthPlanB. | |
11007 | |
11008 _:g rdf:type foaf:Person; | |
11009 ex:ssn "000000000"; | |
11010 foaf:name "Bert"; | |
11011 ex:department "DeptA" ; | |
11012 ex:healthplan ex:HealthPlanA. | |
11013 | |
11014 | |
11015 </div> | |
11016 <h3>Named Graphs</h3> | |
11017 | |
11018 <h3>Query</h3> | |
11019 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/q-opt-complex-2.rq">data-r2/optional/q-opt-complex-2.rq</a><br/> | |
11020 <div class="query"> | |
11021 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
11022 PREFIX ex: <http://example.org/things#> | |
11023 SELECT ?id ?ssn | |
11024 WHERE | |
11025 { | |
11026 ?person | |
11027 a foaf:Person; | |
11028 foaf:name ?name . | |
11029 GRAPH ?x { | |
11030 [] foaf:name ?name; | |
11031 foaf:nick ?nick | |
11032 } | |
11033 OPTIONAL { | |
11034 { ?person ex:empId ?id } UNION { ?person ex:ssn ?ssn } | |
11035 } | |
11036 } | |
11037 </div> | |
11038 <h3>Results</h3> | |
11039 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/result-opt-complex-2.ttl">data-r2/optional/result-opt-complex-2.ttl</a></p> | |
11040 <hr/> | |
11041 <h2><a name="dawg-optional-complex-3">Complex optional semantics: 3</a></h2> | |
11042 Query evaluation test | |
11043 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html</a></div> | |
11044 <p>Complex optional: LeftJoin(Join(BGP(..),Graph(var,{..})),LeftJoin(BGP(..),{..}))</p> | |
11045 <h3>Default Graph</h3> | |
11046 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/complex-data-2.ttl">data-r2/optional/complex-data-2.ttl</a></p> | |
11047 <div class="query"> | |
11048 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
11049 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
11050 @prefix ex: <http://example.org/things#> . | |
11051 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
11052 | |
11053 _:a rdf:type foaf:Person ; | |
11054 foaf:name "Eve" ; | |
11055 ex:empId "9"^^xsd:integer . | |
11056 | |
11057 _:b rdf:type foaf:Person ; | |
11058 foaf:name "Alice" ; | |
11059 ex:empId "29"^^xsd:integer ; | |
11060 ex:healthplan ex:HealthPlanD. | |
11061 | |
11062 _:c rdf:type foaf:Person ; | |
11063 foaf:name "Fred" ; | |
11064 ex:empId "27"^^xsd:integer . | |
11065 | |
11066 _:e foaf:name "Bob" ; | |
11067 ex:empId "23"^^xsd:integer ; | |
11068 ex:healthplan ex:HealthPlanC. | |
11069 | |
11070 _:f foaf:name "Bob" ; | |
11071 ex:empId "30"^^xsd:integer; | |
11072 ex:healthplan ex:HealthPlanB. | |
11073 | |
11074 _:g rdf:type foaf:Person; | |
11075 ex:ssn "000000000"; | |
11076 foaf:name "Bert"; | |
11077 ex:department "DeptA" ; | |
11078 ex:healthplan ex:HealthPlanA. | |
11079 | |
11080 | |
11081 </div><p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/complex-data-1.ttl">http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/complex-data-1.ttl</a></p> | |
11082 <div class="query"> | |
11083 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
11084 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
11085 @prefix ex: <http://example.org/things#> . | |
11086 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
11087 | |
11088 _:a rdf:type foaf:Person ; | |
11089 foaf:name "Eve" ; | |
11090 ex:empId "9"^^xsd:integer . | |
11091 | |
11092 _:b rdf:type foaf:Person ; | |
11093 foaf:name "Alice" ; | |
11094 ex:empId "29"^^xsd:integer ; | |
11095 ex:healthplan ex:HealthPlanD. | |
11096 | |
11097 _:c rdf:type foaf:Person ; | |
11098 foaf:name "Fred" ; | |
11099 ex:empId "27"^^xsd:integer . | |
11100 | |
11101 _:e foaf:name "Bob" ; | |
11102 ex:empId "23"^^xsd:integer ; | |
11103 ex:healthplan ex:HealthPlanC. | |
11104 | |
11105 _:f foaf:name "Bob" ; | |
11106 ex:empId "30"^^xsd:integer; | |
11107 ex:healthplan ex:HealthPlanB. | |
11108 | |
11109 _:g rdf:type foaf:Person; | |
11110 ex:ssn "000000000"; | |
11111 foaf:name "Bert"; | |
11112 ex:department "DeptA" ; | |
11113 ex:healthplan ex:HealthPlanA. | |
11114 | |
11115 | |
11116 </div> | |
11117 <h3>Named Graphs</h3> | |
11118 | |
11119 <h3>Query</h3> | |
11120 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/q-opt-complex-3.rq">data-r2/optional/q-opt-complex-3.rq</a><br/> | |
11121 <div class="query"> | |
11122 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
11123 PREFIX ex: <http://example.org/things#> | |
11124 SELECT ?name ?nick ?plan ?dept | |
11125 WHERE | |
11126 { | |
11127 ?person | |
11128 a foaf:Person; | |
11129 foaf:name ?name . | |
11130 GRAPH ?x { | |
11131 [] foaf:name ?name; | |
11132 foaf:nick ?nick | |
11133 } | |
11134 OPTIONAL { | |
11135 ?person ex:healthplan ?plan | |
11136 OPTIONAL { ?person ex:department ?dept } | |
11137 } | |
11138 } | |
11139 </div> | |
11140 <h3>Results</h3> | |
11141 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/result-opt-complex-3.ttl">data-r2/optional/result-opt-complex-3.ttl</a></p> | |
11142 <hr/> | |
11143 <h2><a name="dawg-optional-complex-4">Complex optional semantics: 4</a></h2> | |
11144 Query evaluation test | |
11145 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html</a></div> | |
11146 <p>Complex optional: LeftJoin(Join(BGP(..),Union(..,..)),Join(BGP(..),Graph(varOrIRI,{..})))</p> | |
11147 <h3>Default Graph</h3> | |
11148 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/complex-data-2.ttl">data-r2/optional/complex-data-2.ttl</a></p> | |
11149 <div class="query"> | |
11150 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
11151 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
11152 @prefix ex: <http://example.org/things#> . | |
11153 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
11154 | |
11155 _:a rdf:type foaf:Person ; | |
11156 foaf:name "Eve" ; | |
11157 ex:empId "9"^^xsd:integer . | |
11158 | |
11159 _:b rdf:type foaf:Person ; | |
11160 foaf:name "Alice" ; | |
11161 ex:empId "29"^^xsd:integer ; | |
11162 ex:healthplan ex:HealthPlanD. | |
11163 | |
11164 _:c rdf:type foaf:Person ; | |
11165 foaf:name "Fred" ; | |
11166 ex:empId "27"^^xsd:integer . | |
11167 | |
11168 _:e foaf:name "Bob" ; | |
11169 ex:empId "23"^^xsd:integer ; | |
11170 ex:healthplan ex:HealthPlanC. | |
11171 | |
11172 _:f foaf:name "Bob" ; | |
11173 ex:empId "30"^^xsd:integer; | |
11174 ex:healthplan ex:HealthPlanB. | |
11175 | |
11176 _:g rdf:type foaf:Person; | |
11177 ex:ssn "000000000"; | |
11178 foaf:name "Bert"; | |
11179 ex:department "DeptA" ; | |
11180 ex:healthplan ex:HealthPlanA. | |
11181 | |
11182 | |
11183 </div><p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/complex-data-1.ttl">http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/complex-data-1.ttl</a></p> | |
11184 <div class="query"> | |
11185 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
11186 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
11187 @prefix ex: <http://example.org/things#> . | |
11188 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
11189 | |
11190 _:a rdf:type foaf:Person ; | |
11191 foaf:name "Eve" ; | |
11192 ex:empId "9"^^xsd:integer . | |
11193 | |
11194 _:b rdf:type foaf:Person ; | |
11195 foaf:name "Alice" ; | |
11196 ex:empId "29"^^xsd:integer ; | |
11197 ex:healthplan ex:HealthPlanD. | |
11198 | |
11199 _:c rdf:type foaf:Person ; | |
11200 foaf:name "Fred" ; | |
11201 ex:empId "27"^^xsd:integer . | |
11202 | |
11203 _:e foaf:name "Bob" ; | |
11204 ex:empId "23"^^xsd:integer ; | |
11205 ex:healthplan ex:HealthPlanC. | |
11206 | |
11207 _:f foaf:name "Bob" ; | |
11208 ex:empId "30"^^xsd:integer; | |
11209 ex:healthplan ex:HealthPlanB. | |
11210 | |
11211 _:g rdf:type foaf:Person; | |
11212 ex:ssn "000000000"; | |
11213 foaf:name "Bert"; | |
11214 ex:department "DeptA" ; | |
11215 ex:healthplan ex:HealthPlanA. | |
11216 | |
11217 | |
11218 </div> | |
11219 <h3>Named Graphs</h3> | |
11220 | |
11221 <h3>Query</h3> | |
11222 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/q-opt-complex-4.rq">data-r2/optional/q-opt-complex-4.rq</a><br/> | |
11223 <div class="query"> | |
11224 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
11225 PREFIX ex: <http://example.org/things#> | |
11226 SELECT ?name ?plan ?dept ?img | |
11227 WHERE | |
11228 { | |
11229 ?person foaf:name ?name | |
11230 { ?person ex:healthplan ?plan } UNION { ?person ex:department ?dept } | |
11231 OPTIONAL { | |
11232 ?person a foaf:Person | |
11233 GRAPH ?g { | |
11234 [] foaf:name ?name; | |
11235 foaf:depiction ?img | |
11236 } | |
11237 } | |
11238 } | |
11239 </div> | |
11240 <h3>Results</h3> | |
11241 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/result-opt-complex-4.ttl">data-r2/optional/result-opt-complex-4.ttl</a></p> | |
11242 <hr/> | |
11243 <h2><a name="dawg-union-001">Union is not optional</a></h2> | |
11244 Query evaluation test | |
11245 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0006</a></div> | |
11246 <p>Union is not optional</p> | |
11247 <h3>Default Graph</h3> | |
11248 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/data.ttl">data-r2/optional/data.ttl</a></p> | |
11249 <div class="query"> | |
11250 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
11251 | |
11252 _:a foaf:mbox <mailto:alice@example.net> . | |
11253 _:a foaf:name "Alice" . | |
11254 _:a foaf:nick "WhoMe?" . | |
11255 | |
11256 _:b foaf:mbox <mailto:bert@example.net> . | |
11257 _:b foaf:name "Bert" . | |
11258 | |
11259 _:e foaf:mbox <mailto:eve@example.net> . | |
11260 _:e foaf:nick "DuckSoup" . | |
11261 | |
11262 </div> | |
11263 <h3>Named Graphs</h3> | |
11264 | |
11265 <h3>Query</h3> | |
11266 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/q-opt-3.rq">data-r2/optional/q-opt-3.rq</a><br/> | |
11267 <div class="query"> | |
11268 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
11269 | |
11270 SELECT ?mbox ?name | |
11271 { | |
11272 { ?x foaf:mbox ?mbox } | |
11273 UNION | |
11274 { ?x foaf:mbox ?mbox . ?x foaf:name ?name } | |
11275 } | |
11276 | |
11277 </div> | |
11278 <h3>Results</h3> | |
11279 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/result-opt-3.ttl">data-r2/optional/result-opt-3.ttl</a></p> | |
11280 <hr/> | |
11281 <h2><a name="dawg-regex-001">regex-query-001</a></h2> | |
11282 Query evaluation test | |
11283 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0029.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0029.html</a></div> | |
11284 <p>Simple unanchored match test</p> | |
11285 <h3>Default Graph</h3> | |
11286 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/regex/regex-data-01.ttl">data-r2/regex/regex-data-01.ttl</a></p> | |
11287 <div class="query"> | |
11288 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
11289 @prefix ex: <http://example.com/#> . | |
11290 | |
11291 ex:foo rdf:value "abcDEFghiJKL" , "ABCdefGHIjkl", "0123456789", | |
11292 <http://example.com/uri>, "http://example.com/literal" . | |
11293 | |
11294 </div> | |
11295 <h3>Named Graphs</h3> | |
11296 | |
11297 <h3>Query</h3> | |
11298 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/regex/regex-query-001.rq">data-r2/regex/regex-query-001.rq</a><br/> | |
11299 <div class="query"> | |
11300 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
11301 PREFIX ex: <http://example.com/#> | |
11302 | |
11303 SELECT ?val | |
11304 WHERE { | |
11305 ex:foo rdf:value ?val . | |
11306 FILTER regex(?val, "GHI") | |
11307 } | |
11308 | |
11309 </div> | |
11310 <h3>Results</h3> | |
11311 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/regex/regex-result-001.ttl">data-r2/regex/regex-result-001.ttl</a></p> | |
11312 <hr/> | |
11313 <h2><a name="dawg-regex-002">regex-query-002</a></h2> | |
11314 Query evaluation test | |
11315 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0029.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0029.html</a></div> | |
11316 <p>Case insensitive unanchored match test</p> | |
11317 <h3>Default Graph</h3> | |
11318 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/regex/regex-data-01.ttl">data-r2/regex/regex-data-01.ttl</a></p> | |
11319 <div class="query"> | |
11320 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
11321 @prefix ex: <http://example.com/#> . | |
11322 | |
11323 ex:foo rdf:value "abcDEFghiJKL" , "ABCdefGHIjkl", "0123456789", | |
11324 <http://example.com/uri>, "http://example.com/literal" . | |
11325 | |
11326 </div> | |
11327 <h3>Named Graphs</h3> | |
11328 | |
11329 <h3>Query</h3> | |
11330 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/regex/regex-query-002.rq">data-r2/regex/regex-query-002.rq</a><br/> | |
11331 <div class="query"> | |
11332 PREFIX ex: <http://example.com/#> | |
11333 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
11334 | |
11335 SELECT ?val | |
11336 WHERE { | |
11337 ex:foo rdf:value ?val . | |
11338 FILTER regex(?val, "DeFghI", "i") | |
11339 } | |
11340 | |
11341 </div> | |
11342 <h3>Results</h3> | |
11343 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/regex/regex-result-002.ttl">data-r2/regex/regex-result-002.ttl</a></p> | |
11344 <hr/> | |
11345 <h2><a name="dawg-regex-003">regex-query-003</a></h2> | |
11346 Query evaluation test | |
11347 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0029.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0029.html</a></div> | |
11348 <p>Use/mention test</p> | |
11349 <h3>Default Graph</h3> | |
11350 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/regex/regex-data-01.ttl">data-r2/regex/regex-data-01.ttl</a></p> | |
11351 <div class="query"> | |
11352 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
11353 @prefix ex: <http://example.com/#> . | |
11354 | |
11355 ex:foo rdf:value "abcDEFghiJKL" , "ABCdefGHIjkl", "0123456789", | |
11356 <http://example.com/uri>, "http://example.com/literal" . | |
11357 | |
11358 </div> | |
11359 <h3>Named Graphs</h3> | |
11360 | |
11361 <h3>Query</h3> | |
11362 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/regex/regex-query-003.rq">data-r2/regex/regex-query-003.rq</a><br/> | |
11363 <div class="query"> | |
11364 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
11365 PREFIX ex: <http://example.com/#> | |
11366 | |
11367 SELECT ?val | |
11368 WHERE { | |
11369 ex:foo rdf:value ?val . | |
11370 FILTER regex(?val, "example\\.com") | |
11371 } | |
11372 | |
11373 </div> | |
11374 <h3>Results</h3> | |
11375 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/regex/regex-result-003.ttl">data-r2/regex/regex-result-003.ttl</a></p> | |
11376 <hr/> | |
11377 <h2><a name="dawg-regex-004">regex-query-004</a></h2> | |
11378 Query evaluation test | |
11379 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0029.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/0029.html</a></div> | |
11380 <p>str()+URI test</p> | |
11381 <h3>Default Graph</h3> | |
11382 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/regex/regex-data-01.ttl">data-r2/regex/regex-data-01.ttl</a></p> | |
11383 <div class="query"> | |
11384 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
11385 @prefix ex: <http://example.com/#> . | |
11386 | |
11387 ex:foo rdf:value "abcDEFghiJKL" , "ABCdefGHIjkl", "0123456789", | |
11388 <http://example.com/uri>, "http://example.com/literal" . | |
11389 | |
11390 </div> | |
11391 <h3>Named Graphs</h3> | |
11392 | |
11393 <h3>Query</h3> | |
11394 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/regex/regex-query-004.rq">data-r2/regex/regex-query-004.rq</a><br/> | |
11395 <div class="query"> | |
11396 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
11397 PREFIX ex: <http://example.com/#> | |
11398 SELECT ?val | |
11399 WHERE { | |
11400 ex:foo rdf:value ?val . | |
11401 FILTER regex(str(?val), "example\\.com") | |
11402 } | |
11403 | |
11404 </div> | |
11405 <h3>Results</h3> | |
11406 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/regex/regex-result-004.ttl">data-r2/regex/regex-result-004.ttl</a></p> | |
11407 <hr/> | |
11408 <h2><a name="limit-1">Limit 1</a></h2> | |
11409 Query evaluation test | |
11410 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03</a></div> | |
11411 | |
11412 <h3>Default Graph</h3> | |
11413 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/data.ttl">data-r2/solution-seq/data.ttl</a></p> | |
11414 <div class="query"> | |
11415 @prefix : <http://example.org/ns#> . | |
11416 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
11417 | |
11418 :x :num "1"^^xsd:integer . | |
11419 :x :num "2"^^xsd:integer . | |
11420 :x :num "3"^^xsd:integer . | |
11421 :x :num "4"^^xsd:integer . | |
11422 :x :num "1.5"^^xsd:decimal . | |
11423 | |
11424 :y :num "1"^^xsd:integer . | |
11425 :y :num "2"^^xsd:integer . | |
11426 :y :num "3"^^xsd:integer . | |
11427 | |
11428 :x :str "aaa" . | |
11429 :x :str "002" . | |
11430 :x :str "1" . | |
11431 :x :str "AAA" . | |
11432 :x :str "" . | |
11433 | |
11434 </div> | |
11435 <h3>Named Graphs</h3> | |
11436 | |
11437 <h3>Query</h3> | |
11438 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-01.rq">data-r2/solution-seq/slice-01.rq</a><br/> | |
11439 <div class="query"> | |
11440 PREFIX : <http://example.org/ns#> | |
11441 | |
11442 SELECT ?v | |
11443 WHERE { [] :num ?v } | |
11444 ORDER BY ?v | |
11445 LIMIT 1 | |
11446 | |
11447 </div> | |
11448 <h3>Results</h3> | |
11449 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-results-01.ttl">data-r2/solution-seq/slice-results-01.ttl</a></p> | |
11450 <hr/> | |
11451 <h2><a name="limit-2">Limit 2</a></h2> | |
11452 Query evaluation test | |
11453 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03</a></div> | |
11454 | |
11455 <h3>Default Graph</h3> | |
11456 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/data.ttl">data-r2/solution-seq/data.ttl</a></p> | |
11457 <div class="query"> | |
11458 @prefix : <http://example.org/ns#> . | |
11459 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
11460 | |
11461 :x :num "1"^^xsd:integer . | |
11462 :x :num "2"^^xsd:integer . | |
11463 :x :num "3"^^xsd:integer . | |
11464 :x :num "4"^^xsd:integer . | |
11465 :x :num "1.5"^^xsd:decimal . | |
11466 | |
11467 :y :num "1"^^xsd:integer . | |
11468 :y :num "2"^^xsd:integer . | |
11469 :y :num "3"^^xsd:integer . | |
11470 | |
11471 :x :str "aaa" . | |
11472 :x :str "002" . | |
11473 :x :str "1" . | |
11474 :x :str "AAA" . | |
11475 :x :str "" . | |
11476 | |
11477 </div> | |
11478 <h3>Named Graphs</h3> | |
11479 | |
11480 <h3>Query</h3> | |
11481 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-02.rq">data-r2/solution-seq/slice-02.rq</a><br/> | |
11482 <div class="query"> | |
11483 PREFIX : <http://example.org/ns#> | |
11484 | |
11485 SELECT ?v | |
11486 WHERE { [] :num ?v } | |
11487 ORDER BY ?v | |
11488 LIMIT 100 | |
11489 | |
11490 | |
11491 </div> | |
11492 <h3>Results</h3> | |
11493 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-results-02.ttl">data-r2/solution-seq/slice-results-02.ttl</a></p> | |
11494 <hr/> | |
11495 <h2><a name="limit-3">Limit 3</a></h2> | |
11496 Query evaluation test | |
11497 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03</a></div> | |
11498 | |
11499 <h3>Default Graph</h3> | |
11500 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/data.ttl">data-r2/solution-seq/data.ttl</a></p> | |
11501 <div class="query"> | |
11502 @prefix : <http://example.org/ns#> . | |
11503 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
11504 | |
11505 :x :num "1"^^xsd:integer . | |
11506 :x :num "2"^^xsd:integer . | |
11507 :x :num "3"^^xsd:integer . | |
11508 :x :num "4"^^xsd:integer . | |
11509 :x :num "1.5"^^xsd:decimal . | |
11510 | |
11511 :y :num "1"^^xsd:integer . | |
11512 :y :num "2"^^xsd:integer . | |
11513 :y :num "3"^^xsd:integer . | |
11514 | |
11515 :x :str "aaa" . | |
11516 :x :str "002" . | |
11517 :x :str "1" . | |
11518 :x :str "AAA" . | |
11519 :x :str "" . | |
11520 | |
11521 </div> | |
11522 <h3>Named Graphs</h3> | |
11523 | |
11524 <h3>Query</h3> | |
11525 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-03.rq">data-r2/solution-seq/slice-03.rq</a><br/> | |
11526 <div class="query"> | |
11527 PREFIX : <http://example.org/ns#> | |
11528 | |
11529 SELECT ?v | |
11530 WHERE { [] :num ?v } | |
11531 ORDER BY ?v | |
11532 LIMIT 0 | |
11533 | |
11534 </div> | |
11535 <h3>Results</h3> | |
11536 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-results-03.ttl">data-r2/solution-seq/slice-results-03.ttl</a></p> | |
11537 <hr/> | |
11538 <h2><a name="limit-4">Limit 4</a></h2> | |
11539 Query evaluation test | |
11540 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03</a></div> | |
11541 | |
11542 <h3>Default Graph</h3> | |
11543 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/data.ttl">data-r2/solution-seq/data.ttl</a></p> | |
11544 <div class="query"> | |
11545 @prefix : <http://example.org/ns#> . | |
11546 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
11547 | |
11548 :x :num "1"^^xsd:integer . | |
11549 :x :num "2"^^xsd:integer . | |
11550 :x :num "3"^^xsd:integer . | |
11551 :x :num "4"^^xsd:integer . | |
11552 :x :num "1.5"^^xsd:decimal . | |
11553 | |
11554 :y :num "1"^^xsd:integer . | |
11555 :y :num "2"^^xsd:integer . | |
11556 :y :num "3"^^xsd:integer . | |
11557 | |
11558 :x :str "aaa" . | |
11559 :x :str "002" . | |
11560 :x :str "1" . | |
11561 :x :str "AAA" . | |
11562 :x :str "" . | |
11563 | |
11564 </div> | |
11565 <h3>Named Graphs</h3> | |
11566 | |
11567 <h3>Query</h3> | |
11568 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-04.rq">data-r2/solution-seq/slice-04.rq</a><br/> | |
11569 <div class="query"> | |
11570 PREFIX : <http://example.org/ns#> | |
11571 | |
11572 SELECT DISTINCT ?v | |
11573 WHERE { [] :num ?v } | |
11574 ORDER BY ?v | |
11575 LIMIT 100 | |
11576 | |
11577 </div> | |
11578 <h3>Results</h3> | |
11579 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-results-04.ttl">data-r2/solution-seq/slice-results-04.ttl</a></p> | |
11580 <hr/> | |
11581 <h2><a name="offset-1">Offset 1</a></h2> | |
11582 Query evaluation test | |
11583 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03</a></div> | |
11584 | |
11585 <h3>Default Graph</h3> | |
11586 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/data.ttl">data-r2/solution-seq/data.ttl</a></p> | |
11587 <div class="query"> | |
11588 @prefix : <http://example.org/ns#> . | |
11589 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
11590 | |
11591 :x :num "1"^^xsd:integer . | |
11592 :x :num "2"^^xsd:integer . | |
11593 :x :num "3"^^xsd:integer . | |
11594 :x :num "4"^^xsd:integer . | |
11595 :x :num "1.5"^^xsd:decimal . | |
11596 | |
11597 :y :num "1"^^xsd:integer . | |
11598 :y :num "2"^^xsd:integer . | |
11599 :y :num "3"^^xsd:integer . | |
11600 | |
11601 :x :str "aaa" . | |
11602 :x :str "002" . | |
11603 :x :str "1" . | |
11604 :x :str "AAA" . | |
11605 :x :str "" . | |
11606 | |
11607 </div> | |
11608 <h3>Named Graphs</h3> | |
11609 | |
11610 <h3>Query</h3> | |
11611 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-10.rq">data-r2/solution-seq/slice-10.rq</a><br/> | |
11612 <div class="query"> | |
11613 PREFIX : <http://example.org/ns#> | |
11614 | |
11615 SELECT ?v | |
11616 WHERE { [] :num ?v } | |
11617 ORDER BY ?v | |
11618 OFFSET 1 | |
11619 | |
11620 </div> | |
11621 <h3>Results</h3> | |
11622 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-results-10.ttl">data-r2/solution-seq/slice-results-10.ttl</a></p> | |
11623 <hr/> | |
11624 <h2><a name="offset-2">Offset 2</a></h2> | |
11625 Query evaluation test | |
11626 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03</a></div> | |
11627 | |
11628 <h3>Default Graph</h3> | |
11629 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/data.ttl">data-r2/solution-seq/data.ttl</a></p> | |
11630 <div class="query"> | |
11631 @prefix : <http://example.org/ns#> . | |
11632 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
11633 | |
11634 :x :num "1"^^xsd:integer . | |
11635 :x :num "2"^^xsd:integer . | |
11636 :x :num "3"^^xsd:integer . | |
11637 :x :num "4"^^xsd:integer . | |
11638 :x :num "1.5"^^xsd:decimal . | |
11639 | |
11640 :y :num "1"^^xsd:integer . | |
11641 :y :num "2"^^xsd:integer . | |
11642 :y :num "3"^^xsd:integer . | |
11643 | |
11644 :x :str "aaa" . | |
11645 :x :str "002" . | |
11646 :x :str "1" . | |
11647 :x :str "AAA" . | |
11648 :x :str "" . | |
11649 | |
11650 </div> | |
11651 <h3>Named Graphs</h3> | |
11652 | |
11653 <h3>Query</h3> | |
11654 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-11.rq">data-r2/solution-seq/slice-11.rq</a><br/> | |
11655 <div class="query"> | |
11656 PREFIX : <http://example.org/ns#> | |
11657 | |
11658 SELECT ?v | |
11659 WHERE { [] :num ?v } | |
11660 ORDER BY ?v | |
11661 OFFSET 0 | |
11662 | |
11663 </div> | |
11664 <h3>Results</h3> | |
11665 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-results-11.ttl">data-r2/solution-seq/slice-results-11.ttl</a></p> | |
11666 <hr/> | |
11667 <h2><a name="offset-3">Offset 3</a></h2> | |
11668 Query evaluation test | |
11669 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03</a></div> | |
11670 | |
11671 <h3>Default Graph</h3> | |
11672 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/data.ttl">data-r2/solution-seq/data.ttl</a></p> | |
11673 <div class="query"> | |
11674 @prefix : <http://example.org/ns#> . | |
11675 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
11676 | |
11677 :x :num "1"^^xsd:integer . | |
11678 :x :num "2"^^xsd:integer . | |
11679 :x :num "3"^^xsd:integer . | |
11680 :x :num "4"^^xsd:integer . | |
11681 :x :num "1.5"^^xsd:decimal . | |
11682 | |
11683 :y :num "1"^^xsd:integer . | |
11684 :y :num "2"^^xsd:integer . | |
11685 :y :num "3"^^xsd:integer . | |
11686 | |
11687 :x :str "aaa" . | |
11688 :x :str "002" . | |
11689 :x :str "1" . | |
11690 :x :str "AAA" . | |
11691 :x :str "" . | |
11692 | |
11693 </div> | |
11694 <h3>Named Graphs</h3> | |
11695 | |
11696 <h3>Query</h3> | |
11697 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-12.rq">data-r2/solution-seq/slice-12.rq</a><br/> | |
11698 <div class="query"> | |
11699 PREFIX : <http://example.org/ns#> | |
11700 | |
11701 SELECT ?v | |
11702 WHERE { [] :num ?v } | |
11703 ORDER BY ?v | |
11704 OFFSET 100 | |
11705 | |
11706 </div> | |
11707 <h3>Results</h3> | |
11708 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-results-12.ttl">data-r2/solution-seq/slice-results-12.ttl</a></p> | |
11709 <hr/> | |
11710 <h2><a name="offset-4">Offset 4</a></h2> | |
11711 Query evaluation test | |
11712 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03</a></div> | |
11713 | |
11714 <h3>Default Graph</h3> | |
11715 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/data.ttl">data-r2/solution-seq/data.ttl</a></p> | |
11716 <div class="query"> | |
11717 @prefix : <http://example.org/ns#> . | |
11718 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
11719 | |
11720 :x :num "1"^^xsd:integer . | |
11721 :x :num "2"^^xsd:integer . | |
11722 :x :num "3"^^xsd:integer . | |
11723 :x :num "4"^^xsd:integer . | |
11724 :x :num "1.5"^^xsd:decimal . | |
11725 | |
11726 :y :num "1"^^xsd:integer . | |
11727 :y :num "2"^^xsd:integer . | |
11728 :y :num "3"^^xsd:integer . | |
11729 | |
11730 :x :str "aaa" . | |
11731 :x :str "002" . | |
11732 :x :str "1" . | |
11733 :x :str "AAA" . | |
11734 :x :str "" . | |
11735 | |
11736 </div> | |
11737 <h3>Named Graphs</h3> | |
11738 | |
11739 <h3>Query</h3> | |
11740 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-13.rq">data-r2/solution-seq/slice-13.rq</a><br/> | |
11741 <div class="query"> | |
11742 PREFIX : <http://example.org/ns#> | |
11743 | |
11744 SELECT DISTINCT ?v | |
11745 WHERE { [] :num ?v } | |
11746 ORDER BY ?v | |
11747 OFFSET 2 | |
11748 | |
11749 </div> | |
11750 <h3>Results</h3> | |
11751 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-results-13.ttl">data-r2/solution-seq/slice-results-13.ttl</a></p> | |
11752 <hr/> | |
11753 <h2><a name="slice-1">Slice 1</a></h2> | |
11754 Query evaluation test | |
11755 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03</a></div> | |
11756 | |
11757 <h3>Default Graph</h3> | |
11758 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/data.ttl">data-r2/solution-seq/data.ttl</a></p> | |
11759 <div class="query"> | |
11760 @prefix : <http://example.org/ns#> . | |
11761 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
11762 | |
11763 :x :num "1"^^xsd:integer . | |
11764 :x :num "2"^^xsd:integer . | |
11765 :x :num "3"^^xsd:integer . | |
11766 :x :num "4"^^xsd:integer . | |
11767 :x :num "1.5"^^xsd:decimal . | |
11768 | |
11769 :y :num "1"^^xsd:integer . | |
11770 :y :num "2"^^xsd:integer . | |
11771 :y :num "3"^^xsd:integer . | |
11772 | |
11773 :x :str "aaa" . | |
11774 :x :str "002" . | |
11775 :x :str "1" . | |
11776 :x :str "AAA" . | |
11777 :x :str "" . | |
11778 | |
11779 </div> | |
11780 <h3>Named Graphs</h3> | |
11781 | |
11782 <h3>Query</h3> | |
11783 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-20.rq">data-r2/solution-seq/slice-20.rq</a><br/> | |
11784 <div class="query"> | |
11785 PREFIX : <http://example.org/ns#> | |
11786 | |
11787 SELECT ?v | |
11788 WHERE { [] :num ?v } | |
11789 ORDER BY ?v | |
11790 LIMIT 1 | |
11791 OFFSET 1 | |
11792 | |
11793 | |
11794 </div> | |
11795 <h3>Results</h3> | |
11796 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-results-20.ttl">data-r2/solution-seq/slice-results-20.ttl</a></p> | |
11797 <hr/> | |
11798 <h2><a name="slice-2">Slice 2</a></h2> | |
11799 Query evaluation test | |
11800 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03</a></div> | |
11801 | |
11802 <h3>Default Graph</h3> | |
11803 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/data.ttl">data-r2/solution-seq/data.ttl</a></p> | |
11804 <div class="query"> | |
11805 @prefix : <http://example.org/ns#> . | |
11806 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
11807 | |
11808 :x :num "1"^^xsd:integer . | |
11809 :x :num "2"^^xsd:integer . | |
11810 :x :num "3"^^xsd:integer . | |
11811 :x :num "4"^^xsd:integer . | |
11812 :x :num "1.5"^^xsd:decimal . | |
11813 | |
11814 :y :num "1"^^xsd:integer . | |
11815 :y :num "2"^^xsd:integer . | |
11816 :y :num "3"^^xsd:integer . | |
11817 | |
11818 :x :str "aaa" . | |
11819 :x :str "002" . | |
11820 :x :str "1" . | |
11821 :x :str "AAA" . | |
11822 :x :str "" . | |
11823 | |
11824 </div> | |
11825 <h3>Named Graphs</h3> | |
11826 | |
11827 <h3>Query</h3> | |
11828 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-21.rq">data-r2/solution-seq/slice-21.rq</a><br/> | |
11829 <div class="query"> | |
11830 PREFIX : <http://example.org/ns#> | |
11831 | |
11832 SELECT ?v | |
11833 WHERE { [] :num ?v } | |
11834 ORDER BY ?v | |
11835 OFFSET 1 | |
11836 LIMIT 2 | |
11837 </div> | |
11838 <h3>Results</h3> | |
11839 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-results-21.ttl">data-r2/solution-seq/slice-results-21.ttl</a></p> | |
11840 <hr/> | |
11841 <h2><a name="slice-3">Slice 3</a></h2> | |
11842 Query evaluation test | |
11843 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03</a></div> | |
11844 | |
11845 <h3>Default Graph</h3> | |
11846 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/data.ttl">data-r2/solution-seq/data.ttl</a></p> | |
11847 <div class="query"> | |
11848 @prefix : <http://example.org/ns#> . | |
11849 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
11850 | |
11851 :x :num "1"^^xsd:integer . | |
11852 :x :num "2"^^xsd:integer . | |
11853 :x :num "3"^^xsd:integer . | |
11854 :x :num "4"^^xsd:integer . | |
11855 :x :num "1.5"^^xsd:decimal . | |
11856 | |
11857 :y :num "1"^^xsd:integer . | |
11858 :y :num "2"^^xsd:integer . | |
11859 :y :num "3"^^xsd:integer . | |
11860 | |
11861 :x :str "aaa" . | |
11862 :x :str "002" . | |
11863 :x :str "1" . | |
11864 :x :str "AAA" . | |
11865 :x :str "" . | |
11866 | |
11867 </div> | |
11868 <h3>Named Graphs</h3> | |
11869 | |
11870 <h3>Query</h3> | |
11871 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-22.rq">data-r2/solution-seq/slice-22.rq</a><br/> | |
11872 <div class="query"> | |
11873 PREFIX : <http://example.org/ns#> | |
11874 | |
11875 SELECT ?v | |
11876 WHERE { [] ?p ?v } | |
11877 ORDER BY ?v | |
11878 OFFSET 100 | |
11879 LIMIT 1 | |
11880 </div> | |
11881 <h3>Results</h3> | |
11882 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-results-22.ttl">data-r2/solution-seq/slice-results-22.ttl</a></p> | |
11883 <hr/> | |
11884 <h2><a name="slice-4">Slice 4</a></h2> | |
11885 Query evaluation test | |
11886 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03</a></div> | |
11887 | |
11888 <h3>Default Graph</h3> | |
11889 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/data.ttl">data-r2/solution-seq/data.ttl</a></p> | |
11890 <div class="query"> | |
11891 @prefix : <http://example.org/ns#> . | |
11892 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
11893 | |
11894 :x :num "1"^^xsd:integer . | |
11895 :x :num "2"^^xsd:integer . | |
11896 :x :num "3"^^xsd:integer . | |
11897 :x :num "4"^^xsd:integer . | |
11898 :x :num "1.5"^^xsd:decimal . | |
11899 | |
11900 :y :num "1"^^xsd:integer . | |
11901 :y :num "2"^^xsd:integer . | |
11902 :y :num "3"^^xsd:integer . | |
11903 | |
11904 :x :str "aaa" . | |
11905 :x :str "002" . | |
11906 :x :str "1" . | |
11907 :x :str "AAA" . | |
11908 :x :str "" . | |
11909 | |
11910 </div> | |
11911 <h3>Named Graphs</h3> | |
11912 | |
11913 <h3>Query</h3> | |
11914 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-23.rq">data-r2/solution-seq/slice-23.rq</a><br/> | |
11915 <div class="query"> | |
11916 PREFIX : <http://example.org/ns#> | |
11917 | |
11918 SELECT ?v | |
11919 WHERE { [] :num ?v } | |
11920 ORDER BY ?v | |
11921 OFFSET 2 | |
11922 LIMIT 5 | |
11923 </div> | |
11924 <h3>Results</h3> | |
11925 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-results-23.ttl">data-r2/solution-seq/slice-results-23.ttl</a></p> | |
11926 <hr/> | |
11927 <h2><a name="slice-5">Slice 5</a></h2> | |
11928 Query evaluation test | |
11929 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes#item03</a></div> | |
11930 | |
11931 <h3>Default Graph</h3> | |
11932 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/data.ttl">data-r2/solution-seq/data.ttl</a></p> | |
11933 <div class="query"> | |
11934 @prefix : <http://example.org/ns#> . | |
11935 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
11936 | |
11937 :x :num "1"^^xsd:integer . | |
11938 :x :num "2"^^xsd:integer . | |
11939 :x :num "3"^^xsd:integer . | |
11940 :x :num "4"^^xsd:integer . | |
11941 :x :num "1.5"^^xsd:decimal . | |
11942 | |
11943 :y :num "1"^^xsd:integer . | |
11944 :y :num "2"^^xsd:integer . | |
11945 :y :num "3"^^xsd:integer . | |
11946 | |
11947 :x :str "aaa" . | |
11948 :x :str "002" . | |
11949 :x :str "1" . | |
11950 :x :str "AAA" . | |
11951 :x :str "" . | |
11952 | |
11953 </div> | |
11954 <h3>Named Graphs</h3> | |
11955 | |
11956 <h3>Query</h3> | |
11957 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-24.rq">data-r2/solution-seq/slice-24.rq</a><br/> | |
11958 <div class="query"> | |
11959 PREFIX : <http://example.org/ns#> | |
11960 | |
11961 SELECT DISTINCT ?v | |
11962 WHERE { [] :num ?v } | |
11963 ORDER BY ?v | |
11964 OFFSET 2 | |
11965 LIMIT 5 | |
11966 | |
11967 </div> | |
11968 <h3>Results</h3> | |
11969 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/slice-results-24.ttl">data-r2/solution-seq/slice-results-24.ttl</a></p> | |
11970 <hr/> | |
11971 <h2><a name="dawg-sort-1">sort-1</a></h2> | |
11972 Query evaluation test | |
11973 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/26-dawg-minutes">http://www.w3.org/2007/06/26-dawg-minutes</a></div> | |
11974 <p>Alphabetic sort (ascending) on untyped literals</p> | |
11975 <h3>Default Graph</h3> | |
11976 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/data-sort-1.ttl">data-r2/sort/data-sort-1.ttl</a></p> | |
11977 <div class="query"> | |
11978 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
11979 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
11980 | |
11981 _:a foaf:name "Eve". | |
11982 _:b foaf:name "Alice" . | |
11983 _:c foaf:name "Fred" . | |
11984 _:e foaf:name "Bob" . | |
11985 | |
11986 </div> | |
11987 <h3>Named Graphs</h3> | |
11988 | |
11989 <h3>Query</h3> | |
11990 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/query-sort-1.rq">data-r2/sort/query-sort-1.rq</a><br/> | |
11991 <div class="query"> | |
11992 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
11993 SELECT ?name | |
11994 WHERE { ?x foaf:name ?name } | |
11995 ORDER BY ?name | |
11996 | |
11997 </div> | |
11998 <h3>Results</h3> | |
11999 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/result-sort-1.rdf">data-r2/sort/result-sort-1.rdf</a></p> | |
12000 <hr/> | |
12001 <h2><a name="dawg-sort-10">sort-10</a></h2> | |
12002 Query evaluation test | |
12003 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/26-dawg-minutes">http://www.w3.org/2007/06/26-dawg-minutes</a></div> | |
12004 <p>Alphabetic sort (descending) on datatyped (string) literals</p> | |
12005 <h3>Default Graph</h3> | |
12006 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/data-sort-9.ttl">data-r2/sort/data-sort-9.ttl</a></p> | |
12007 <div class="query"> | |
12008 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
12009 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
12010 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
12011 | |
12012 _:a foaf:name "Eve"^^xsd:string . | |
12013 _:b foaf:name "Alice"^^xsd:string . | |
12014 _:c foaf:name "Fred"^^xsd:string . | |
12015 _:e foaf:name "Bob"^^xsd:string . | |
12016 | |
12017 | |
12018 | |
12019 </div> | |
12020 <h3>Named Graphs</h3> | |
12021 | |
12022 <h3>Query</h3> | |
12023 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/query-sort-10.rq">data-r2/sort/query-sort-10.rq</a><br/> | |
12024 <div class="query"> | |
12025 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
12026 SELECT ?name | |
12027 WHERE { ?x foaf:name ?name } | |
12028 ORDER BY DESC(?name) | |
12029 | |
12030 </div> | |
12031 <h3>Results</h3> | |
12032 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/result-sort-10.rdf">data-r2/sort/result-sort-10.rdf</a></p> | |
12033 <hr/> | |
12034 <h2><a name="dawg-sort-2">sort-2</a></h2> | |
12035 Query evaluation test | |
12036 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/26-dawg-minutes">http://www.w3.org/2007/06/26-dawg-minutes</a></div> | |
12037 <p>Alphabetic sort (descending) on untyped literals</p> | |
12038 <h3>Default Graph</h3> | |
12039 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/data-sort-1.ttl">data-r2/sort/data-sort-1.ttl</a></p> | |
12040 <div class="query"> | |
12041 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
12042 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
12043 | |
12044 _:a foaf:name "Eve". | |
12045 _:b foaf:name "Alice" . | |
12046 _:c foaf:name "Fred" . | |
12047 _:e foaf:name "Bob" . | |
12048 | |
12049 </div> | |
12050 <h3>Named Graphs</h3> | |
12051 | |
12052 <h3>Query</h3> | |
12053 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/query-sort-2.rq">data-r2/sort/query-sort-2.rq</a><br/> | |
12054 <div class="query"> | |
12055 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
12056 SELECT ?name | |
12057 WHERE { ?x foaf:name ?name } | |
12058 ORDER BY DESC(?name) | |
12059 | |
12060 </div> | |
12061 <h3>Results</h3> | |
12062 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/result-sort-2.rdf">data-r2/sort/result-sort-2.rdf</a></p> | |
12063 <hr/> | |
12064 <h2><a name="dawg-sort-3">sort-3</a></h2> | |
12065 Query evaluation test | |
12066 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/26-dawg-minutes">http://www.w3.org/2007/06/26-dawg-minutes</a></div> | |
12067 <p>Sort on (possibly unbound) URIs</p> | |
12068 <h3>Default Graph</h3> | |
12069 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/data-sort-3.ttl">data-r2/sort/data-sort-3.ttl</a></p> | |
12070 <div class="query"> | |
12071 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
12072 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
12073 | |
12074 _:a rdf:type foaf:Person ; | |
12075 foaf:name "Eve" ; | |
12076 foaf:mbox <mailto:eve@work.example> . | |
12077 | |
12078 _:b rdf:type foaf:Person ; | |
12079 foaf:name "Alice" ; | |
12080 foaf:mbox <mailto:alice@work.example> . | |
12081 | |
12082 _:c rdf:type foaf:Person ; | |
12083 foaf:mbox <mailto:fred@work.example> ; | |
12084 foaf:name "Fred" . | |
12085 | |
12086 _:e foaf:name "Bob" . | |
12087 | |
12088 | |
12089 </div> | |
12090 <h3>Named Graphs</h3> | |
12091 | |
12092 <h3>Query</h3> | |
12093 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/query-sort-3.rq">data-r2/sort/query-sort-3.rq</a><br/> | |
12094 <div class="query"> | |
12095 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
12096 SELECT ?name ?mbox | |
12097 WHERE { ?x foaf:name ?name . | |
12098 OPTIONAL { ?x foaf:mbox ?mbox } | |
12099 } | |
12100 ORDER BY ASC(?mbox) | |
12101 | |
12102 </div> | |
12103 <h3>Results</h3> | |
12104 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/result-sort-3.rdf">data-r2/sort/result-sort-3.rdf</a></p> | |
12105 <hr/> | |
12106 <h2><a name="dawg-sort-4">sort-4</a></h2> | |
12107 Query evaluation test | |
12108 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/26-dawg-minutes">http://www.w3.org/2007/06/26-dawg-minutes</a></div> | |
12109 <p>Sort on datatyped (integer) literals</p> | |
12110 <h3>Default Graph</h3> | |
12111 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/data-sort-4.ttl">data-r2/sort/data-sort-4.ttl</a></p> | |
12112 <div class="query"> | |
12113 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
12114 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
12115 @prefix ex: <http://example.org/things#> . | |
12116 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
12117 | |
12118 _:a rdf:type foaf:Person ; | |
12119 foaf:name "Eve" ; | |
12120 ex:empId "9"^^xsd:integer . | |
12121 | |
12122 _:b rdf:type foaf:Person ; | |
12123 foaf:name "Alice" ; | |
12124 ex:empId "29"^^xsd:integer . | |
12125 | |
12126 _:c rdf:type foaf:Person ; | |
12127 foaf:name "Fred" ; | |
12128 ex:empId "27"^^xsd:integer . | |
12129 | |
12130 _:e foaf:name "Bob" ; | |
12131 ex:empId "23"^^xsd:integer . | |
12132 | |
12133 _:f foaf:name "Bob" ; | |
12134 ex:empId "30"^^xsd:integer . | |
12135 | |
12136 </div> | |
12137 <h3>Named Graphs</h3> | |
12138 | |
12139 <h3>Query</h3> | |
12140 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/query-sort-4.rq">data-r2/sort/query-sort-4.rq</a><br/> | |
12141 <div class="query"> | |
12142 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
12143 PREFIX ex: <http://example.org/things#> | |
12144 | |
12145 SELECT ?name ?emp | |
12146 WHERE { ?x foaf:name ?name ; | |
12147 ex:empId ?emp | |
12148 } | |
12149 ORDER BY ASC(?emp) | |
12150 | |
12151 </div> | |
12152 <h3>Results</h3> | |
12153 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/result-sort-4.rdf">data-r2/sort/result-sort-4.rdf</a></p> | |
12154 <hr/> | |
12155 <h2><a name="dawg-sort-5">sort-5</a></h2> | |
12156 Query evaluation test | |
12157 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/26-dawg-minutes">http://www.w3.org/2007/06/26-dawg-minutes</a></div> | |
12158 <p>Sort first on untyped literals (ascending), then on datatyped (integer) literals (descending</p> | |
12159 <h3>Default Graph</h3> | |
12160 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/data-sort-4.ttl">data-r2/sort/data-sort-4.ttl</a></p> | |
12161 <div class="query"> | |
12162 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
12163 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
12164 @prefix ex: <http://example.org/things#> . | |
12165 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
12166 | |
12167 _:a rdf:type foaf:Person ; | |
12168 foaf:name "Eve" ; | |
12169 ex:empId "9"^^xsd:integer . | |
12170 | |
12171 _:b rdf:type foaf:Person ; | |
12172 foaf:name "Alice" ; | |
12173 ex:empId "29"^^xsd:integer . | |
12174 | |
12175 _:c rdf:type foaf:Person ; | |
12176 foaf:name "Fred" ; | |
12177 ex:empId "27"^^xsd:integer . | |
12178 | |
12179 _:e foaf:name "Bob" ; | |
12180 ex:empId "23"^^xsd:integer . | |
12181 | |
12182 _:f foaf:name "Bob" ; | |
12183 ex:empId "30"^^xsd:integer . | |
12184 | |
12185 </div> | |
12186 <h3>Named Graphs</h3> | |
12187 | |
12188 <h3>Query</h3> | |
12189 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/query-sort-5.rq">data-r2/sort/query-sort-5.rq</a><br/> | |
12190 <div class="query"> | |
12191 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
12192 PREFIX ex: <http://example.org/things#> | |
12193 | |
12194 SELECT ?name ?emp | |
12195 WHERE { ?x foaf:name ?name ; | |
12196 ex:empId ?emp | |
12197 } | |
12198 ORDER BY ?name DESC(?emp) | |
12199 | |
12200 </div> | |
12201 <h3>Results</h3> | |
12202 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/result-sort-5.rdf">data-r2/sort/result-sort-5.rdf</a></p> | |
12203 <hr/> | |
12204 <h2><a name="dawg-sort-6">sort-6</a></h2> | |
12205 Query evaluation test | |
12206 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/26-dawg-minutes">http://www.w3.org/2007/06/26-dawg-minutes</a></div> | |
12207 <p>Sort on mixed result of uris and literals.</p> | |
12208 <h3>Default Graph</h3> | |
12209 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/data-sort-6.ttl">data-r2/sort/data-sort-6.ttl</a></p> | |
12210 <div class="query"> | |
12211 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
12212 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
12213 @prefix ex: <http://example.org/things#> . | |
12214 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
12215 | |
12216 _:a rdf:type foaf:Person ; | |
12217 foaf:name "Eve" ; | |
12218 ex:address <http://example.org/eve> . | |
12219 | |
12220 _:b rdf:type foaf:Person ; | |
12221 foaf:name "Alice" ; | |
12222 ex:address "Fascination Street 11" . | |
12223 | |
12224 _:c rdf:type foaf:Person ; | |
12225 foaf:name "Fred" ; | |
12226 ex:address "fred@work.example" . | |
12227 | |
12228 _:e foaf:name "Bob" ; | |
12229 ex:address <mailto:bob@work.example> . | |
12230 | |
12231 | |
12232 </div> | |
12233 <h3>Named Graphs</h3> | |
12234 | |
12235 <h3>Query</h3> | |
12236 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/query-sort-6.rq">data-r2/sort/query-sort-6.rq</a><br/> | |
12237 <div class="query"> | |
12238 PREFIX ex: <http://example.org/things#> | |
12239 | |
12240 SELECT ?address | |
12241 WHERE { ?x ex:address ?address } | |
12242 ORDER BY ASC(?address) | |
12243 | |
12244 </div> | |
12245 <h3>Results</h3> | |
12246 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/result-sort-6.rdf">data-r2/sort/result-sort-6.rdf</a></p> | |
12247 <hr/> | |
12248 <h2><a name="dawg-sort-7">sort-7</a></h2> | |
12249 Query evaluation test | |
12250 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/26-dawg-minutes">http://www.w3.org/2007/06/26-dawg-minutes</a></div> | |
12251 <p>Sort on comparable mixed typed literals (integer and float)</p> | |
12252 <h3>Default Graph</h3> | |
12253 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/data-sort-7.ttl">data-r2/sort/data-sort-7.ttl</a></p> | |
12254 <div class="query"> | |
12255 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
12256 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
12257 @prefix ex: <http://example.org/things#> . | |
12258 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
12259 | |
12260 _:a rdf:type foaf:Person ; | |
12261 foaf:name "Eve" ; | |
12262 ex:empId "9"^^xsd:integer . | |
12263 | |
12264 _:b rdf:type foaf:Person ; | |
12265 foaf:name "Alice" ; | |
12266 ex:empId "29"^^xsd:integer . | |
12267 | |
12268 _:c rdf:type foaf:Person ; | |
12269 foaf:name "Fred" ; | |
12270 ex:empId "27"^^xsd:integer . | |
12271 | |
12272 _:e foaf:name "Bob" ; | |
12273 ex:empId "23.0"^^xsd:float . | |
12274 | |
12275 </div> | |
12276 <h3>Named Graphs</h3> | |
12277 | |
12278 <h3>Query</h3> | |
12279 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/query-sort-4.rq">data-r2/sort/query-sort-4.rq</a><br/> | |
12280 <div class="query"> | |
12281 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
12282 PREFIX ex: <http://example.org/things#> | |
12283 | |
12284 SELECT ?name ?emp | |
12285 WHERE { ?x foaf:name ?name ; | |
12286 ex:empId ?emp | |
12287 } | |
12288 ORDER BY ASC(?emp) | |
12289 | |
12290 </div> | |
12291 <h3>Results</h3> | |
12292 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/result-sort-7.rdf">data-r2/sort/result-sort-7.rdf</a></p> | |
12293 <hr/> | |
12294 <h2><a name="dawg-sort-8">sort-8</a></h2> | |
12295 Query evaluation test | |
12296 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/26-dawg-minutes">http://www.w3.org/2007/06/26-dawg-minutes</a></div> | |
12297 <p>Sort on several mixed values (bnode, uri, literal)</p> | |
12298 <h3>Default Graph</h3> | |
12299 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/data-sort-8.ttl">data-r2/sort/data-sort-8.ttl</a></p> | |
12300 <div class="query"> | |
12301 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
12302 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
12303 @prefix ex: <http://example.org/things#> . | |
12304 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
12305 | |
12306 _:a foaf:name "Eve" ; | |
12307 ex:empId "9"^^xsd:integer . | |
12308 | |
12309 _:f foaf:name "John" ; | |
12310 ex:empId [ ex:number "29"^^xsd:integer ] . | |
12311 | |
12312 _:g foaf:name "Dirk" ; | |
12313 ex:empId <http://example.org/dirk01> . | |
12314 | |
12315 </div> | |
12316 <h3>Named Graphs</h3> | |
12317 | |
12318 <h3>Query</h3> | |
12319 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/query-sort-4.rq">data-r2/sort/query-sort-4.rq</a><br/> | |
12320 <div class="query"> | |
12321 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
12322 PREFIX ex: <http://example.org/things#> | |
12323 | |
12324 SELECT ?name ?emp | |
12325 WHERE { ?x foaf:name ?name ; | |
12326 ex:empId ?emp | |
12327 } | |
12328 ORDER BY ASC(?emp) | |
12329 | |
12330 </div> | |
12331 <h3>Results</h3> | |
12332 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/result-sort-8.rdf">data-r2/sort/result-sort-8.rdf</a></p> | |
12333 <hr/> | |
12334 <h2><a name="dawg-sort-9">sort-9</a></h2> | |
12335 Query evaluation test | |
12336 <div class="approval">Approved by <a href="http://www.w3.org/2007/06/26-dawg-minutes">http://www.w3.org/2007/06/26-dawg-minutes</a></div> | |
12337 <p>Alphabetic sort (ascending) on datatyped (string) literals</p> | |
12338 <h3>Default Graph</h3> | |
12339 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/data-sort-9.ttl">data-r2/sort/data-sort-9.ttl</a></p> | |
12340 <div class="query"> | |
12341 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
12342 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
12343 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
12344 | |
12345 _:a foaf:name "Eve"^^xsd:string . | |
12346 _:b foaf:name "Alice"^^xsd:string . | |
12347 _:c foaf:name "Fred"^^xsd:string . | |
12348 _:e foaf:name "Bob"^^xsd:string . | |
12349 | |
12350 | |
12351 | |
12352 </div> | |
12353 <h3>Named Graphs</h3> | |
12354 | |
12355 <h3>Query</h3> | |
12356 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/query-sort-9.rq">data-r2/sort/query-sort-9.rq</a><br/> | |
12357 <div class="query"> | |
12358 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
12359 SELECT ?name | |
12360 WHERE { ?x foaf:name ?name } | |
12361 ORDER BY ?name | |
12362 | |
12363 </div> | |
12364 <h3>Results</h3> | |
12365 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/result-sort-9.rdf">data-r2/sort/result-sort-9.rdf</a></p> | |
12366 <hr/> | |
12367 <h2><a name="dawg-sort-builtin">Builtin sort</a></h2> | |
12368 Query evaluation test | |
12369 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html</a></div> | |
12370 <p>Sort by a builtin operator</p> | |
12371 <h3>Default Graph</h3> | |
12372 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/data-sort-builtin.ttl">data-r2/sort/data-sort-builtin.ttl</a></p> | |
12373 <div class="query"> | |
12374 @prefix : <http://example.org/> . | |
12375 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
12376 | |
12377 :s1 :p "2"^^xsd:integer . | |
12378 :s2 :p "300"^^xsd:integer . | |
12379 :s3 :p "10"^^xsd:integer . | |
12380 | |
12381 | |
12382 </div> | |
12383 <h3>Named Graphs</h3> | |
12384 | |
12385 <h3>Query</h3> | |
12386 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/query-sort-builtin.rq">data-r2/sort/query-sort-builtin.rq</a><br/> | |
12387 <div class="query"> | |
12388 PREFIX : <http://example.org/> | |
12389 SELECT ?s WHERE { | |
12390 ?s :p ?o . | |
12391 } ORDER BY str(?o) | |
12392 | |
12393 </div> | |
12394 <h3>Results</h3> | |
12395 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/result-sort-builtin.ttl">data-r2/sort/result-sort-builtin.ttl</a></p> | |
12396 <hr/> | |
12397 <h2><a name="dawg-sort-function">Function sort</a></h2> | |
12398 Query evaluation test | |
12399 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html</a></div> | |
12400 <p>Sort by function invocation</p> | |
12401 <h3>Default Graph</h3> | |
12402 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/data-sort-function.ttl">data-r2/sort/data-sort-function.ttl</a></p> | |
12403 <div class="query"> | |
12404 @prefix : <http://example.org/> . | |
12405 | |
12406 :s1 :p "2" . | |
12407 :s2 :p "300" . | |
12408 :s3 :p "10" . | |
12409 | |
12410 | |
12411 </div> | |
12412 <h3>Named Graphs</h3> | |
12413 | |
12414 <h3>Query</h3> | |
12415 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/query-sort-function.rq">data-r2/sort/query-sort-function.rq</a><br/> | |
12416 <div class="query"> | |
12417 PREFIX : <http://example.org/> | |
12418 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
12419 SELECT ?s WHERE { | |
12420 ?s :p ?o . | |
12421 } ORDER BY xsd:integer(?o) | |
12422 | |
12423 </div> | |
12424 <h3>Results</h3> | |
12425 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/result-sort-function.ttl">data-r2/sort/result-sort-function.ttl</a></p> | |
12426 <hr/> | |
12427 <h2><a name="dawg-sort-numbers">Expression sort</a></h2> | |
12428 Query evaluation test | |
12429 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html">http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0096/21-dawg-minutes.html</a></div> | |
12430 <p>Sort by a bracketted expression</p> | |
12431 <h3>Default Graph</h3> | |
12432 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/data-sort-numbers.ttl">data-r2/sort/data-sort-numbers.ttl</a></p> | |
12433 <div class="query"> | |
12434 @prefix : <http://example.org/> . | |
12435 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
12436 | |
12437 :s1 :p "1"^^xsd:integer; :q "2"^^xsd:integer . | |
12438 :s2 :p "10"^^xsd:integer; :q "20"^^xsd:integer . | |
12439 :s3 :p "100"^^xsd:integer; :q "200"^^xsd:integer . | |
12440 | |
12441 | |
12442 </div> | |
12443 <h3>Named Graphs</h3> | |
12444 | |
12445 <h3>Query</h3> | |
12446 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/query-sort-numbers.rq">data-r2/sort/query-sort-numbers.rq</a><br/> | |
12447 <div class="query"> | |
12448 PREFIX : <http://example.org/> | |
12449 SELECT ?s WHERE { | |
12450 ?s :p ?o1 ; :q ?o2 . | |
12451 } ORDER BY (?o1 + ?o2) | |
12452 | |
12453 </div> | |
12454 <h3>Results</h3> | |
12455 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/result-sort-numbers.ttl">data-r2/sort/result-sort-numbers.ttl</a></p> | |
12456 <hr/> | |
12457 <h2><a name="dawg-triple-pattern-001">dawg-triple-pattern-001</a></h2> | |
12458 Query evaluation test | |
12459 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0358">http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0358</a></div> | |
12460 <p>Simple triple match</p> | |
12461 <h3>Default Graph</h3> | |
12462 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/triple-match/data-01.ttl">data-r2/triple-match/data-01.ttl</a></p> | |
12463 <div class="query"> | |
12464 @prefix : <http://example.org/data/> . | |
12465 | |
12466 :x :p :v1 . | |
12467 :x :p :v2 . | |
12468 | |
12469 </div> | |
12470 <h3>Named Graphs</h3> | |
12471 | |
12472 <h3>Query</h3> | |
12473 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/triple-match/dawg-tp-01.rq">data-r2/triple-match/dawg-tp-01.rq</a><br/> | |
12474 <div class="query"> | |
12475 PREFIX : <http://example.org/data/> | |
12476 | |
12477 SELECT * | |
12478 WHERE { :x ?p ?q . } | |
12479 | |
12480 </div> | |
12481 <h3>Results</h3> | |
12482 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/triple-match/result-tp-01.ttl">data-r2/triple-match/result-tp-01.ttl</a></p> | |
12483 <hr/> | |
12484 <h2><a name="dawg-triple-pattern-002">dawg-triple-pattern-002</a></h2> | |
12485 Query evaluation test | |
12486 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0358">http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0358</a></div> | |
12487 <p>Simple triple match</p> | |
12488 <h3>Default Graph</h3> | |
12489 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/triple-match/data-01.ttl">data-r2/triple-match/data-01.ttl</a></p> | |
12490 <div class="query"> | |
12491 @prefix : <http://example.org/data/> . | |
12492 | |
12493 :x :p :v1 . | |
12494 :x :p :v2 . | |
12495 | |
12496 </div> | |
12497 <h3>Named Graphs</h3> | |
12498 | |
12499 <h3>Query</h3> | |
12500 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/triple-match/dawg-tp-02.rq">data-r2/triple-match/dawg-tp-02.rq</a><br/> | |
12501 <div class="query"> | |
12502 PREFIX : <http://example.org/data/> | |
12503 | |
12504 SELECT * | |
12505 WHERE { ?x :p ?q . } | |
12506 | |
12507 | |
12508 </div> | |
12509 <h3>Results</h3> | |
12510 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/triple-match/result-tp-02.ttl">data-r2/triple-match/result-tp-02.ttl</a></p> | |
12511 <hr/> | |
12512 <h2><a name="dawg-triple-pattern-003">dawg-triple-pattern-003</a></h2> | |
12513 Query evaluation test | |
12514 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0358">http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0358</a></div> | |
12515 <p>Simple triple match - repeated variable</p> | |
12516 <h3>Default Graph</h3> | |
12517 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/triple-match/data-02.ttl">data-r2/triple-match/data-02.ttl</a></p> | |
12518 <div class="query"> | |
12519 @prefix : <http://example.org/data/> . | |
12520 | |
12521 | |
12522 :y :y :x . | |
12523 :x :y :y . | |
12524 :y :x :y . | |
12525 | |
12526 | |
12527 </div> | |
12528 <h3>Named Graphs</h3> | |
12529 | |
12530 <h3>Query</h3> | |
12531 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/triple-match/dawg-tp-03.rq">data-r2/triple-match/dawg-tp-03.rq</a><br/> | |
12532 <div class="query"> | |
12533 SELECT * | |
12534 WHERE { ?a ?a ?b . } | |
12535 | |
12536 </div> | |
12537 <h3>Results</h3> | |
12538 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/triple-match/result-tp-03.ttl">data-r2/triple-match/result-tp-03.ttl</a></p> | |
12539 <hr/> | |
12540 <h2><a name="dawg-triple-pattern-004">dawg-triple-pattern-004</a></h2> | |
12541 Query evaluation test | |
12542 <div class="approval">Approved by <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0358">http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0358</a></div> | |
12543 <p>Simple triple match - two triples, common variable</p> | |
12544 <h3>Default Graph</h3> | |
12545 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/triple-match/dawg-data-01.ttl">data-r2/triple-match/dawg-data-01.ttl</a></p> | |
12546 <div class="query"> | |
12547 @prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
12548 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
12549 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
12550 | |
12551 _:alice | |
12552 rdf:type foaf:Person ; | |
12553 foaf:name "Alice" ; | |
12554 foaf:mbox <mailto:alice@work> ; | |
12555 foaf:knows _:bob ; | |
12556 . | |
12557 | |
12558 _:bob | |
12559 rdf:type foaf:Person ; | |
12560 foaf:name "Bob" ; | |
12561 foaf:knows _:alice ; | |
12562 foaf:mbox <mailto:bob@work> ; | |
12563 foaf:mbox <mailto:bob@home> ; | |
12564 . | |
12565 | |
12566 | |
12567 _:eve | |
12568 rdf:type foaf:Person ; | |
12569 foaf:name "Eve" ; | |
12570 foaf:knows _:fred ; | |
12571 . | |
12572 | |
12573 _:fred | |
12574 rdf:type foaf:Person ; | |
12575 foaf:mbox <fred@edu> . | |
12576 | |
12577 </div> | |
12578 <h3>Named Graphs</h3> | |
12579 | |
12580 <h3>Query</h3> | |
12581 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/triple-match/dawg-tp-04.rq">data-r2/triple-match/dawg-tp-04.rq</a><br/> | |
12582 <div class="query"> | |
12583 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
12584 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
12585 | |
12586 SELECT ?name | |
12587 WHERE { | |
12588 ?x rdf:type foaf:Person . | |
12589 ?x foaf:name ?name . | |
12590 } | |
12591 | |
12592 </div> | |
12593 <h3>Results</h3> | |
12594 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/triple-match/result-tp-04.ttl">data-r2/triple-match/result-tp-04.ttl</a></p> | |
12595 <hr/> | |
12596 <h2><a name="type-promotion-01">tP-double-double</a></h2> | |
12597 Query evaluation test | |
12598 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
12599 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
12600 <h3>Default Graph</h3> | |
12601 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
12602 <div class="query"> | |
12603 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
12604 | |
12605 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
12606 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
12607 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
12608 | |
12609 t:decimal1 rdf:value "1"^^xsd:decimal . | |
12610 t:float1 rdf:value "1"^^xsd:float . | |
12611 t:double1 rdf:value "1"^^xsd:double . | |
12612 t:booleanT rdf:value "true"^^xsd:boolean . | |
12613 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
12614 | |
12615 # types derived from xsd:decimal: | |
12616 | |
12617 t:integer1 rdf:value "1"^^xsd:integer . | |
12618 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
12619 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
12620 t:long1 rdf:value "1"^^xsd:long . | |
12621 t:int1 rdf:value "1"^^xsd:int . | |
12622 t:short1 rdf:value "1"^^xsd:short . | |
12623 t:byte1 rdf:value "1"^^xsd:byte . | |
12624 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
12625 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
12626 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
12627 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
12628 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
12629 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
12630 | |
12631 | |
12632 </div> | |
12633 <h3>Named Graphs</h3> | |
12634 | |
12635 <h3>Query</h3> | |
12636 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-double-double.rq">data-r2/type-promotion/tP-double-double.rq</a><br/> | |
12637 <div class="query"> | |
12638 # Positive test: product of type promotion within the xsd:decimal type tree. | |
12639 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
12640 | |
12641 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
12642 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
12643 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
12644 ASK | |
12645 WHERE { t:double1 rdf:value ?l . | |
12646 t:double1 rdf:value ?r . | |
12647 FILTER ( datatype(?l + ?r) = xsd:double ) } | |
12648 | |
12649 </div> | |
12650 <h3>Results</h3> | |
12651 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
12652 <hr/> | |
12653 <h2><a name="type-promotion-02">tP-double-float</a></h2> | |
12654 Query evaluation test | |
12655 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
12656 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
12657 <h3>Default Graph</h3> | |
12658 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
12659 <div class="query"> | |
12660 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
12661 | |
12662 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
12663 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
12664 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
12665 | |
12666 t:decimal1 rdf:value "1"^^xsd:decimal . | |
12667 t:float1 rdf:value "1"^^xsd:float . | |
12668 t:double1 rdf:value "1"^^xsd:double . | |
12669 t:booleanT rdf:value "true"^^xsd:boolean . | |
12670 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
12671 | |
12672 # types derived from xsd:decimal: | |
12673 | |
12674 t:integer1 rdf:value "1"^^xsd:integer . | |
12675 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
12676 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
12677 t:long1 rdf:value "1"^^xsd:long . | |
12678 t:int1 rdf:value "1"^^xsd:int . | |
12679 t:short1 rdf:value "1"^^xsd:short . | |
12680 t:byte1 rdf:value "1"^^xsd:byte . | |
12681 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
12682 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
12683 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
12684 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
12685 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
12686 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
12687 | |
12688 | |
12689 </div> | |
12690 <h3>Named Graphs</h3> | |
12691 | |
12692 <h3>Query</h3> | |
12693 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-double-float.rq">data-r2/type-promotion/tP-double-float.rq</a><br/> | |
12694 <div class="query"> | |
12695 # Positive test: product of type promotion within the xsd:decimal type tree. | |
12696 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
12697 | |
12698 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
12699 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
12700 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
12701 ASK | |
12702 WHERE { t:double1 rdf:value ?l . | |
12703 t:float1 rdf:value ?r . | |
12704 FILTER ( datatype(?l + ?r) = xsd:double ) } | |
12705 | |
12706 </div> | |
12707 <h3>Results</h3> | |
12708 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
12709 <hr/> | |
12710 <h2><a name="type-promotion-03">tP-double-decimal</a></h2> | |
12711 Query evaluation test | |
12712 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
12713 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
12714 <h3>Default Graph</h3> | |
12715 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
12716 <div class="query"> | |
12717 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
12718 | |
12719 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
12720 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
12721 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
12722 | |
12723 t:decimal1 rdf:value "1"^^xsd:decimal . | |
12724 t:float1 rdf:value "1"^^xsd:float . | |
12725 t:double1 rdf:value "1"^^xsd:double . | |
12726 t:booleanT rdf:value "true"^^xsd:boolean . | |
12727 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
12728 | |
12729 # types derived from xsd:decimal: | |
12730 | |
12731 t:integer1 rdf:value "1"^^xsd:integer . | |
12732 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
12733 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
12734 t:long1 rdf:value "1"^^xsd:long . | |
12735 t:int1 rdf:value "1"^^xsd:int . | |
12736 t:short1 rdf:value "1"^^xsd:short . | |
12737 t:byte1 rdf:value "1"^^xsd:byte . | |
12738 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
12739 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
12740 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
12741 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
12742 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
12743 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
12744 | |
12745 | |
12746 </div> | |
12747 <h3>Named Graphs</h3> | |
12748 | |
12749 <h3>Query</h3> | |
12750 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-double-decimal.rq">data-r2/type-promotion/tP-double-decimal.rq</a><br/> | |
12751 <div class="query"> | |
12752 # Positive test: product of type promotion within the xsd:decimal type tree. | |
12753 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
12754 | |
12755 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
12756 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
12757 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
12758 ASK | |
12759 WHERE { t:double1 rdf:value ?l . | |
12760 t:decimal1 rdf:value ?r . | |
12761 FILTER ( datatype(?l + ?r) = xsd:double ) } | |
12762 | |
12763 </div> | |
12764 <h3>Results</h3> | |
12765 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
12766 <hr/> | |
12767 <h2><a name="type-promotion-04">tP-float-float</a></h2> | |
12768 Query evaluation test | |
12769 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
12770 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
12771 <h3>Default Graph</h3> | |
12772 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
12773 <div class="query"> | |
12774 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
12775 | |
12776 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
12777 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
12778 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
12779 | |
12780 t:decimal1 rdf:value "1"^^xsd:decimal . | |
12781 t:float1 rdf:value "1"^^xsd:float . | |
12782 t:double1 rdf:value "1"^^xsd:double . | |
12783 t:booleanT rdf:value "true"^^xsd:boolean . | |
12784 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
12785 | |
12786 # types derived from xsd:decimal: | |
12787 | |
12788 t:integer1 rdf:value "1"^^xsd:integer . | |
12789 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
12790 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
12791 t:long1 rdf:value "1"^^xsd:long . | |
12792 t:int1 rdf:value "1"^^xsd:int . | |
12793 t:short1 rdf:value "1"^^xsd:short . | |
12794 t:byte1 rdf:value "1"^^xsd:byte . | |
12795 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
12796 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
12797 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
12798 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
12799 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
12800 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
12801 | |
12802 | |
12803 </div> | |
12804 <h3>Named Graphs</h3> | |
12805 | |
12806 <h3>Query</h3> | |
12807 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-float-float.rq">data-r2/type-promotion/tP-float-float.rq</a><br/> | |
12808 <div class="query"> | |
12809 # Positive test: product of type promotion within the xsd:decimal type tree. | |
12810 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
12811 | |
12812 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
12813 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
12814 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
12815 ASK | |
12816 WHERE { t:float1 rdf:value ?l . | |
12817 t:float1 rdf:value ?r . | |
12818 FILTER ( datatype(?l + ?r) = xsd:float ) } | |
12819 | |
12820 </div> | |
12821 <h3>Results</h3> | |
12822 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
12823 <hr/> | |
12824 <h2><a name="type-promotion-05">tP-float-decimal</a></h2> | |
12825 Query evaluation test | |
12826 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
12827 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
12828 <h3>Default Graph</h3> | |
12829 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
12830 <div class="query"> | |
12831 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
12832 | |
12833 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
12834 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
12835 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
12836 | |
12837 t:decimal1 rdf:value "1"^^xsd:decimal . | |
12838 t:float1 rdf:value "1"^^xsd:float . | |
12839 t:double1 rdf:value "1"^^xsd:double . | |
12840 t:booleanT rdf:value "true"^^xsd:boolean . | |
12841 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
12842 | |
12843 # types derived from xsd:decimal: | |
12844 | |
12845 t:integer1 rdf:value "1"^^xsd:integer . | |
12846 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
12847 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
12848 t:long1 rdf:value "1"^^xsd:long . | |
12849 t:int1 rdf:value "1"^^xsd:int . | |
12850 t:short1 rdf:value "1"^^xsd:short . | |
12851 t:byte1 rdf:value "1"^^xsd:byte . | |
12852 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
12853 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
12854 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
12855 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
12856 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
12857 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
12858 | |
12859 | |
12860 </div> | |
12861 <h3>Named Graphs</h3> | |
12862 | |
12863 <h3>Query</h3> | |
12864 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-float-decimal.rq">data-r2/type-promotion/tP-float-decimal.rq</a><br/> | |
12865 <div class="query"> | |
12866 # Positive test: product of type promotion within the xsd:decimal type tree. | |
12867 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
12868 | |
12869 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
12870 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
12871 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
12872 ASK | |
12873 WHERE { t:float1 rdf:value ?l . | |
12874 t:decimal1 rdf:value ?r . | |
12875 FILTER ( datatype(?l + ?r) = xsd:float ) } | |
12876 | |
12877 </div> | |
12878 <h3>Results</h3> | |
12879 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
12880 <hr/> | |
12881 <h2><a name="type-promotion-06">tP-decimal-decimal</a></h2> | |
12882 Query evaluation test | |
12883 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
12884 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
12885 <h3>Default Graph</h3> | |
12886 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
12887 <div class="query"> | |
12888 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
12889 | |
12890 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
12891 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
12892 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
12893 | |
12894 t:decimal1 rdf:value "1"^^xsd:decimal . | |
12895 t:float1 rdf:value "1"^^xsd:float . | |
12896 t:double1 rdf:value "1"^^xsd:double . | |
12897 t:booleanT rdf:value "true"^^xsd:boolean . | |
12898 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
12899 | |
12900 # types derived from xsd:decimal: | |
12901 | |
12902 t:integer1 rdf:value "1"^^xsd:integer . | |
12903 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
12904 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
12905 t:long1 rdf:value "1"^^xsd:long . | |
12906 t:int1 rdf:value "1"^^xsd:int . | |
12907 t:short1 rdf:value "1"^^xsd:short . | |
12908 t:byte1 rdf:value "1"^^xsd:byte . | |
12909 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
12910 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
12911 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
12912 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
12913 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
12914 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
12915 | |
12916 | |
12917 </div> | |
12918 <h3>Named Graphs</h3> | |
12919 | |
12920 <h3>Query</h3> | |
12921 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-decimal-decimal.rq">data-r2/type-promotion/tP-decimal-decimal.rq</a><br/> | |
12922 <div class="query"> | |
12923 # Positive test: product of type promotion within the xsd:decimal type tree. | |
12924 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
12925 | |
12926 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
12927 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
12928 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
12929 ASK | |
12930 WHERE { t:decimal1 rdf:value ?l . | |
12931 t:decimal1 rdf:value ?r . | |
12932 FILTER ( datatype(?l + ?r) = xsd:decimal ) } | |
12933 | |
12934 </div> | |
12935 <h3>Results</h3> | |
12936 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
12937 <hr/> | |
12938 <h2><a name="type-promotion-07">tP-integer-short</a></h2> | |
12939 Query evaluation test | |
12940 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
12941 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
12942 <h3>Default Graph</h3> | |
12943 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
12944 <div class="query"> | |
12945 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
12946 | |
12947 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
12948 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
12949 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
12950 | |
12951 t:decimal1 rdf:value "1"^^xsd:decimal . | |
12952 t:float1 rdf:value "1"^^xsd:float . | |
12953 t:double1 rdf:value "1"^^xsd:double . | |
12954 t:booleanT rdf:value "true"^^xsd:boolean . | |
12955 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
12956 | |
12957 # types derived from xsd:decimal: | |
12958 | |
12959 t:integer1 rdf:value "1"^^xsd:integer . | |
12960 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
12961 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
12962 t:long1 rdf:value "1"^^xsd:long . | |
12963 t:int1 rdf:value "1"^^xsd:int . | |
12964 t:short1 rdf:value "1"^^xsd:short . | |
12965 t:byte1 rdf:value "1"^^xsd:byte . | |
12966 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
12967 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
12968 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
12969 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
12970 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
12971 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
12972 | |
12973 | |
12974 </div> | |
12975 <h3>Named Graphs</h3> | |
12976 | |
12977 <h3>Query</h3> | |
12978 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-integer-short.rq">data-r2/type-promotion/tP-integer-short.rq</a><br/> | |
12979 <div class="query"> | |
12980 # Positive test: product of type promotion within the xsd:decimal type tree. | |
12981 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
12982 | |
12983 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
12984 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
12985 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
12986 ASK | |
12987 WHERE { t:integer1 rdf:value ?l . | |
12988 t:short1 rdf:value ?r . | |
12989 FILTER ( datatype(?l + ?r) = xsd:integer ) } | |
12990 | |
12991 </div> | |
12992 <h3>Results</h3> | |
12993 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
12994 <hr/> | |
12995 <h2><a name="type-promotion-08">tP-nonPositiveInteger-short</a></h2> | |
12996 Query evaluation test | |
12997 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
12998 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
12999 <h3>Default Graph</h3> | |
13000 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
13001 <div class="query"> | |
13002 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13003 | |
13004 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
13005 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
13006 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
13007 | |
13008 t:decimal1 rdf:value "1"^^xsd:decimal . | |
13009 t:float1 rdf:value "1"^^xsd:float . | |
13010 t:double1 rdf:value "1"^^xsd:double . | |
13011 t:booleanT rdf:value "true"^^xsd:boolean . | |
13012 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
13013 | |
13014 # types derived from xsd:decimal: | |
13015 | |
13016 t:integer1 rdf:value "1"^^xsd:integer . | |
13017 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
13018 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
13019 t:long1 rdf:value "1"^^xsd:long . | |
13020 t:int1 rdf:value "1"^^xsd:int . | |
13021 t:short1 rdf:value "1"^^xsd:short . | |
13022 t:byte1 rdf:value "1"^^xsd:byte . | |
13023 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
13024 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
13025 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
13026 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
13027 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
13028 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
13029 | |
13030 | |
13031 </div> | |
13032 <h3>Named Graphs</h3> | |
13033 | |
13034 <h3>Query</h3> | |
13035 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-nonPositiveInteger-short.rq">data-r2/type-promotion/tP-nonPositiveInteger-short.rq</a><br/> | |
13036 <div class="query"> | |
13037 # Positive test: product of type promotion within the xsd:decimal type tree. | |
13038 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13039 | |
13040 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
13041 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
13042 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
13043 ASK | |
13044 WHERE { t:nonPositiveIntegerN1 rdf:value ?l . | |
13045 t:short1 rdf:value ?r . | |
13046 FILTER ( datatype(?l + ?r) = xsd:integer ) } | |
13047 | |
13048 </div> | |
13049 <h3>Results</h3> | |
13050 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
13051 <hr/> | |
13052 <h2><a name="type-promotion-09">tP-negativeInteger-short</a></h2> | |
13053 Query evaluation test | |
13054 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
13055 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
13056 <h3>Default Graph</h3> | |
13057 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
13058 <div class="query"> | |
13059 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13060 | |
13061 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
13062 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
13063 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
13064 | |
13065 t:decimal1 rdf:value "1"^^xsd:decimal . | |
13066 t:float1 rdf:value "1"^^xsd:float . | |
13067 t:double1 rdf:value "1"^^xsd:double . | |
13068 t:booleanT rdf:value "true"^^xsd:boolean . | |
13069 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
13070 | |
13071 # types derived from xsd:decimal: | |
13072 | |
13073 t:integer1 rdf:value "1"^^xsd:integer . | |
13074 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
13075 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
13076 t:long1 rdf:value "1"^^xsd:long . | |
13077 t:int1 rdf:value "1"^^xsd:int . | |
13078 t:short1 rdf:value "1"^^xsd:short . | |
13079 t:byte1 rdf:value "1"^^xsd:byte . | |
13080 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
13081 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
13082 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
13083 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
13084 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
13085 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
13086 | |
13087 | |
13088 </div> | |
13089 <h3>Named Graphs</h3> | |
13090 | |
13091 <h3>Query</h3> | |
13092 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-negativeInteger-short.rq">data-r2/type-promotion/tP-negativeInteger-short.rq</a><br/> | |
13093 <div class="query"> | |
13094 # Positive test: product of type promotion within the xsd:decimal type tree. | |
13095 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13096 | |
13097 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
13098 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
13099 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
13100 ASK | |
13101 WHERE { t:negativeIntegerN1 rdf:value ?l . | |
13102 t:short1 rdf:value ?r . | |
13103 FILTER ( datatype(?l + ?r) = xsd:integer ) } | |
13104 | |
13105 </div> | |
13106 <h3>Results</h3> | |
13107 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
13108 <hr/> | |
13109 <h2><a name="type-promotion-10">tP-long-short</a></h2> | |
13110 Query evaluation test | |
13111 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
13112 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
13113 <h3>Default Graph</h3> | |
13114 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
13115 <div class="query"> | |
13116 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13117 | |
13118 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
13119 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
13120 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
13121 | |
13122 t:decimal1 rdf:value "1"^^xsd:decimal . | |
13123 t:float1 rdf:value "1"^^xsd:float . | |
13124 t:double1 rdf:value "1"^^xsd:double . | |
13125 t:booleanT rdf:value "true"^^xsd:boolean . | |
13126 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
13127 | |
13128 # types derived from xsd:decimal: | |
13129 | |
13130 t:integer1 rdf:value "1"^^xsd:integer . | |
13131 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
13132 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
13133 t:long1 rdf:value "1"^^xsd:long . | |
13134 t:int1 rdf:value "1"^^xsd:int . | |
13135 t:short1 rdf:value "1"^^xsd:short . | |
13136 t:byte1 rdf:value "1"^^xsd:byte . | |
13137 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
13138 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
13139 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
13140 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
13141 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
13142 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
13143 | |
13144 | |
13145 </div> | |
13146 <h3>Named Graphs</h3> | |
13147 | |
13148 <h3>Query</h3> | |
13149 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-long-short.rq">data-r2/type-promotion/tP-long-short.rq</a><br/> | |
13150 <div class="query"> | |
13151 # Positive test: product of type promotion within the xsd:decimal type tree. | |
13152 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13153 | |
13154 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
13155 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
13156 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
13157 ASK | |
13158 WHERE { t:long1 rdf:value ?l . | |
13159 t:short1 rdf:value ?r . | |
13160 FILTER ( datatype(?l + ?r) = xsd:integer ) } | |
13161 | |
13162 </div> | |
13163 <h3>Results</h3> | |
13164 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
13165 <hr/> | |
13166 <h2><a name="type-promotion-11">tP-int-short</a></h2> | |
13167 Query evaluation test | |
13168 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
13169 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
13170 <h3>Default Graph</h3> | |
13171 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
13172 <div class="query"> | |
13173 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13174 | |
13175 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
13176 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
13177 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
13178 | |
13179 t:decimal1 rdf:value "1"^^xsd:decimal . | |
13180 t:float1 rdf:value "1"^^xsd:float . | |
13181 t:double1 rdf:value "1"^^xsd:double . | |
13182 t:booleanT rdf:value "true"^^xsd:boolean . | |
13183 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
13184 | |
13185 # types derived from xsd:decimal: | |
13186 | |
13187 t:integer1 rdf:value "1"^^xsd:integer . | |
13188 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
13189 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
13190 t:long1 rdf:value "1"^^xsd:long . | |
13191 t:int1 rdf:value "1"^^xsd:int . | |
13192 t:short1 rdf:value "1"^^xsd:short . | |
13193 t:byte1 rdf:value "1"^^xsd:byte . | |
13194 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
13195 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
13196 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
13197 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
13198 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
13199 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
13200 | |
13201 | |
13202 </div> | |
13203 <h3>Named Graphs</h3> | |
13204 | |
13205 <h3>Query</h3> | |
13206 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-int-short.rq">data-r2/type-promotion/tP-int-short.rq</a><br/> | |
13207 <div class="query"> | |
13208 # Positive test: product of type promotion within the xsd:decimal type tree. | |
13209 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13210 | |
13211 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
13212 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
13213 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
13214 ASK | |
13215 WHERE { t:int1 rdf:value ?l . | |
13216 t:short1 rdf:value ?r . | |
13217 FILTER ( datatype(?l + ?r) = xsd:integer ) } | |
13218 | |
13219 </div> | |
13220 <h3>Results</h3> | |
13221 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
13222 <hr/> | |
13223 <h2><a name="type-promotion-12">tP-short-short</a></h2> | |
13224 Query evaluation test | |
13225 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
13226 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
13227 <h3>Default Graph</h3> | |
13228 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
13229 <div class="query"> | |
13230 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13231 | |
13232 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
13233 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
13234 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
13235 | |
13236 t:decimal1 rdf:value "1"^^xsd:decimal . | |
13237 t:float1 rdf:value "1"^^xsd:float . | |
13238 t:double1 rdf:value "1"^^xsd:double . | |
13239 t:booleanT rdf:value "true"^^xsd:boolean . | |
13240 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
13241 | |
13242 # types derived from xsd:decimal: | |
13243 | |
13244 t:integer1 rdf:value "1"^^xsd:integer . | |
13245 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
13246 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
13247 t:long1 rdf:value "1"^^xsd:long . | |
13248 t:int1 rdf:value "1"^^xsd:int . | |
13249 t:short1 rdf:value "1"^^xsd:short . | |
13250 t:byte1 rdf:value "1"^^xsd:byte . | |
13251 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
13252 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
13253 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
13254 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
13255 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
13256 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
13257 | |
13258 | |
13259 </div> | |
13260 <h3>Named Graphs</h3> | |
13261 | |
13262 <h3>Query</h3> | |
13263 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-short-short.rq">data-r2/type-promotion/tP-short-short.rq</a><br/> | |
13264 <div class="query"> | |
13265 # Positive test: product of type promotion within the xsd:decimal type tree. | |
13266 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13267 | |
13268 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
13269 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
13270 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
13271 ASK | |
13272 WHERE { t:short1 rdf:value ?l . | |
13273 t:short1 rdf:value ?r . | |
13274 FILTER ( datatype(?l + ?r) = xsd:integer ) } | |
13275 | |
13276 </div> | |
13277 <h3>Results</h3> | |
13278 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
13279 <hr/> | |
13280 <h2><a name="type-promotion-13">tP-byte-short</a></h2> | |
13281 Query evaluation test | |
13282 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
13283 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
13284 <h3>Default Graph</h3> | |
13285 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
13286 <div class="query"> | |
13287 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13288 | |
13289 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
13290 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
13291 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
13292 | |
13293 t:decimal1 rdf:value "1"^^xsd:decimal . | |
13294 t:float1 rdf:value "1"^^xsd:float . | |
13295 t:double1 rdf:value "1"^^xsd:double . | |
13296 t:booleanT rdf:value "true"^^xsd:boolean . | |
13297 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
13298 | |
13299 # types derived from xsd:decimal: | |
13300 | |
13301 t:integer1 rdf:value "1"^^xsd:integer . | |
13302 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
13303 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
13304 t:long1 rdf:value "1"^^xsd:long . | |
13305 t:int1 rdf:value "1"^^xsd:int . | |
13306 t:short1 rdf:value "1"^^xsd:short . | |
13307 t:byte1 rdf:value "1"^^xsd:byte . | |
13308 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
13309 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
13310 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
13311 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
13312 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
13313 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
13314 | |
13315 | |
13316 </div> | |
13317 <h3>Named Graphs</h3> | |
13318 | |
13319 <h3>Query</h3> | |
13320 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-byte-short.rq">data-r2/type-promotion/tP-byte-short.rq</a><br/> | |
13321 <div class="query"> | |
13322 # Positive test: product of type promotion within the xsd:decimal type tree. | |
13323 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13324 | |
13325 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
13326 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
13327 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
13328 ASK | |
13329 WHERE { t:byte1 rdf:value ?l . | |
13330 t:short1 rdf:value ?r . | |
13331 FILTER ( datatype(?l + ?r) = xsd:integer ) } | |
13332 | |
13333 </div> | |
13334 <h3>Results</h3> | |
13335 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
13336 <hr/> | |
13337 <h2><a name="type-promotion-14">tP-nonNegativeInteger-short</a></h2> | |
13338 Query evaluation test | |
13339 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
13340 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
13341 <h3>Default Graph</h3> | |
13342 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
13343 <div class="query"> | |
13344 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13345 | |
13346 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
13347 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
13348 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
13349 | |
13350 t:decimal1 rdf:value "1"^^xsd:decimal . | |
13351 t:float1 rdf:value "1"^^xsd:float . | |
13352 t:double1 rdf:value "1"^^xsd:double . | |
13353 t:booleanT rdf:value "true"^^xsd:boolean . | |
13354 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
13355 | |
13356 # types derived from xsd:decimal: | |
13357 | |
13358 t:integer1 rdf:value "1"^^xsd:integer . | |
13359 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
13360 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
13361 t:long1 rdf:value "1"^^xsd:long . | |
13362 t:int1 rdf:value "1"^^xsd:int . | |
13363 t:short1 rdf:value "1"^^xsd:short . | |
13364 t:byte1 rdf:value "1"^^xsd:byte . | |
13365 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
13366 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
13367 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
13368 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
13369 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
13370 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
13371 | |
13372 | |
13373 </div> | |
13374 <h3>Named Graphs</h3> | |
13375 | |
13376 <h3>Query</h3> | |
13377 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-nonNegativeInteger-short.rq">data-r2/type-promotion/tP-nonNegativeInteger-short.rq</a><br/> | |
13378 <div class="query"> | |
13379 # Positive test: product of type promotion within the xsd:decimal type tree. | |
13380 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13381 | |
13382 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
13383 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
13384 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
13385 ASK | |
13386 WHERE { t:nonNegativeInteger1 rdf:value ?l . | |
13387 t:short1 rdf:value ?r . | |
13388 FILTER ( datatype(?l + ?r) = xsd:integer ) } | |
13389 | |
13390 </div> | |
13391 <h3>Results</h3> | |
13392 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
13393 <hr/> | |
13394 <h2><a name="type-promotion-15">tP-unsignedLong-short</a></h2> | |
13395 Query evaluation test | |
13396 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
13397 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
13398 <h3>Default Graph</h3> | |
13399 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
13400 <div class="query"> | |
13401 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13402 | |
13403 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
13404 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
13405 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
13406 | |
13407 t:decimal1 rdf:value "1"^^xsd:decimal . | |
13408 t:float1 rdf:value "1"^^xsd:float . | |
13409 t:double1 rdf:value "1"^^xsd:double . | |
13410 t:booleanT rdf:value "true"^^xsd:boolean . | |
13411 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
13412 | |
13413 # types derived from xsd:decimal: | |
13414 | |
13415 t:integer1 rdf:value "1"^^xsd:integer . | |
13416 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
13417 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
13418 t:long1 rdf:value "1"^^xsd:long . | |
13419 t:int1 rdf:value "1"^^xsd:int . | |
13420 t:short1 rdf:value "1"^^xsd:short . | |
13421 t:byte1 rdf:value "1"^^xsd:byte . | |
13422 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
13423 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
13424 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
13425 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
13426 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
13427 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
13428 | |
13429 | |
13430 </div> | |
13431 <h3>Named Graphs</h3> | |
13432 | |
13433 <h3>Query</h3> | |
13434 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-unsignedLong-short.rq">data-r2/type-promotion/tP-unsignedLong-short.rq</a><br/> | |
13435 <div class="query"> | |
13436 # Positive test: product of type promotion within the xsd:decimal type tree. | |
13437 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13438 | |
13439 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
13440 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
13441 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
13442 ASK | |
13443 WHERE { t:unsignedLong1 rdf:value ?l . | |
13444 t:short1 rdf:value ?r . | |
13445 FILTER ( datatype(?l + ?r) = xsd:integer ) } | |
13446 | |
13447 </div> | |
13448 <h3>Results</h3> | |
13449 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
13450 <hr/> | |
13451 <h2><a name="type-promotion-16">tP-unsignedInt-short</a></h2> | |
13452 Query evaluation test | |
13453 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
13454 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
13455 <h3>Default Graph</h3> | |
13456 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
13457 <div class="query"> | |
13458 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13459 | |
13460 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
13461 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
13462 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
13463 | |
13464 t:decimal1 rdf:value "1"^^xsd:decimal . | |
13465 t:float1 rdf:value "1"^^xsd:float . | |
13466 t:double1 rdf:value "1"^^xsd:double . | |
13467 t:booleanT rdf:value "true"^^xsd:boolean . | |
13468 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
13469 | |
13470 # types derived from xsd:decimal: | |
13471 | |
13472 t:integer1 rdf:value "1"^^xsd:integer . | |
13473 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
13474 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
13475 t:long1 rdf:value "1"^^xsd:long . | |
13476 t:int1 rdf:value "1"^^xsd:int . | |
13477 t:short1 rdf:value "1"^^xsd:short . | |
13478 t:byte1 rdf:value "1"^^xsd:byte . | |
13479 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
13480 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
13481 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
13482 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
13483 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
13484 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
13485 | |
13486 | |
13487 </div> | |
13488 <h3>Named Graphs</h3> | |
13489 | |
13490 <h3>Query</h3> | |
13491 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-unsignedInt-short.rq">data-r2/type-promotion/tP-unsignedInt-short.rq</a><br/> | |
13492 <div class="query"> | |
13493 # Positive test: product of type promotion within the xsd:decimal type tree. | |
13494 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13495 | |
13496 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
13497 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
13498 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
13499 ASK | |
13500 WHERE { t:unsignedInt1 rdf:value ?l . | |
13501 t:short1 rdf:value ?r . | |
13502 FILTER ( datatype(?l + ?r) = xsd:integer ) } | |
13503 | |
13504 </div> | |
13505 <h3>Results</h3> | |
13506 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
13507 <hr/> | |
13508 <h2><a name="type-promotion-17">tP-unsignedShort-short</a></h2> | |
13509 Query evaluation test | |
13510 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
13511 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
13512 <h3>Default Graph</h3> | |
13513 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
13514 <div class="query"> | |
13515 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13516 | |
13517 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
13518 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
13519 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
13520 | |
13521 t:decimal1 rdf:value "1"^^xsd:decimal . | |
13522 t:float1 rdf:value "1"^^xsd:float . | |
13523 t:double1 rdf:value "1"^^xsd:double . | |
13524 t:booleanT rdf:value "true"^^xsd:boolean . | |
13525 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
13526 | |
13527 # types derived from xsd:decimal: | |
13528 | |
13529 t:integer1 rdf:value "1"^^xsd:integer . | |
13530 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
13531 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
13532 t:long1 rdf:value "1"^^xsd:long . | |
13533 t:int1 rdf:value "1"^^xsd:int . | |
13534 t:short1 rdf:value "1"^^xsd:short . | |
13535 t:byte1 rdf:value "1"^^xsd:byte . | |
13536 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
13537 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
13538 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
13539 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
13540 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
13541 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
13542 | |
13543 | |
13544 </div> | |
13545 <h3>Named Graphs</h3> | |
13546 | |
13547 <h3>Query</h3> | |
13548 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-unsignedShort-short.rq">data-r2/type-promotion/tP-unsignedShort-short.rq</a><br/> | |
13549 <div class="query"> | |
13550 # Positive test: product of type promotion within the xsd:decimal type tree. | |
13551 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13552 | |
13553 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
13554 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
13555 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
13556 ASK | |
13557 WHERE { t:unsignedShort1 rdf:value ?l . | |
13558 t:short1 rdf:value ?r . | |
13559 FILTER ( datatype(?l + ?r) = xsd:integer ) } | |
13560 | |
13561 </div> | |
13562 <h3>Results</h3> | |
13563 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
13564 <hr/> | |
13565 <h2><a name="type-promotion-18">tP-unsignedByte-short</a></h2> | |
13566 Query evaluation test | |
13567 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
13568 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
13569 <h3>Default Graph</h3> | |
13570 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
13571 <div class="query"> | |
13572 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13573 | |
13574 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
13575 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
13576 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
13577 | |
13578 t:decimal1 rdf:value "1"^^xsd:decimal . | |
13579 t:float1 rdf:value "1"^^xsd:float . | |
13580 t:double1 rdf:value "1"^^xsd:double . | |
13581 t:booleanT rdf:value "true"^^xsd:boolean . | |
13582 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
13583 | |
13584 # types derived from xsd:decimal: | |
13585 | |
13586 t:integer1 rdf:value "1"^^xsd:integer . | |
13587 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
13588 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
13589 t:long1 rdf:value "1"^^xsd:long . | |
13590 t:int1 rdf:value "1"^^xsd:int . | |
13591 t:short1 rdf:value "1"^^xsd:short . | |
13592 t:byte1 rdf:value "1"^^xsd:byte . | |
13593 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
13594 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
13595 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
13596 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
13597 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
13598 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
13599 | |
13600 | |
13601 </div> | |
13602 <h3>Named Graphs</h3> | |
13603 | |
13604 <h3>Query</h3> | |
13605 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-unsignedByte-short.rq">data-r2/type-promotion/tP-unsignedByte-short.rq</a><br/> | |
13606 <div class="query"> | |
13607 # Positive test: product of type promotion within the xsd:decimal type tree. | |
13608 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13609 | |
13610 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
13611 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
13612 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
13613 ASK | |
13614 WHERE { t:unsignedByte1 rdf:value ?l . | |
13615 t:short1 rdf:value ?r . | |
13616 FILTER ( datatype(?l + ?r) = xsd:integer ) } | |
13617 | |
13618 </div> | |
13619 <h3>Results</h3> | |
13620 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
13621 <hr/> | |
13622 <h2><a name="type-promotion-19">tP-positiveInteger-short</a></h2> | |
13623 Query evaluation test | |
13624 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
13625 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
13626 <h3>Default Graph</h3> | |
13627 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
13628 <div class="query"> | |
13629 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13630 | |
13631 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
13632 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
13633 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
13634 | |
13635 t:decimal1 rdf:value "1"^^xsd:decimal . | |
13636 t:float1 rdf:value "1"^^xsd:float . | |
13637 t:double1 rdf:value "1"^^xsd:double . | |
13638 t:booleanT rdf:value "true"^^xsd:boolean . | |
13639 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
13640 | |
13641 # types derived from xsd:decimal: | |
13642 | |
13643 t:integer1 rdf:value "1"^^xsd:integer . | |
13644 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
13645 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
13646 t:long1 rdf:value "1"^^xsd:long . | |
13647 t:int1 rdf:value "1"^^xsd:int . | |
13648 t:short1 rdf:value "1"^^xsd:short . | |
13649 t:byte1 rdf:value "1"^^xsd:byte . | |
13650 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
13651 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
13652 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
13653 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
13654 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
13655 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
13656 | |
13657 | |
13658 </div> | |
13659 <h3>Named Graphs</h3> | |
13660 | |
13661 <h3>Query</h3> | |
13662 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-positiveInteger-short.rq">data-r2/type-promotion/tP-positiveInteger-short.rq</a><br/> | |
13663 <div class="query"> | |
13664 # Positive test: product of type promotion within the xsd:decimal type tree. | |
13665 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13666 | |
13667 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
13668 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
13669 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
13670 ASK | |
13671 WHERE { t:positiveInteger1 rdf:value ?l . | |
13672 t:short1 rdf:value ?r . | |
13673 FILTER ( datatype(?l + ?r) = xsd:integer ) } | |
13674 | |
13675 </div> | |
13676 <h3>Results</h3> | |
13677 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
13678 <hr/> | |
13679 <h2><a name="type-promotion-20">tP-short-double</a></h2> | |
13680 Query evaluation test | |
13681 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
13682 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
13683 <h3>Default Graph</h3> | |
13684 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
13685 <div class="query"> | |
13686 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13687 | |
13688 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
13689 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
13690 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
13691 | |
13692 t:decimal1 rdf:value "1"^^xsd:decimal . | |
13693 t:float1 rdf:value "1"^^xsd:float . | |
13694 t:double1 rdf:value "1"^^xsd:double . | |
13695 t:booleanT rdf:value "true"^^xsd:boolean . | |
13696 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
13697 | |
13698 # types derived from xsd:decimal: | |
13699 | |
13700 t:integer1 rdf:value "1"^^xsd:integer . | |
13701 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
13702 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
13703 t:long1 rdf:value "1"^^xsd:long . | |
13704 t:int1 rdf:value "1"^^xsd:int . | |
13705 t:short1 rdf:value "1"^^xsd:short . | |
13706 t:byte1 rdf:value "1"^^xsd:byte . | |
13707 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
13708 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
13709 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
13710 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
13711 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
13712 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
13713 | |
13714 | |
13715 </div> | |
13716 <h3>Named Graphs</h3> | |
13717 | |
13718 <h3>Query</h3> | |
13719 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-short-double.rq">data-r2/type-promotion/tP-short-double.rq</a><br/> | |
13720 <div class="query"> | |
13721 # Positive test: product of type promotion within the xsd:decimal type tree. | |
13722 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13723 | |
13724 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
13725 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
13726 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
13727 ASK | |
13728 WHERE { t:short1 rdf:value ?l . | |
13729 t:double1 rdf:value ?r . | |
13730 FILTER ( datatype(?l + ?r) = xsd:double ) } | |
13731 | |
13732 </div> | |
13733 <h3>Results</h3> | |
13734 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
13735 <hr/> | |
13736 <h2><a name="type-promotion-21">tP-short-float</a></h2> | |
13737 Query evaluation test | |
13738 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
13739 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
13740 <h3>Default Graph</h3> | |
13741 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
13742 <div class="query"> | |
13743 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13744 | |
13745 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
13746 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
13747 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
13748 | |
13749 t:decimal1 rdf:value "1"^^xsd:decimal . | |
13750 t:float1 rdf:value "1"^^xsd:float . | |
13751 t:double1 rdf:value "1"^^xsd:double . | |
13752 t:booleanT rdf:value "true"^^xsd:boolean . | |
13753 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
13754 | |
13755 # types derived from xsd:decimal: | |
13756 | |
13757 t:integer1 rdf:value "1"^^xsd:integer . | |
13758 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
13759 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
13760 t:long1 rdf:value "1"^^xsd:long . | |
13761 t:int1 rdf:value "1"^^xsd:int . | |
13762 t:short1 rdf:value "1"^^xsd:short . | |
13763 t:byte1 rdf:value "1"^^xsd:byte . | |
13764 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
13765 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
13766 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
13767 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
13768 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
13769 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
13770 | |
13771 | |
13772 </div> | |
13773 <h3>Named Graphs</h3> | |
13774 | |
13775 <h3>Query</h3> | |
13776 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-short-float.rq">data-r2/type-promotion/tP-short-float.rq</a><br/> | |
13777 <div class="query"> | |
13778 # Positive test: product of type promotion within the xsd:decimal type tree. | |
13779 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13780 | |
13781 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
13782 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
13783 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
13784 ASK | |
13785 WHERE { t:short1 rdf:value ?l . | |
13786 t:float1 rdf:value ?r . | |
13787 FILTER ( datatype(?l + ?r) = xsd:float ) } | |
13788 | |
13789 </div> | |
13790 <h3>Results</h3> | |
13791 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
13792 <hr/> | |
13793 <h2><a name="type-promotion-22">tP-short-decimal</a></h2> | |
13794 Query evaluation test | |
13795 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
13796 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
13797 <h3>Default Graph</h3> | |
13798 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
13799 <div class="query"> | |
13800 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13801 | |
13802 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
13803 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
13804 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
13805 | |
13806 t:decimal1 rdf:value "1"^^xsd:decimal . | |
13807 t:float1 rdf:value "1"^^xsd:float . | |
13808 t:double1 rdf:value "1"^^xsd:double . | |
13809 t:booleanT rdf:value "true"^^xsd:boolean . | |
13810 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
13811 | |
13812 # types derived from xsd:decimal: | |
13813 | |
13814 t:integer1 rdf:value "1"^^xsd:integer . | |
13815 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
13816 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
13817 t:long1 rdf:value "1"^^xsd:long . | |
13818 t:int1 rdf:value "1"^^xsd:int . | |
13819 t:short1 rdf:value "1"^^xsd:short . | |
13820 t:byte1 rdf:value "1"^^xsd:byte . | |
13821 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
13822 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
13823 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
13824 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
13825 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
13826 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
13827 | |
13828 | |
13829 </div> | |
13830 <h3>Named Graphs</h3> | |
13831 | |
13832 <h3>Query</h3> | |
13833 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-short-decimal.rq">data-r2/type-promotion/tP-short-decimal.rq</a><br/> | |
13834 <div class="query"> | |
13835 # Positive test: product of type promotion within the xsd:decimal type tree. | |
13836 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13837 | |
13838 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
13839 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
13840 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
13841 ASK | |
13842 WHERE { t:short1 rdf:value ?l . | |
13843 t:decimal1 rdf:value ?r . | |
13844 FILTER ( datatype(?l + ?r) = xsd:decimal ) } | |
13845 | |
13846 </div> | |
13847 <h3>Results</h3> | |
13848 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/true.ttl">data-r2/type-promotion/true.ttl</a></p> | |
13849 <hr/> | |
13850 <h2><a name="type-promotion-23">tP-short-short-fail</a></h2> | |
13851 Query evaluation test | |
13852 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
13853 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
13854 <h3>Default Graph</h3> | |
13855 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
13856 <div class="query"> | |
13857 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13858 | |
13859 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
13860 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
13861 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
13862 | |
13863 t:decimal1 rdf:value "1"^^xsd:decimal . | |
13864 t:float1 rdf:value "1"^^xsd:float . | |
13865 t:double1 rdf:value "1"^^xsd:double . | |
13866 t:booleanT rdf:value "true"^^xsd:boolean . | |
13867 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
13868 | |
13869 # types derived from xsd:decimal: | |
13870 | |
13871 t:integer1 rdf:value "1"^^xsd:integer . | |
13872 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
13873 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
13874 t:long1 rdf:value "1"^^xsd:long . | |
13875 t:int1 rdf:value "1"^^xsd:int . | |
13876 t:short1 rdf:value "1"^^xsd:short . | |
13877 t:byte1 rdf:value "1"^^xsd:byte . | |
13878 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
13879 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
13880 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
13881 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
13882 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
13883 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
13884 | |
13885 | |
13886 </div> | |
13887 <h3>Named Graphs</h3> | |
13888 | |
13889 <h3>Query</h3> | |
13890 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-short-short-fail.rq">data-r2/type-promotion/tP-short-short-fail.rq</a><br/> | |
13891 <div class="query"> | |
13892 # Positive test: product of type promotion within the xsd:decimal type tree. | |
13893 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13894 | |
13895 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
13896 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
13897 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
13898 ASK | |
13899 WHERE { t:short1 rdf:value ?l . | |
13900 t:short1 rdf:value ?r . | |
13901 FILTER ( datatype(?l + ?r) = xsd:short ) } | |
13902 | |
13903 </div> | |
13904 <h3>Results</h3> | |
13905 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/false.ttl">data-r2/type-promotion/false.ttl</a></p> | |
13906 <hr/> | |
13907 <h2><a name="type-promotion-24">tP-byte-short-fail</a></h2> | |
13908 Query evaluation test | |
13909 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
13910 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
13911 <h3>Default Graph</h3> | |
13912 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
13913 <div class="query"> | |
13914 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13915 | |
13916 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
13917 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
13918 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
13919 | |
13920 t:decimal1 rdf:value "1"^^xsd:decimal . | |
13921 t:float1 rdf:value "1"^^xsd:float . | |
13922 t:double1 rdf:value "1"^^xsd:double . | |
13923 t:booleanT rdf:value "true"^^xsd:boolean . | |
13924 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
13925 | |
13926 # types derived from xsd:decimal: | |
13927 | |
13928 t:integer1 rdf:value "1"^^xsd:integer . | |
13929 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
13930 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
13931 t:long1 rdf:value "1"^^xsd:long . | |
13932 t:int1 rdf:value "1"^^xsd:int . | |
13933 t:short1 rdf:value "1"^^xsd:short . | |
13934 t:byte1 rdf:value "1"^^xsd:byte . | |
13935 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
13936 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
13937 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
13938 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
13939 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
13940 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
13941 | |
13942 | |
13943 </div> | |
13944 <h3>Named Graphs</h3> | |
13945 | |
13946 <h3>Query</h3> | |
13947 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-byte-short-fail.rq">data-r2/type-promotion/tP-byte-short-fail.rq</a><br/> | |
13948 <div class="query"> | |
13949 # Positive test: product of type promotion within the xsd:decimal type tree. | |
13950 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13951 | |
13952 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
13953 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
13954 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
13955 ASK | |
13956 WHERE { t:byte1 rdf:value ?l . | |
13957 t:short1 rdf:value ?r . | |
13958 FILTER ( datatype(?l + ?r) = xsd:short ) } | |
13959 | |
13960 </div> | |
13961 <h3>Results</h3> | |
13962 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/false.ttl">data-r2/type-promotion/false.ttl</a></p> | |
13963 <hr/> | |
13964 <h2><a name="type-promotion-25">tP-short-long-fail</a></h2> | |
13965 Query evaluation test | |
13966 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
13967 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
13968 <h3>Default Graph</h3> | |
13969 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
13970 <div class="query"> | |
13971 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
13972 | |
13973 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
13974 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
13975 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
13976 | |
13977 t:decimal1 rdf:value "1"^^xsd:decimal . | |
13978 t:float1 rdf:value "1"^^xsd:float . | |
13979 t:double1 rdf:value "1"^^xsd:double . | |
13980 t:booleanT rdf:value "true"^^xsd:boolean . | |
13981 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
13982 | |
13983 # types derived from xsd:decimal: | |
13984 | |
13985 t:integer1 rdf:value "1"^^xsd:integer . | |
13986 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
13987 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
13988 t:long1 rdf:value "1"^^xsd:long . | |
13989 t:int1 rdf:value "1"^^xsd:int . | |
13990 t:short1 rdf:value "1"^^xsd:short . | |
13991 t:byte1 rdf:value "1"^^xsd:byte . | |
13992 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
13993 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
13994 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
13995 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
13996 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
13997 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
13998 | |
13999 | |
14000 </div> | |
14001 <h3>Named Graphs</h3> | |
14002 | |
14003 <h3>Query</h3> | |
14004 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-short-long-fail.rq">data-r2/type-promotion/tP-short-long-fail.rq</a><br/> | |
14005 <div class="query"> | |
14006 # Positive test: product of type promotion within the xsd:decimal type tree. | |
14007 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
14008 | |
14009 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
14010 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
14011 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
14012 ASK | |
14013 WHERE { t:short1 rdf:value ?l . | |
14014 t:long1 rdf:value ?r . | |
14015 FILTER ( datatype(?l + ?r) = xsd:decimal ) } | |
14016 | |
14017 </div> | |
14018 <h3>Results</h3> | |
14019 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/false.ttl">data-r2/type-promotion/false.ttl</a></p> | |
14020 <hr/> | |
14021 <h2><a name="type-promotion-26">tP-short-int-fail</a></h2> | |
14022 Query evaluation test | |
14023 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
14024 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
14025 <h3>Default Graph</h3> | |
14026 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
14027 <div class="query"> | |
14028 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
14029 | |
14030 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
14031 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
14032 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
14033 | |
14034 t:decimal1 rdf:value "1"^^xsd:decimal . | |
14035 t:float1 rdf:value "1"^^xsd:float . | |
14036 t:double1 rdf:value "1"^^xsd:double . | |
14037 t:booleanT rdf:value "true"^^xsd:boolean . | |
14038 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
14039 | |
14040 # types derived from xsd:decimal: | |
14041 | |
14042 t:integer1 rdf:value "1"^^xsd:integer . | |
14043 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
14044 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
14045 t:long1 rdf:value "1"^^xsd:long . | |
14046 t:int1 rdf:value "1"^^xsd:int . | |
14047 t:short1 rdf:value "1"^^xsd:short . | |
14048 t:byte1 rdf:value "1"^^xsd:byte . | |
14049 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
14050 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
14051 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
14052 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
14053 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
14054 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
14055 | |
14056 | |
14057 </div> | |
14058 <h3>Named Graphs</h3> | |
14059 | |
14060 <h3>Query</h3> | |
14061 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-short-int-fail.rq">data-r2/type-promotion/tP-short-int-fail.rq</a><br/> | |
14062 <div class="query"> | |
14063 # Positive test: product of type promotion within the xsd:decimal type tree. | |
14064 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
14065 | |
14066 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
14067 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
14068 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
14069 ASK | |
14070 WHERE { t:short1 rdf:value ?l . | |
14071 t:int1 rdf:value ?r . | |
14072 FILTER ( datatype(?l + ?r) = xsd:float ) } | |
14073 | |
14074 </div> | |
14075 <h3>Results</h3> | |
14076 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/false.ttl">data-r2/type-promotion/false.ttl</a></p> | |
14077 <hr/> | |
14078 <h2><a name="type-promotion-27">tP-short-byte-fail</a></h2> | |
14079 Query evaluation test | |
14080 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
14081 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
14082 <h3>Default Graph</h3> | |
14083 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
14084 <div class="query"> | |
14085 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
14086 | |
14087 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
14088 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
14089 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
14090 | |
14091 t:decimal1 rdf:value "1"^^xsd:decimal . | |
14092 t:float1 rdf:value "1"^^xsd:float . | |
14093 t:double1 rdf:value "1"^^xsd:double . | |
14094 t:booleanT rdf:value "true"^^xsd:boolean . | |
14095 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
14096 | |
14097 # types derived from xsd:decimal: | |
14098 | |
14099 t:integer1 rdf:value "1"^^xsd:integer . | |
14100 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
14101 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
14102 t:long1 rdf:value "1"^^xsd:long . | |
14103 t:int1 rdf:value "1"^^xsd:int . | |
14104 t:short1 rdf:value "1"^^xsd:short . | |
14105 t:byte1 rdf:value "1"^^xsd:byte . | |
14106 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
14107 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
14108 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
14109 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
14110 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
14111 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
14112 | |
14113 | |
14114 </div> | |
14115 <h3>Named Graphs</h3> | |
14116 | |
14117 <h3>Query</h3> | |
14118 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-short-byte-fail.rq">data-r2/type-promotion/tP-short-byte-fail.rq</a><br/> | |
14119 <div class="query"> | |
14120 # Positive test: product of type promotion within the xsd:decimal type tree. | |
14121 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
14122 | |
14123 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
14124 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
14125 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
14126 ASK | |
14127 WHERE { t:short1 rdf:value ?l . | |
14128 t:byte1 rdf:value ?r . | |
14129 FILTER ( datatype(?l + ?r) = xsd:double ) } | |
14130 | |
14131 </div> | |
14132 <h3>Results</h3> | |
14133 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/false.ttl">data-r2/type-promotion/false.ttl</a></p> | |
14134 <hr/> | |
14135 <h2><a name="type-promotion-28">tP-double-float-fail</a></h2> | |
14136 Query evaluation test | |
14137 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
14138 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
14139 <h3>Default Graph</h3> | |
14140 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
14141 <div class="query"> | |
14142 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
14143 | |
14144 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
14145 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
14146 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
14147 | |
14148 t:decimal1 rdf:value "1"^^xsd:decimal . | |
14149 t:float1 rdf:value "1"^^xsd:float . | |
14150 t:double1 rdf:value "1"^^xsd:double . | |
14151 t:booleanT rdf:value "true"^^xsd:boolean . | |
14152 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
14153 | |
14154 # types derived from xsd:decimal: | |
14155 | |
14156 t:integer1 rdf:value "1"^^xsd:integer . | |
14157 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
14158 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
14159 t:long1 rdf:value "1"^^xsd:long . | |
14160 t:int1 rdf:value "1"^^xsd:int . | |
14161 t:short1 rdf:value "1"^^xsd:short . | |
14162 t:byte1 rdf:value "1"^^xsd:byte . | |
14163 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
14164 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
14165 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
14166 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
14167 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
14168 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
14169 | |
14170 | |
14171 </div> | |
14172 <h3>Named Graphs</h3> | |
14173 | |
14174 <h3>Query</h3> | |
14175 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-double-float-fail.rq">data-r2/type-promotion/tP-double-float-fail.rq</a><br/> | |
14176 <div class="query"> | |
14177 # Positive test: product of type promotion within the xsd:decimal type tree. | |
14178 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
14179 | |
14180 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
14181 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
14182 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
14183 ASK | |
14184 WHERE { t:double1 rdf:value ?l . | |
14185 t:float1 rdf:value ?r . | |
14186 FILTER ( datatype(?l + ?r) = xsd:float ) } | |
14187 | |
14188 </div> | |
14189 <h3>Results</h3> | |
14190 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/false.ttl">data-r2/type-promotion/false.ttl</a></p> | |
14191 <hr/> | |
14192 <h2><a name="type-promotion-29">tP-double-decimal-fail</a></h2> | |
14193 Query evaluation test | |
14194 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
14195 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
14196 <h3>Default Graph</h3> | |
14197 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
14198 <div class="query"> | |
14199 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
14200 | |
14201 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
14202 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
14203 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
14204 | |
14205 t:decimal1 rdf:value "1"^^xsd:decimal . | |
14206 t:float1 rdf:value "1"^^xsd:float . | |
14207 t:double1 rdf:value "1"^^xsd:double . | |
14208 t:booleanT rdf:value "true"^^xsd:boolean . | |
14209 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
14210 | |
14211 # types derived from xsd:decimal: | |
14212 | |
14213 t:integer1 rdf:value "1"^^xsd:integer . | |
14214 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
14215 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
14216 t:long1 rdf:value "1"^^xsd:long . | |
14217 t:int1 rdf:value "1"^^xsd:int . | |
14218 t:short1 rdf:value "1"^^xsd:short . | |
14219 t:byte1 rdf:value "1"^^xsd:byte . | |
14220 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
14221 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
14222 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
14223 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
14224 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
14225 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
14226 | |
14227 | |
14228 </div> | |
14229 <h3>Named Graphs</h3> | |
14230 | |
14231 <h3>Query</h3> | |
14232 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-double-decimal-fail.rq">data-r2/type-promotion/tP-double-decimal-fail.rq</a><br/> | |
14233 <div class="query"> | |
14234 # Positive test: product of type promotion within the xsd:decimal type tree. | |
14235 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
14236 | |
14237 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
14238 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
14239 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
14240 ASK | |
14241 WHERE { t:double1 rdf:value ?l . | |
14242 t:decimal1 rdf:value ?r . | |
14243 FILTER ( datatype(?l + ?r) = xsd:decimal ) } | |
14244 | |
14245 </div> | |
14246 <h3>Results</h3> | |
14247 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/false.ttl">data-r2/type-promotion/false.ttl</a></p> | |
14248 <hr/> | |
14249 <h2><a name="type-promotion-30">tP-float-decimal-fail</a></h2> | |
14250 Query evaluation test | |
14251 <div class="approval">Approved by <a href="http://www.w3.org/2007/07/17-dawg-minutes">http://www.w3.org/2007/07/17-dawg-minutes</a></div> | |
14252 <p>Positive test: product of type promotion within the xsd:decimal type tree.</p> | |
14253 <h3>Default Graph</h3> | |
14254 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP.ttl">data-r2/type-promotion/tP.ttl</a></p> | |
14255 <div class="query"> | |
14256 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
14257 | |
14258 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
14259 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
14260 @prefix t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> . | |
14261 | |
14262 t:decimal1 rdf:value "1"^^xsd:decimal . | |
14263 t:float1 rdf:value "1"^^xsd:float . | |
14264 t:double1 rdf:value "1"^^xsd:double . | |
14265 t:booleanT rdf:value "true"^^xsd:boolean . | |
14266 t:dateTime1 rdf:value "2005-01-14T12:34:56"^^xsd:dateTime . | |
14267 | |
14268 # types derived from xsd:decimal: | |
14269 | |
14270 t:integer1 rdf:value "1"^^xsd:integer . | |
14271 t:nonPositiveIntegerN1 rdf:value "-1"^^xsd:nonPositiveInteger . | |
14272 t:negativeIntegerN1 rdf:value "-1"^^xsd:negativeInteger . | |
14273 t:long1 rdf:value "1"^^xsd:long . | |
14274 t:int1 rdf:value "1"^^xsd:int . | |
14275 t:short1 rdf:value "1"^^xsd:short . | |
14276 t:byte1 rdf:value "1"^^xsd:byte . | |
14277 t:nonNegativeInteger1 rdf:value "1"^^xsd:nonNegativeInteger . | |
14278 t:unsignedLong1 rdf:value "1"^^xsd:unsignedLong . | |
14279 t:unsignedInt1 rdf:value "1"^^xsd:unsignedInt . | |
14280 t:unsignedShort1 rdf:value "1"^^xsd:unsignedShort . | |
14281 t:unsignedByte1 rdf:value "1"^^xsd:unsignedByte . | |
14282 t:positiveInteger1 rdf:value "1"^^xsd:positiveInteger . | |
14283 | |
14284 | |
14285 </div> | |
14286 <h3>Named Graphs</h3> | |
14287 | |
14288 <h3>Query</h3> | |
14289 <a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/tP-float-decimal-fail.rq">data-r2/type-promotion/tP-float-decimal-fail.rq</a><br/> | |
14290 <div class="query"> | |
14291 # Positive test: product of type promotion within the xsd:decimal type tree. | |
14292 # $Id: r2.html,v 1.9 2007/10/13 02:37:32 lfeigenb Exp $ | |
14293 | |
14294 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
14295 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
14296 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
14297 ASK | |
14298 WHERE { t:float1 rdf:value ?l . | |
14299 t:decimal1 rdf:value ?r . | |
14300 FILTER ( datatype(?l + ?r) = xsd:decimal ) } | |
14301 | |
14302 </div> | |
14303 <h3>Results</h3> | |
14304 <p><a href="http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/false.ttl">data-r2/type-promotion/false.ttl</a></p> | |
14305 <hr/> | |
14306 <pre id="license"> | |
14307 W3C(R) SOFTWARE NOTICE AND LICENSE | |
14308 http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 | |
14309 | |
14310 This work (and included software, documentation such as READMEs, or other | |
14311 related items) is being provided by the copyright holders under the | |
14312 following license. By obtaining, using and/or copying this work, you (the | |
14313 licensee) agree that you have read, understood, and will comply with the | |
14314 following terms and conditions. | |
14315 | |
14316 Permission to copy, modify, and distribute this software and its | |
14317 documentation, with or without modification, for any purpose and without | |
14318 fee or royalty is hereby granted, provided that you include the following | |
14319 on ALL copies of the software and documentation or portions thereof, | |
14320 including modifications: | |
14321 | |
14322 1. The full text of this NOTICE in a location viewable to users of the | |
14323 redistributed or derivative work. | |
14324 | |
14325 2. Any pre-existing intellectual property disclaimers, notices, or terms | |
14326 and conditions. If none exist, the W3C Software Short Notice should be | |
14327 included (hypertext is preferred, text is permitted) within the body of | |
14328 any redistributed or derivative code. | |
14329 | |
14330 3. Notice of any changes or modifications to the files, including the | |
14331 date changes were made. (We recommend you provide URIs to the location | |
14332 from which the code is derived.) | |
14333 | |
14334 THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS | |
14335 MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT | |
14336 NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR | |
14337 PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE | |
14338 ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. | |
14339 | |
14340 COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR | |
14341 CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR | |
14342 DOCUMENTATION. | |
14343 | |
14344 The name and trademarks of copyright holders may NOT be used in advertising | |
14345 or publicity pertaining to the software without specific, written prior | |
14346 permission. Title to copyright in this software and any associated | |
14347 documentation will at all times remain with copyright holders. | |
14348 </pre> | |
14349 </body> | |
14350 </html> |