| 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 "Survey test cases" ; |
| 8 |
rdfs:comment "See http://lists.w3.org/Archives/Public/public-rdf-dawg/2005AprJun/0023.html" ; |
| 9 |
mf:entries |
| 10 |
( |
| 11 |
[ mf:name "survey-1" ; |
| 12 |
rdfs:label "Survey q1: Path expression" ; |
| 13 |
rdfs:comment "Return the names of the authors of publication X" ; |
| 14 |
mf:action |
| 15 |
[ qt:query <query-survey-1.rq> ; |
| 16 |
qt:data <survey-sample.ttl> ] ; |
| 17 |
mf:result <result-survey-1.ttl> |
| 18 |
] |
| 19 |
[ mf:name "survey-2" ; |
| 20 |
rdfs:label "Survey q2: optional path expression"; |
| 21 |
rdfs:comment "Return the name and, if known, the e-mail of the author of publication X" ; |
| 22 |
mf:action |
| 23 |
[ qt:query <query-survey-2.rq> ; |
| 24 |
qt:data <survey-sample.ttl> ] ; |
| 25 |
mf:result <result-survey-2.ttl> |
| 26 |
] |
| 27 |
[ mf:name "survey-3" ; |
| 28 |
rdfs:label "Survey q3: Union "; |
| 29 |
rdfs:comment "Return the labels of all topics and (union) the titles of all publications." ; |
| 30 |
mf:action |
| 31 |
[ qt:query <query-survey-3.rq> ; |
| 32 |
qt:data <survey-sample.ttl> ] ; |
| 33 |
mf:result <result-survey-3.ttl> |
| 34 |
] |
| 35 |
# [ mf:name "survey-4" ; |
| 36 |
# rdfs:label "Survey q4: Difference" ; |
| 37 |
# rdfs:comment "Return the labels of all topics that are not titles of publications." ; |
| 38 |
# mf:action |
| 39 |
# [ qt:query <query-survey-4.rq> ; |
| 40 |
# qt:data <survey-sample.ttl> ] ; |
| 41 |
# mf:result <result-survey-4.ttl> |
| 42 |
# ] |
| 43 |
# [ mf:name "survey-5" ; |
| 44 |
# rdfs:label "Survey q5: Quantification" ; |
| 45 |
# rdfs:comment "Return the persons who are authors of all publications." ; |
| 46 |
# mf:action |
| 47 |
# [ qt:query <query-survey-5.rq> ; |
| 48 |
# qt:data <survey-sample.ttl> ] ; |
| 49 |
# mf:result <result-survey-5.ttl> |
| 50 |
# ] |
| 51 |
# [ mf:name "survey-6" ; |
| 52 |
# rdfs:label "Survey q6: Aggregation" ; |
| 53 |
# rdfs:comment "Count the number of authors of a publication." ; |
| 54 |
# mf:action |
| 55 |
# [ qt:query <query-survey-6.rq> ; |
| 56 |
# qt:data <survey-sample.ttl> ] ; |
| 57 |
# mf:result <result-survey-6.ttl> |
| 58 |
# ] |
| 59 |
# [ mf:name "survey-7" ; |
| 60 |
# rdfs:label "Survey q7: Recursion" ; |
| 61 |
# rdfs:comment "Return all subtopics of topic "Information Systems", recursively." ; |
| 62 |
# mf:action |
| 63 |
# [ qt:query <query-survey-7.rq> ; |
| 64 |
# qt:data <survey-sample.ttl> ] ; |
| 65 |
# mf:result <result-survey-7.ttl> |
| 66 |
# ] |
| 67 |
[ mf:name "survey-8" ; |
| 68 |
rdfs:label "Survey q8: Reification" ; |
| 69 |
rdfs:comment "Return the person who has classified the publication X." ; |
| 70 |
mf:action |
| 71 |
[ qt:query <query-survey-8.rq> ; |
| 72 |
qt:data <survey-sample.ttl> ] ; |
| 73 |
mf:result <result-survey-8.ttl> |
| 74 |
] |
| 75 |
[ mf:name "survey-9" ; |
| 76 |
rdfs:label "Survey q9: Collections and Containers" ; |
| 77 |
rdfs:comment "Return the first author of Publication X." ; |
| 78 |
mf:action |
| 79 |
[ qt:query <query-survey-9.rq> ; |
| 80 |
qt:data <survey-sample.ttl> ] ; |
| 81 |
mf:result <result-survey-9.ttl> |
| 82 |
] |
| 83 |
[ mf:name "survey-10" ; |
| 84 |
rdfs:label "Survey q10: Namespace" ; |
| 85 |
rdfs:comment "Return all resources whose namespace starts with http://example.org/survey-sample/." ; |
| 86 |
mf:action |
| 87 |
[ qt:query <query-survey-10.rq> ; |
| 88 |
qt:data <survey-sample.ttl> ] ; |
| 89 |
mf:result <result-survey-10.ttl> |
| 90 |
] |
| 91 |
[ mf:name "survey-11" ; |
| 92 |
rdfs:label "Survey q11: Language" ; |
| 93 |
rdfs:comment "Return the German label of the topic whose English label is 'Database Management'." ; |
| 94 |
mf:action |
| 95 |
[ qt:query <query-survey-11.rq> ; |
| 96 |
qt:data <survey-sample.ttl> ] ; |
| 97 |
mf:result <result-survey-11.ttl> |
| 98 |
] |
| 99 |
[ mf:name "survey-12" ; |
| 100 |
rdfs:label "Survey q12: Lexical space" ; |
| 101 |
rdfs:comment "Return all publications where the page number is the lexical value '08'." ; |
| 102 |
mf:action |
| 103 |
[ qt:query <query-survey-12.rq> ; |
| 104 |
qt:data <survey-sample.ttl> ] ; |
| 105 |
mf:result <result-survey-12.ttl> |
| 106 |
] |
| 107 |
[ mf:name "survey-13" ; |
| 108 |
rdfs:label "Survey q13: Value space" ; |
| 109 |
rdfs:comment "Return all publications where the page number is the integer value 8." ; |
| 110 |
mf:action |
| 111 |
[ qt:query <query-survey-13.rq> ; |
| 112 |
qt:data <survey-sample.ttl> ] ; |
| 113 |
mf:result <result-survey-13.ttl> |
| 114 |
] |
| 115 |
# [ mf:name "survey-14" ; |
| 116 |
# rdfs:label "Survey q14: Entailment" ; |
| 117 |
# rdfs:comment "Return all instances of that are members of the class Publication." ; |
| 118 |
# mf:action |
| 119 |
# [ qt:query <query-survey-14.rq> ; |
| 120 |
# qt:data <survey-sample.ttl> ] ; |
| 121 |
# mf:result <result-survey-14.ttl> |
| 122 |
# ] |
| 123 |
). |