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
@@ -2,51 +2,6 @@
2
2
  @prefix complex: <https://eyereasoner.github.io/eye/complex#> .
3
3
  @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
4
4
 
5
- # ----------------------------------------------------------------------
6
- # Proof for derived triple:
7
- # :test :is {
8
- # ((-1 0) (0.5 0)) complex:exponentiation ("6.123233995736766e-17"^^xsd:decimal "1"^^xsd:decimal) .
9
- # ((2.718281828459045 0) (0 3.141592653589793)) complex:exponentiation ("-1"^^xsd:decimal "1.2246467991473532e-16"^^xsd:decimal) .
10
- # ((0 1) (0 1)) complex:exponentiation ("0.20787957635076193"^^xsd:decimal "0"^^xsd:decimal) .
11
- # ((2.718281828459045 0) (-1.57079632679 0)) complex:exponentiation ("0.20787957635177984"^^xsd:decimal "0"^^xsd:decimal) .
12
- # (2 0) complex:asin ("1.5707963267948966"^^xsd:decimal "1.3169578969248166"^^xsd:decimal) .
13
- # (2 0) complex:acos ("0"^^xsd:decimal "-1.3169578969248166"^^xsd:decimal) .
14
- # } .
15
- # It holds because the following instance of the rule body is provable:
16
- # ((-1 0) (0.5 0)) complex:exponentiation ("6.123233995736766e-17"^^xsd:decimal "1"^^xsd:decimal) .
17
- # ((2.718281828459045 0) (0 3.141592653589793)) complex:exponentiation ("-1"^^xsd:decimal "1.2246467991473532e-16"^^xsd:decimal) .
18
- # ((0 1) (0 1)) complex:exponentiation ("0.20787957635076193"^^xsd:decimal "0"^^xsd:decimal) .
19
- # ((2.718281828459045 0) (-1.57079632679 0)) complex:exponentiation ("0.20787957635177984"^^xsd:decimal "0"^^xsd:decimal) .
20
- # (2 0) complex:asin ("1.5707963267948966"^^xsd:decimal "1.3169578969248166"^^xsd:decimal) .
21
- # (2 0) complex:acos ("0"^^xsd:decimal "-1.3169578969248166"^^xsd:decimal) .
22
- # via the schematic forward rule:
23
- # {
24
- # ((-1 0) (0.5 0)) complex:exponentiation ?C1 .
25
- # ((2.718281828459045 0) (0 3.141592653589793)) complex:exponentiation ?C2 .
26
- # ((0 1) (0 1)) complex:exponentiation ?C3 .
27
- # ((2.718281828459045 0) (-1.57079632679 0)) complex:exponentiation ?C4 .
28
- # (2 0) complex:asin ?C5 .
29
- # (2 0) complex:acos ?C6 .
30
- # } => {
31
- # :test :is {
32
- # ((-1 0) (0.5 0)) complex:exponentiation ?C1 .
33
- # ((2.718281828459045 0) (0 3.141592653589793)) complex:exponentiation ?C2 .
34
- # ((0 1) (0 1)) complex:exponentiation ?C3 .
35
- # ((2.718281828459045 0) (-1.57079632679 0)) complex:exponentiation ?C4 .
36
- # (2 0) complex:asin ?C5 .
37
- # (2 0) complex:acos ?C6 .
38
- # } .
39
- # } .
40
- # with substitution (on rule variables):
41
- # ?C1 = ("6.123233995736766e-17"^^xsd:decimal "1"^^xsd:decimal)
42
- # ?C2 = ("-1"^^xsd:decimal "1.2246467991473532e-16"^^xsd:decimal)
43
- # ?C3 = ("0.20787957635076193"^^xsd:decimal "0"^^xsd:decimal)
44
- # ?C4 = ("0.20787957635177984"^^xsd:decimal "0"^^xsd:decimal)
45
- # ?C5 = ("1.5707963267948966"^^xsd:decimal "1.3169578969248166"^^xsd:decimal)
46
- # ?C6 = ("0"^^xsd:decimal "-1.3169578969248166"^^xsd:decimal)
47
- # Therefore the derived triple above is entailed by the rules and facts.
48
- # ----------------------------------------------------------------------
49
-
50
5
  :test :is {
51
6
  ((-1 0) (0.5 0)) complex:exponentiation ("6.123233995736766e-17"^^xsd:decimal "1"^^xsd:decimal) .
52
7
  ((2.718281828459045 0) (0 3.141592653589793)) complex:exponentiation ("-1"^^xsd:decimal "1.2246467991473532e-16"^^xsd:decimal) .
@@ -55,4 +10,3 @@
55
10
  (2 0) complex:asin ("1.5707963267948966"^^xsd:decimal "1.3169578969248166"^^xsd:decimal) .
56
11
  (2 0) complex:acos ("0"^^xsd:decimal "-1.3169578969248166"^^xsd:decimal) .
57
12
  } .
58
-
@@ -1,80 +1,5 @@
1
1
  @prefix : <https://eyereasoner.github.io/eye/reasoning/cs#> .
2
2
  @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
3
3
 
4
- # ----------------------------------------------------------------------
5
- # Proof for derived triple:
6
- # :actuator1 :control1 "39.27346198678276"^^xsd:decimal .
7
- # It holds because the following instance of the rule body is provable:
8
- # :input1 :measurement10 "2.23606797749979"^^xsd:decimal .
9
- # :input2 :measurement2 true .
10
- # :disturbance1 :measurement3 35766 .
11
- # ("2.23606797749979"^^xsd:decimal 19.6) math:product "43.82693235899588"^^xsd:decimal .
12
- # (10 "4.553470372213121"^^xsd:decimal) math:exponentiation 35766 .
13
- # ("43.82693235899588"^^xsd:decimal "4.553470372213121"^^xsd:decimal) math:difference "39.27346198678276"^^xsd:decimal .
14
- # via the schematic forward rule:
15
- # {
16
- # :input1 :measurement10 ?M1 .
17
- # :input2 :measurement2 true .
18
- # :disturbance1 :measurement3 ?D1 .
19
- # (?M1 19.6) math:product ?C1 .
20
- # (10 ?C2) math:exponentiation ?D1 .
21
- # (?C1 ?C2) math:difference ?C .
22
- # } => {
23
- # :actuator1 :control1 ?C .
24
- # } .
25
- # with substitution (on rule variables):
26
- # ?C = "39.27346198678276"^^xsd:decimal
27
- # ?C1 = "43.82693235899588"^^xsd:decimal
28
- # ?C2 = "4.553470372213121"^^xsd:decimal
29
- # ?D1 = 35766
30
- # ?M1 = "2.23606797749979"^^xsd:decimal
31
- # Therefore the derived triple above is entailed by the rules and facts.
32
- # ----------------------------------------------------------------------
33
-
34
4
  :actuator1 :control1 "39.27346198678276"^^xsd:decimal .
35
-
36
- # ----------------------------------------------------------------------
37
- # Proof for derived triple:
38
- # :actuator2 :control1 "26.08"^^xsd:decimal .
39
- # It holds because the following instance of the rule body is provable:
40
- # :input3 :measurement3 56967 .
41
- # :state3 :observation3 22 .
42
- # :output2 :measurement4 24 .
43
- # :output2 :target2 29 .
44
- # (29 24) math:difference 5 .
45
- # (22 24) math:difference -2 .
46
- # (5.8 5) math:product "29"^^xsd:decimal .
47
- # (7.3 5) math:quotient "1.46"^^xsd:decimal .
48
- # ("1.46"^^xsd:decimal -2) math:product "-2.92"^^xsd:decimal .
49
- # ("29"^^xsd:decimal "-2.92"^^xsd:decimal) math:sum "26.08"^^xsd:decimal .
50
- # via the schematic forward rule:
51
- # {
52
- # :input3 :measurement3 ?M3 .
53
- # :state3 :observation3 ?P3 .
54
- # :output2 :measurement4 ?M4 .
55
- # :output2 :target2 ?T2 .
56
- # (?T2 ?M4) math:difference ?E .
57
- # (?P3 ?M4) math:difference ?D .
58
- # (5.8 ?E) math:product ?C1 .
59
- # (7.3 ?E) math:quotient ?N .
60
- # (?N ?D) math:product ?C2 .
61
- # (?C1 ?C2) math:sum ?C .
62
- # } => {
63
- # :actuator2 :control1 ?C .
64
- # } .
65
- # with substitution (on rule variables):
66
- # ?C = "26.08"^^xsd:decimal
67
- # ?C1 = "29"^^xsd:decimal
68
- # ?C2 = "-2.92"^^xsd:decimal
69
- # ?D = -2
70
- # ?E = 5
71
- # ?M3 = 56967
72
- # ?M4 = 24
73
- # ?N = "1.46"^^xsd:decimal
74
- # ?P3 = 22
75
- # ?T2 = 29
76
- # Therefore the derived triple above is entailed by the rules and facts.
77
- # ----------------------------------------------------------------------
78
-
79
5
  :actuator2 :control1 "26.08"^^xsd:decimal .
80
-