| 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 |
@prefix dawgt: <http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#> . |
| 6 |
|
| 7 |
<> rdf:type mf:Manifest ; |
| 8 |
rdfs:comment "Sorting test cases." ; |
| 9 |
mf:entries |
| 10 |
( |
| 11 |
[ mf:name "sort-1" ; |
| 12 |
rdfs:comment "Alphabetic sort (ascending) on untyped literals" ; |
| 13 |
mf:action |
| 14 |
[ qt:query <query-sort-1.rq> ; |
| 15 |
qt:data <data-sort-1.ttl> ] ; |
| 16 |
mf:result <result-sort-1.rdf> ; |
| 17 |
dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2005AprJun/0248.html>; |
| 18 |
dawgt:approval dawgt:Approved |
| 19 |
] |
| 20 |
[ mf:name "sort-2" ; |
| 21 |
rdfs:comment "Alphabetic sort (descending) on untyped literals" ; |
| 22 |
mf:action |
| 23 |
[ qt:query <query-sort-2.rq> ; |
| 24 |
qt:data <data-sort-1.ttl> ] ; |
| 25 |
mf:result <result-sort-2.rdf> |
| 26 |
] |
| 27 |
[ mf:name "sort-3" ; |
| 28 |
rdfs:comment "Sort on (possibly unbound) URIs" ; |
| 29 |
mf:action |
| 30 |
[ qt:query <query-sort-3.rq> ; |
| 31 |
qt:data <data-sort-3.ttl> ] ; |
| 32 |
mf:result <result-sort-3.rdf> |
| 33 |
] |
| 34 |
[ mf:name "sort-4" ; |
| 35 |
rdfs:comment "Sort on datatyped (integer) literals" ; |
| 36 |
mf:action |
| 37 |
[ qt:query <query-sort-4.rq> ; |
| 38 |
qt:data <data-sort-4.ttl> ] ; |
| 39 |
mf:result <result-sort-4.rdf> |
| 40 |
] |
| 41 |
[ mf:name "sort-5" ; |
| 42 |
rdfs:comment "Sort first on untyped literals (ascending), then on datatyped (integer) literals (descending" ; |
| 43 |
mf:action |
| 44 |
[ qt:query <query-sort-5.rq> ; |
| 45 |
qt:data <data-sort-4.ttl> ] ; |
| 46 |
mf:result <result-sort-5.rdf> |
| 47 |
] |
| 48 |
[ mf:name "sort-6" ; |
| 49 |
rdfs:comment "Sort on mixed result of uris and literals." ; |
| 50 |
mf:action |
| 51 |
[ qt:query <query-sort-6.rq> ; |
| 52 |
qt:data <data-sort-6.ttl> ] ; |
| 53 |
mf:result <result-sort-6.rdf> |
| 54 |
] |
| 55 |
[ mf:name "sort-7" ; |
| 56 |
rdfs:comment "Sort on comparable mixed typed literals (integer and float)" ; |
| 57 |
mf:action |
| 58 |
[ qt:query <query-sort-4.rq> ; |
| 59 |
qt:data <data-sort-7.ttl> ] ; |
| 60 |
mf:result <result-sort-7.rdf> |
| 61 |
] |
| 62 |
[ mf:name "sort-8" ; |
| 63 |
rdfs:comment "Sort on several mixed values (bnode, uri, literal)" ; |
| 64 |
mf:action |
| 65 |
[ qt:query <query-sort-4.rq> ; |
| 66 |
qt:data <data-sort-8.ttl> ] ; |
| 67 |
mf:result <result-sort-8.rdf> |
| 68 |
] |
| 69 |
). |