eyeling 1.6.13 → 1.6.14

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 (75) hide show
  1. package/examples/output/age.n3 +0 -17
  2. package/examples/output/alignment-demo.n3 +0 -572
  3. package/examples/output/backward.n3 +0 -15
  4. package/examples/output/basic-monadic.n3 +0 -105
  5. package/examples/output/brussels-brew-club.n3 +0 -476
  6. package/examples/output/cat-koko.n3 +0 -108
  7. package/examples/output/cobalt-kepler-kitchen.n3 +0 -7064
  8. package/examples/output/complex.n3 +0 -46
  9. package/examples/output/control-system.n3 +0 -75
  10. package/examples/output/cranberry-calculus.n3 +0 -1313
  11. package/examples/output/crypto-builtins-tests.n3 +0 -60
  12. package/examples/output/deep-taxonomy-10.n3 +0 -602
  13. package/examples/output/deep-taxonomy-100.n3 +1 -5733
  14. package/examples/output/deep-taxonomy-1000.n3 +1 -57033
  15. package/examples/output/deep-taxonomy-10000.n3 +1 -570033
  16. package/examples/output/derived-backward-rule-2.n3 +0 -58
  17. package/examples/output/derived-backward-rule.n3 +0 -44
  18. package/examples/output/derived-rule.n3 +0 -42
  19. package/examples/output/dijkstra.n3 +0 -297
  20. package/examples/output/dog.n3 +0 -30
  21. package/examples/output/drone-corridor-planner.n3 +0 -799
  22. package/examples/output/easter.n3 +0 -3570
  23. package/examples/output/equals.n3 +0 -15
  24. package/examples/output/ev-roundtrip-planner.n3 +0 -392
  25. package/examples/output/existential-rule.n3 +0 -34
  26. package/examples/output/expression-eval.n3 +0 -20
  27. package/examples/output/family-cousins.n3 +0 -636
  28. package/examples/output/fibonacci.n3 +0 -36
  29. package/examples/output/french-cities.n3 +0 -484
  30. package/examples/output/good-cobbler.n3 +0 -22
  31. package/examples/output/gps.n3 +0 -62
  32. package/examples/output/gray-code-counter.n3 +0 -17
  33. package/examples/output/hanoi.n3 +0 -17
  34. package/examples/output/jade-eigen-loom.n3 +0 -4690
  35. package/examples/output/json-pointer.n3 +0 -529
  36. package/examples/output/json-reconcile-vat.n3 +0 -12882
  37. package/examples/output/light-eaters.n3 +0 -311
  38. package/examples/output/list-builtins-tests.n3 +0 -167
  39. package/examples/output/list-iterate.n3 +0 -124
  40. package/examples/output/lldm.n3 +0 -960
  41. package/examples/output/log-collect-all-in.n3 +0 -117
  42. package/examples/output/log-for-all-in.n3 +0 -27
  43. package/examples/output/log-not-includes.n3 +0 -59
  44. package/examples/output/log-skolem.n3 +0 -17
  45. package/examples/output/log-uri.n3 +0 -42
  46. package/examples/output/math-builtins-tests.n3 +0 -4434
  47. package/examples/output/minimal-skos-alignment.n3 +0 -39
  48. package/examples/output/monkey.n3 +0 -36
  49. package/examples/output/odrl-trust.n3 +0 -46
  50. package/examples/output/oslo-steps-library-scholarly.n3 +0 -1260
  51. package/examples/output/oslo-steps-workflow-composition.n3 +0 -180
  52. package/examples/output/peano.n3 +0 -23
  53. package/examples/output/pi.n3 +0 -17
  54. package/examples/output/pillar.n3 +0 -32
  55. package/examples/output/polygon.n3 +0 -17
  56. package/examples/output/rdf-list.n3 +0 -28
  57. package/examples/output/reordering.n3 +0 -26
  58. package/examples/output/ruby-runge-workshop.n3 +0 -613
  59. package/examples/output/rule-matching.n3 +0 -26
  60. package/examples/output/saffron-slopeworks.n3 +0 -1447
  61. package/examples/output/self-referential.n3 +0 -81
  62. package/examples/output/similar.n3 +0 -15
  63. package/examples/output/snaf.n3 +0 -23
  64. package/examples/output/socrates.n3 +0 -21
  65. package/examples/output/spectral-week.n3 +0 -350
  66. package/examples/output/string-builtins-tests.n3 +0 -240
  67. package/examples/output/topaz-markov-mill.n3 +0 -4178
  68. package/examples/output/traffic-skos-aggregate.n3 +0 -3151
  69. package/examples/output/turing.n3 +0 -36
  70. package/examples/output/ultramarine-simpson-forge.n3 +0 -3873
  71. package/examples/output/witch.n3 +0 -107
  72. package/examples/output/zebra.n3 +0 -111
  73. package/eyeling.js +97 -18
  74. package/package.json +1 -1
  75. package/test/examples.test.js +1 -1
@@ -1,122 +1,5 @@
1
1
  @prefix : <http://example.org/> .
2
2
 
3
- # ----------------------------------------------------------------------
4
- # Proof for derived triple:
5
- # :result1 :is ("Huey" "Dewey" "Louie") .
6
- # It holds because the following instance of the rule body is provable:
7
- # (?param {
8
- # :Let :param ?param .
9
- # } ("Huey" "Dewey" "Louie")) log:collectAllIn ?_b1 .
10
- # ((?param) {
11
- # :Let :param ?param .
12
- # } (("Huey") ("Dewey") ("Louie"))) log:collectAllIn ?_b1 .
13
- # (?param {
14
- # :Let :param ?param .
15
- # ?param string:lessThan "Louie" .
16
- # } ("Dewey" "Huey")) log:collectAllIn ?_b1 .
17
- # via the schematic forward rule:
18
- # {
19
- # (?param {
20
- # :Let :param ?param .
21
- # } ?allParams) log:collectAllIn ?_b1 .
22
- # ((?param) {
23
- # :Let :param ?param .
24
- # } ?nestedParams) log:collectAllIn ?_b1 .
25
- # (?param {
26
- # :Let :param ?param .
27
- # ?param string:lessThan "Louie" .
28
- # } ?filteredParams) log:collectAllIn ?_b1 .
29
- # } => {
30
- # :result1 :is ?allParams .
31
- # :result2 :is ?nestedParams .
32
- # :result3 :is ?filteredParams .
33
- # } .
34
- # with substitution (on rule variables):
35
- # ?allParams = ("Huey" "Dewey" "Louie")
36
- # ?filteredParams = ("Dewey" "Huey")
37
- # ?nestedParams = (("Huey") ("Dewey") ("Louie"))
38
- # Therefore the derived triple above is entailed by the rules and facts.
39
- # ----------------------------------------------------------------------
40
-
41
3
  :result1 :is ("Huey" "Dewey" "Louie") .
42
-
43
- # ----------------------------------------------------------------------
44
- # Proof for derived triple:
45
- # :result2 :is (("Huey") ("Dewey") ("Louie")) .
46
- # It holds because the following instance of the rule body is provable:
47
- # (?param {
48
- # :Let :param ?param .
49
- # } ("Huey" "Dewey" "Louie")) log:collectAllIn ?_b1 .
50
- # ((?param) {
51
- # :Let :param ?param .
52
- # } (("Huey") ("Dewey") ("Louie"))) log:collectAllIn ?_b1 .
53
- # (?param {
54
- # :Let :param ?param .
55
- # ?param string:lessThan "Louie" .
56
- # } ("Dewey" "Huey")) log:collectAllIn ?_b1 .
57
- # via the schematic forward rule:
58
- # {
59
- # (?param {
60
- # :Let :param ?param .
61
- # } ?allParams) log:collectAllIn ?_b1 .
62
- # ((?param) {
63
- # :Let :param ?param .
64
- # } ?nestedParams) log:collectAllIn ?_b1 .
65
- # (?param {
66
- # :Let :param ?param .
67
- # ?param string:lessThan "Louie" .
68
- # } ?filteredParams) log:collectAllIn ?_b1 .
69
- # } => {
70
- # :result1 :is ?allParams .
71
- # :result2 :is ?nestedParams .
72
- # :result3 :is ?filteredParams .
73
- # } .
74
- # with substitution (on rule variables):
75
- # ?allParams = ("Huey" "Dewey" "Louie")
76
- # ?filteredParams = ("Dewey" "Huey")
77
- # ?nestedParams = (("Huey") ("Dewey") ("Louie"))
78
- # Therefore the derived triple above is entailed by the rules and facts.
79
- # ----------------------------------------------------------------------
80
-
81
4
  :result2 :is (("Huey") ("Dewey") ("Louie")) .
82
-
83
- # ----------------------------------------------------------------------
84
- # Proof for derived triple:
85
- # :result3 :is ("Dewey" "Huey") .
86
- # It holds because the following instance of the rule body is provable:
87
- # (?param {
88
- # :Let :param ?param .
89
- # } ("Huey" "Dewey" "Louie")) log:collectAllIn ?_b1 .
90
- # ((?param) {
91
- # :Let :param ?param .
92
- # } (("Huey") ("Dewey") ("Louie"))) log:collectAllIn ?_b1 .
93
- # (?param {
94
- # :Let :param ?param .
95
- # ?param string:lessThan "Louie" .
96
- # } ("Dewey" "Huey")) log:collectAllIn ?_b1 .
97
- # via the schematic forward rule:
98
- # {
99
- # (?param {
100
- # :Let :param ?param .
101
- # } ?allParams) log:collectAllIn ?_b1 .
102
- # ((?param) {
103
- # :Let :param ?param .
104
- # } ?nestedParams) log:collectAllIn ?_b1 .
105
- # (?param {
106
- # :Let :param ?param .
107
- # ?param string:lessThan "Louie" .
108
- # } ?filteredParams) log:collectAllIn ?_b1 .
109
- # } => {
110
- # :result1 :is ?allParams .
111
- # :result2 :is ?nestedParams .
112
- # :result3 :is ?filteredParams .
113
- # } .
114
- # with substitution (on rule variables):
115
- # ?allParams = ("Huey" "Dewey" "Louie")
116
- # ?filteredParams = ("Dewey" "Huey")
117
- # ?nestedParams = (("Huey") ("Dewey") ("Louie"))
118
- # Therefore the derived triple above is entailed by the rules and facts.
119
- # ----------------------------------------------------------------------
120
-
121
5
  :result3 :is ("Dewey" "Huey") .
122
-
@@ -1,30 +1,3 @@
1
1
  @prefix : <http://example.org/> .
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
- # :c a :CompositeTask .
8
- # ({
9
- # :c :subTask ?s .
10
- # } {
11
- # ?s :state :Completed .
12
- # }) log:forAllIn ?_b1 .
13
- # via the schematic forward rule:
14
- # {
15
- # ?c a :CompositeTask .
16
- # ({
17
- # ?c :subTask ?s .
18
- # } {
19
- # ?s :state :Completed .
20
- # }) log:forAllIn ?_b1 .
21
- # } => {
22
- # :result :is true .
23
- # } .
24
- # with substitution (on rule variables):
25
- # ?c = :c
26
- # Therefore the derived triple above is entailed by the rules and facts.
27
- # ----------------------------------------------------------------------
28
-
29
3
  :result :is true .
30
-
@@ -1,69 +1,10 @@
1
1
  @prefix : <http://example.org/> .
2
2
  @prefix log: <http://www.w3.org/2000/10/swap/log#> .
3
3
 
4
- # ----------------------------------------------------------------------
5
- # Proof for derived triple:
6
- # :x :y 1 .
7
- # It holds because the following instance of the rule body is provable:
8
- # 1 math:equalTo 1 .
9
- # via the schematic forward rule:
10
- # {
11
- # 1 math:equalTo 1 .
12
- # } => {
13
- # :x :y 1 .
14
- # {
15
- # :x :y 1 .
16
- # } => {
17
- # :a :b :c .
18
- # } .
19
- # } .
20
- # Therefore the derived triple above is entailed by the rules and facts.
21
- # ----------------------------------------------------------------------
22
-
23
4
  :x :y 1 .
24
-
25
- # ----------------------------------------------------------------------
26
- # Proof for derived triple:
27
- # {
28
- # :x :y 1 .
29
- # } => {
30
- # :a :b :c .
31
- # } .
32
- # It holds because the following instance of the rule body is provable:
33
- # 1 math:equalTo 1 .
34
- # via the schematic forward rule:
35
- # {
36
- # 1 math:equalTo 1 .
37
- # } => {
38
- # :x :y 1 .
39
- # {
40
- # :x :y 1 .
41
- # } => {
42
- # :a :b :c .
43
- # } .
44
- # } .
45
- # Therefore the derived triple above is entailed by the rules and facts.
46
- # ----------------------------------------------------------------------
47
-
48
5
  {
49
6
  :x :y 1 .
50
7
  } => {
51
8
  :a :b :c .
52
9
  } .
53
-
54
- # ----------------------------------------------------------------------
55
- # Proof for derived triple:
56
- # :a :b :c .
57
- # It holds because the following instance of the rule body is provable:
58
- # :x :y 1 .
59
- # via the schematic forward rule:
60
- # {
61
- # :x :y 1 .
62
- # } => {
63
- # :a :b :c .
64
- # } .
65
- # Therefore the derived triple above is entailed by the rules and facts.
66
- # ----------------------------------------------------------------------
67
-
68
10
  :a :b :c .
69
-
@@ -1,21 +1,4 @@
1
1
  @prefix : <http://example.org/> .
2
2
  @prefix genid: <https://eyereasoner.github.io/.well-known/genid/> .
3
3
 
4
- # ----------------------------------------------------------------------
5
- # Proof for derived triple:
6
- # :Result :skolem genid:0c562a90-a44f-264a-86e5-9664948aa178 .
7
- # It holds because the following instance of the rule body is provable:
8
- # (:abc 77 "xyz") log:skolem genid:0c562a90-a44f-264a-86e5-9664948aa178 .
9
- # via the schematic forward rule:
10
- # {
11
- # (:abc 77 "xyz") log:skolem ?Y .
12
- # } => {
13
- # :Result :skolem ?Y .
14
- # } .
15
- # with substitution (on rule variables):
16
- # ?Y = genid:0c562a90-a44f-264a-86e5-9664948aa178
17
- # Therefore the derived triple above is entailed by the rules and facts.
18
- # ----------------------------------------------------------------------
19
-
20
4
  :Result :skolem genid:0c562a90-a44f-264a-86e5-9664948aa178 .
21
-
@@ -1,46 +1,4 @@
1
1
  @prefix : <http://example.org/> .
2
2
 
3
- # ----------------------------------------------------------------------
4
- # Proof for derived triple:
5
- # :uriString :is "https://www.w3.org" .
6
- # It holds because the following instance of the rule body is provable:
7
- # <https://www.w3.org> log:uri "https://www.w3.org" .
8
- # <https://www.w3.org> log:uri "https://www.w3.org" .
9
- # via the schematic forward rule:
10
- # {
11
- # <https://www.w3.org> log:uri ?s .
12
- # ?r log:uri "https://www.w3.org" .
13
- # } => {
14
- # :uriString :is ?s .
15
- # :uriResource :is ?r .
16
- # } .
17
- # with substitution (on rule variables):
18
- # ?r = <https://www.w3.org>
19
- # ?s = "https://www.w3.org"
20
- # Therefore the derived triple above is entailed by the rules and facts.
21
- # ----------------------------------------------------------------------
22
-
23
3
  :uriString :is "https://www.w3.org" .
24
-
25
- # ----------------------------------------------------------------------
26
- # Proof for derived triple:
27
- # :uriResource :is <https://www.w3.org> .
28
- # It holds because the following instance of the rule body is provable:
29
- # <https://www.w3.org> log:uri "https://www.w3.org" .
30
- # <https://www.w3.org> log:uri "https://www.w3.org" .
31
- # via the schematic forward rule:
32
- # {
33
- # <https://www.w3.org> log:uri ?s .
34
- # ?r log:uri "https://www.w3.org" .
35
- # } => {
36
- # :uriString :is ?s .
37
- # :uriResource :is ?r .
38
- # } .
39
- # with substitution (on rule variables):
40
- # ?r = <https://www.w3.org>
41
- # ?s = "https://www.w3.org"
42
- # Therefore the derived triple above is entailed by the rules and facts.
43
- # ----------------------------------------------------------------------
44
-
45
4
  :uriResource :is <https://www.w3.org> .
46
-