-
Notifications
You must be signed in to change notification settings - Fork 11
/
LSQVocab_v2.ttl
296 lines (239 loc) · 12.1 KB
/
LSQVocab_v2.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
@prefix lsqv: <http://lsq.aksw.org/vocab#>.
@prefix cogs: <http://vocab.deri.ie/cogs#>.
@prefix dct: <http://purl.org/dc/terms/>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix prov: <http://www.w3.org/ns/prov#>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix sd: <http://www.w3.org/ns/sparql-service-description#>.
@prefix skos: <http://www.w3.org/2004/02/skos/core#>.
@prefix spin: <http://spinrdf.org/spin#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
lsqv: a owl:Ontology ;
rdfs:label "The Linked SPARQL Queries Vocabulary"@en ;
dct:creator <http://aidanhogan.com/foaf.rdf#me> ;
dct:modified "2021-07-07"^^xsd:date .
lsqv:Query a rdfs:Class , owl:Class ;
rdfs:label "Query"@en ;
rdfs:comment "A query unique in a particular log that may have multiple executions in that log"@en .
lsqv:QueryExec a rdfs:Class , owl:Class ;
rdfs:label "Query Execution"@en ;
rdfs:comment "An execution of a query or a sub-query"@en .
lsqv:LocalExec a rdfs:Class , owl:Class ;
rdfs:subClassOf lsqv:QueryExec ;
rdfs:label "Local Execution"@en ;
rdfs:comment "An execution of a query in a local/controlled setting"@en .
lsqv:RemoteExec a rdfs:Class , owl:Class ;
rdfs:subClassOf lsqv:QueryExec ;
rdfs:label "Remote Execution"@en ;
rdfs:comment "An execution of a query over the remote endpoint (e.g., as recorded in a remote log)"@en .
lsqv:BgpExec a rdfs:Class , owl:Class ;
rdfs:subClassOf lsqv:QueryExec ;
rdfs:label "BGP Execution"@en ;
rdfs:comment "An execution of a query encoding a basic graph pattern"@en .
lsqv:BgpVarExec a rdfs:Class , owl:Class ;
rdfs:subClassOf lsqv:QueryExec ;
rdfs:label "BGP Variable Execution"@en ;
rdfs:comment "An execution of a query encoding a sub-basic graph pattern sharing a common (join) variable"@en .
lsqv:TpInBgpExec a rdfs:Class , owl:Class ;
rdfs:subClassOf lsqv:QueryExec ;
rdfs:label "TP in BGP Execution"@en ;
rdfs:comment "An execution of a query encoding a triple pattern within a basic graph pattern"@en .
lsqv:TpExec a rdfs:Class , owl:Class ;
rdfs:subClassOf lsqv:BgpVarExec ;
rdfs:label "TP Execution"@en ;
rdfs:comment "An execution of a query encoding a triple pattern (i.e., a basic graph pattern with one triple pattern)"@en .
lsqv:BenchmarkRun a rdfs:Class , owl:Class ;
rdfs:subClassOf prov:Activity ;
rdfs:label "Benchmark Run"@en ;
rdfs:comment "A sequence of local executions of queries"@en .
lsqv:StructuralFeatures a rdfs:Class , owl:Class ;
rdfs:label "Structural Features"@en ;
rdfs:comment "A description of the static/structural features of a query"@en .
lsqv:Bgp a rdfs:Class , owl:Class ;
rdfs:label "Basic graph pattern"@en ;
rdfs:comment "A basic graph pattern"@en .
lsqv:Tp a rdfs:Class , owl:Class ;
rdfs:label "Triple pattern"@en ;
rdfs:comment "A triple pattern"@en .
lsqv:TpInBgp a rdfs:Class , owl:Class ;
rdfs:label "Triple pattern in a basic graph pattern"@en ;
rdfs:comment "A triple pattern in the context of a specific basic graph pattern"@en .
lsqv:Vertex a rdfs:Class , owl:Class ;
rdfs:label "Basic graph pattern vertex"@en ;
rdfs:comment "A vertex in a basic graph pattern"@en .
lsqv:Edge a rdfs:Class , owl:Class ;
rdfs:label "Basic graph pattern (hyper)edge"@en ;
rdfs:comment "A (hyper)edge in a basic graph pattern"@en .
lsqv:hasSpin a rdf:Property , owl:ObjectProperty ;
rdfs:label "has spin query"@en ;
rdfs:comment "relates a query in a log to its SPIN representation"@en ;
rdfs:domain lsqv:Query ;
rdfs:range spin:Query .
lsqv:hasExec a rdf:Property , owl:ObjectProperty ;
rdfs:label "has execution"@en ;
rdfs:comment "relates a query (possibly a sub-query or query element) to its execution"@en ;
rdfs:range lsqv:QueryExec .
lsqv:hasSubBgpExec a rdf:Property , owl:ObjectProperty ;
rdfs:label "has sub-basic graph pattern execution"@en ;
rdfs:comment "relates a basic graph pattern to the execution of one of it sub-basic graph patterns"@en ;
rdfs:range lsqv:BgpExec .
lsqv:hasRemoteExec a rdf:Property , owl:ObjectProperty ;
rdfs:label "has remote execution"@en ;
rdfs:comment "relates a query (possibly a sub-query or query element) to its remote execution"@en ;
rdfs:subPropertyOf lsqv:hasExec ;
rdfs:range lsqv:RemoteExec .
lsqv:hasLocalExec a rdf:Property , owl:ObjectProperty ;
rdfs:label "has local execution"@en ;
rdfs:comment "relates a query (possibly a sub-query or query element) to its local execution"@en ;
rdfs:subPropertyOf lsqv:hasExec ;
rdfs:range lsqv:LocalExec .
lsqv:hasBgp a rdf:Property , owl:ObjectProperty ;
rdfs:label "has basic graph pattern"@en ;
rdfs:comment "contains a (complete) basic graph pattern"@en ;
rdfs:range lsqv:Bgp .
lsqv:hasSubBgp a rdf:Property , owl:ObjectProperty ;
rdfs:label "has sub-basic graph pattern"@en ;
rdfs:comment "contains a sub-basic graph pattern"@en ;
rdfs:range lsqv:Bgp .
lsqv:hasTp a rdf:Property , owl:ObjectProperty ;
rdfs:label "has triple pattern"@en ;
rdfs:comment "contains a triple pattern"@en ;
rdfs:range lsqv:Tp .
lsqv:hasTpInBgp a rdf:Property , owl:ObjectProperty ;
rdfs:label "has triple pattern in a basic graph pattern"@en ;
rdfs:comment "contains a triple pattern within a basic graph pattern"@en ;
rdfs:range lsqv:TpInBgp .
lsqv:extensionQuery a rdf:Property , owl:ObjectProperty ;
rdfs:label "extension query"@en ;
rdfs:comment "denotes a wrapper query that returns the same results as a pattern (e.g., wrapping SELECT * WHERE { ... })"@en ;
rdfs:range lsqv:Query .
lsqv:hasBgpNode a rdf:Property , owl:ObjectProperty ;
rdfs:label "has basic graph pattern node (or vertex)"@en ;
rdfs:comment "denotes a vertex within a basic graph pattern"@en ;
rdfs:range lsqv:Vertex .
lsqv:hasEdge a rdf:Property , owl:ObjectProperty ;
rdfs:label "has basic graph pattern (hyper)edge"@en ;
rdfs:comment "denotes a (hyper)edge within a basic graph pattern"@en ;
rdfs:range lsqv:Edge .
lsqv:in a rdf:Property , owl:ObjectProperty ;
rdfs:label "inward edge"@en ;
rdfs:comment "denotes an inward (hyper)edge for this vertex (aka. node)"@en ;
rdfs:domain lsqv:Vertex ;
rdfs:range lsqv:Edge .
lsqv:out a rdf:Property , owl:ObjectProperty ;
rdfs:label "outward edge"@en ;
rdfs:comment "denotes an outward (hyper)edge for this vertex (aka. node)"@en ;
rdfs:domain lsqv:Vertex ;
rdfs:range lsqv:Edge .
lsqv:proxyFor a rdf:Property , owl:ObjectProperty ;
rdfs:label "proxy for"@en ;
rdfs:comment "denotes the term forming a vertex (aka. node)"@en ;
rdfs:domain lsqv:Vertex .
lsqv:hasStructuralFeatures a rdf:Property , owl:ObjectProperty ;
rdfs:label "has structural features"@en ;
rdfs:comment "relates a query to its structural (aka. static) features"@en ;
rdfs:domain lsqv:Query ;
rdfs:range lsqv:StructuralFeatures .
lsqv:endpoint a rdf:Property , owl:ObjectProperty ;
rdfs:label "execution endpoint"@en ;
rdfs:comment "the endpoint on which a given query execution was run"@en ;
rdfs:domain lsqv:QueryExev ;
rdfs:range cogs:Endpoint .
lsqv:usesFeature a rdf:Property , owl:ObjectProperty ;
rdfs:label "uses feature"@en ;
rdfs:comment "links structural features of a query to individual SPARQL features used" ;
rdfs:domain lsqv:StructuralFeatures ;
rdfs:range sd:Feature .
lsqv:text a rdf:Property , owl:DatatypeProperty ;
rdfs:label "text"@en ;
rdfs:comment "textual expression in SPARQL syntax" ;
rdfs:range xsd:string .
lsqv:hash a rdf:Property , owl:DatatypeProperty ;
rdfs:label "hash"@en ;
rdfs:comment "a hash of the text" ;
rdfs:range xsd:string .
lsqv:hostHash a rdf:Property , owl:DatatypeProperty ;
rdfs:label "host hash"@en ;
rdfs:comment "a hash of the hostname or IP" ;
rdfs:range xsd:string .
lsqv:countingDuration a rdf:Property , owl:DatatypeProperty ;
rdfs:label "counting duration"@en ;
rdfs:comment "the duration taken to count results" ;
rdfs:range xsd:decimal .
lsqv:countingDuration a rdf:Property , owl:DatatypeProperty ;
rdfs:label "counting duration (s)"@en ;
rdfs:comment "the duration taken to count results in seconds" ;
rdfs:range xsd:decimal .
lsqv:evalDuration a rdf:Property , owl:DatatypeProperty ;
rdfs:label "evaluation duration (s)"@en ;
rdfs:comment "the duration taken to evaluate/execute the query in seconds" ;
rdfs:range xsd:decimal .
lsqv:resultCount a rdf:Property , owl:DatatypeProperty ;
rdfs:label "result count"@en ;
rdfs:comment "the number of results generated by an execution"@en ;
rdfs:range xsd:integer .
lsqv:serializedResult a rdf:Property , owl:DatatypeProperty ;
rdfs:label "serialized result"@en ;
rdfs:comment "the results generated by an execution serialized in JSON format"@en ;
rdfs:range xsd:string .
lsqv:joinVertexCount a rdf:Property , owl:DatatypeProperty ;
rdfs:label "join vertex count"@en ;
rdfs:comment "the number of vertices (aka. nodes) involved in a join"@en ;
rdfs:range xsd:integer .
lsqv:joinVertexDegreeMean a rdf:Property , owl:DatatypeProperty ;
rdfs:label "join vertex degree mean"@en ;
rdfs:comment "the average degree of vertices (aka. nodes) involved in a join"@en ;
rdfs:range xsd:decimal .
lsqv:joinVertexDegreeMedian a rdf:Property , owl:DatatypeProperty ;
rdfs:label "join vertex degree median"@en ;
rdfs:comment "the median degree of vertices (aka. nodes) involved in a join"@en ;
rdfs:range xsd:integer .
lsqv:joinVertexDegreeMax a rdf:Property , owl:DatatypeProperty ;
rdfs:label "join vertex degree max"@en ;
rdfs:comment "the maximum degree of a single vertex (aka. node) involved in a join"@en ;
rdfs:range xsd:integer .
lsqv:joinVertexDegreeMin a rdf:Property , owl:DatatypeProperty ;
rdfs:label "join vertex degree min"@en ;
rdfs:comment "the minimum degree of a single vertex (aka. node) involved in a join"@en ;
rdfs:range xsd:integer .
lsqv:projectVarCount a rdf:Property , owl:DatatypeProperty ;
rdfs:label "projected variable count"@en ;
rdfs:comment "the number of projected variables for a query" ;
rdfs:range xsd:integer .
lsqv:tpCount a rdf:Property , owl:DatatypeProperty ;
rdfs:label "triple pattern count"@en ;
rdfs:comment "the number of triple patterns contained in a query" ;
rdfs:range xsd:integer .
lsqv:tpInBgpCountMean a rdf:Property , owl:DatatypeProperty ;
rdfs:label "mean count of triple patterns per basic graph pattern"@en ;
rdfs:comment "the average number of triple patterns contained in each basic graph pattern" ;
rdfs:range xsd:decimal .
lsqv:tpInBgpCountMedian a rdf:Property , owl:DatatypeProperty ;
rdfs:label "median count of triple patterns per basic graph pattern"@en ;
rdfs:comment "the median number of triple patterns contained in each basic graph pattern" ;
rdfs:range xsd:integer .
lsqv:tpInBgpCountMax a rdf:Property , owl:DatatypeProperty ;
rdfs:label "max count of triple patterns in basic graph pattern"@en ;
rdfs:comment "the maximum number of triple patterns contained in a single basic graph pattern" ;
rdfs:range xsd:integer .
lsqv:tpInBgpCountMin a rdf:Property , owl:DatatypeProperty ;
rdfs:label "minimum count of triple patterns in basic graph patterns"@en ;
rdfs:comment "the minimum number of triple patterns contained in each basic graph pattern" ;
rdfs:range xsd:integer .
lsqv:tpToBgpRatio a rdf:Property , owl:DatatypeProperty ;
rdfs:label "triple pattern to basic graph pattern ratio"@en ;
rdfs:comment "the ratio of the number of results for the triple pattern versus the number of results for the basic graph pattern containing it" ;
rdfs:range xsd:decimal .
lsqv:tpToGraphRatio a rdf:Property , owl:DatatypeProperty ;
rdfs:label "triple pattern to graph ratio"@en ;
rdfs:comment "the ratio of the number of results returned by the triple pattern versus the number of triples in the graph (i.e., selectivity)" ;
rdfs:range xsd:decimal .
lsqv:bgpRestrictedTpSel a rdf:Property , owl:DatatypeProperty ;
rdfs:label "basic graph pattern-restricted triple pattern selectivity"@en ;
rdfs:comment "the ratio of results for the triple pattern that are compatible with the results for the basic graph pattern versus all results for the triple pattern" ;
rdfs:range xsd:decimal .
lsqv:tpSelJoinVarRestricted a rdf:Property , owl:DatatypeProperty ;
rdfs:label "join variable-restricted triple pattern selectivity"@en ;
rdfs:comment "the ratio of results for the triple pattern that are compatible with the results produced by a join versus all results for the triple pattern" ;
rdfs:range xsd:decimal .