eyeling 1.6.13 → 1.6.15

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.
Files changed (77) hide show
  1. package/README.md +8 -19
  2. package/examples/output/age.n3 +0 -17
  3. package/examples/output/alignment-demo.n3 +0 -572
  4. package/examples/output/backward.n3 +0 -15
  5. package/examples/output/basic-monadic.n3 +0 -105
  6. package/examples/output/brussels-brew-club.n3 +0 -476
  7. package/examples/output/cat-koko.n3 +0 -108
  8. package/examples/output/cobalt-kepler-kitchen.n3 +0 -7064
  9. package/examples/output/complex.n3 +0 -46
  10. package/examples/output/control-system.n3 +0 -75
  11. package/examples/output/cranberry-calculus.n3 +0 -1313
  12. package/examples/output/crypto-builtins-tests.n3 +0 -60
  13. package/examples/output/deep-taxonomy-10.n3 +0 -602
  14. package/examples/output/deep-taxonomy-100.n3 +1 -5733
  15. package/examples/output/deep-taxonomy-1000.n3 +1 -57033
  16. package/examples/output/deep-taxonomy-10000.n3 +1 -570033
  17. package/examples/output/derived-backward-rule-2.n3 +0 -58
  18. package/examples/output/derived-backward-rule.n3 +0 -44
  19. package/examples/output/derived-rule.n3 +0 -42
  20. package/examples/output/dijkstra.n3 +0 -297
  21. package/examples/output/dog.n3 +0 -30
  22. package/examples/output/drone-corridor-planner.n3 +0 -799
  23. package/examples/output/easter.n3 +0 -3570
  24. package/examples/output/equals.n3 +0 -15
  25. package/examples/output/ev-roundtrip-planner.n3 +0 -392
  26. package/examples/output/existential-rule.n3 +0 -34
  27. package/examples/output/expression-eval.n3 +0 -20
  28. package/examples/output/family-cousins.n3 +0 -636
  29. package/examples/output/fibonacci.n3 +0 -36
  30. package/examples/output/french-cities.n3 +0 -484
  31. package/examples/output/good-cobbler.n3 +0 -22
  32. package/examples/output/gps.n3 +0 -62
  33. package/examples/output/gray-code-counter.n3 +0 -17
  34. package/examples/output/hanoi.n3 +0 -17
  35. package/examples/output/jade-eigen-loom.n3 +0 -4690
  36. package/examples/output/json-pointer.n3 +0 -529
  37. package/examples/output/json-reconcile-vat.n3 +0 -12882
  38. package/examples/output/light-eaters.n3 +0 -311
  39. package/examples/output/list-builtins-tests.n3 +0 -167
  40. package/examples/output/list-iterate.n3 +0 -124
  41. package/examples/output/lldm.n3 +0 -960
  42. package/examples/output/log-collect-all-in.n3 +0 -117
  43. package/examples/output/log-for-all-in.n3 +0 -27
  44. package/examples/output/log-not-includes.n3 +0 -59
  45. package/examples/output/log-skolem.n3 +0 -17
  46. package/examples/output/log-uri.n3 +0 -42
  47. package/examples/output/math-builtins-tests.n3 +0 -4434
  48. package/examples/output/minimal-skos-alignment.n3 +0 -39
  49. package/examples/output/monkey.n3 +0 -36
  50. package/examples/output/odrl-trust.n3 +0 -46
  51. package/examples/output/oslo-steps-library-scholarly.n3 +0 -1260
  52. package/examples/output/oslo-steps-workflow-composition.n3 +0 -180
  53. package/examples/output/peano.n3 +0 -23
  54. package/examples/output/pi.n3 +0 -17
  55. package/examples/output/pillar.n3 +0 -32
  56. package/examples/output/polygon.n3 +0 -17
  57. package/examples/output/rdf-list.n3 +0 -28
  58. package/examples/output/reordering.n3 +0 -26
  59. package/examples/output/ruby-runge-workshop.n3 +0 -613
  60. package/examples/output/rule-matching.n3 +0 -26
  61. package/examples/output/saffron-slopeworks.n3 +0 -1447
  62. package/examples/output/self-referential.n3 +0 -81
  63. package/examples/output/similar.n3 +0 -15
  64. package/examples/output/snaf.n3 +0 -23
  65. package/examples/output/socrates.n3 +0 -21
  66. package/examples/output/spectral-week.n3 +0 -350
  67. package/examples/output/string-builtins-tests.n3 +0 -240
  68. package/examples/output/topaz-markov-mill.n3 +0 -4178
  69. package/examples/output/traffic-skos-aggregate.n3 +0 -3151
  70. package/examples/output/turing.n3 +0 -36
  71. package/examples/output/ultramarine-simpson-forge.n3 +0 -3873
  72. package/examples/output/witch.n3 +0 -107
  73. package/examples/output/zebra.n3 +0 -111
  74. package/eyeling.js +129 -25
  75. package/index.js +13 -6
  76. package/package.json +1 -1
  77. package/test/examples.test.js +1 -1
package/README.md CHANGED
@@ -103,16 +103,16 @@ npm run test:packlist
103
103
  - `test:package` does a “real consumer” smoke test: `npm pack` → install tarball into a temp project → run API + CLI + examples.
104
104
  - `test:packlist` sanity-checks what will be published in the npm tarball (and the CLI shebang/bin wiring).
105
105
 
106
- ### Run a single file
106
+ ### Usage
107
107
 
108
- From the repo root:
109
-
110
- ```bash
111
- # Option 1: use the shebang (Unix-like)
112
- ./eyeling.js examples/socrates.n3
108
+ ```
109
+ Usage: eyeling.js [options] <file.n3>
113
110
 
114
- # Option 2: explicit node
115
- node eyeling.js examples/socrates.n3
111
+ Options:
112
+ -h, --help Show this help and exit.
113
+ -v, --version Print version and exit.
114
+ -p, --proof-comments Enable proof explanations.
115
+ -n, --no-proof-comments Disable proof explanations (default).
116
116
  ```
117
117
 
118
118
  By default, `eyeling`:
@@ -122,17 +122,6 @@ By default, `eyeling`:
122
122
  3. prints only **newly derived forward facts** (not the original input facts)
123
123
  4. prints a compact per-triple explanation as `#` comments (can be disabled)
124
124
 
125
- ### Options
126
-
127
- ```bash
128
- node eyeling.js --version
129
- node eyeling.js -v
130
-
131
- # Disable proof comments (print only derived triples)
132
- node eyeling.js --no-proof-comments examples/socrates.n3
133
- node eyeling.js -n examples/socrates.n3
134
- ```
135
-
136
125
  ## What output do I get?
137
126
 
138
127
  For each newly derived triple, `eyeling` prints:
@@ -1,20 +1,3 @@
1
1
  @prefix : <https://example.org/#> .
2
2
 
3
- # ----------------------------------------------------------------------
4
- # Proof for derived triple:
5
- # :test :is true .
6
- # It holds because the following instance of the rule body is provable:
7
- # :patH :ageAbove "P80Y"^^xsd:duration .
8
- # via the schematic forward rule:
9
- # {
10
- # ?S :ageAbove "P80Y"^^xsd:duration .
11
- # } => {
12
- # :test :is true .
13
- # } .
14
- # with substitution (on rule variables):
15
- # ?S = :patH
16
- # Therefore the derived triple above is entailed by the rules and facts.
17
- # ----------------------------------------------------------------------
18
-
19
3
  :test :is true .
20
-
@@ -4,607 +4,35 @@
4
4
  @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
5
5
  @prefix tel: <http://example.org/taxonomy/telraam/> .
6
6
 
7
- # ----------------------------------------------------------------------
8
- # Proof for derived triple:
9
- # tel:Car skos:broader ref:Car .
10
- # It holds because the following instance of the rule body is provable:
11
- # tel:Car skos:broadMatch ref:Car .
12
- # via the schematic forward rule:
13
- # {
14
- # ?a skos:broadMatch ?b .
15
- # } => {
16
- # ?a skos:broader ?b .
17
- # } .
18
- # with substitution (on rule variables):
19
- # ?a = tel:Car
20
- # ?b = ref:Car
21
- # Therefore the derived triple above is entailed by the rules and facts.
22
- # ----------------------------------------------------------------------
23
-
24
7
  tel:Car skos:broader ref:Car .
25
-
26
- # ----------------------------------------------------------------------
27
- # Proof for derived triple:
28
- # tel:HeavyVehicle skos:broader ref:Car .
29
- # It holds because the following instance of the rule body is provable:
30
- # tel:HeavyVehicle skos:broadMatch ref:Car .
31
- # via the schematic forward rule:
32
- # {
33
- # ?a skos:broadMatch ?b .
34
- # } => {
35
- # ?a skos:broader ?b .
36
- # } .
37
- # with substitution (on rule variables):
38
- # ?a = tel:HeavyVehicle
39
- # ?b = ref:Car
40
- # Therefore the derived triple above is entailed by the rules and facts.
41
- # ----------------------------------------------------------------------
42
-
43
8
  tel:HeavyVehicle skos:broader ref:Car .
44
-
45
- # ----------------------------------------------------------------------
46
- # Proof for derived triple:
47
- # anpr:VehicleWithPlate skos:broader ref:Car .
48
- # It holds because the following instance of the rule body is provable:
49
- # anpr:VehicleWithPlate skos:broadMatch ref:Car .
50
- # via the schematic forward rule:
51
- # {
52
- # ?a skos:broadMatch ?b .
53
- # } => {
54
- # ?a skos:broader ?b .
55
- # } .
56
- # with substitution (on rule variables):
57
- # ?a = anpr:VehicleWithPlate
58
- # ?b = ref:Car
59
- # Therefore the derived triple above is entailed by the rules and facts.
60
- # ----------------------------------------------------------------------
61
-
62
9
  anpr:VehicleWithPlate skos:broader ref:Car .
63
-
64
- # ----------------------------------------------------------------------
65
- # Proof for derived triple:
66
- # anpr:VehicleWithPlate skos:narrower anpr:PassengerCar .
67
- # It holds because the following instance of the rule body is provable:
68
- # anpr:PassengerCar skos:broader anpr:VehicleWithPlate .
69
- # via the schematic forward rule:
70
- # {
71
- # ?n skos:broader ?b .
72
- # } => {
73
- # ?b skos:narrower ?n .
74
- # } .
75
- # with substitution (on rule variables):
76
- # ?b = anpr:VehicleWithPlate
77
- # ?n = anpr:PassengerCar
78
- # Therefore the derived triple above is entailed by the rules and facts.
79
- # ----------------------------------------------------------------------
80
-
81
10
  anpr:VehicleWithPlate skos:narrower anpr:PassengerCar .
82
-
83
- # ----------------------------------------------------------------------
84
- # Proof for derived triple:
85
- # ref:Car skos:narrower tel:Car .
86
- # It holds because the following instance of the rule body is provable:
87
- # tel:Car skos:broader ref:Car .
88
- # via the schematic forward rule:
89
- # {
90
- # ?n skos:broader ?b .
91
- # } => {
92
- # ?b skos:narrower ?n .
93
- # } .
94
- # with substitution (on rule variables):
95
- # ?b = ref:Car
96
- # ?n = tel:Car
97
- # Therefore the derived triple above is entailed by the rules and facts.
98
- # ----------------------------------------------------------------------
99
-
100
11
  ref:Car skos:narrower tel:Car .
101
-
102
- # ----------------------------------------------------------------------
103
- # Proof for derived triple:
104
- # ref:Car skos:narrower tel:HeavyVehicle .
105
- # It holds because the following instance of the rule body is provable:
106
- # tel:HeavyVehicle skos:broader ref:Car .
107
- # via the schematic forward rule:
108
- # {
109
- # ?n skos:broader ?b .
110
- # } => {
111
- # ?b skos:narrower ?n .
112
- # } .
113
- # with substitution (on rule variables):
114
- # ?b = ref:Car
115
- # ?n = tel:HeavyVehicle
116
- # Therefore the derived triple above is entailed by the rules and facts.
117
- # ----------------------------------------------------------------------
118
-
119
12
  ref:Car skos:narrower tel:HeavyVehicle .
120
-
121
- # ----------------------------------------------------------------------
122
- # Proof for derived triple:
123
- # ref:Car skos:narrower anpr:VehicleWithPlate .
124
- # It holds because the following instance of the rule body is provable:
125
- # anpr:VehicleWithPlate skos:broader ref:Car .
126
- # via the schematic forward rule:
127
- # {
128
- # ?n skos:broader ?b .
129
- # } => {
130
- # ?b skos:narrower ?n .
131
- # } .
132
- # with substitution (on rule variables):
133
- # ?b = ref:Car
134
- # ?n = anpr:VehicleWithPlate
135
- # Therefore the derived triple above is entailed by the rules and facts.
136
- # ----------------------------------------------------------------------
137
-
138
13
  ref:Car skos:narrower anpr:VehicleWithPlate .
139
-
140
- # ----------------------------------------------------------------------
141
- # Proof for derived triple:
142
- # anpr:PassengerCar skos:broaderTransitive anpr:VehicleWithPlate .
143
- # It holds because the following instance of the rule body is provable:
144
- # anpr:PassengerCar skos:broader anpr:VehicleWithPlate .
145
- # via the schematic forward rule:
146
- # {
147
- # ?n skos:broader ?b .
148
- # } => {
149
- # ?n skos:broaderTransitive ?b .
150
- # } .
151
- # with substitution (on rule variables):
152
- # ?b = anpr:VehicleWithPlate
153
- # ?n = anpr:PassengerCar
154
- # Therefore the derived triple above is entailed by the rules and facts.
155
- # ----------------------------------------------------------------------
156
-
157
14
  anpr:PassengerCar skos:broaderTransitive anpr:VehicleWithPlate .
158
-
159
- # ----------------------------------------------------------------------
160
- # Proof for derived triple:
161
- # tel:Car skos:broaderTransitive ref:Car .
162
- # It holds because the following instance of the rule body is provable:
163
- # tel:Car skos:broader ref:Car .
164
- # via the schematic forward rule:
165
- # {
166
- # ?n skos:broader ?b .
167
- # } => {
168
- # ?n skos:broaderTransitive ?b .
169
- # } .
170
- # with substitution (on rule variables):
171
- # ?b = ref:Car
172
- # ?n = tel:Car
173
- # Therefore the derived triple above is entailed by the rules and facts.
174
- # ----------------------------------------------------------------------
175
-
176
15
  tel:Car skos:broaderTransitive ref:Car .
177
-
178
- # ----------------------------------------------------------------------
179
- # Proof for derived triple:
180
- # tel:HeavyVehicle skos:broaderTransitive ref:Car .
181
- # It holds because the following instance of the rule body is provable:
182
- # tel:HeavyVehicle skos:broader ref:Car .
183
- # via the schematic forward rule:
184
- # {
185
- # ?n skos:broader ?b .
186
- # } => {
187
- # ?n skos:broaderTransitive ?b .
188
- # } .
189
- # with substitution (on rule variables):
190
- # ?b = ref:Car
191
- # ?n = tel:HeavyVehicle
192
- # Therefore the derived triple above is entailed by the rules and facts.
193
- # ----------------------------------------------------------------------
194
-
195
16
  tel:HeavyVehicle skos:broaderTransitive ref:Car .
196
-
197
- # ----------------------------------------------------------------------
198
- # Proof for derived triple:
199
- # anpr:VehicleWithPlate skos:broaderTransitive ref:Car .
200
- # It holds because the following instance of the rule body is provable:
201
- # anpr:VehicleWithPlate skos:broader ref:Car .
202
- # via the schematic forward rule:
203
- # {
204
- # ?n skos:broader ?b .
205
- # } => {
206
- # ?n skos:broaderTransitive ?b .
207
- # } .
208
- # with substitution (on rule variables):
209
- # ?b = ref:Car
210
- # ?n = anpr:VehicleWithPlate
211
- # Therefore the derived triple above is entailed by the rules and facts.
212
- # ----------------------------------------------------------------------
213
-
214
17
  anpr:VehicleWithPlate skos:broaderTransitive ref:Car .
215
-
216
- # ----------------------------------------------------------------------
217
- # Proof for derived triple:
218
- # anpr:VehicleWithPlate skos:narrowerTransitive anpr:PassengerCar .
219
- # It holds because the following instance of the rule body is provable:
220
- # anpr:VehicleWithPlate skos:narrower anpr:PassengerCar .
221
- # via the schematic forward rule:
222
- # {
223
- # ?n skos:narrower ?c .
224
- # } => {
225
- # ?n skos:narrowerTransitive ?c .
226
- # } .
227
- # with substitution (on rule variables):
228
- # ?c = anpr:PassengerCar
229
- # ?n = anpr:VehicleWithPlate
230
- # Therefore the derived triple above is entailed by the rules and facts.
231
- # ----------------------------------------------------------------------
232
-
233
18
  anpr:VehicleWithPlate skos:narrowerTransitive anpr:PassengerCar .
234
-
235
- # ----------------------------------------------------------------------
236
- # Proof for derived triple:
237
- # ref:Car skos:narrowerTransitive tel:Car .
238
- # It holds because the following instance of the rule body is provable:
239
- # ref:Car skos:narrower tel:Car .
240
- # via the schematic forward rule:
241
- # {
242
- # ?n skos:narrower ?c .
243
- # } => {
244
- # ?n skos:narrowerTransitive ?c .
245
- # } .
246
- # with substitution (on rule variables):
247
- # ?c = tel:Car
248
- # ?n = ref:Car
249
- # Therefore the derived triple above is entailed by the rules and facts.
250
- # ----------------------------------------------------------------------
251
-
252
19
  ref:Car skos:narrowerTransitive tel:Car .
253
-
254
- # ----------------------------------------------------------------------
255
- # Proof for derived triple:
256
- # ref:Car skos:narrowerTransitive tel:HeavyVehicle .
257
- # It holds because the following instance of the rule body is provable:
258
- # ref:Car skos:narrower tel:HeavyVehicle .
259
- # via the schematic forward rule:
260
- # {
261
- # ?n skos:narrower ?c .
262
- # } => {
263
- # ?n skos:narrowerTransitive ?c .
264
- # } .
265
- # with substitution (on rule variables):
266
- # ?c = tel:HeavyVehicle
267
- # ?n = ref:Car
268
- # Therefore the derived triple above is entailed by the rules and facts.
269
- # ----------------------------------------------------------------------
270
-
271
20
  ref:Car skos:narrowerTransitive tel:HeavyVehicle .
272
-
273
- # ----------------------------------------------------------------------
274
- # Proof for derived triple:
275
- # ref:Car skos:narrowerTransitive anpr:VehicleWithPlate .
276
- # It holds because the following instance of the rule body is provable:
277
- # ref:Car skos:narrower anpr:VehicleWithPlate .
278
- # via the schematic forward rule:
279
- # {
280
- # ?n skos:narrower ?c .
281
- # } => {
282
- # ?n skos:narrowerTransitive ?c .
283
- # } .
284
- # with substitution (on rule variables):
285
- # ?c = anpr:VehicleWithPlate
286
- # ?n = ref:Car
287
- # Therefore the derived triple above is entailed by the rules and facts.
288
- # ----------------------------------------------------------------------
289
-
290
21
  ref:Car skos:narrowerTransitive anpr:VehicleWithPlate .
291
-
292
- # ----------------------------------------------------------------------
293
- # Proof for derived triple:
294
- # anpr:PassengerCar skos:broaderTransitive ref:Car .
295
- # It holds because the following instance of the rule body is provable:
296
- # anpr:PassengerCar skos:broaderTransitive anpr:VehicleWithPlate .
297
- # anpr:VehicleWithPlate skos:broaderTransitive ref:Car .
298
- # via the schematic forward rule:
299
- # {
300
- # ?a skos:broaderTransitive ?b .
301
- # ?b skos:broaderTransitive ?c .
302
- # } => {
303
- # ?a skos:broaderTransitive ?c .
304
- # } .
305
- # with substitution (on rule variables):
306
- # ?a = anpr:PassengerCar
307
- # ?b = anpr:VehicleWithPlate
308
- # ?c = ref:Car
309
- # Therefore the derived triple above is entailed by the rules and facts.
310
- # ----------------------------------------------------------------------
311
-
312
22
  anpr:PassengerCar skos:broaderTransitive ref:Car .
313
-
314
- # ----------------------------------------------------------------------
315
- # Proof for derived triple:
316
- # ref:Car skos:narrowerTransitive anpr:PassengerCar .
317
- # It holds because the following instance of the rule body is provable:
318
- # ref:Car skos:narrowerTransitive anpr:VehicleWithPlate .
319
- # anpr:VehicleWithPlate skos:narrowerTransitive anpr:PassengerCar .
320
- # via the schematic forward rule:
321
- # {
322
- # ?a skos:narrowerTransitive ?b .
323
- # ?b skos:narrowerTransitive ?c .
324
- # } => {
325
- # ?a skos:narrowerTransitive ?c .
326
- # } .
327
- # with substitution (on rule variables):
328
- # ?a = ref:Car
329
- # ?b = anpr:VehicleWithPlate
330
- # ?c = anpr:PassengerCar
331
- # Therefore the derived triple above is entailed by the rules and facts.
332
- # ----------------------------------------------------------------------
333
-
334
23
  ref:Car skos:narrowerTransitive anpr:PassengerCar .
335
-
336
- # ----------------------------------------------------------------------
337
- # Proof for derived triple:
338
- # ref:Car ex:narrowerOrEqualOf ref:Car .
339
- # It holds because the following instance of the rule body is provable:
340
- # ref:Car a skos:Concept .
341
- # via the schematic forward rule:
342
- # {
343
- # ?c a skos:Concept .
344
- # } => {
345
- # ?c ex:narrowerOrEqualOf ?c .
346
- # } .
347
- # with substitution (on rule variables):
348
- # ?c = ref:Car
349
- # Therefore the derived triple above is entailed by the rules and facts.
350
- # ----------------------------------------------------------------------
351
-
352
24
  ref:Car ex:narrowerOrEqualOf ref:Car .
353
-
354
- # ----------------------------------------------------------------------
355
- # Proof for derived triple:
356
- # tel:Car ex:narrowerOrEqualOf tel:Car .
357
- # It holds because the following instance of the rule body is provable:
358
- # tel:Car a skos:Concept .
359
- # via the schematic forward rule:
360
- # {
361
- # ?c a skos:Concept .
362
- # } => {
363
- # ?c ex:narrowerOrEqualOf ?c .
364
- # } .
365
- # with substitution (on rule variables):
366
- # ?c = tel:Car
367
- # Therefore the derived triple above is entailed by the rules and facts.
368
- # ----------------------------------------------------------------------
369
-
370
25
  tel:Car ex:narrowerOrEqualOf tel:Car .
371
-
372
- # ----------------------------------------------------------------------
373
- # Proof for derived triple:
374
- # tel:HeavyVehicle ex:narrowerOrEqualOf tel:HeavyVehicle .
375
- # It holds because the following instance of the rule body is provable:
376
- # tel:HeavyVehicle a skos:Concept .
377
- # via the schematic forward rule:
378
- # {
379
- # ?c a skos:Concept .
380
- # } => {
381
- # ?c ex:narrowerOrEqualOf ?c .
382
- # } .
383
- # with substitution (on rule variables):
384
- # ?c = tel:HeavyVehicle
385
- # Therefore the derived triple above is entailed by the rules and facts.
386
- # ----------------------------------------------------------------------
387
-
388
26
  tel:HeavyVehicle ex:narrowerOrEqualOf tel:HeavyVehicle .
389
-
390
- # ----------------------------------------------------------------------
391
- # Proof for derived triple:
392
- # anpr:VehicleWithPlate ex:narrowerOrEqualOf anpr:VehicleWithPlate .
393
- # It holds because the following instance of the rule body is provable:
394
- # anpr:VehicleWithPlate a skos:Concept .
395
- # via the schematic forward rule:
396
- # {
397
- # ?c a skos:Concept .
398
- # } => {
399
- # ?c ex:narrowerOrEqualOf ?c .
400
- # } .
401
- # with substitution (on rule variables):
402
- # ?c = anpr:VehicleWithPlate
403
- # Therefore the derived triple above is entailed by the rules and facts.
404
- # ----------------------------------------------------------------------
405
-
406
27
  anpr:VehicleWithPlate ex:narrowerOrEqualOf anpr:VehicleWithPlate .
407
-
408
- # ----------------------------------------------------------------------
409
- # Proof for derived triple:
410
- # anpr:PassengerCar ex:narrowerOrEqualOf anpr:PassengerCar .
411
- # It holds because the following instance of the rule body is provable:
412
- # anpr:PassengerCar a skos:Concept .
413
- # via the schematic forward rule:
414
- # {
415
- # ?c a skos:Concept .
416
- # } => {
417
- # ?c ex:narrowerOrEqualOf ?c .
418
- # } .
419
- # with substitution (on rule variables):
420
- # ?c = anpr:PassengerCar
421
- # Therefore the derived triple above is entailed by the rules and facts.
422
- # ----------------------------------------------------------------------
423
-
424
28
  anpr:PassengerCar ex:narrowerOrEqualOf anpr:PassengerCar .
425
-
426
- # ----------------------------------------------------------------------
427
- # Proof for derived triple:
428
- # anpr:PassengerCar ex:narrowerOrEqualOf anpr:VehicleWithPlate .
429
- # It holds because the following instance of the rule body is provable:
430
- # anpr:PassengerCar skos:broaderTransitive anpr:VehicleWithPlate .
431
- # via the schematic forward rule:
432
- # {
433
- # ?c skos:broaderTransitive ?b .
434
- # } => {
435
- # ?c ex:narrowerOrEqualOf ?b .
436
- # } .
437
- # with substitution (on rule variables):
438
- # ?b = anpr:VehicleWithPlate
439
- # ?c = anpr:PassengerCar
440
- # Therefore the derived triple above is entailed by the rules and facts.
441
- # ----------------------------------------------------------------------
442
-
443
29
  anpr:PassengerCar ex:narrowerOrEqualOf anpr:VehicleWithPlate .
444
-
445
- # ----------------------------------------------------------------------
446
- # Proof for derived triple:
447
- # tel:Car ex:narrowerOrEqualOf ref:Car .
448
- # It holds because the following instance of the rule body is provable:
449
- # tel:Car skos:broaderTransitive ref:Car .
450
- # via the schematic forward rule:
451
- # {
452
- # ?c skos:broaderTransitive ?b .
453
- # } => {
454
- # ?c ex:narrowerOrEqualOf ?b .
455
- # } .
456
- # with substitution (on rule variables):
457
- # ?b = ref:Car
458
- # ?c = tel:Car
459
- # Therefore the derived triple above is entailed by the rules and facts.
460
- # ----------------------------------------------------------------------
461
-
462
30
  tel:Car ex:narrowerOrEqualOf ref:Car .
463
-
464
- # ----------------------------------------------------------------------
465
- # Proof for derived triple:
466
- # tel:HeavyVehicle ex:narrowerOrEqualOf ref:Car .
467
- # It holds because the following instance of the rule body is provable:
468
- # tel:HeavyVehicle skos:broaderTransitive ref:Car .
469
- # via the schematic forward rule:
470
- # {
471
- # ?c skos:broaderTransitive ?b .
472
- # } => {
473
- # ?c ex:narrowerOrEqualOf ?b .
474
- # } .
475
- # with substitution (on rule variables):
476
- # ?b = ref:Car
477
- # ?c = tel:HeavyVehicle
478
- # Therefore the derived triple above is entailed by the rules and facts.
479
- # ----------------------------------------------------------------------
480
-
481
31
  tel:HeavyVehicle ex:narrowerOrEqualOf ref:Car .
482
-
483
- # ----------------------------------------------------------------------
484
- # Proof for derived triple:
485
- # anpr:VehicleWithPlate ex:narrowerOrEqualOf ref:Car .
486
- # It holds because the following instance of the rule body is provable:
487
- # anpr:VehicleWithPlate skos:broaderTransitive ref:Car .
488
- # via the schematic forward rule:
489
- # {
490
- # ?c skos:broaderTransitive ?b .
491
- # } => {
492
- # ?c ex:narrowerOrEqualOf ?b .
493
- # } .
494
- # with substitution (on rule variables):
495
- # ?b = ref:Car
496
- # ?c = anpr:VehicleWithPlate
497
- # Therefore the derived triple above is entailed by the rules and facts.
498
- # ----------------------------------------------------------------------
499
-
500
32
  anpr:VehicleWithPlate ex:narrowerOrEqualOf ref:Car .
501
-
502
- # ----------------------------------------------------------------------
503
- # Proof for derived triple:
504
- # anpr:PassengerCar ex:narrowerOrEqualOf ref:Car .
505
- # It holds because the following instance of the rule body is provable:
506
- # anpr:PassengerCar skos:broaderTransitive ref:Car .
507
- # via the schematic forward rule:
508
- # {
509
- # ?c skos:broaderTransitive ?b .
510
- # } => {
511
- # ?c ex:narrowerOrEqualOf ?b .
512
- # } .
513
- # with substitution (on rule variables):
514
- # ?b = ref:Car
515
- # ?c = anpr:PassengerCar
516
- # Therefore the derived triple above is entailed by the rules and facts.
517
- # ----------------------------------------------------------------------
518
-
519
33
  anpr:PassengerCar ex:narrowerOrEqualOf ref:Car .
520
-
521
- # ----------------------------------------------------------------------
522
- # Proof for derived triple:
523
- # ref:Car ex:rollsUpTo ref:Car .
524
- # It holds because the following instance of the rule body is provable:
525
- # ref:Car ex:narrowerOrEqualOf ref:Car .
526
- # via the schematic forward rule:
527
- # {
528
- # ?x ex:narrowerOrEqualOf ref:Car .
529
- # } => {
530
- # ?x ex:rollsUpTo ref:Car .
531
- # } .
532
- # with substitution (on rule variables):
533
- # ?x = ref:Car
534
- # Therefore the derived triple above is entailed by the rules and facts.
535
- # ----------------------------------------------------------------------
536
-
537
34
  ref:Car ex:rollsUpTo ref:Car .
538
-
539
- # ----------------------------------------------------------------------
540
- # Proof for derived triple:
541
- # tel:Car ex:rollsUpTo ref:Car .
542
- # It holds because the following instance of the rule body is provable:
543
- # tel:Car ex:narrowerOrEqualOf ref:Car .
544
- # via the schematic forward rule:
545
- # {
546
- # ?x ex:narrowerOrEqualOf ref:Car .
547
- # } => {
548
- # ?x ex:rollsUpTo ref:Car .
549
- # } .
550
- # with substitution (on rule variables):
551
- # ?x = tel:Car
552
- # Therefore the derived triple above is entailed by the rules and facts.
553
- # ----------------------------------------------------------------------
554
-
555
35
  tel:Car ex:rollsUpTo ref:Car .
556
-
557
- # ----------------------------------------------------------------------
558
- # Proof for derived triple:
559
- # tel:HeavyVehicle ex:rollsUpTo ref:Car .
560
- # It holds because the following instance of the rule body is provable:
561
- # tel:HeavyVehicle ex:narrowerOrEqualOf ref:Car .
562
- # via the schematic forward rule:
563
- # {
564
- # ?x ex:narrowerOrEqualOf ref:Car .
565
- # } => {
566
- # ?x ex:rollsUpTo ref:Car .
567
- # } .
568
- # with substitution (on rule variables):
569
- # ?x = tel:HeavyVehicle
570
- # Therefore the derived triple above is entailed by the rules and facts.
571
- # ----------------------------------------------------------------------
572
-
573
36
  tel:HeavyVehicle ex:rollsUpTo ref:Car .
574
-
575
- # ----------------------------------------------------------------------
576
- # Proof for derived triple:
577
- # anpr:VehicleWithPlate ex:rollsUpTo ref:Car .
578
- # It holds because the following instance of the rule body is provable:
579
- # anpr:VehicleWithPlate ex:narrowerOrEqualOf ref:Car .
580
- # via the schematic forward rule:
581
- # {
582
- # ?x ex:narrowerOrEqualOf ref:Car .
583
- # } => {
584
- # ?x ex:rollsUpTo ref:Car .
585
- # } .
586
- # with substitution (on rule variables):
587
- # ?x = anpr:VehicleWithPlate
588
- # Therefore the derived triple above is entailed by the rules and facts.
589
- # ----------------------------------------------------------------------
590
-
591
37
  anpr:VehicleWithPlate ex:rollsUpTo ref:Car .
592
-
593
- # ----------------------------------------------------------------------
594
- # Proof for derived triple:
595
- # anpr:PassengerCar ex:rollsUpTo ref:Car .
596
- # It holds because the following instance of the rule body is provable:
597
- # anpr:PassengerCar ex:narrowerOrEqualOf ref:Car .
598
- # via the schematic forward rule:
599
- # {
600
- # ?x ex:narrowerOrEqualOf ref:Car .
601
- # } => {
602
- # ?x ex:rollsUpTo ref:Car .
603
- # } .
604
- # with substitution (on rule variables):
605
- # ?x = anpr:PassengerCar
606
- # Therefore the derived triple above is entailed by the rules and facts.
607
- # ----------------------------------------------------------------------
608
-
609
38
  anpr:PassengerCar ex:rollsUpTo ref:Car .
610
-
@@ -1,18 +1,3 @@
1
1
  @prefix : <http://example.org/#> .
2
2
 
3
- # ----------------------------------------------------------------------
4
- # Proof for derived triple:
5
- # 5 :isIndeedMoreInterestingThan 3 .
6
- # It holds because the following instance of the rule body is provable:
7
- # 5 :moreInterestingThan 3 .
8
- # via the schematic forward rule:
9
- # {
10
- # 5 :moreInterestingThan 3 .
11
- # } => {
12
- # 5 :isIndeedMoreInterestingThan 3 .
13
- # } .
14
- # Therefore the derived triple above is entailed by the rules and facts.
15
- # ----------------------------------------------------------------------
16
-
17
3
  5 :isIndeedMoreInterestingThan 3 .
18
-