mustrd 0.2.0__py3-none-any.whl → 0.2.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
mustrd/model/ontology.ttl CHANGED
@@ -1,494 +1,494 @@
1
- @prefix : <https://mustrd.com/model/> .
2
- @prefix dc: <http://purl.org/dc/elements/1.1/> .
3
- @prefix sh: <http://www.w3.org/ns/shacl#> .
4
- @prefix owl: <http://www.w3.org/2002/07/owl#> .
5
- @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
6
- @prefix xml: <http://www.w3.org/XML/1998/namespace> .
7
- @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
8
- @prefix foaf: <http://xmlns.com/foaf/spec/> .
9
- @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
10
- @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
11
- @base <https://mustrd.com/model/> .
12
-
13
- <https://mustrd.com/model> rdf:type owl:Ontology ;
14
- owl:imports <https://mustrd.com/triplestore/> ,
15
- rdf: ,
16
- rdfs: ;
17
- rdfs:comment "" ;
18
- rdfs:label "Mustrd" .
19
-
20
- #################################################################
21
- # Object Properties
22
- #################################################################
23
-
24
- ### https://mustrd.com/model/dataset
25
- :dataset rdf:type owl:ObjectProperty ;
26
- rdfs:domain [ rdf:type owl:Class ;
27
- owl:unionOf ( :Compositedataset
28
- :Datasetexpectation
29
- :Given
30
- :Then
31
- )
32
- ] ;
33
- rdfs:range :Dataset ;
34
- rdfs:isDefinedBy : ;
35
- rdfs:label "dataset" .
36
-
37
-
38
- ### https://mustrd.com/model/expect
39
- :expect rdf:type owl:ObjectProperty ;
40
- rdfs:domain :Then ;
41
- rdfs:range :Expectation ;
42
- rdfs:isDefinedBy : ;
43
- rdfs:label "expect" .
44
-
45
-
46
- ### https://mustrd.com/model/given
47
- :given rdf:type owl:ObjectProperty ;
48
- rdfs:domain :TestSpec ;
49
- rdfs:range :Given ;
50
- rdfs:isDefinedBy : ;
51
- rdfs:label "given" .
52
-
53
-
54
- ### https://mustrd.com/model/graph
55
- :graph rdf:type owl:ObjectProperty ;
56
- rdfs:domain :GraphDataset ;
57
- rdfs:range :Graph ;
58
- rdfs:isDefinedBy : ;
59
- rdfs:label "graph" .
60
-
61
-
62
- ### https://mustrd.com/model/hasBinding
63
- :hasBinding rdf:type owl:ObjectProperty ;
64
- rdfs:label "hasBinding" .
65
-
66
-
67
- ### https://mustrd.com/model/hasRow
68
- :hasRow rdf:type owl:ObjectProperty ;
69
- rdfs:label "has row" .
70
-
71
-
72
- ### https://mustrd.com/model/hasSpec
73
- :hasSpec rdf:type owl:ObjectProperty .
74
-
75
-
76
- ### https://mustrd.com/model/hasStatement
77
- :hasStatement rdf:type owl:ObjectProperty ;
78
- rdfs:domain :StatementsDataset ;
79
- rdfs:range rdf:Statement .
80
-
81
-
82
- ### https://mustrd.com/model/label_link-6c3eeabf-5c6d-4ea6-b61e-144df1e6a223
83
- :label_link-6c3eeabf-5c6d-4ea6-b61e-144df1e6a223 rdf:type owl:ObjectProperty ;
84
- rdfs:domain :When ;
85
- rdfs:range :SparqlAction ;
86
- rdfs:isDefinedBy : ;
87
- rdfs:label "label" .
88
-
89
-
90
- ### https://mustrd.com/model/queryType
91
- :queryType rdf:type owl:ObjectProperty ;
92
- rdfs:label "queryType" .
93
-
94
-
95
- ### https://mustrd.com/model/sparqlsource
96
- :sparqlsource rdf:type owl:ObjectProperty ;
97
- rdfs:domain :SparqlAction ;
98
- rdfs:range :SparqlSource ;
99
- rdfs:isDefinedBy : ;
100
- rdfs:label "sparqlSource" .
101
-
102
-
103
- ### https://mustrd.com/model/then
104
- :then rdf:type owl:ObjectProperty ;
105
- rdfs:domain :TestSpec ;
106
- rdfs:range :Then ;
107
- rdfs:isDefinedBy : ;
108
- rdfs:label "then" .
109
-
110
-
111
- ### https://mustrd.com/model/when
112
- :when rdf:type owl:ObjectProperty ;
113
- rdfs:domain :TestSpec ;
114
- rdfs:range :When ;
115
- rdfs:isDefinedBy : ;
116
- rdfs:label "when" .
117
-
118
- ### https://mustrd.com/model/anzoQueryStep
119
- :anzoQueryStep rdf:type owl:ObjectProperty ;
120
- rdfs:domain :AnzoGraphmartStepSparqlSource ;
121
- rdfs:isDefinedBy : ;
122
- rdfs:label "anzoQueryStep" .
123
-
124
- ### https://mustrd.com/model/anzoGraphmartLayer
125
- :anzoGraphmartLayer rdf:type owl:ObjectProperty ;
126
- rdfs:domain :AnzoGraphmartLayerSparqlSource ;
127
- rdfs:range :When ;
128
- rdfs:isDefinedBy : ;
129
- rdfs:label "anzoGraphmartLayer" .
130
-
131
-
132
- #################################################################
133
- # Data properties
134
- #################################################################
135
-
136
- ### http://www.w3.org/ns/shacl#order
137
- sh:order rdf:type owl:DatatypeProperty ;
138
- rdfs:label "order" .
139
-
140
-
141
- ### https://mustrd.com/model/boundValue
142
- :boundValue rdf:type owl:DatatypeProperty ;
143
- rdfs:comment "the value bound to a variable" ;
144
- rdfs:label "bound value" .
145
-
146
-
147
- ### https://mustrd.com/model/file
148
- :file rdf:type owl:DatatypeProperty ;
149
- rdfs:comment "Relative or absolute path to local file" ;
150
- rdfs:label "file" .
151
-
152
-
153
- ### https://mustrd.com/model/fileName
154
- :fileName rdf:type owl:DatatypeProperty ;
155
- rdfs:comment "Name of a file excluding its path" ;
156
- rdfs:label "fileName" .
157
-
158
-
159
- ### https://mustrd.com/model/fileurl
160
- :fileurl rdf:type owl:DatatypeProperty ;
161
- rdfs:domain :FileSparqlSource ;
162
- rdfs:comment "a full or relatively qualified file:// url. Relative to what? We haven't thought that through, yet." ;
163
- rdfs:isDefinedBy : ;
164
- rdfs:label "fileUrl" .
165
-
166
-
167
- ### https://mustrd.com/model/flattendatasettotargetgraph
168
- :flattendatasettotargetgraph rdf:type owl:DatatypeProperty ;
169
- rdfs:domain :Given ;
170
- rdfs:isDefinedBy : ;
171
- rdfs:label "flattenDataSetToTargetGraph" .
172
-
173
-
174
- ### https://mustrd.com/model/graphmart
175
- :graphmart rdf:type owl:DatatypeProperty ;
176
- rdfs:domain :AnzoGraphmartDataset ;
177
- rdfs:comment "the graphmart url of an Anzo graphmart dataset" ;
178
- rdfs:label "graphmart" .
179
-
180
-
181
- ### https://mustrd.com/model/layer
182
- :layer rdf:type owl:DatatypeProperty ;
183
- rdfs:domain :AnzoGraphmartDataset ;
184
- rdfs:comment "the url of the layer within an Anzo graphmart dataset" ;
185
- rdfs:label "layer" .
186
-
187
-
188
- ### https://mustrd.com/model/queryText
189
- :queryText rdf:type owl:DatatypeProperty ;
190
- rdfs:domain :TextSparqlSource ;
191
- rdfs:label "QueryText" .
192
-
193
-
194
- ### https://mustrd.com/model/shouldflattengraph
195
- :shouldflattengraph rdf:type owl:DatatypeProperty ;
196
- rdfs:domain :GraphDataset ;
197
- rdfs:isDefinedBy : ;
198
- rdfs:label "shouldFlattenGraph" .
199
-
200
-
201
- ### https://mustrd.com/model/sparql
202
- :sparql rdf:type owl:DatatypeProperty ;
203
- rdfs:domain :SparqlAction ;
204
- rdfs:isDefinedBy : ;
205
- rdfs:label "sparql" .
206
-
207
-
208
- ### https://mustrd.com/model/targetgraph
209
- :targetgraph rdf:type owl:DatatypeProperty ;
210
- rdfs:domain [ rdf:type owl:Class ;
211
- owl:unionOf ( :GraphDataset
212
- :TestSpec
213
- )
214
- ] ;
215
- rdfs:comment "optional iri of a target graph to flatten into" ;
216
- rdfs:isDefinedBy : ;
217
- rdfs:label "targetGraph" .
218
-
219
-
220
- ### https://mustrd.com/model/variable
221
- :variable rdf:type owl:DatatypeProperty ;
222
- rdfs:comment "variable name in a binding" ;
223
- rdfs:label "variable" .
224
-
225
- ### https://mustrd.com/model/focus
226
- :variable rdf:type owl:DatatypeProperty ;
227
- rdfs:comment "Shows whether a test specification is set to be the focus of a test run" ;
228
- rdfs:label "focus" ;
229
- rdfs:domain :TestSpec ;
230
- rdfs:range xsd:boolean ;
231
- .
232
-
233
- #################################################################
234
- # Classes
235
- #################################################################
236
-
237
- ### https://mustrd.com/model/AnzoGraphmartDataset
238
- :AnzoGraphmartDataset rdf:type owl:Class ;
239
- rdfs:subClassOf :Dataset ;
240
- rdfs:label "Anzo graphmart dataset" .
241
-
242
-
243
- ### https://mustrd.com/model/Binding
244
- :Binding rdf:type owl:Class ;
245
- rdfs:label "variable binding" .
246
-
247
-
248
- ### https://mustrd.com/model/Compositedataset
249
- :Compositedataset rdf:type owl:Class ;
250
- rdfs:subClassOf :Dataset ;
251
- rdfs:isDefinedBy : ;
252
- rdfs:label "CompositeDataSet" .
253
-
254
-
255
- ### https://mustrd.com/model/ConstructSparql
256
- :ConstructSparql rdf:type owl:Class ;
257
- rdfs:subClassOf :SparqlAction ;
258
- rdfs:isDefinedBy : ;
259
- rdfs:label "ConstructSparql" .
260
-
261
-
262
- ### https://mustrd.com/model/Dataset
263
- :Dataset rdf:type owl:Class ;
264
- rdfs:comment "Some source of triples for comparison in either a Given or Then clause" ;
265
- rdfs:isDefinedBy : ;
266
- rdfs:label "DataSet" .
267
-
268
-
269
- ### https://mustrd.com/model/Datasetexpectation
270
- :Datasetexpectation rdf:type owl:Class ;
271
- rdfs:subClassOf :Expectation ;
272
- rdfs:comment "A static dataset expectation. All DataSet(s) described by dataset will be composed into a single DataSet" ;
273
- rdfs:isDefinedBy : ;
274
- rdfs:label "DatasetExpectation" .
275
-
276
-
277
- ### https://mustrd.com/model/EmptyDataset
278
- :EmptyDataset rdf:type owl:Class ;
279
- rdfs:subClassOf :Dataset ;
280
- rdfs:label "Empty dataset" .
281
-
282
-
283
- ### https://mustrd.com/model/EmptyGraph
284
- :EmptyGraph rdf:type owl:Class ;
285
- rdfs:subClassOf :EmptyDataset ;
286
- rdfs:label "EmptyGraph" .
287
-
288
-
289
- ### https://mustrd.com/model/EmptyTable
290
- :EmptyTable rdf:type owl:Class ;
291
- rdfs:subClassOf :EmptyDataset ;
292
- rdfs:label "EmptyTable" .
293
-
294
-
295
- ### https://mustrd.com/model/Expectation
296
- :Expectation rdf:type owl:Class ;
297
- rdfs:comment "The expected result of the action performed in When, on the DataSet constructed, or composed in the Given. Expectations may be complete static datasets, results of ASKs, or a CONSTRUCT or SELECT and expected DataSet" ;
298
- rdfs:isDefinedBy : ;
299
- rdfs:label "Expectation" .
300
-
301
-
302
- ### https://mustrd.com/model/FileDataset
303
- :FileDataset rdf:type owl:Class ;
304
- rdfs:subClassOf :Dataset ;
305
- rdfs:isDefinedBy "https://mustrd.com/model/" ;
306
- rdfs:label "File dataset" .
307
-
308
-
309
- ### https://mustrd.com/model/FileSparqlSource
310
- :FileSparqlSource rdf:type owl:Class ;
311
- rdfs:subClassOf :SparqlSource ;
312
- rdfs:isDefinedBy : ;
313
- rdfs:label "FileSparqlSource" .
314
-
315
-
316
- ### https://mustrd.com/model/FolderDataset
317
- :FolderDataset rdf:type owl:Class ;
318
- rdfs:subClassOf :Dataset ;
319
- rdfs:label "Folder dataset" .
320
-
321
-
322
- ### https://mustrd.com/model/FolderSparqlSource
323
- :FolderSparqlSource rdf:type owl:Class ;
324
- rdfs:subClassOf :SparqlSource ;
325
- rdfs:label "folder sparql source" .
326
-
327
-
328
- ### https://mustrd.com/model/Given
329
- :Given rdf:type owl:Class ;
330
- rdfs:subClassOf :Testspecsection ;
331
- rdfs:comment "references one or more DataSet(s) to construct a precondition for this TestSpec" ;
332
- rdfs:isDefinedBy : ;
333
- rdfs:label "Given" .
334
-
335
-
336
- ### https://mustrd.com/model/Graph
337
- :Graph rdf:type owl:Class ;
338
- rdfs:isDefinedBy : ;
339
- rdfs:label "Graph" .
340
-
341
-
342
- ### https://mustrd.com/model/GraphDataset
343
- :GraphDataset rdf:type owl:Class ;
344
- rdfs:subClassOf :Dataset ;
345
- rdfs:isDefinedBy : ;
346
- rdfs:label "GraphDataset" .
347
-
348
-
349
- ### https://mustrd.com/model/InheritedDataset
350
- :InheritedDataset rdf:type owl:Class ;
351
- rdfs:subClassOf :Dataset ;
352
- rdfs:comment "A dataset inherited from another process e.g. another test where no further action is required before running the when step of a test spec." ;
353
- rdfs:label "Inherited Dataset" .
354
-
355
-
356
- ### https://mustrd.com/model/OrderedTableDataset
357
- :OrderedTableDataset rdf:type owl:Class ;
358
- rdfs:subClassOf :TableDataset ;
359
- rdfs:comment "" ;
360
- rdfs:label "OrderedTableDataset" .
361
-
362
-
363
- ### https://mustrd.com/model/Row
364
- :Row rdf:type owl:Class ;
365
- rdfs:comment "A conceptual row of a table expressed as one or more bindings of variables (column names) to values" ;
366
- rdfs:label "Row" .
367
-
368
-
369
- ### https://mustrd.com/model/S3SparqlSource
370
- :S3SparqlSource rdf:type owl:Class ;
371
- rdfs:subClassOf :SparqlSource ;
372
- rdfs:isDefinedBy : ;
373
- rdfs:label "S3SparqlSource" .
374
-
375
-
376
- ### https://mustrd.com/model/SelectSparql
377
- :SelectSparql rdf:type owl:Class ;
378
- rdfs:subClassOf :SparqlAction ;
379
- rdfs:isDefinedBy : ;
380
- rdfs:label "SelectSparql" .
381
-
382
-
383
- ### https://mustrd.com/model/SparqlAction
384
- :SparqlAction rdf:type owl:Class ;
385
- rdfs:comment "The sparql that is under-test. Either provided directly in the sparql property, or loaded courtesy a Sparql Loader from a disk source, db source, s3 source, etc." ;
386
- rdfs:isDefinedBy : ;
387
- rdfs:label "SparqlAction" .
388
-
389
-
390
- ### https://mustrd.com/model/SparqlSource
391
- :SparqlSource rdf:type owl:Class ;
392
- rdfs:comment "A source for the SPARQL action we want to execute in the When of a TestSpec." ;
393
- rdfs:isDefinedBy : ;
394
- rdfs:label "SparqlSource" .
395
-
396
-
397
- ### https://mustrd.com/model/StatementsDataset
398
- :StatementsDataset rdf:type owl:Class ;
399
- rdfs:subClassOf :Dataset ;
400
- rdfs:comment "has a set of rdf:Statement(s) which will be unrotated/unreified back into the testing graph" ;
401
- rdfs:isDefinedBy : ;
402
- rdfs:label "StatementsDataset" .
403
-
404
-
405
- ### https://mustrd.com/model/TableDataset
406
- :TableDataset rdf:type owl:Class ;
407
- rdfs:subClassOf :Dataset ;
408
- rdfs:comment "has a set of rows, equivalent to a table or a worksheet" ;
409
- rdfs:isDefinedBy : ;
410
- rdfs:label "TableDataset" .
411
-
412
-
413
- ### https://mustrd.com/model/TestSpec
414
- :TestSpec rdf:type owl:Class ;
415
- rdfs:isDefinedBy : ;
416
- rdfs:label "TestSpec" .
417
-
418
-
419
- ### https://mustrd.com/model/TestSuite
420
- :TestSuite rdf:type owl:Class ;
421
- rdfs:isDefinedBy : ;
422
- rdfs:label "Test Suite" .
423
-
424
-
425
- ### https://mustrd.com/model/Testspecsection
426
- :Testspecsection rdf:type owl:Class ;
427
- rdfs:isDefinedBy : ;
428
- rdfs:label "TestSpecSection" .
429
-
430
-
431
- ### https://mustrd.com/model/TextSparqlSource
432
- :TextSparqlSource rdf:type owl:Class ;
433
- rdfs:subClassOf :SparqlSource ;
434
- rdfs:isDefinedBy : ;
435
- rdfs:label "TextSparqlSource" .
436
-
437
-
438
- ### https://mustrd.com/model/AnzoQueryBuilderSparqlSource
439
- :AnzoQueryBuilderSparqlSource rdf:type owl:Class ;
440
- rdfs:subClassOf :SparqlSource ;
441
- rdfs:isDefinedBy : ;
442
- rdfs:label "AnzoQueryBuilderSparqlSource" .
443
-
444
-
445
- ### https://mustrd.com/model/AnzoGraphmartStepSparqlSource
446
- :AnzoGraphmartStepSparqlSource rdf:type owl:Class ;
447
- rdfs:subClassOf :SparqlSource ;
448
- rdfs:isDefinedBy : ;
449
- rdfs:label "AnzoGraphmartStepSparqlSource" .
450
-
451
-
452
- ### https://mustrd.com/model/AnzoGraphmartLayerSparqlSource
453
- :AnzoGraphmartLayerSparqlSource rdf:type owl:Class ;
454
- rdfs:subClassOf :SparqlSource ;
455
- rdfs:isDefinedBy : ;
456
- rdfs:label "AnzoGraphmartLayerSparqlSource" .
457
-
458
- ### https://mustrd.com/model/AnzoGraphmartQueryDrivenTemplatedStepSparqlSource
459
- :AnzoGraphmartQueryDrivenTemplatedStepSparqlSource rdf:type owl:Class ;
460
- rdfs:subClassOf :SparqlSource ;
461
- rdfs:isDefinedBy : ;
462
- rdfs:label "AnzoGraphmartQueryDrivenTemplatedStepSparqlSource" .
463
-
464
-
465
- ### https://mustrd.com/model/Then
466
- :Then rdf:type owl:Class ;
467
- rdfs:subClassOf :Testspecsection ;
468
- rdfs:comment "Describes the Expectation(s) of this part of a test." ;
469
- rdfs:isDefinedBy : ;
470
- rdfs:label "Then" .
471
-
472
-
473
- ### https://mustrd.com/model/UpdateSparql
474
- :UpdateSparql rdf:type owl:Class ;
475
- rdfs:subClassOf :SparqlAction ;
476
- rdfs:isDefinedBy : ;
477
- rdfs:label "UpdateSparql" .
478
-
479
- ### https://mustrd.com/model/AnzoQueryDrivenUpdateSparql
480
- :AnzoQueryDrivenUpdateSparql rdf:type owl:Class ;
481
- rdfs:subClassOf :UpdateSparql ;
482
- rdfs:isDefinedBy : ;
483
- rdfs:label "AnzoQueryDrivenUpdateSparql" .
484
-
485
-
486
-
487
- ### https://mustrd.com/model/When
488
- :When rdf:type owl:Class ;
489
- rdfs:subClassOf :Testspecsection ;
490
- rdfs:isDefinedBy : ;
491
- rdfs:label "When" .
492
-
493
-
494
- ### Generated by the OWL API (version 4.5.25.2023-02-15T19:15:49Z) https://github.com/owlcs/owlapi
1
+ @prefix : <https://mustrd.com/model/> .
2
+ @prefix dc: <http://purl.org/dc/elements/1.1/> .
3
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
4
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
5
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
6
+ @prefix xml: <http://www.w3.org/XML/1998/namespace> .
7
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
8
+ @prefix foaf: <http://xmlns.com/foaf/spec/> .
9
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
10
+ @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
11
+ @base <https://mustrd.com/model/> .
12
+
13
+ <https://mustrd.com/model> rdf:type owl:Ontology ;
14
+ owl:imports <https://mustrd.com/triplestore/> ,
15
+ rdf: ,
16
+ rdfs: ;
17
+ rdfs:comment "" ;
18
+ rdfs:label "Mustrd" .
19
+
20
+ #################################################################
21
+ # Object Properties
22
+ #################################################################
23
+
24
+ ### https://mustrd.com/model/dataset
25
+ :dataset rdf:type owl:ObjectProperty ;
26
+ rdfs:domain [ rdf:type owl:Class ;
27
+ owl:unionOf ( :Compositedataset
28
+ :Datasetexpectation
29
+ :Given
30
+ :Then
31
+ )
32
+ ] ;
33
+ rdfs:range :Dataset ;
34
+ rdfs:isDefinedBy : ;
35
+ rdfs:label "dataset" .
36
+
37
+
38
+ ### https://mustrd.com/model/expect
39
+ :expect rdf:type owl:ObjectProperty ;
40
+ rdfs:domain :Then ;
41
+ rdfs:range :Expectation ;
42
+ rdfs:isDefinedBy : ;
43
+ rdfs:label "expect" .
44
+
45
+
46
+ ### https://mustrd.com/model/given
47
+ :given rdf:type owl:ObjectProperty ;
48
+ rdfs:domain :TestSpec ;
49
+ rdfs:range :Given ;
50
+ rdfs:isDefinedBy : ;
51
+ rdfs:label "given" .
52
+
53
+
54
+ ### https://mustrd.com/model/graph
55
+ :graph rdf:type owl:ObjectProperty ;
56
+ rdfs:domain :GraphDataset ;
57
+ rdfs:range :Graph ;
58
+ rdfs:isDefinedBy : ;
59
+ rdfs:label "graph" .
60
+
61
+
62
+ ### https://mustrd.com/model/hasBinding
63
+ :hasBinding rdf:type owl:ObjectProperty ;
64
+ rdfs:label "hasBinding" .
65
+
66
+
67
+ ### https://mustrd.com/model/hasRow
68
+ :hasRow rdf:type owl:ObjectProperty ;
69
+ rdfs:label "has row" .
70
+
71
+
72
+ ### https://mustrd.com/model/hasSpec
73
+ :hasSpec rdf:type owl:ObjectProperty .
74
+
75
+
76
+ ### https://mustrd.com/model/hasStatement
77
+ :hasStatement rdf:type owl:ObjectProperty ;
78
+ rdfs:domain :StatementsDataset ;
79
+ rdfs:range rdf:Statement .
80
+
81
+
82
+ ### https://mustrd.com/model/label_link-6c3eeabf-5c6d-4ea6-b61e-144df1e6a223
83
+ :label_link-6c3eeabf-5c6d-4ea6-b61e-144df1e6a223 rdf:type owl:ObjectProperty ;
84
+ rdfs:domain :When ;
85
+ rdfs:range :SparqlAction ;
86
+ rdfs:isDefinedBy : ;
87
+ rdfs:label "label" .
88
+
89
+
90
+ ### https://mustrd.com/model/queryType
91
+ :queryType rdf:type owl:ObjectProperty ;
92
+ rdfs:label "queryType" .
93
+
94
+
95
+ ### https://mustrd.com/model/sparqlsource
96
+ :sparqlsource rdf:type owl:ObjectProperty ;
97
+ rdfs:domain :SparqlAction ;
98
+ rdfs:range :SparqlSource ;
99
+ rdfs:isDefinedBy : ;
100
+ rdfs:label "sparqlSource" .
101
+
102
+
103
+ ### https://mustrd.com/model/then
104
+ :then rdf:type owl:ObjectProperty ;
105
+ rdfs:domain :TestSpec ;
106
+ rdfs:range :Then ;
107
+ rdfs:isDefinedBy : ;
108
+ rdfs:label "then" .
109
+
110
+
111
+ ### https://mustrd.com/model/when
112
+ :when rdf:type owl:ObjectProperty ;
113
+ rdfs:domain :TestSpec ;
114
+ rdfs:range :When ;
115
+ rdfs:isDefinedBy : ;
116
+ rdfs:label "when" .
117
+
118
+ ### https://mustrd.com/model/anzoQueryStep
119
+ :anzoQueryStep rdf:type owl:ObjectProperty ;
120
+ rdfs:domain :AnzoGraphmartStepSparqlSource ;
121
+ rdfs:isDefinedBy : ;
122
+ rdfs:label "anzoQueryStep" .
123
+
124
+ ### https://mustrd.com/model/anzoGraphmartLayer
125
+ :anzoGraphmartLayer rdf:type owl:ObjectProperty ;
126
+ rdfs:domain :AnzoGraphmartLayerSparqlSource ;
127
+ rdfs:range :When ;
128
+ rdfs:isDefinedBy : ;
129
+ rdfs:label "anzoGraphmartLayer" .
130
+
131
+
132
+ #################################################################
133
+ # Data properties
134
+ #################################################################
135
+
136
+ ### http://www.w3.org/ns/shacl#order
137
+ sh:order rdf:type owl:DatatypeProperty ;
138
+ rdfs:label "order" .
139
+
140
+
141
+ ### https://mustrd.com/model/boundValue
142
+ :boundValue rdf:type owl:DatatypeProperty ;
143
+ rdfs:comment "the value bound to a variable" ;
144
+ rdfs:label "bound value" .
145
+
146
+
147
+ ### https://mustrd.com/model/file
148
+ :file rdf:type owl:DatatypeProperty ;
149
+ rdfs:comment "Relative or absolute path to local file" ;
150
+ rdfs:label "file" .
151
+
152
+
153
+ ### https://mustrd.com/model/fileName
154
+ :fileName rdf:type owl:DatatypeProperty ;
155
+ rdfs:comment "Name of a file excluding its path" ;
156
+ rdfs:label "fileName" .
157
+
158
+
159
+ ### https://mustrd.com/model/fileurl
160
+ :fileurl rdf:type owl:DatatypeProperty ;
161
+ rdfs:domain :FileSparqlSource ;
162
+ rdfs:comment "a full or relatively qualified file:// url. Relative to what? We haven't thought that through, yet." ;
163
+ rdfs:isDefinedBy : ;
164
+ rdfs:label "fileUrl" .
165
+
166
+
167
+ ### https://mustrd.com/model/flattendatasettotargetgraph
168
+ :flattendatasettotargetgraph rdf:type owl:DatatypeProperty ;
169
+ rdfs:domain :Given ;
170
+ rdfs:isDefinedBy : ;
171
+ rdfs:label "flattenDataSetToTargetGraph" .
172
+
173
+
174
+ ### https://mustrd.com/model/graphmart
175
+ :graphmart rdf:type owl:DatatypeProperty ;
176
+ rdfs:domain :AnzoGraphmartDataset ;
177
+ rdfs:comment "the graphmart url of an Anzo graphmart dataset" ;
178
+ rdfs:label "graphmart" .
179
+
180
+
181
+ ### https://mustrd.com/model/layer
182
+ :layer rdf:type owl:DatatypeProperty ;
183
+ rdfs:domain :AnzoGraphmartDataset ;
184
+ rdfs:comment "the url of the layer within an Anzo graphmart dataset" ;
185
+ rdfs:label "layer" .
186
+
187
+
188
+ ### https://mustrd.com/model/queryText
189
+ :queryText rdf:type owl:DatatypeProperty ;
190
+ rdfs:domain :TextSparqlSource ;
191
+ rdfs:label "QueryText" .
192
+
193
+
194
+ ### https://mustrd.com/model/shouldflattengraph
195
+ :shouldflattengraph rdf:type owl:DatatypeProperty ;
196
+ rdfs:domain :GraphDataset ;
197
+ rdfs:isDefinedBy : ;
198
+ rdfs:label "shouldFlattenGraph" .
199
+
200
+
201
+ ### https://mustrd.com/model/sparql
202
+ :sparql rdf:type owl:DatatypeProperty ;
203
+ rdfs:domain :SparqlAction ;
204
+ rdfs:isDefinedBy : ;
205
+ rdfs:label "sparql" .
206
+
207
+
208
+ ### https://mustrd.com/model/targetgraph
209
+ :targetgraph rdf:type owl:DatatypeProperty ;
210
+ rdfs:domain [ rdf:type owl:Class ;
211
+ owl:unionOf ( :GraphDataset
212
+ :TestSpec
213
+ )
214
+ ] ;
215
+ rdfs:comment "optional iri of a target graph to flatten into" ;
216
+ rdfs:isDefinedBy : ;
217
+ rdfs:label "targetGraph" .
218
+
219
+
220
+ ### https://mustrd.com/model/variable
221
+ :variable rdf:type owl:DatatypeProperty ;
222
+ rdfs:comment "variable name in a binding" ;
223
+ rdfs:label "variable" .
224
+
225
+ ### https://mustrd.com/model/focus
226
+ :variable rdf:type owl:DatatypeProperty ;
227
+ rdfs:comment "Shows whether a test specification is set to be the focus of a test run" ;
228
+ rdfs:label "focus" ;
229
+ rdfs:domain :TestSpec ;
230
+ rdfs:range xsd:boolean ;
231
+ .
232
+
233
+ #################################################################
234
+ # Classes
235
+ #################################################################
236
+
237
+ ### https://mustrd.com/model/AnzoGraphmartDataset
238
+ :AnzoGraphmartDataset rdf:type owl:Class ;
239
+ rdfs:subClassOf :Dataset ;
240
+ rdfs:label "Anzo graphmart dataset" .
241
+
242
+
243
+ ### https://mustrd.com/model/Binding
244
+ :Binding rdf:type owl:Class ;
245
+ rdfs:label "variable binding" .
246
+
247
+
248
+ ### https://mustrd.com/model/Compositedataset
249
+ :Compositedataset rdf:type owl:Class ;
250
+ rdfs:subClassOf :Dataset ;
251
+ rdfs:isDefinedBy : ;
252
+ rdfs:label "CompositeDataSet" .
253
+
254
+
255
+ ### https://mustrd.com/model/ConstructSparql
256
+ :ConstructSparql rdf:type owl:Class ;
257
+ rdfs:subClassOf :SparqlAction ;
258
+ rdfs:isDefinedBy : ;
259
+ rdfs:label "ConstructSparql" .
260
+
261
+
262
+ ### https://mustrd.com/model/Dataset
263
+ :Dataset rdf:type owl:Class ;
264
+ rdfs:comment "Some source of triples for comparison in either a Given or Then clause" ;
265
+ rdfs:isDefinedBy : ;
266
+ rdfs:label "DataSet" .
267
+
268
+
269
+ ### https://mustrd.com/model/Datasetexpectation
270
+ :Datasetexpectation rdf:type owl:Class ;
271
+ rdfs:subClassOf :Expectation ;
272
+ rdfs:comment "A static dataset expectation. All DataSet(s) described by dataset will be composed into a single DataSet" ;
273
+ rdfs:isDefinedBy : ;
274
+ rdfs:label "DatasetExpectation" .
275
+
276
+
277
+ ### https://mustrd.com/model/EmptyDataset
278
+ :EmptyDataset rdf:type owl:Class ;
279
+ rdfs:subClassOf :Dataset ;
280
+ rdfs:label "Empty dataset" .
281
+
282
+
283
+ ### https://mustrd.com/model/EmptyGraph
284
+ :EmptyGraph rdf:type owl:Class ;
285
+ rdfs:subClassOf :EmptyDataset ;
286
+ rdfs:label "EmptyGraph" .
287
+
288
+
289
+ ### https://mustrd.com/model/EmptyTable
290
+ :EmptyTable rdf:type owl:Class ;
291
+ rdfs:subClassOf :EmptyDataset ;
292
+ rdfs:label "EmptyTable" .
293
+
294
+
295
+ ### https://mustrd.com/model/Expectation
296
+ :Expectation rdf:type owl:Class ;
297
+ rdfs:comment "The expected result of the action performed in When, on the DataSet constructed, or composed in the Given. Expectations may be complete static datasets, results of ASKs, or a CONSTRUCT or SELECT and expected DataSet" ;
298
+ rdfs:isDefinedBy : ;
299
+ rdfs:label "Expectation" .
300
+
301
+
302
+ ### https://mustrd.com/model/FileDataset
303
+ :FileDataset rdf:type owl:Class ;
304
+ rdfs:subClassOf :Dataset ;
305
+ rdfs:isDefinedBy "https://mustrd.com/model/" ;
306
+ rdfs:label "File dataset" .
307
+
308
+
309
+ ### https://mustrd.com/model/FileSparqlSource
310
+ :FileSparqlSource rdf:type owl:Class ;
311
+ rdfs:subClassOf :SparqlSource ;
312
+ rdfs:isDefinedBy : ;
313
+ rdfs:label "FileSparqlSource" .
314
+
315
+
316
+ ### https://mustrd.com/model/FolderDataset
317
+ :FolderDataset rdf:type owl:Class ;
318
+ rdfs:subClassOf :Dataset ;
319
+ rdfs:label "Folder dataset" .
320
+
321
+
322
+ ### https://mustrd.com/model/FolderSparqlSource
323
+ :FolderSparqlSource rdf:type owl:Class ;
324
+ rdfs:subClassOf :SparqlSource ;
325
+ rdfs:label "folder sparql source" .
326
+
327
+
328
+ ### https://mustrd.com/model/Given
329
+ :Given rdf:type owl:Class ;
330
+ rdfs:subClassOf :Testspecsection ;
331
+ rdfs:comment "references one or more DataSet(s) to construct a precondition for this TestSpec" ;
332
+ rdfs:isDefinedBy : ;
333
+ rdfs:label "Given" .
334
+
335
+
336
+ ### https://mustrd.com/model/Graph
337
+ :Graph rdf:type owl:Class ;
338
+ rdfs:isDefinedBy : ;
339
+ rdfs:label "Graph" .
340
+
341
+
342
+ ### https://mustrd.com/model/GraphDataset
343
+ :GraphDataset rdf:type owl:Class ;
344
+ rdfs:subClassOf :Dataset ;
345
+ rdfs:isDefinedBy : ;
346
+ rdfs:label "GraphDataset" .
347
+
348
+
349
+ ### https://mustrd.com/model/InheritedDataset
350
+ :InheritedDataset rdf:type owl:Class ;
351
+ rdfs:subClassOf :Dataset ;
352
+ rdfs:comment "A dataset inherited from another process e.g. another test where no further action is required before running the when step of a test spec." ;
353
+ rdfs:label "Inherited Dataset" .
354
+
355
+
356
+ ### https://mustrd.com/model/OrderedTableDataset
357
+ :OrderedTableDataset rdf:type owl:Class ;
358
+ rdfs:subClassOf :TableDataset ;
359
+ rdfs:comment "" ;
360
+ rdfs:label "OrderedTableDataset" .
361
+
362
+
363
+ ### https://mustrd.com/model/Row
364
+ :Row rdf:type owl:Class ;
365
+ rdfs:comment "A conceptual row of a table expressed as one or more bindings of variables (column names) to values" ;
366
+ rdfs:label "Row" .
367
+
368
+
369
+ ### https://mustrd.com/model/S3SparqlSource
370
+ :S3SparqlSource rdf:type owl:Class ;
371
+ rdfs:subClassOf :SparqlSource ;
372
+ rdfs:isDefinedBy : ;
373
+ rdfs:label "S3SparqlSource" .
374
+
375
+
376
+ ### https://mustrd.com/model/SelectSparql
377
+ :SelectSparql rdf:type owl:Class ;
378
+ rdfs:subClassOf :SparqlAction ;
379
+ rdfs:isDefinedBy : ;
380
+ rdfs:label "SelectSparql" .
381
+
382
+
383
+ ### https://mustrd.com/model/SparqlAction
384
+ :SparqlAction rdf:type owl:Class ;
385
+ rdfs:comment "The sparql that is under-test. Either provided directly in the sparql property, or loaded courtesy a Sparql Loader from a disk source, db source, s3 source, etc." ;
386
+ rdfs:isDefinedBy : ;
387
+ rdfs:label "SparqlAction" .
388
+
389
+
390
+ ### https://mustrd.com/model/SparqlSource
391
+ :SparqlSource rdf:type owl:Class ;
392
+ rdfs:comment "A source for the SPARQL action we want to execute in the When of a TestSpec." ;
393
+ rdfs:isDefinedBy : ;
394
+ rdfs:label "SparqlSource" .
395
+
396
+
397
+ ### https://mustrd.com/model/StatementsDataset
398
+ :StatementsDataset rdf:type owl:Class ;
399
+ rdfs:subClassOf :Dataset ;
400
+ rdfs:comment "has a set of rdf:Statement(s) which will be unrotated/unreified back into the testing graph" ;
401
+ rdfs:isDefinedBy : ;
402
+ rdfs:label "StatementsDataset" .
403
+
404
+
405
+ ### https://mustrd.com/model/TableDataset
406
+ :TableDataset rdf:type owl:Class ;
407
+ rdfs:subClassOf :Dataset ;
408
+ rdfs:comment "has a set of rows, equivalent to a table or a worksheet" ;
409
+ rdfs:isDefinedBy : ;
410
+ rdfs:label "TableDataset" .
411
+
412
+
413
+ ### https://mustrd.com/model/TestSpec
414
+ :TestSpec rdf:type owl:Class ;
415
+ rdfs:isDefinedBy : ;
416
+ rdfs:label "TestSpec" .
417
+
418
+
419
+ ### https://mustrd.com/model/TestSuite
420
+ :TestSuite rdf:type owl:Class ;
421
+ rdfs:isDefinedBy : ;
422
+ rdfs:label "Test Suite" .
423
+
424
+
425
+ ### https://mustrd.com/model/Testspecsection
426
+ :Testspecsection rdf:type owl:Class ;
427
+ rdfs:isDefinedBy : ;
428
+ rdfs:label "TestSpecSection" .
429
+
430
+
431
+ ### https://mustrd.com/model/TextSparqlSource
432
+ :TextSparqlSource rdf:type owl:Class ;
433
+ rdfs:subClassOf :SparqlSource ;
434
+ rdfs:isDefinedBy : ;
435
+ rdfs:label "TextSparqlSource" .
436
+
437
+
438
+ ### https://mustrd.com/model/AnzoQueryBuilderSparqlSource
439
+ :AnzoQueryBuilderSparqlSource rdf:type owl:Class ;
440
+ rdfs:subClassOf :SparqlSource ;
441
+ rdfs:isDefinedBy : ;
442
+ rdfs:label "AnzoQueryBuilderSparqlSource" .
443
+
444
+
445
+ ### https://mustrd.com/model/AnzoGraphmartStepSparqlSource
446
+ :AnzoGraphmartStepSparqlSource rdf:type owl:Class ;
447
+ rdfs:subClassOf :SparqlSource ;
448
+ rdfs:isDefinedBy : ;
449
+ rdfs:label "AnzoGraphmartStepSparqlSource" .
450
+
451
+
452
+ ### https://mustrd.com/model/AnzoGraphmartLayerSparqlSource
453
+ :AnzoGraphmartLayerSparqlSource rdf:type owl:Class ;
454
+ rdfs:subClassOf :SparqlSource ;
455
+ rdfs:isDefinedBy : ;
456
+ rdfs:label "AnzoGraphmartLayerSparqlSource" .
457
+
458
+ ### https://mustrd.com/model/AnzoGraphmartQueryDrivenTemplatedStepSparqlSource
459
+ :AnzoGraphmartQueryDrivenTemplatedStepSparqlSource rdf:type owl:Class ;
460
+ rdfs:subClassOf :SparqlSource ;
461
+ rdfs:isDefinedBy : ;
462
+ rdfs:label "AnzoGraphmartQueryDrivenTemplatedStepSparqlSource" .
463
+
464
+
465
+ ### https://mustrd.com/model/Then
466
+ :Then rdf:type owl:Class ;
467
+ rdfs:subClassOf :Testspecsection ;
468
+ rdfs:comment "Describes the Expectation(s) of this part of a test." ;
469
+ rdfs:isDefinedBy : ;
470
+ rdfs:label "Then" .
471
+
472
+
473
+ ### https://mustrd.com/model/UpdateSparql
474
+ :UpdateSparql rdf:type owl:Class ;
475
+ rdfs:subClassOf :SparqlAction ;
476
+ rdfs:isDefinedBy : ;
477
+ rdfs:label "UpdateSparql" .
478
+
479
+ ### https://mustrd.com/model/AnzoQueryDrivenUpdateSparql
480
+ :AnzoQueryDrivenUpdateSparql rdf:type owl:Class ;
481
+ rdfs:subClassOf :UpdateSparql ;
482
+ rdfs:isDefinedBy : ;
483
+ rdfs:label "AnzoQueryDrivenUpdateSparql" .
484
+
485
+
486
+
487
+ ### https://mustrd.com/model/When
488
+ :When rdf:type owl:Class ;
489
+ rdfs:subClassOf :Testspecsection ;
490
+ rdfs:isDefinedBy : ;
491
+ rdfs:label "When" .
492
+
493
+
494
+ ### Generated by the OWL API (version 4.5.25.2023-02-15T19:15:49Z) https://github.com/owlcs/owlapi