aboutsummaryrefslogtreecommitdiff
path: root/data/uobm/uobm.sparql
diff options
context:
space:
mode:
Diffstat (limited to 'data/uobm/uobm.sparql')
-rw-r--r--data/uobm/uobm.sparql204
1 files changed, 204 insertions, 0 deletions
diff --git a/data/uobm/uobm.sparql b/data/uobm/uobm.sparql
new file mode 100644
index 0000000..76bb619
--- /dev/null
+++ b/data/uobm/uobm.sparql
@@ -0,0 +1,204 @@
1# queries expressed in SPARQL
2# [query ID]
3# query
4
5^[query1]
6PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
7PREFIX benchmark: <http://semantics.crl.ibm.com/univ-bench-dl.owl#>
8SELECT ?x
9WHERE {
10 ?x rdf:type benchmark:UndergraduateStudent .
11 ?x benchmark:takesCourse <http://www.Department0.University0.edu/Course0>
12}
13
14^[query2]
15PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
16PREFIX benchmark: <http://semantics.crl.ibm.com/univ-bench-dl.owl#>
17SELECT ?x
18WHERE {
19 ?x rdf:type benchmark:Employee
20}
21
22^[query3]
23PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
24PREFIX benchmark: <http://semantics.crl.ibm.com/univ-bench-dl.owl#>
25SELECT ?x
26WHERE {
27 ?x rdf:type benchmark:Student .
28 ?x benchmark:isMemberOf <http://www.Department0.University0.edu>
29}
30
31^[query4]
32PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
33PREFIX benchmark: <http://semantics.crl.ibm.com/univ-bench-dl.owl#>
34SELECT ?x
35WHERE {
36 ?x rdf:type benchmark:Publication .
37 ?x benchmark:publicationAuthor ?y .
38 ?y rdf:type benchmark:Faculty .
39 ?y benchmark:isMemberOf <http://www.Department0.University0.edu>
40}
41
42^[query5]
43PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
44PREFIX benchmark: <http://semantics.crl.ibm.com/univ-bench-dl.owl#>
45SELECT ?x
46WHERE {
47 ?x rdf:type benchmark:ResearchGroup .
48 ?x benchmark:subOrganizationOf <http://www.University0.edu>
49}
50
51^[query6]
52PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
53PREFIX benchmark: <http://semantics.crl.ibm.com/univ-bench-dl.owl#>
54SELECT ?x
55WHERE {
56 ?x rdf:type benchmark:Person .
57 <http://www.University0.edu> benchmark:hasAlumnus ?x
58}
59
60^[query7]
61PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
62PREFIX benchmark: <http://semantics.crl.ibm.com/univ-bench-dl.owl#>
63SELECT ?x
64WHERE {
65 ?x rdf:type benchmark:Person .
66 ?x benchmark:hasSameHomeTownWith <http://www.Department0.University0.edu/FullProfessor0>
67}
68
69^[query8]
70PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
71PREFIX benchmark: <http://semantics.crl.ibm.com/univ-bench-dl.owl#>
72SELECT ?x
73WHERE {
74 ?x rdf:type benchmark:SportsLover .
75 <http://www.Department0.University0.edu> benchmark:hasMember ?x
76}
77
78^[query9]
79PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
80PREFIX benchmark: <http://semantics.crl.ibm.com/univ-bench-dl.owl#>
81SELECT ?x
82WHERE {
83 ?x rdf:type benchmark:GraduateCourse .
84 ?x benchmark:isTaughtBy ?y .
85 ?y rdf:type benchmark:SportsLover .
86 ?y benchmark:isMemberOf ?z .
87 ?z benchmark:subOrganizationOf <http://www.University0.edu>
88}
89
90^[query10]
91PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
92PREFIX benchmark: <http://semantics.crl.ibm.com/univ-bench-dl.owl#>
93SELECT ?x
94WHERE {
95 ?x benchmark:isFriendOf <http://www.Department0.University0.edu/FullProfessor0>
96}
97
98^[query11]
99PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
100PREFIX benchmark: <http://semantics.crl.ibm.com/univ-bench-dl.owl#>
101SELECT ?x
102WHERE {
103 ?x rdf:type benchmark:Person .
104 ?x benchmark:like ?y .
105 ?z rdf:type benchmark:Chair .
106 ?z benchmark:isHeadOf <http://www.Department0.University0.edu> .
107 ?z benchmark:like ?y
108}
109
110^[query12]
111PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
112PREFIX benchmark: <http://semantics.crl.ibm.com/univ-bench-dl.owl#>
113SELECT ?x
114WHERE {
115 ?x rdf:type benchmark:Student .
116 ?x benchmark:takesCourse ?y .
117 ?y benchmark:isTaughtBy <http://www.Department0.University0.edu/FullProfessor0>
118}
119
120^[query13]
121PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
122PREFIX benchmark: <http://semantics.crl.ibm.com/univ-bench-dl.owl#>
123SELECT ?x
124WHERE {
125 ?x rdf:type benchmark:PeopleWithHobby .
126 ?x benchmark:isMemberOf <http://www.Department0.University0.edu>
127}
128
129^[query14]
130PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
131PREFIX benchmark: <http://semantics.crl.ibm.com/univ-bench-dl.owl#>
132SELECT ?x
133WHERE {
134 ?x rdf:type benchmark:Woman .
135 ?x rdf:type benchmark:Student .
136 ?x benchmark:isMemberOf ?y .
137 ?y benchmark:subOrganizationOf <http://www.University0.edu>
138}
139
140^[query15]
141PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
142PREFIX benchmark: <http://semantics.crl.ibm.com/univ-bench-dl.owl#>
143SELECT ?x
144WHERE {
145 ?x rdf:type benchmark:PeopleWithManyHobbies .
146 ?x benchmark:isMemberOf <http://www.Department0.University0.edu>
147}
148
149^[Query4]
150PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
151PREFIX benchmark: <http://semantics.crl.ibm.com/univ-bench-dl.owl#>
152SELECT ?x
153WHERE {
154 ?x rdf:type benchmark:Publication .
155 ?x benchmark:publicationAuthor _:y .
156 _:y rdf:type benchmark:Faculty .
157 _:y benchmark:isMemberOf <http://www.Department0.University0.edu>
158}
159
160^[Query9]
161PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
162PREFIX benchmark: <http://semantics.crl.ibm.com/univ-bench-dl.owl#>
163SELECT ?x
164WHERE {
165 ?x rdf:type benchmark:GraduateCourse .
166 ?x benchmark:isTaughtBy _:y .
167 _:y rdf:type benchmark:SportsLover .
168 _:y benchmark:isMemberOf _:z .
169 _:z benchmark:subOrganizationOf <http://www.University0.edu>
170}
171
172^[Query11]
173PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
174PREFIX benchmark: <http://semantics.crl.ibm.com/univ-bench-dl.owl#>
175SELECT ?x
176WHERE {
177 ?x rdf:type benchmark:Person .
178 ?x benchmark:like _:y .
179 _:z rdf:type benchmark:Chair .
180 _:z benchmark:isHeadOf <http://www.Department0.University0.edu> .
181 _:z benchmark:like _:y
182}
183
184^[Query12]
185PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
186PREFIX benchmark: <http://semantics.crl.ibm.com/univ-bench-dl.owl#>
187SELECT ?x
188WHERE {
189 ?x rdf:type benchmark:Student .
190 ?x benchmark:takesCourse _:y .
191 _:y benchmark:isTaughtBy <http://www.Department0.University0.edu/FullProfessor0>
192}
193
194^[Query14]
195PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
196PREFIX benchmark: <http://semantics.crl.ibm.com/univ-bench-dl.owl#>
197SELECT ?x
198WHERE {
199 ?x rdf:type benchmark:Woman .
200 ?x rdf:type benchmark:Student .
201 ?x benchmark:isMemberOf _:y .
202 _:y benchmark:subOrganizationOf <http://www.University0.edu>
203}
204