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
@@ -3,187 +3,7 @@
3
3
  @prefix step: <https://example.org/steps#> .
4
4
  @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
5
5
 
6
- # ----------------------------------------------------------------------
7
- # Proof for derived triple:
8
- # :bob gps:path ((step:providePersonalInfoOnline step:provideMovingDataDesk step:provideNewAddress step:declareAddressChangePostal step:confirmAddressChangePolice) "20400"^^xsd:decimal "4"^^xsd:decimal "0.9079107344999999"^^xsd:decimal "0.6636569280000001"^^xsd:decimal) .
9
- # It holds because the following instance of the rule body is provable:
10
- # state:s5 :formula {
11
- # var:x a o-persoon:Inwoner .
12
- # var:x ex:personalInfoProvided true .
13
- # var:x ex:movingDataProvided true .
14
- # var:x ex:newAddressProvided true .
15
- # var:x ex:addressChangeDeclared true .
16
- # var:x ex:confirmationOfAddressChange true .
17
- # } .
18
- # :scope gps:findpath ({
19
- # var:x a o-persoon:Inwoner .
20
- # var:x ex:personalInfoProvided true .
21
- # var:x ex:movingDataProvided true .
22
- # var:x ex:newAddressProvided true .
23
- # var:x ex:addressChangeDeclared true .
24
- # var:x ex:confirmationOfAddressChange true .
25
- # } (step:providePersonalInfoOnline step:provideMovingDataDesk step:provideNewAddress step:declareAddressChangePostal step:confirmAddressChangePolice) "20400"^^xsd:decimal "4"^^xsd:decimal "0.9079107344999999"^^xsd:decimal "0.6636569280000001"^^xsd:decimal (40320.0 20.0 0.80 0.65)) .
26
- # via the schematic forward rule:
27
- # {
28
- # state:s5 :formula ?GOAL .
29
- # :scope gps:findpath (?GOAL ?PATH ?DUR ?COST ?SUC ?SAT (40320.0 20.0 0.80 0.65)) .
30
- # } => {
31
- # :bob gps:path (?PATH ?DUR ?COST ?SUC ?SAT) .
32
- # } .
33
- # with substitution (on rule variables):
34
- # ?COST = "4"^^xsd:decimal
35
- # ?DUR = "20400"^^xsd:decimal
36
- # ?GOAL = {
37
- # var:x a o-persoon:Inwoner .
38
- # var:x ex:personalInfoProvided true .
39
- # var:x ex:movingDataProvided true .
40
- # var:x ex:newAddressProvided true .
41
- # var:x ex:addressChangeDeclared true .
42
- # var:x ex:confirmationOfAddressChange true .
43
- # }
44
- # ?PATH = (step:providePersonalInfoOnline step:provideMovingDataDesk step:provideNewAddress step:declareAddressChangePostal step:confirmAddressChangePolice)
45
- # ?SAT = "0.6636569280000001"^^xsd:decimal
46
- # ?SUC = "0.9079107344999999"^^xsd:decimal
47
- # Therefore the derived triple above is entailed by the rules and facts.
48
- # ----------------------------------------------------------------------
49
-
50
6
  :bob gps:path ((step:providePersonalInfoOnline step:provideMovingDataDesk step:provideNewAddress step:declareAddressChangePostal step:confirmAddressChangePolice) "20400"^^xsd:decimal "4"^^xsd:decimal "0.9079107344999999"^^xsd:decimal "0.6636569280000001"^^xsd:decimal) .
51
-
52
- # ----------------------------------------------------------------------
53
- # Proof for derived triple:
54
- # :bob gps:path ((step:providePersonalInfoOnline step:provideMovingDataDesk step:provideNewAddress step:declareAddressChangeOnline step:confirmAddressChangePolice) "20370"^^xsd:decimal "2"^^xsd:decimal "0.9365815997999998"^^xsd:decimal "0.67874004"^^xsd:decimal) .
55
- # It holds because the following instance of the rule body is provable:
56
- # state:s5 :formula {
57
- # var:x a o-persoon:Inwoner .
58
- # var:x ex:personalInfoProvided true .
59
- # var:x ex:movingDataProvided true .
60
- # var:x ex:newAddressProvided true .
61
- # var:x ex:addressChangeDeclared true .
62
- # var:x ex:confirmationOfAddressChange true .
63
- # } .
64
- # :scope gps:findpath ({
65
- # var:x a o-persoon:Inwoner .
66
- # var:x ex:personalInfoProvided true .
67
- # var:x ex:movingDataProvided true .
68
- # var:x ex:newAddressProvided true .
69
- # var:x ex:addressChangeDeclared true .
70
- # var:x ex:confirmationOfAddressChange true .
71
- # } (step:providePersonalInfoOnline step:provideMovingDataDesk step:provideNewAddress step:declareAddressChangeOnline step:confirmAddressChangePolice) "20370"^^xsd:decimal "2"^^xsd:decimal "0.9365815997999998"^^xsd:decimal "0.67874004"^^xsd:decimal (40320.0 20.0 0.80 0.65)) .
72
- # via the schematic forward rule:
73
- # {
74
- # state:s5 :formula ?GOAL .
75
- # :scope gps:findpath (?GOAL ?PATH ?DUR ?COST ?SUC ?SAT (40320.0 20.0 0.80 0.65)) .
76
- # } => {
77
- # :bob gps:path (?PATH ?DUR ?COST ?SUC ?SAT) .
78
- # } .
79
- # with substitution (on rule variables):
80
- # ?COST = "2"^^xsd:decimal
81
- # ?DUR = "20370"^^xsd:decimal
82
- # ?GOAL = {
83
- # var:x a o-persoon:Inwoner .
84
- # var:x ex:personalInfoProvided true .
85
- # var:x ex:movingDataProvided true .
86
- # var:x ex:newAddressProvided true .
87
- # var:x ex:addressChangeDeclared true .
88
- # var:x ex:confirmationOfAddressChange true .
89
- # }
90
- # ?PATH = (step:providePersonalInfoOnline step:provideMovingDataDesk step:provideNewAddress step:declareAddressChangeOnline step:confirmAddressChangePolice)
91
- # ?SAT = "0.67874004"^^xsd:decimal
92
- # ?SUC = "0.9365815997999998"^^xsd:decimal
93
- # Therefore the derived triple above is entailed by the rules and facts.
94
- # ----------------------------------------------------------------------
95
-
96
7
  :bob gps:path ((step:providePersonalInfoOnline step:provideMovingDataDesk step:provideNewAddress step:declareAddressChangeOnline step:confirmAddressChangePolice) "20370"^^xsd:decimal "2"^^xsd:decimal "0.9365815997999998"^^xsd:decimal "0.67874004"^^xsd:decimal) .
97
-
98
- # ----------------------------------------------------------------------
99
- # Proof for derived triple:
100
- # :bob gps:path ((step:providePersonalInfoOnline step:provideMovingDataOnline step:provideNewAddress step:declareAddressChangePostal step:confirmAddressChangePolice) "20355"^^xsd:decimal "4"^^xsd:decimal "0.9033483689999999"^^xsd:decimal "0.6938231520000001"^^xsd:decimal) .
101
- # It holds because the following instance of the rule body is provable:
102
- # state:s5 :formula {
103
- # var:x a o-persoon:Inwoner .
104
- # var:x ex:personalInfoProvided true .
105
- # var:x ex:movingDataProvided true .
106
- # var:x ex:newAddressProvided true .
107
- # var:x ex:addressChangeDeclared true .
108
- # var:x ex:confirmationOfAddressChange true .
109
- # } .
110
- # :scope gps:findpath ({
111
- # var:x a o-persoon:Inwoner .
112
- # var:x ex:personalInfoProvided true .
113
- # var:x ex:movingDataProvided true .
114
- # var:x ex:newAddressProvided true .
115
- # var:x ex:addressChangeDeclared true .
116
- # var:x ex:confirmationOfAddressChange true .
117
- # } (step:providePersonalInfoOnline step:provideMovingDataOnline step:provideNewAddress step:declareAddressChangePostal step:confirmAddressChangePolice) "20355"^^xsd:decimal "4"^^xsd:decimal "0.9033483689999999"^^xsd:decimal "0.6938231520000001"^^xsd:decimal (40320.0 20.0 0.80 0.65)) .
118
- # via the schematic forward rule:
119
- # {
120
- # state:s5 :formula ?GOAL .
121
- # :scope gps:findpath (?GOAL ?PATH ?DUR ?COST ?SUC ?SAT (40320.0 20.0 0.80 0.65)) .
122
- # } => {
123
- # :bob gps:path (?PATH ?DUR ?COST ?SUC ?SAT) .
124
- # } .
125
- # with substitution (on rule variables):
126
- # ?COST = "4"^^xsd:decimal
127
- # ?DUR = "20355"^^xsd:decimal
128
- # ?GOAL = {
129
- # var:x a o-persoon:Inwoner .
130
- # var:x ex:personalInfoProvided true .
131
- # var:x ex:movingDataProvided true .
132
- # var:x ex:newAddressProvided true .
133
- # var:x ex:addressChangeDeclared true .
134
- # var:x ex:confirmationOfAddressChange true .
135
- # }
136
- # ?PATH = (step:providePersonalInfoOnline step:provideMovingDataOnline step:provideNewAddress step:declareAddressChangePostal step:confirmAddressChangePolice)
137
- # ?SAT = "0.6938231520000001"^^xsd:decimal
138
- # ?SUC = "0.9033483689999999"^^xsd:decimal
139
- # Therefore the derived triple above is entailed by the rules and facts.
140
- # ----------------------------------------------------------------------
141
-
142
8
  :bob gps:path ((step:providePersonalInfoOnline step:provideMovingDataOnline step:provideNewAddress step:declareAddressChangePostal step:confirmAddressChangePolice) "20355"^^xsd:decimal "4"^^xsd:decimal "0.9033483689999999"^^xsd:decimal "0.6938231520000001"^^xsd:decimal) .
143
-
144
- # ----------------------------------------------------------------------
145
- # Proof for derived triple:
146
- # :bob gps:path ((step:providePersonalInfoOnline step:provideMovingDataOnline step:provideNewAddress step:declareAddressChangeOnline step:confirmAddressChangePolice) "20325"^^xsd:decimal "2"^^xsd:decimal "0.9318751595999999"^^xsd:decimal "0.70959186"^^xsd:decimal) .
147
- # It holds because the following instance of the rule body is provable:
148
- # state:s5 :formula {
149
- # var:x a o-persoon:Inwoner .
150
- # var:x ex:personalInfoProvided true .
151
- # var:x ex:movingDataProvided true .
152
- # var:x ex:newAddressProvided true .
153
- # var:x ex:addressChangeDeclared true .
154
- # var:x ex:confirmationOfAddressChange true .
155
- # } .
156
- # :scope gps:findpath ({
157
- # var:x a o-persoon:Inwoner .
158
- # var:x ex:personalInfoProvided true .
159
- # var:x ex:movingDataProvided true .
160
- # var:x ex:newAddressProvided true .
161
- # var:x ex:addressChangeDeclared true .
162
- # var:x ex:confirmationOfAddressChange true .
163
- # } (step:providePersonalInfoOnline step:provideMovingDataOnline step:provideNewAddress step:declareAddressChangeOnline step:confirmAddressChangePolice) "20325"^^xsd:decimal "2"^^xsd:decimal "0.9318751595999999"^^xsd:decimal "0.70959186"^^xsd:decimal (40320.0 20.0 0.80 0.65)) .
164
- # via the schematic forward rule:
165
- # {
166
- # state:s5 :formula ?GOAL .
167
- # :scope gps:findpath (?GOAL ?PATH ?DUR ?COST ?SUC ?SAT (40320.0 20.0 0.80 0.65)) .
168
- # } => {
169
- # :bob gps:path (?PATH ?DUR ?COST ?SUC ?SAT) .
170
- # } .
171
- # with substitution (on rule variables):
172
- # ?COST = "2"^^xsd:decimal
173
- # ?DUR = "20325"^^xsd:decimal
174
- # ?GOAL = {
175
- # var:x a o-persoon:Inwoner .
176
- # var:x ex:personalInfoProvided true .
177
- # var:x ex:movingDataProvided true .
178
- # var:x ex:newAddressProvided true .
179
- # var:x ex:addressChangeDeclared true .
180
- # var:x ex:confirmationOfAddressChange true .
181
- # }
182
- # ?PATH = (step:providePersonalInfoOnline step:provideMovingDataOnline step:provideNewAddress step:declareAddressChangeOnline step:confirmAddressChangePolice)
183
- # ?SAT = "0.70959186"^^xsd:decimal
184
- # ?SUC = "0.9318751595999999"^^xsd:decimal
185
- # Therefore the derived triple above is entailed by the rules and facts.
186
- # ----------------------------------------------------------------------
187
-
188
9
  :bob gps:path ((step:providePersonalInfoOnline step:provideMovingDataOnline step:provideNewAddress step:declareAddressChangeOnline step:confirmAddressChangePolice) "20325"^^xsd:decimal "2"^^xsd:decimal "0.9318751595999999"^^xsd:decimal "0.70959186"^^xsd:decimal) .
189
-
@@ -1,26 +1,3 @@
1
1
  @prefix : <http://example.org/#> .
2
2
 
3
- # ----------------------------------------------------------------------
4
- # Proof for derived triple:
5
- # (:s (:s (:s (:s (:s 0))))) :peanoFactorial (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s 0)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) .
6
- # It holds because the following instance of the rule body is provable:
7
- # ((:s 0) (:s (:s 0))) :multiply (:s (:s 0)) .
8
- # ((:s (:s 0)) (:s (:s (:s 0)))) :add (:s (:s (:s (:s (:s 0))))) .
9
- # (:s (:s (:s (:s (:s 0))))) :factorial (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s 0)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) .
10
- # via the schematic forward rule:
11
- # {
12
- # ((:s 0) (:s (:s 0))) :multiply ?A .
13
- # (?A (:s (:s (:s 0)))) :add ?B .
14
- # ?B :factorial ?C .
15
- # } => {
16
- # ?B :peanoFactorial ?C .
17
- # } .
18
- # with substitution (on rule variables):
19
- # ?A = (:s (:s 0))
20
- # ?B = (:s (:s (:s (:s (:s 0)))))
21
- # ?C = (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s 0))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
22
- # Therefore the derived triple above is entailed by the rules and facts.
23
- # ----------------------------------------------------------------------
24
-
25
3
  (:s (:s (:s (:s (:s 0))))) :peanoFactorial (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s (:s 0)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) .
26
-
@@ -1,21 +1,4 @@
1
1
  @prefix : <https://eyereasoner.github.io/eye/reasoning#> .
2
2
  @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
3
3
 
4
- # ----------------------------------------------------------------------
5
- # Proof for derived triple:
6
- # (100 "3.1415929035585526"^^xsd:decimal) :pi true .
7
- # It holds because the following instance of the rule body is provable:
8
- # (100 "3.1415929035585526"^^xsd:decimal) :pi true .
9
- # via the schematic forward rule:
10
- # {
11
- # (100 ?Pi) :pi true .
12
- # } => {
13
- # (100 ?Pi) :pi true .
14
- # } .
15
- # with substitution (on rule variables):
16
- # ?Pi = "3.1415929035585526"^^xsd:decimal
17
- # Therefore the derived triple above is entailed by the rules and facts.
18
- # ----------------------------------------------------------------------
19
-
20
4
  (100 "3.1415929035585526"^^xsd:decimal) :pi true .
21
-
@@ -1,36 +1,4 @@
1
1
  @prefix : <http://example.org/socrates#> .
2
2
 
3
- # ----------------------------------------------------------------------
4
- # Proof for derived triple:
5
- # :result :is :Post .
6
- # It holds because the following instance of the rule body is provable:
7
- # :Pillar :to :Post .
8
- # via the schematic forward rule:
9
- # {
10
- # :Pillar :to ?What .
11
- # } => {
12
- # :result :is ?What .
13
- # } .
14
- # with substitution (on rule variables):
15
- # ?What = :Post
16
- # Therefore the derived triple above is entailed by the rules and facts.
17
- # ----------------------------------------------------------------------
18
-
19
3
  :result :is :Post .
20
-
21
- # ----------------------------------------------------------------------
22
- # Proof for derived triple:
23
- # :test :is true .
24
- # It holds because the following instance of the rule body is provable:
25
- # :result :is :Post .
26
- # via the schematic forward rule:
27
- # {
28
- # :result :is :Post .
29
- # } => {
30
- # :test :is true .
31
- # } .
32
- # Therefore the derived triple above is entailed by the rules and facts.
33
- # ----------------------------------------------------------------------
34
-
35
4
  :test :is true .
36
-
@@ -1,20 +1,3 @@
1
1
  @prefix polygon: <https://eyereasoner.github.io/eye/reasoning/polygon#> .
2
2
 
3
- # ----------------------------------------------------------------------
4
- # Proof for derived triple:
5
- # ((4 2) (6 2) (7 6) (4 6) (5 5) (5 3) (4 2)) polygon:area 7 .
6
- # It holds because the following instance of the rule body is provable:
7
- # ((4 2) (6 2) (7 6) (4 6) (5 5) (5 3) (4 2)) polygon:area 7 .
8
- # via the schematic forward rule:
9
- # {
10
- # ((4 2) (6 2) (7 6) (4 6) (5 5) (5 3) (4 2)) polygon:area ?AREA .
11
- # } => {
12
- # ((4 2) (6 2) (7 6) (4 6) (5 5) (5 3) (4 2)) polygon:area ?AREA .
13
- # } .
14
- # with substitution (on rule variables):
15
- # ?AREA = 7
16
- # Therefore the derived triple above is entailed by the rules and facts.
17
- # ----------------------------------------------------------------------
18
-
19
3
  ((4 2) (6 2) (7 6) (4 6) (5 5) (5 3) (4 2)) polygon:area 7 .
20
-
@@ -1,31 +1,3 @@
1
1
  @prefix : <http://example.org/ns#> .
2
2
 
3
- # ----------------------------------------------------------------------
4
- # Proof for derived triple:
5
- # :result :is true .
6
- # It holds because the following instance of the rule body is provable:
7
- # :X :val (1 2) .
8
- # (1 2) :head 1 .
9
- # (1 2) :tail (2) .
10
- # 1 log:equalTo 1 .
11
- # (2) log:equalTo (2) .
12
- # via the schematic forward rule:
13
- # {
14
- # ?X :val ?Y .
15
- # ?Y :head ?H .
16
- # ?Y :tail ?T .
17
- # ?H log:equalTo 1 .
18
- # ?T log:equalTo (2) .
19
- # } => {
20
- # :result :is true .
21
- # } .
22
- # with substitution (on rule variables):
23
- # ?H = 1
24
- # ?T = (2)
25
- # ?X = :X
26
- # ?Y = (1 2)
27
- # Therefore the derived triple above is entailed by the rules and facts.
28
- # ----------------------------------------------------------------------
29
-
30
3
  :result :is true .
31
-
@@ -1,29 +1,3 @@
1
1
  @prefix : <https://eyereasoner.github.io/ns#> .
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
- # :Bob :has (:Table 1) .
8
- # :Alice :has (:Book 1) .
9
- # :Table log:notEqualTo :Book .
10
- # via the schematic forward rule:
11
- # {
12
- # ?W1 :has (?O1 ?N1) .
13
- # ?W2 :has (?O2 ?N2) .
14
- # ?O1 log:notEqualTo ?O2 .
15
- # } => {
16
- # :test :is true .
17
- # } .
18
- # with substitution (on rule variables):
19
- # ?N1 = 1
20
- # ?N2 = 1
21
- # ?O1 = :Table
22
- # ?O2 = :Book
23
- # ?W1 = :Bob
24
- # ?W2 = :Alice
25
- # Therefore the derived triple above is entailed by the rules and facts.
26
- # ----------------------------------------------------------------------
27
-
28
3
  :test :is true .
29
-