| 1 |
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 2 |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 3 |
@prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> . |
| 4 |
@prefix qt: <http://www.w3.org/2001/sw/DataAccess/tests/test-query#> . |
| 5 |
|
| 6 |
<> rdf:type mf:Manifest ; |
| 7 |
rdfs:comment "Miscellaneous SPARQL syntax test cases" ; |
| 8 |
mf:entries |
| 9 |
( |
| 10 |
[ mf:name "sparql-0triples" ; |
| 11 |
rdfs:comment |
| 12 |
"Select with 0 triples" ; |
| 13 |
mf:action |
| 14 |
[ qt:query <0triples.rq> ; |
| 15 |
qt:data <data.n3> ] ; |
| 16 |
mf:result <result-0triples.n3> |
| 17 |
] |
| 18 |
|
| 19 |
[ mf:name "order-by-distinct" ; |
| 20 |
rdfs:comment |
| 21 |
"ORDER BY and DISTINCT with different variables" ; |
| 22 |
mf:action |
| 23 |
[ qt:query <order-distinct.rq> ; |
| 24 |
qt:data <order.ttl> ] ; |
| 25 |
mf:result <result-order-distinct.ttl> |
| 26 |
] |
| 27 |
|
| 28 |
[ mf:name "distinct-with-undef-var" ; |
| 29 |
rdfs:comment |
| 30 |
"SELECT DISTINCT with an undefined variable" ; |
| 31 |
mf:action |
| 32 |
[ qt:query <distinct-undef.rq> ; |
| 33 |
qt:data <data.n3> ] ; |
| 34 |
mf:result <result-distinct-undef.ttl> |
| 35 |
] |
| 36 |
|
| 37 |
# End of tests |
| 38 |
). |