eyeling 1.33.2 → 1.33.4

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 (113) hide show
  1. package/examples/eyelang/README.md +11 -76
  2. package/examples/eyelang/SPEC.md +1 -2
  3. package/eyelang.d.ts +0 -12
  4. package/index.d.ts +0 -4
  5. package/index.js +1 -5
  6. package/lib/eyelang/builtins/registry.js +1 -2
  7. package/lib/eyelang/builtins/search.js +3 -3
  8. package/lib/eyelang/cli.js +1 -13
  9. package/lib/eyelang/hash.js +2 -2
  10. package/lib/eyelang/index.js +0 -1
  11. package/lib/eyelang/program.js +0 -7
  12. package/package.json +1 -1
  13. package/test/eyelang/run-examples.mjs +1 -2
  14. package/test/eyelang/run-regression.mjs +0 -61
  15. package/test/run.js +21 -3
  16. package/examples/eyelang/annotation-rdf12.ttl +0 -12
  17. package/examples/eyelang/directional-language.ttl +0 -9
  18. package/examples/eyelang/eyeling-ackermann.n3 +0 -41
  19. package/examples/eyelang/eyeling-age-threshold.n3 +0 -12
  20. package/examples/eyelang/eyeling-alignment-demo.n3 +0 -11
  21. package/examples/eyelang/eyeling-allen-interval-calculus-small.n3 +0 -13
  22. package/examples/eyelang/eyeling-backward-recursion.n3 +0 -11
  23. package/examples/eyelang/eyeling-backward.n3 +0 -10
  24. package/examples/eyelang/eyeling-basic-monadic-small.n3 +0 -11
  25. package/examples/eyelang/eyeling-bmi.n3 +0 -10
  26. package/examples/eyelang/eyeling-cat-koko.n3 +0 -15
  27. package/examples/eyelang/eyeling-collatz-small.n3 +0 -11
  28. package/examples/eyelang/eyeling-collection.n3 +0 -11
  29. package/examples/eyelang/eyeling-complex-arithmetic.n3 +0 -10
  30. package/examples/eyelang/eyeling-context-association.n3 +0 -11
  31. package/examples/eyelang/eyeling-control-system-small.n3 +0 -11
  32. package/examples/eyelang/eyeling-crypto-builtins-extra.n3 +0 -10
  33. package/examples/eyelang/eyeling-crypto-builtins.n3 +0 -8
  34. package/examples/eyelang/eyeling-deep-taxonomy-10.n3 +0 -18
  35. package/examples/eyelang/eyeling-derived-backward-rule-flat.n3 +0 -10
  36. package/examples/eyelang/eyeling-derived-rule-flat.n3 +0 -9
  37. package/examples/eyelang/eyeling-digital-product-passport-small.n3 +0 -11
  38. package/examples/eyelang/eyeling-dijkstra-tiny.n3 +0 -14
  39. package/examples/eyelang/eyeling-dog-license.n3 +0 -13
  40. package/examples/eyelang/eyeling-drone-corridor-planner-small.n3 +0 -13
  41. package/examples/eyelang/eyeling-equals.n3 +0 -8
  42. package/examples/eyelang/eyeling-equivalence-classes.n3 +0 -11
  43. package/examples/eyelang/eyeling-euler-identity.n3 +0 -9
  44. package/examples/eyelang/eyeling-existential-rule.n3 +0 -9
  45. package/examples/eyelang/eyeling-expression-eval.n3 +0 -11
  46. package/examples/eyelang/eyeling-family-cousins-extended.n3 +0 -12
  47. package/examples/eyelang/eyeling-fastpow.n3 +0 -10
  48. package/examples/eyelang/eyeling-fibonacci.n3 +0 -44
  49. package/examples/eyelang/eyeling-french-cities-reachability.n3 +0 -22
  50. package/examples/eyelang/eyeling-goldbach-small.n3 +0 -22
  51. package/examples/eyelang/eyeling-good-cobbler.n3 +0 -9
  52. package/examples/eyelang/eyeling-list-builtins.n3 +0 -10
  53. package/examples/eyelang/eyeling-list-collection-extra.n3 +0 -9
  54. package/examples/eyelang/eyeling-math-builtins.n3 +0 -9
  55. package/examples/eyelang/eyeling-string-builtins-extra.n3 +0 -9
  56. package/examples/eyelang/eyeling-string-builtins.n3 +0 -10
  57. package/examples/eyelang/eyeling-time-builtins.n3 +0 -11
  58. package/examples/eyelang/eyeling-time-components-extra.n3 +0 -10
  59. package/examples/eyelang/eyeling-witch.n3 +0 -10
  60. package/examples/eyelang/family-cousins.n3 +0 -17
  61. package/examples/eyelang/n3-builtins.n3 +0 -28
  62. package/examples/eyelang/output/annotation-rdf12.ttl +0 -1
  63. package/examples/eyelang/output/directional-language.ttl +0 -1
  64. package/examples/eyelang/output/eyeling-ackermann.n3 +0 -12
  65. package/examples/eyelang/output/eyeling-age-threshold.n3 +0 -4
  66. package/examples/eyelang/output/eyeling-alignment-demo.n3 +0 -1
  67. package/examples/eyelang/output/eyeling-allen-interval-calculus-small.n3 +0 -3
  68. package/examples/eyelang/output/eyeling-backward-recursion.n3 +0 -9
  69. package/examples/eyelang/output/eyeling-backward.n3 +0 -1
  70. package/examples/eyelang/output/eyeling-basic-monadic-small.n3 +0 -8
  71. package/examples/eyelang/output/eyeling-bmi.n3 +0 -2
  72. package/examples/eyelang/output/eyeling-cat-koko.n3 +0 -3
  73. package/examples/eyelang/output/eyeling-collatz-small.n3 +0 -3
  74. package/examples/eyelang/output/eyeling-collection.n3 +0 -1
  75. package/examples/eyelang/output/eyeling-complex-arithmetic.n3 +0 -5
  76. package/examples/eyelang/output/eyeling-context-association.n3 +0 -4
  77. package/examples/eyelang/output/eyeling-control-system-small.n3 +0 -4
  78. package/examples/eyelang/output/eyeling-crypto-builtins-extra.n3 +0 -3
  79. package/examples/eyelang/output/eyeling-crypto-builtins.n3 +0 -2
  80. package/examples/eyelang/output/eyeling-deep-taxonomy-10.n3 +0 -32
  81. package/examples/eyelang/output/eyeling-derived-backward-rule-flat.n3 +0 -4
  82. package/examples/eyelang/output/eyeling-derived-rule-flat.n3 +0 -2
  83. package/examples/eyelang/output/eyeling-digital-product-passport-small.n3 +0 -3
  84. package/examples/eyelang/output/eyeling-dijkstra-tiny.n3 +0 -9
  85. package/examples/eyelang/output/eyeling-dog-license.n3 +0 -1
  86. package/examples/eyelang/output/eyeling-drone-corridor-planner-small.n3 +0 -5
  87. package/examples/eyelang/output/eyeling-equals.n3 +0 -1
  88. package/examples/eyelang/output/eyeling-equivalence-classes.n3 +0 -2
  89. package/examples/eyelang/output/eyeling-euler-identity.n3 +0 -3
  90. package/examples/eyelang/output/eyeling-existential-rule.n3 +0 -4
  91. package/examples/eyelang/output/eyeling-expression-eval.n3 +0 -3
  92. package/examples/eyelang/output/eyeling-family-cousins-extended.n3 +0 -6
  93. package/examples/eyelang/output/eyeling-fastpow.n3 +0 -4
  94. package/examples/eyelang/output/eyeling-fibonacci.n3 +0 -6
  95. package/examples/eyelang/output/eyeling-french-cities-reachability.n3 +0 -25
  96. package/examples/eyelang/output/eyeling-goldbach-small.n3 +0 -2
  97. package/examples/eyelang/output/eyeling-good-cobbler.n3 +0 -2
  98. package/examples/eyelang/output/eyeling-list-builtins.n3 +0 -6
  99. package/examples/eyelang/output/eyeling-list-collection-extra.n3 +0 -5
  100. package/examples/eyelang/output/eyeling-math-builtins.n3 +0 -5
  101. package/examples/eyelang/output/eyeling-string-builtins-extra.n3 +0 -3
  102. package/examples/eyelang/output/eyeling-string-builtins.n3 +0 -4
  103. package/examples/eyelang/output/eyeling-time-builtins.n3 +0 -4
  104. package/examples/eyelang/output/eyeling-time-components-extra.n3 +0 -5
  105. package/examples/eyelang/output/eyeling-witch.n3 +0 -2
  106. package/examples/eyelang/output/family-cousins.n3 +0 -8
  107. package/examples/eyelang/output/n3-builtins.n3 +0 -6
  108. package/examples/eyelang/output/socrates.n3 +0 -1
  109. package/examples/eyelang/output/triple-term.n3 +0 -2
  110. package/examples/eyelang/socrates.n3 +0 -11
  111. package/examples/eyelang/triple-term.n3 +0 -9
  112. package/lib/eyelang/builtins/n3.js +0 -483
  113. package/lib/eyelang/rdf.js +0 -747
@@ -1,10 +0,0 @@
1
- # Adapted from eyeling/examples/bmi.n3.
2
- # Computes BMI from mass and squared height using math builtins.
3
- @prefix math: <http://www.w3.org/2000/10/swap/math#>.
4
- @prefix : <https://eyereasoner.github.io/ns#>.
5
-
6
- :alice :massKg 72;
7
- :heightM 1.8.
8
-
9
- { ?P :heightM ?H. (?H 2) math:exponentiation ?H2. } => { ?P :heightSquared ?H2. }.
10
- { ?P :massKg ?M. ?P :heightSquared ?H2. (?M ?H2) math:quotient ?BMI. } => { ?P :bmi ?BMI. }.
@@ -1,15 +0,0 @@
1
- # Adapted from eyeling/examples/cat-koko.n3.
2
- # The original derives nested rules; this version keeps the animal split and log:notEqualTo test.
3
- @prefix log: <http://www.w3.org/2000/10/swap/log#>.
4
- @prefix : <https://eyereasoner.github.io/ns#>.
5
-
6
- :Koko a :Animal.
7
-
8
- { :Koko a :Animal. } => {
9
- :catKoko a :Cat.
10
- :britishKoko a :BritishShortHair.
11
- }.
12
-
13
- { ?X a :Cat. ?Y a :BritishShortHair. ?X log:notEqualTo ?Y. } => {
14
- :test :is true.
15
- }.
@@ -1,11 +0,0 @@
1
- # Adapted from eyeling/examples/collatz-1000.n3.
2
- # A small, bounded Collatz step demonstration.
3
- @prefix math: <http://www.w3.org/2000/10/swap/math#>.
4
- @prefix : <https://eyereasoner.github.io/eyeling/examples/collatz#>.
5
-
6
- :case6 :value 6.
7
- :case7 :value 7.
8
-
9
- { ?C :value ?N. (?N 2) math:remainder 0. (?N 2) math:integerQuotient ?M. } => { ?C :next ?M. }.
10
- { ?C :value ?N. (?N 2) math:remainder 1. (?N 3) math:product ?T. (?T 1) math:sum ?M. } => { ?C :next ?M. }.
11
- { ?C :next ?N. ?N math:greaterThan 10. } => { ?C :jumpsAboveTen true. }.
@@ -1,11 +0,0 @@
1
- # Adapted from eyeling/examples/collection.n3.
2
- # Shows N3/RDF collections in subject and object positions.
3
- @prefix list: <http://www.w3.org/2000/10/swap/list#>.
4
- @prefix : <https://eyereasoner.github.io/eyeling/examples/collection#>.
5
-
6
- (1 _:b2 (2)) :p2 :q2.
7
- _:b2 :p :q.
8
-
9
- { (1 _:b2 (2)) list:length ?Length. } => {
10
- :collection :length ?Length.
11
- }.
@@ -1,10 +0,0 @@
1
- # Adapted from eyeling/examples/complex.n3.
2
- # Computes complex addition on pair-shaped RDF collections.
3
- @prefix math: <http://www.w3.org/2000/10/swap/math#>.
4
- @prefix : <https://eyereasoner.github.io/eyeling/examples/complex#>.
5
-
6
- :z1 :cartesian (3 4).
7
- :z2 :cartesian (5 -2).
8
-
9
- { ?A :cartesian (?AR ?AI). ?B :cartesian (?BR ?BI). (?AR ?BR) math:sum ?RR. (?AI ?BI) math:sum ?RI. } => { (?A ?B) :sum (?RR ?RI). }.
10
- { (:z1 :z2) :sum ?Z. } => { :example :complexSum ?Z. }.
@@ -1,11 +0,0 @@
1
- # Adapted from eyeling/examples/context-association.n3.
2
- # Associates named contexts with facts and derives their subjects.
3
- @prefix : <https://eyereasoner.github.io/eyeling/examples/context-association#>.
4
-
5
- :ctx1 :contains :fact1.
6
- :ctx2 :contains :fact2.
7
- :fact1 :subject :alice; :predicate :likes; :object :tea.
8
- :fact2 :subject :bob; :predicate :likes; :object :coffee.
9
-
10
- { ?C :contains ?F. ?F :subject ?S. } => { ?C :mentions ?S. }.
11
- { ?C :mentions ?S. } => { ?S :mentionedIn ?C. }.
@@ -1,11 +0,0 @@
1
- # Adapted from eyeling/examples/control-system.n3.
2
- # Flags control measurements outside a safe envelope.
3
- @prefix math: <http://www.w3.org/2000/10/swap/math#>.
4
- @prefix : <https://eyereasoner.github.io/eyeling/examples/control-system#>.
5
-
6
- :loop1 :target 100; :actual 103; :tolerance 5.
7
- :loop2 :target 100; :actual 111; :tolerance 5.
8
-
9
- { ?L :target ?T; :actual ?A. (?A ?T) math:difference ?D. ?D math:absoluteValue ?Abs. } => { ?L :absoluteError ?Abs. }.
10
- { ?L :absoluteError ?E; :tolerance ?Tol. ?E math:notGreaterThan ?Tol. } => { ?L :status :ok. }.
11
- { ?L :absoluteError ?E; :tolerance ?Tol. ?E math:greaterThan ?Tol. } => { ?L :status :alarm. }.
@@ -1,10 +0,0 @@
1
- # Adapted from eyeling/examples/crypto-builtins-tests.n3.
2
- # Extra digest checks beyond the compact builtins demo.
3
- @prefix crypto: <http://www.w3.org/2000/10/swap/crypto#>.
4
- @prefix string: <http://www.w3.org/2000/10/swap/string#>.
5
- @prefix : <https://eyereasoner.github.io/eyeling/examples/crypto-extra#>.
6
-
7
- :payload :text "eyelang".
8
-
9
- { :payload :text ?T. ?T crypto:sha256 ?H. ?H string:length ?L. } => { :payload :sha256Length ?L; :sha256 ?H. }.
10
- { :payload :sha256Length 64. } => { :payload :hashLooksComplete true. }.
@@ -1,8 +0,0 @@
1
- # Inspired by eyeling/examples/crypto-builtins-tests.n3.
2
- @prefix crypto: <http://www.w3.org/2000/10/swap/crypto#>.
3
- @prefix : <https://eyereasoner.github.io/ns#>.
4
-
5
- :payload :text "eyelang".
6
-
7
- { :payload :text ?Text. ?Text crypto:sha256 ?Digest. } => { :payload :sha256 ?Digest. }.
8
- { :payload :text ?Text. ?Text crypto:md5 ?Digest. } => { :payload :md5 ?Digest. }.
@@ -1,18 +0,0 @@
1
- # Adapted from eyeling/examples/deep-taxonomy-10.n3.
2
- # Depth-10 classification chain.
3
- @prefix : <https://eyereasoner.github.io/eyeling/examples/deep-taxonomy-10#>.
4
-
5
- :ind a :N0.
6
-
7
- { ?X a :N0. } => { ?X a :N1, :I1, :J1. }.
8
- { ?X a :N1. } => { ?X a :N2, :I2, :J2. }.
9
- { ?X a :N2. } => { ?X a :N3, :I3, :J3. }.
10
- { ?X a :N3. } => { ?X a :N4, :I4, :J4. }.
11
- { ?X a :N4. } => { ?X a :N5, :I5, :J5. }.
12
- { ?X a :N5. } => { ?X a :N6, :I6, :J6. }.
13
- { ?X a :N6. } => { ?X a :N7, :I7, :J7. }.
14
- { ?X a :N7. } => { ?X a :N8, :I8, :J8. }.
15
- { ?X a :N8. } => { ?X a :N9, :I9, :J9. }.
16
- { ?X a :N9. } => { ?X a :N10, :I10, :J10. }.
17
- { ?X a :N10. } => { ?X a :A2. }.
18
- { :ind a :A2. } => { :test :is true. }.
@@ -1,10 +0,0 @@
1
- # Adapted from eyeling/examples/derived-backward-rule.n3.
2
- # Demonstrates an inverse-property rule without nested-rule materialization.
3
- @prefix : <https://eyereasoner.github.io/eyeling/examples/derived-backward-rule#>.
4
-
5
- :parentOf :invOf :childOf.
6
- :alice :parentOf :bob.
7
- :claire :parentOf :diana.
8
-
9
- { ?P :invOf ?Q. ?Y ?P ?X. } => { ?X ?Q ?Y. }.
10
- { ?X :childOf ?Y. } => { ?X :hasParent ?Y. }.
@@ -1,9 +0,0 @@
1
- # Adapted from eyeling/examples/derived-rule.n3.
2
- # eyelang's N3 layer does not materialize nested rules yet, so this is a flat equivalent.
3
- @prefix : <https://eyereasoner.github.io/eyeling/examples/derived-rule#>.
4
-
5
- :Minka a :Cat.
6
- :Charly a :Dog.
7
-
8
- { ?X a :Cat. ?Y a :Dog. } => { :test :is true. }.
9
- { ?X a :Cat. ?Y a :Dog. } => { ?X :compatibleWith ?Y. }.
@@ -1,11 +0,0 @@
1
- # Adapted from eyeling/examples/digital-product-passport.n3.
2
- # Simple product passport conformance rules.
3
- @prefix string: <http://www.w3.org/2000/10/swap/string#>.
4
- @prefix : <https://eyereasoner.github.io/eyeling/examples/digital-product-passport#>.
5
-
6
- :bike1 :serial "EU-BIKE-001"; :batteryId "BAT-77"; :recycledContent "32%".
7
- :toy1 :serial "TOY-9"; :batteryId ""; :recycledContent "0%".
8
-
9
- { ?P :serial ?S. ?S string:startsWith "EU-". } => { ?P :hasEuSerial true. }.
10
- { ?P :batteryId ?B. ?B string:startsWith "BAT-". } => { ?P :hasBatteryPassport true. }.
11
- { ?P :hasEuSerial true. ?P :hasBatteryPassport true. } => { ?P :passportStatus :ready. }.
@@ -1,14 +0,0 @@
1
- # Adapted from eyeling/examples/dijkstra.n3.
2
- # Tiny weighted path expansion without aggregate minimization.
3
- @prefix math: <http://www.w3.org/2000/10/swap/math#>.
4
- @prefix : <https://eyereasoner.github.io/eyeling/examples/dijkstra#>.
5
-
6
- :e1 :from :a; :to :b; :cost 2.
7
- :e2 :from :a; :to :c; :cost 5.
8
- :e3 :from :b; :to :c; :cost 1.
9
- :e4 :from :b; :to :d; :cost 4.
10
- :e5 :from :c; :to :d; :cost 1.
11
-
12
- { ?E :from ?S; :to ?O; :cost ?C. } => { (?S ?O) :pathCost ?C. }.
13
- { (?S ?M) :pathCost ?C1. ?E :from ?M; :to ?O; :cost ?C2. (?C1 ?C2) math:sum ?CT. } => { (?S ?O) :pathCost ?CT. }.
14
- { (:a :d) :pathCost ?C. ?C math:notGreaterThan 6. } => { :route :candidateCost ?C. }.
@@ -1,13 +0,0 @@
1
- # Adapted from eyeling/examples/dog.n3.
2
- # The original uses log:collectAllIn; this compatibility example supplies the count directly.
3
- @prefix math: <http://www.w3.org/2000/10/swap/math#>.
4
- @prefix : <https://eyereasoner.github.io/ns#>.
5
-
6
- :alice :hasDog :dog1, :dog2, :dog3, :dog4, :dog5;
7
- :dogCount 5.
8
- :bob :hasDog :dog6, :dog7;
9
- :dogCount 2.
10
-
11
- { ?Subject :dogCount ?Count. ?Count math:greaterThan 4. } => {
12
- ?Subject :mustHave :dogLicense.
13
- }.
@@ -1,13 +0,0 @@
1
- # Adapted from eyeling/examples/drone-corridor-planner.n3.
2
- # Finds allowed drone corridor hops under wind limits.
3
- @prefix math: <http://www.w3.org/2000/10/swap/math#>.
4
- @prefix : <https://eyereasoner.github.io/eyeling/examples/drone-corridor#>.
5
-
6
- :c1 :from :dock; :to :tower; :wind 12.
7
- :c2 :from :tower; :to :field; :wind 18.
8
- :c3 :from :dock; :to :field; :wind 25.
9
- :policy :maxWind 20.
10
-
11
- { ?C :from ?A; :to ?B; :wind ?W. :policy :maxWind ?M. ?W math:notGreaterThan ?M. } => { ?C :allowed true. }.
12
- { ?C :allowed true; :from ?A; :to ?B. } => { ?A :canFlyTo ?B. }.
13
- { :dock :canFlyTo :tower. :tower :canFlyTo :field. } => { :mission :hasTwoHopRoute true. }.
@@ -1,8 +0,0 @@
1
- # Adapted from eyeling/examples/equals.n3.
2
- # N3 '=' is lowered to owl:sameAs.
3
- @prefix owl: <http://www.w3.org/2002/07/owl#>.
4
- @prefix : <http://example.org/socrates#>.
5
-
6
- :X = :Y.
7
-
8
- { :X owl:sameAs :Y. } => { :test :is true. }.
@@ -1,11 +0,0 @@
1
- # Adapted from eyeling/examples/equivalence-classes-overlap-implies-same-class.n3.
2
- # If two class sets share a member, they are linked as the same class.
3
- @prefix log: <http://www.w3.org/2000/10/swap/log#>.
4
- @prefix : <https://eyereasoner.github.io/eyeling/examples/equivalence-classes#>.
5
-
6
- :classA :member :alice, :bob.
7
- :classB :member :bob, :carol.
8
- :classC :member :diana.
9
-
10
- { ?C1 :member ?X. ?C2 :member ?X. ?C1 log:notEqualTo ?C2. } => { ?C1 :sameClassAs ?C2. }.
11
- { ?C1 :sameClassAs ?C2. } => { ?C2 :sameClassAs ?C1. }.
@@ -1,9 +0,0 @@
1
- # Adapted from eyeling/examples/euler-identity.n3.
2
- # Numeric trigonometric builtins around pi.
3
- @prefix math: <http://www.w3.org/2000/10/swap/math#>.
4
- @prefix : <https://eyereasoner.github.io/eyeling/examples/euler-identity#>.
5
-
6
- :pi :radians 3.141592653589793.
7
-
8
- { :pi :radians ?P. ?P math:cos ?C. ?P math:sin ?S. } => { :euler :cosPi ?C; :sinPi ?S. }.
9
- { :euler :cosPi ?C. ?C math:notGreaterThan -1. } => { :euler :cosPiAtMinusOne true. }.
@@ -1,9 +0,0 @@
1
- # Adapted from eyeling/examples/existential-rule.n3.
2
- # Uses explicit blank-node witnesses in the rule head.
3
- @prefix : <https://eyereasoner.github.io/eyeling/examples/existential-rule#>.
4
-
5
- :Socrates a :Human.
6
- :Plato a :Human.
7
-
8
- { ?S a :Human. } => { ?S :hasNature _:humanNature. }.
9
- { ?S :hasNature _:humanNature. } => { ?S :witnessed true. }.
@@ -1,11 +0,0 @@
1
- # Adapted from eyeling/examples/expression-eval.n3.
2
- # Evaluates a small expression tree using arithmetic builtins.
3
- @prefix math: <http://www.w3.org/2000/10/swap/math#>.
4
- @prefix : <https://eyereasoner.github.io/eyeling/examples/expression-eval#>.
5
-
6
- :e1 :op :add; :left 2; :right 3.
7
- :e2 :op :mul; :left :e1; :right 4.
8
-
9
- { ?E :op :add; :left ?A; :right ?B. (?A ?B) math:sum ?V. } => { ?E :value ?V. }.
10
- { ?E :op :mul; :left ?L; :right ?B. ?L :value ?A. (?A ?B) math:product ?V. } => { ?E :value ?V. }.
11
- { :e2 :value ?V. } => { :answer :value ?V. }.
@@ -1,12 +0,0 @@
1
- # Adapted from eyeling/examples/family-cousins.n3.
2
- @prefix log: <http://www.w3.org/2000/10/swap/log#>.
3
- @prefix : <https://eyereasoner.github.io/ns#>.
4
-
5
- :alice :parentOf :bob, :carol.
6
- :bob :parentOf :dave.
7
- :carol :parentOf :erin.
8
- :erin :parentOf :fay.
9
-
10
- { ?p :parentOf ?x. ?p :parentOf ?y. ?x log:notEqualTo ?y. } => { ?x :siblingOf ?y. }.
11
- { ?a :parentOf ?x. ?b :parentOf ?y. ?a :siblingOf ?b. ?x log:notEqualTo ?y. } => { ?x :cousinOf ?y. }.
12
- { ?x :cousinOf ?y. } => { ?x :relatedTo ?y. }.
@@ -1,10 +0,0 @@
1
- # Adapted from eyeling/examples/fastpow.n3.
2
- # Computes powers with math:exponentiation and derives named results.
3
- @prefix math: <http://www.w3.org/2000/10/swap/math#>.
4
- @prefix : <https://eyereasoner.github.io/eyeling/examples/fastpow#>.
5
-
6
- :case1 :base 2; :exponent 10.
7
- :case2 :base 3; :exponent 7.
8
-
9
- { ?C :base ?B; :exponent ?E. (?B ?E) math:exponentiation ?V. } => { ?C :power ?V. }.
10
- { ?C :power ?V. ?V math:greaterThan 1000. } => { ?C :largePower true. }.
@@ -1,44 +0,0 @@
1
- # Adapted from eyeling/examples/fibonacci.n3.
2
- # Uses the same :fibonacci relation, but with a fast-doubling helper so the
3
- # example remains practical under eyelang's RDF/N3 compatibility materializer.
4
- @prefix math: <http://www.w3.org/2000/10/swap/math#>.
5
- @prefix : <https://eyereasoner.github.io/eyeling/examples/fibonacci#>.
6
-
7
- { ?N :fibonacci ?F } <= { (?N ?F ?Next) :fibPair true }.
8
-
9
- { (0 0 1) :fibPair true } <= true.
10
-
11
- # even N: F(2k)=F(k)*(2*F(k+1)-F(k)), F(2k+1)=F(k)^2+F(k+1)^2
12
- { (?N ?C ?D) :fibPair true } <= {
13
- ?N math:greaterThan 0.
14
- (?N 2) math:integerQuotient ?K.
15
- (?K ?A ?B) :fibPair true.
16
- (?B 2) math:product ?TwoB.
17
- (?TwoB ?A) math:difference ?TwoBMinusA.
18
- (?A ?TwoBMinusA) math:product ?C.
19
- (?A ?A) math:product ?AA.
20
- (?B ?B) math:product ?BB.
21
- (?AA ?BB) math:sum ?D.
22
- (?N 2) math:remainder 0.
23
- }.
24
-
25
- # odd N: F(2k+1)=D, F(2k+2)=C+D
26
- { (?N ?D ?Next) :fibPair true } <= {
27
- ?N math:greaterThan 0.
28
- (?N 2) math:integerQuotient ?K.
29
- (?K ?A ?B) :fibPair true.
30
- (?B 2) math:product ?TwoB.
31
- (?TwoB ?A) math:difference ?TwoBMinusA.
32
- (?A ?TwoBMinusA) math:product ?C.
33
- (?A ?A) math:product ?AA.
34
- (?B ?B) math:product ?BB.
35
- (?AA ?BB) math:sum ?D.
36
- (?C ?D) math:sum ?Next.
37
- (?N 2) math:remainder 1.
38
- }.
39
-
40
- { 0 :fibonacci ?F0. } => { :fibonacci_0 :value ?F0. }.
41
- { 1 :fibonacci ?F1. } => { :fibonacci_1 :value ?F1. }.
42
- { 10 :fibonacci ?F10. } => { :fibonacci_10 :value ?F10. }.
43
- { 100 :fibonacci ?F100. } => { :fibonacci_100 :value ?F100. }.
44
- { 1000 :fibonacci ?F1000. } => { :fibonacci_1000 :value ?F1000. }.
@@ -1,22 +0,0 @@
1
- # Adapted from eyeling/examples/french-cities.n3.
2
- # One-way routes are paths; paths compose transitively.
3
- @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
4
- @prefix owl: <http://www.w3.org/2002/07/owl#>.
5
- @prefix : <https://eyereasoner.github.io/eyeling/examples/french-cities#>.
6
-
7
- :paris :oneway :orleans, :chartres, :amiens.
8
- :orleans :oneway :blois, :bourges.
9
- :blois :oneway :tours.
10
- :chartres :oneway :lemans.
11
- :lemans :oneway :angers, :tours.
12
- :angers :oneway :nantes.
13
- :oneway rdfs:subPropertyOf :path.
14
- :path a owl:TransitiveProperty.
15
-
16
- { ?P rdfs:subPropertyOf ?Q. ?S ?P ?O. } => { ?S ?Q ?O. }.
17
- { ?P a owl:TransitiveProperty. ?S ?P ?X. ?X ?P ?O. } => { ?S ?P ?O. }.
18
- { ?C :path :nantes. } => { ?C :canReach :nantes. }.
19
- { :paris :canReach :nantes. } => { :report :reachableCity :paris. }.
20
- { :chartres :canReach :nantes. } => { :report :reachableCity :chartres. }.
21
- { :lemans :canReach :nantes. } => { :report :reachableCity :lemans. }.
22
- { :angers :canReach :nantes. } => { :report :reachableCity :angers. }.
@@ -1,22 +0,0 @@
1
- # Adapted from eyeling/examples/goldbach-1000.n3.
2
- # A tiny Goldbach witness check.
3
- @prefix math: <http://www.w3.org/2000/10/swap/math#>.
4
- @prefix : <https://eyereasoner.github.io/eyeling/examples/goldbach#>.
5
-
6
- :two a :Prime.
7
- :three a :Prime.
8
- :five a :Prime.
9
- :seven a :Prime.
10
- :eleven a :Prime.
11
- :twelve :even true.
12
- :eighteen :even true.
13
-
14
- :twelve :candidate (:five :seven).
15
- :eighteen :candidate (:seven :eleven).
16
- :five :value 5.
17
- :seven :value 7.
18
- :eleven :value 11.
19
- :twelve :value 12.
20
- :eighteen :value 18.
21
-
22
- { ?N :candidate (?A ?B). ?A a :Prime; :value ?AV. ?B a :Prime; :value ?BV. (?AV ?BV) math:sum ?NV. ?N :value ?NV. } => { ?N :goldbachWitness (?A ?B). }.
@@ -1,9 +0,0 @@
1
- # Adapted from eyeling/examples/good-cobbler.n3.
2
- # Term-logic style statement represented with an RDF collection.
3
- @prefix : <https://eyereasoner.github.io/eyeling/examples/good-cobbler#>.
4
-
5
- :joe :is (:good :Cobbler).
6
- :ann :is (:careful :Tailor).
7
-
8
- { ?X :is (:good ?Y). } => { ?X :goodAt ?Y. }.
9
- { ?X :goodAt ?Y. } => { :test :hasGoodWorker ?X. }.
@@ -1,10 +0,0 @@
1
- # Inspired by eyeling list/collection examples and the SWAP list builtin family.
2
- @prefix list: <http://www.w3.org/2000/10/swap/list#>.
3
- @prefix : <https://eyereasoner.github.io/ns#>.
4
-
5
- { (3 1 2) list:first ?First. } => { :demo :firstNumber ?First. }.
6
- { (3 1 2) list:rest ?Rest. } => { :demo :restNumbers ?Rest. }.
7
- { (3 1 2) list:reverse ?Reverse. } => { :demo :reverseNumbers ?Reverse. }.
8
- { ("beta" "alpha" "gamma") list:sort ?Sorted. } => { :demo :sortedWords ?Sorted. }.
9
- { 2 list:in (3 1 2). } => { :demo :containsTwo true. }.
10
- { ((1 2) (3 4)) list:append ?Flat. } => { :demo :flatNumbers ?Flat. }.
@@ -1,9 +0,0 @@
1
- # Adapted from eyeling/examples/collection.n3.
2
- # More list operations over N3 collections.
3
- @prefix list: <http://www.w3.org/2000/10/swap/list#>.
4
- @prefix : <https://eyereasoner.github.io/eyeling/examples/list-extra#>.
5
-
6
- :shopping :items (:tea :milk :bread).
7
-
8
- { :shopping :items ?L. ?L list:first ?First. ?L list:rest ?Rest. ?L list:reverse ?Rev. ?L list:length ?Len. } => { :shopping :first ?First; :rest ?Rest; :reverse ?Rev; :length ?Len. }.
9
- { :shopping :items ?L. ?L list:member :milk. } => { :shopping :containsMilk true. }.
@@ -1,9 +0,0 @@
1
- # Inspired by eyeling builtin examples for the SWAP math namespace.
2
- @prefix math: <http://www.w3.org/2000/10/swap/math#>.
3
- @prefix : <https://eyereasoner.github.io/ns#>.
4
-
5
- { (2 3 5) math:sum ?Total. } => { :calc :sum ?Total. }.
6
- { (21 4) math:integerQuotient ?Q. } => { :calc :integerQuotient ?Q. }.
7
- { (21 4) math:remainder ?R. } => { :calc :remainder ?R. }.
8
- { (2 8) math:exponentiation ?Pow. } => { :calc :power ?Pow. }.
9
- { -3 math:absoluteValue ?Abs. } => { :calc :absolute ?Abs. }.
@@ -1,9 +0,0 @@
1
- # Adapted from eyeling string builtin examples.
2
- # Exercises scrape, replace, and formatting-style concatenation.
3
- @prefix string: <http://www.w3.org/2000/10/swap/string#>.
4
- @prefix : <https://eyereasoner.github.io/eyeling/examples/string-extra#>.
5
-
6
- :msg :text "sensor:A17 status:OK".
7
-
8
- { :msg :text ?T. (?T "sensor:([A-Z0-9]+)") string:scrape ?Sensor. (?T "status:OK" "status:GREEN") string:replace ?Green. } => { :msg :sensor ?Sensor; :greenText ?Green. }.
9
- { :msg :sensor ?S. ("device-" ?S) string:concatenation ?Id. } => { :msg :deviceId ?Id. }.
@@ -1,10 +0,0 @@
1
- # Inspired by eyeling builtin examples for the SWAP string namespace.
2
- @prefix string: <http://www.w3.org/2000/10/swap/string#>.
3
- @prefix : <https://eyereasoner.github.io/ns#>.
4
-
5
- :msg :text "Hello Eyelang".
6
-
7
- { :msg :text ?Text. ?Text string:contains "Eye". } => { :msg :mentionsEye true. }.
8
- { :msg :text ?Text. ?Text string:length ?Len. } => { :msg :length ?Len. }.
9
- { ("N3" " + " "RDF 1.2") string:concatenation ?Label. } => { :msg :label ?Label. }.
10
- { ("Hello Eyelang" "Eye(.*)") string:scrape ?Tail. } => { :msg :scrapedTail ?Tail. }.
@@ -1,11 +0,0 @@
1
- # Inspired by eyeling examples that use time/date builtins.
2
- @prefix time: <http://www.w3.org/2000/10/swap/time#>.
3
- @prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
4
- @prefix : <https://eyereasoner.github.io/ns#>.
5
-
6
- :event :at "2026-06-15T10:20:30Z"^^xsd:dateTime.
7
-
8
- { :event :at ?T. ?T time:year ?Y. } => { :event :year ?Y. }.
9
- { :event :at ?T. ?T time:month ?M. } => { :event :month ?M. }.
10
- { :event :at ?T. ?T time:day ?D. } => { :event :day ?D. }.
11
- { :event :at ?T. ?T time:hour ?H. } => { :event :hour ?H. }.
@@ -1,10 +0,0 @@
1
- # Adapted from eyeling builtin/time examples.
2
- # Extracts date-time components.
3
- @prefix time: <http://www.w3.org/2000/10/swap/time#>.
4
- @prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
5
- @prefix : <https://eyereasoner.github.io/eyeling/examples/time-extra#>.
6
-
7
- :event :at "2026-06-15T10:30:45Z"^^xsd:dateTime.
8
-
9
- { :event :at ?T. ?T time:year ?Y. ?T time:month ?M. ?T time:day ?D. ?T time:hour ?H. } => { :event :year ?Y; :month ?M; :day ?D; :hour ?H. }.
10
- { :event :year 2026; :month 6; :day 15. } => { :event :dateCheck true. }.
@@ -1,10 +0,0 @@
1
- # Adapted from eyeling/examples/witch.n3.
2
- # Monty Python-style rule chain.
3
- @prefix : <https://eyereasoner.github.io/eye/reasoning/witch#>.
4
-
5
- :elsie a :WOMAN, :BURNS.
6
- :robin a :MAN, :BURNS.
7
- :agnes a :WOMAN.
8
-
9
- { ?x a :BURNS. ?x a :WOMAN. } => { ?x a :WITCH. }.
10
- { ?x a :WITCH. } => { ?x a :WEIGHS_THE_SAME_AS_A_DUCK. }.
@@ -1,17 +0,0 @@
1
- # Adapted from eyereasoner/eyeling examples/family-cousins.n3.
2
- # This version avoids eyeling math built-ins and keeps to RDF/N3 Horn rules.
3
- PREFIX : <http://example.org/family#>
4
-
5
- :Adam :parentOf :Bob, :Carol .
6
- :Bob :parentOf :Dave, :Eve .
7
- :Carol :parentOf :Frank, :Grace .
8
- :Bob :differentFrom :Carol .
9
- :Carol :differentFrom :Bob .
10
-
11
- { ?Grandparent :parentOf ?Parent1 .
12
- ?Grandparent :parentOf ?Parent2 .
13
- ?Parent1 :parentOf ?Child1 .
14
- ?Parent2 :parentOf ?Child2 .
15
- ?Parent1 :differentFrom ?Parent2 . }
16
- =>
17
- { ?Child1 :cousin ?Child2 . } .
@@ -1,28 +0,0 @@
1
- @prefix : <http://example.com/> .
2
- @prefix math: <http://www.w3.org/2000/10/swap/math#> .
3
- @prefix string: <http://www.w3.org/2000/10/swap/string#> .
4
- @prefix list: <http://www.w3.org/2000/10/swap/list#> .
5
-
6
- :alice :score 2 ; :bonus 3 ; :name "Alice" .
7
- :bob :score 1 ; :bonus 1 ; :name "Bob" .
8
-
9
- { ?person :score ?score .
10
- ?person :bonus ?bonus .
11
- (?score ?bonus) math:sum ?total .
12
- ?total math:greaterThan 4 .
13
- ?person :name ?name .
14
- ?name string:startsWith "Al" .
15
- (?name " total " ?total) string:concatenation ?label .
16
- } => {
17
- ?person :total ?total .
18
- ?person :label ?label .
19
- } .
20
-
21
- { ?person :status :passing . } <= {
22
- ?person :total ?total .
23
- ?total math:notLessThan 5 .
24
- } .
25
-
26
- { (:red :green :blue) list:member ?colour . } => {
27
- ?colour :kind :colour .
28
- } .
@@ -1 +0,0 @@
1
- rdf(iri("http://example.org/annotation#a"), iri("http://example.org/annotation#nameStatementBy"), iri("http://example.org/annotation#bob")).
@@ -1 +0,0 @@
1
- rdf(iri("http://example.org/lang#greeting"), iri("http://example.org/lang#hasDirectionalLabel"), literal("true", iri("http://www.w3.org/2001/XMLSchema#boolean"), "", "")).
@@ -1,12 +0,0 @@
1
- rdf(iri("https://eyereasoner.github.io/eyeling/examples/ackermann#ackermann_0_0"), iri("https://eyereasoner.github.io/eyeling/examples/ackermann#value"), literal("1", iri("http://www.w3.org/2001/XMLSchema#integer"), "", "")).
2
- rdf(iri("https://eyereasoner.github.io/eyeling/examples/ackermann#ackermann_0_6"), iri("https://eyereasoner.github.io/eyeling/examples/ackermann#value"), literal("7", iri("http://www.w3.org/2001/XMLSchema#integer"), "", "")).
3
- rdf(iri("https://eyereasoner.github.io/eyeling/examples/ackermann#ackermann_1_2"), iri("https://eyereasoner.github.io/eyeling/examples/ackermann#value"), literal("4", iri("http://www.w3.org/2001/XMLSchema#integer"), "", "")).
4
- rdf(iri("https://eyereasoner.github.io/eyeling/examples/ackermann#ackermann_1_7"), iri("https://eyereasoner.github.io/eyeling/examples/ackermann#value"), literal("9", iri("http://www.w3.org/2001/XMLSchema#integer"), "", "")).
5
- rdf(iri("https://eyereasoner.github.io/eyeling/examples/ackermann#ackermann_2_2"), iri("https://eyereasoner.github.io/eyeling/examples/ackermann#value"), literal("7", iri("http://www.w3.org/2001/XMLSchema#integer"), "", "")).
6
- rdf(iri("https://eyereasoner.github.io/eyeling/examples/ackermann#ackermann_2_9"), iri("https://eyereasoner.github.io/eyeling/examples/ackermann#value"), literal("21", iri("http://www.w3.org/2001/XMLSchema#integer"), "", "")).
7
- rdf(iri("https://eyereasoner.github.io/eyeling/examples/ackermann#ackermann_3_4"), iri("https://eyereasoner.github.io/eyeling/examples/ackermann#value"), literal("125", iri("http://www.w3.org/2001/XMLSchema#integer"), "", "")).
8
- rdf(iri("https://eyereasoner.github.io/eyeling/examples/ackermann#ackermann_3_1000"), iri("https://eyereasoner.github.io/eyeling/examples/ackermann#value"), literal("85720688574901385675874003924800144844912384936442688595500031069628084089994889799455870305255668650207573833404251746014971622855385123487876620597588598431476542198593847883368596840498969135023633457224371799868655530139190140473324351568616503316569571821492337341283438653220995094697645344555005", iri("http://www.w3.org/2001/XMLSchema#integer"), "", "")).
9
- rdf(iri("https://eyereasoner.github.io/eyeling/examples/ackermann#ackermann_4_0"), iri("https://eyereasoner.github.io/eyeling/examples/ackermann#value"), literal("13", iri("http://www.w3.org/2001/XMLSchema#integer"), "", "")).
10
- rdf(iri("https://eyereasoner.github.io/eyeling/examples/ackermann#ackermann_4_1"), iri("https://eyereasoner.github.io/eyeling/examples/ackermann#value"), literal("65533", iri("http://www.w3.org/2001/XMLSchema#integer"), "", "")).
11
- rdf(iri("https://eyereasoner.github.io/eyeling/examples/ackermann#ackermann_4_2"), iri("https://eyereasoner.github.io/eyeling/examples/ackermann#value"), literal("2003529930406846464979072351560255750447825475569751419265016973710894059556311453089506130880933348101038234342907263181822949382118812668869506364761547029165041871916351587966347219442930927982084309104855990570159318959639524863372367203002916969592156108764948889254090805911457037675208500206671563702366126359747144807111774815880914135742720967190151836282560618091458852699826141425030123391108273603843767876449043205960379124490905707560314035076162562476031863793126484703743782954975613770981604614413308692118102485959152380195331030292162800160568670105651646750568038741529463842244845292537361442533614373729088303794601274724958414864915930647252015155693922628180691650796381064132275307267143998158508811292628901134237782705567421080070065283963322155077831214288551675554073345107213112427399562982719769150054883905223804357045848197956393157853510018992000024141963706813559840464039472194016069517690156119726982337890017641517190051133466306898140219383481435426387306539552969691388024158161859561100640362119796101859534802787167200122604642492385111393400464351623867567078745259464670903886547743483217897012764455529409092021959585751622973333576159552394885297579954028471943529913543763705986928913757153740001986394332464890052543106629669165243419174691389632476560289415199775477703138064781342309596190960654591300890188887588084733625956065444888501447335706058817090162108499714529568344061979690565469813631162053579369791403236328496233046421066136200220175787851857409162050489711781820400187282939943446186224328009837323764931814789848119452713007440220765680910376203999203492023906626264491909167985461515778839060397720759279378852241294301017458086862263369284725851403039615558564330385450688652213114813638408384778263790459607186876728509763471271988890680478243230394718650525660978150729861141430305816927924971409161059417185352275887504477592218301158780701975535722241400019548102005661773589781499532325208589753463547007786690406429016763808161740550405117670093673202804549339027992491867306539931640720492238474815280619166900933805732120816350707634351669869625020969023162859350071874190579161241536897514808261904847946571736601005892476655445840838334790544144817684255327207315586349347605137419779525190365032198020108764738368682531025183377533908861426184800374008082238104076468878471647552945326947661700424461063311238021134588694532200116564076327023074292426051582811070387018345324567635625951430032037432740780879056283663406965030844225855967039271869461158513793386475699748568670079823960604393478850861649260304945061743412365828352144806726676841807083754862211408236579802961200027441324438432402331257403545019352428776430880232850855886089962774458164680857875115807014743763867976955049991643998284357290415378143438847303484261903388841494031366139854257635577105335580206622185577060082551288893332226436281984838613239570676191409638533832374343758830859233722284644287996245605476932428998432652677378373173288063210753211238680604674708428051166488709084770291208161104912555598322366244868556651402684641209694982590565519216188104341226838996283071654868525536914850299539675503954938371853405900096187489473992880432496373165753803673586710175783994818471798498246948060532081996066183434012476096639519778021441199752546704080608499344178256285092726523709898651539462193004607364507926212975917698293892367015170992091531567814439791248475706237804600009918293321306880570046591458387208088016887445835557926258465124763087148566313528934166117490617526671492672176128330845273936469244582892571388877839056300482483799839692029222215486145902373478222682521639957440801727144146179559226175083889020074169926238300282286249284182671243405751424188569994272331606998712986882771820617214453142574944015066139463169197629181506579745526236191224848063890033669074365989226349564114665503062965960199720636202603521917776740668777463549375318899587866282125469797102065747232721372918144666659421872003474508942830911535189271114287108376159222380276605327823351661555149369375778466670145717971901227117812780450240026384758788339396817962950690798817121690686929538248529830023476068454114178139110648560236549754227497231007615131870024053910510913817843721791422528587432098524957878034683703337818421444017138688124249984418618129271198533315382567321870421530631197748535214670955334626336610864667332292409879849256691109516143618601548909740241913509623043612196128165950518666022030715613684732364660868905014263913906515063908199378852318365059897299125404479443425166774299659811849233151555272883274028352688442408752811283289980625912673699546247341543333500147231430612750390307397135252069338173843322950701049061867539433130784798015655130384758155685236218010419650255596181934986315913233036096461905990236112681196023441843363334594927631946101716652913823717182394299216272538461776065694542297877071383198817036964588689811863210976900355735884624464835706291453052757101278872027965364479724025405448132748391794128826423835171949197209797145936887537198729130831738033911016128547415377377715951728084111627597186384924222802373441925469991983672192131287035585307966942713416391033882754318613643490100943197409047331014476299861725424423355612237435715825933382804986243892498222780715951762757847109475119033482241412025182688713728193104253478196128440176479531505057110722974314569915223451643121848657575786528197564843508958384722923534559464521215831657751471298708225909292655638836651120681943836904116252668710044560243704200663709001941185557160472044643696932850060046928140507119069261393993902735534545567470314903886022024639948260501762431969305640666366626090207048887438898907498152865444381862917382901051820869936382661868303915273264581286782806601337500096593364625146091723180312930347877421234679118454791311109897794648216922505629399956793483801699157439700537542134485874586856047286751065423341893839099110586465595113646061055156838541217459801807133163612573079611168343863767667307354583494789788316330129240800836356825939157113130978030516441716682518346573675934198084958947940983292500086389778563494693212473426103062713745077286156922596628573857905533240641849018451328284632709269753830867308409142247659474439973348130810986399417379789657010687026734161967196591599588537834822988270125605842365589539690306474965584147981310997157542043256395776070485100881578291408250777738559790129129407309462785944505859412273194812753225152324801503466519048228961406646890305102510916237770448486230229488966711380555607956620732449373374027836767300203011615227008921843515652121379215748206859356920790214502277133099987729459596952817044582181956080965811702798062669891205061560742325686842271306295009864421853470810407128917646906550836129916694778023822502789667843489199409657361704586786242554006942516693979292624714524945408858422726153755260071904336329196375777502176005195800693847635789586878489536872122898557806826518192703632099480155874455575175312736471421295536494084385586615208012115079075068553344489258693283859653013272046970694571546959353658571788894862333292465202735853188533370948455403336565356988172582528918056635488363743793348411845580168331827676834646291995605513470039147876808640322629616641560667508153710646723108461964247537490553744805318226002710216400980584497526023035640038083472053149941172965736785066421400842696497103241919182121213206939769143923368374709228267738708132236680086924703491586840991153098315412063566123187504305467536983230827966457417620806593177265685841681837966106144963432544111706941700222657817358351259821080769101961052229263879745049019254311900620561906577452416191913187533984049343976823310298465893318373015809592522829206820862230332585280119266496314441316442773003237792274712330696417149945532261035475145631290668854345426869788447742981777493710117614651624183616680254815296335308490849943006763654806102940094693750609845588558043970485914449584445079978497045583550685408745163316464118083123079704389849190506587586425810738422420591191941674182490452700288263983057950057341711487031187142834184499153456702915280104485145176055306971441761368582384102787659324662689978418319620312262421177391477208004883578333569204533935953254564897028558589735505751235129536540502842081022785248776603574246366673148680279486052445782673626230852978265057114624846595914210278122788941448163994973881884622768244851622051817076722169863265701654316919742651230041757329904473537672536845792754365412826553581858046840069367718605020070547247548400805530424951854495267247261347318174742180078574693465447136036975884118029408039616746946288540679172138601225419503819704538417268006398820656328792839582708510919958839448297775647152026132871089526163417707151642899487953564854553553148754978134009964854498635824847690590033116961303766127923464323129706628411307427046202032013368350385425360313636763575212604707425311209233402837482949453104727418969287275572027615272268283376741393425652653283068469997597097750005560889932685025049212884068274139881631540456490350775871680074055685724021758685439053228133770707415830756269628316955687424060527726485853050611356384851965918968649596335568216975437621430778665934730450164822432964891270709898076676625671517269062058815549666382573829274182082278960684488222983394816670984039024283514306813767253460126007269262969468672750794346190439996618979611928750519442356402644303271737341591281496056168353988188569484045342311424613559925272330064881627466723523751234311893442118885085079358163848994487544756331689213869675574302737953785262542329024881047181939037220666894702204258836895840939998453560948869946833852579675161882159410981624918741813364726965123980677561947912557957446471427868624053750576104204267149366084980238274680575982591331006919941904651906531171908926077949119217946407355129633864523035673345588033313197080365457184791550432654899559705862888286866606618021882248602144999973122164138170653480175510438406624412822803616648904257377640956326482825258407669045608439490325290526337532316509087681336614242398309530806549661879381949120033919489494065132398816642080088395554942237096734840072642705701165089075196155370186264797456381187856175457113400473810762763014953309735174180655479112660938034311378532532883533352024934365979129341284854970946826329075830193072665337782559314331110963848053940859283988907796210479847919686876539987477095912788727475874439806779824968278272200926449944559380414608770641941810440758269805688038949654616587983904660587645341810289907194293021774519976104495043196841503455514044820928933378657363052830619990077748726922998608279053171691876578860908941817057993404890218441559791092676862796597583952483926734883634745651687016166240642424241228961118010615682342539392180052483454723779219911228595914191877491793823340010078128326506710281781396029120914720100947878752551263372884222353869490067927664511634758101193875319657242121476038284774774571704578610417385747911301908583877890152334343013005282797038580359815182929600305682612091950943737325454171056383887047528950563961029843641360935641632589408137981511693338619797339821670761004607980096016024823096943043806956620123213650140549586250615282588033022908385812478469315720323233601899469437647726721879376826431828382603564520699468630216048874528424363593558622333506235945002890558581611275341783750455936126130852640828051213873177490200249552738734585956405160830583053770732533971552620444705429573538361113677523169972740292941674204423248113875075631319078272188864053374694213842169928862940479635305150560788126366206497231257579019598873041195626227343728900516561111094111745277965482790471250581999077498063821559376885546498822938985408291325129076478386322494781016753491693489288104203015610283386143827378160946341335383578340765314321417150655877547820252454780657301342277470616744241968952613164274104695474621483756288299771804186785084546965619150908695874251184435837306590951460980451247409411373899927822492983367796011015387096129749705566301637307202750734759922943792393824427421186158236161317886392553095117188421298508307238259729144142251579403883011359083331651858234967221259621812507058113759495525022747274674369887131926670769299199084467161228738858457584622726573330753735572823951616964175198675012681745429323738294143824814377139861906716657572945807804820559511881687188075212971832636442155336787751274766940790117057509819575084563565217389544179875074523854455200133572033332379895074393905312918212255259833790909463630202185353848854825062897715616963860712382771725621313460549401770413581731931763370136332252819127547191443450920711848838366818174263342949611870091503049165339464763717766439120798347494627397822171502090670190302469762151278521956142070806461631373236517853976292092025500288962012970141379640038055734949269073535145961208674796547733692958773628635660143767964038430796864138563447801328261284589184898528048048844180821639423974014362903481665458114454366460032490618763039502356402044530748210241366895196644221339200757479128683805175150634662569391937740283512075666260829890491877287833852178522792045771846965855278790447562192663992008409302075673925363735628390829817577902153202106409617373283598494066652141198183810884515459772895164572131897797907491941013148368544639616904607030107596818933741217575988165127000761262789169510406315857637534787420070222051070891257612361658026806815858499852631465878086616800733264676830206391697203064894405628195406190685242003053463156621891327309069687353181641094514288036605995220248248886711554429104721929134248346438705368508648749099178812670565665387191049721820042371492740164460943459845392536706132210616533085662021188968234005752675486101476993688738209584552211571923479686888160853631615862880150395949418529489227074410828207169303387818084936204018255222271010985653444817207470756019245915599431072949578197878590578940052540122867517142511184356437184053563024181225473266093302710397968091064939272722683035410467632591355279683837705019855234621222858410557119921731717969804339317707750755627056047831779844447637560254637033369247114220815519973691371975163241302748712199863404548248524570118553342675264715978310731245663429805221455494156252724028915333354349341217862037007260315279870771872491234494477147909520734761385425485311552773301030342476835865496093722324007154518129732692081058424090557725645803681462234493189708138897143299831347617799679712453782310703739151473878692119187566700319321281896803322696594459286210607438827416919465162267632540665070881071030394178860564893769816734159025925194611823642945652669372203155504700213598846292758012527715422016629954863130324912311029627923723899766416803497141226527931907636326136814145516376656559839788489381733082668779901962886932296597379951931621187215455287394170243669885593888793316744533363119541518404088283815193421234122820030950313341050704760159987985472529190665222479319715440331794836837373220821885773341623856441380700541913530245943913502554531886454796252260251762928374330465102361057583514550739443339610216229675461415781127197001738611494279501411253280621254775810512972088465263158094806633687670147310733540717710876615935856814098212967730759197382973441445256688770855324570888958320993823432102718224114763732791357568615421252849657903335093152776925505845644010552192644505312073756287744998163646332835816140330175813967359427327690448920361880386754955751806890058532927201493923500525845146706982628548257883267398735220457228239290207144822219885587102896991935873074277815159757620764023951243860202032596596250212578349957710085626386118233813318509014686577064010676278617583772772895892746039403930337271873850536912957126715066896688493880885142943609962012966759079225082275313812849851526902931700263136328942095797577959327635531162066753488651317323872438748063513314512644889967589828812925480076425186586490241111127301357197181381602583178506932244007998656635371544088454866393181708395735780799059730839094881804060935959190907473960904410150516321749681412100765719177483767355751000733616922386537429079457803200042337452807566153042929014495780629634138383551783599764708851349004856973697965238695845994595592090709058956891451141412684505462117945026611750166928260250950770778211950432617383223562437601776799362796099368975191394965033358507155418436456852616674243688920371037495328425927131610537834980740739158633817967658425258036737206469351248652238481341663808061505704829059890696451936440018597120425723007316410009916987524260377362177763430621616744884930810929901009517974541564251204822086714586849255132444266777127863728211331536224301091824391243380214046242223349153559516890816288487989988273630445372432174280215755777967021666317047969728172483392841015642274507271779269399929740308072770395013581545142494049026536105825409373114653104943382484379718606937214444600826798002471229489405761853892203425608302697052876621377373594394224114707074072902725461307358541745691419446487624357682397065703184168467540733466346293673983620004041400714054277632480132742202685393698869787607009590048684650626771363070979821006557285101306601010780633743344773073478653881742681230743766066643312775356466578603715192922768440458273283243808212841218776132042460464900801054731426749260826922155637405486241717031027919996942645620955619816454547662045022411449404749349832206807191352767986747813458203859570413466177937228534940031631599544093684089572533438702986717829770373332806801764639502090023941931499115009105276821119510999063166150311585582835582607179410052528583611369961303442790173811787412061288182062023263849861515656451230047792967563618345768105043341769543067538041113928553792529241347339481050532025708728186307291158911335942014761872664291564036371927602306283840650425441742335464549987055318726887926424102147363698625463747159744354943443899730051742525110877357886390946812096673428152585919924857640488055071329814299359911463239919113959926752576359007446572810191805841807342227734721397723218231771716916400108826112549093361186780575722391018186168549108500885272274374212086524852372456248697662245384819298671129452945515497030585919307198497105414181636968976131126744027009648667545934567059936995464500558921628047976365686133316563907395703272034389175415267500915011198856872708848195531676931681272892143031376818016445477367518353497857924276463354162433601125960252109501612264110346083465648235597934274056868849224458745493776752120324703803035491157544831295275891939893680876327685438769557694881422844311998595700727521393176837831770339130423060958999137314684569010422095161967070506420256733873446115655276175992727151877660010238944760539789516945708802728736225121076224091810066700883474737605156285533943565843756271241244457651663064085939507947550920463932245202535463634444791755661725962187199279186575490857852950012840229035061514937310107009446151011613712423761426722541732055959202782129325725947146417224977321316381845326555279604270541871496236585252458648933254145062642337885651464670604298564781968461593663288954299780722542264790400616019751975007460545150060291806638271497016110987951336633771378434416194053121445291855180136575558667615019373029691932076120009255065081583275508499340768797252369987023567931026804136745718956641431852679054717169962990363015545645090044802789055701968328313630718997699153166679208958768572290600915472919636381673596673959975710326015571920237348580521128117458610065152598883843114511894880552129145775699146577530041384717124577965048175856395072895337539755822087777506072339445587895905719156733", iri("http://www.w3.org/2001/XMLSchema#integer"), "", "")).
12
- rdf(iri("https://eyereasoner.github.io/eyeling/examples/ackermann#ackermann_5_0"), iri("https://eyereasoner.github.io/eyeling/examples/ackermann#value"), literal("65533", iri("http://www.w3.org/2001/XMLSchema#integer"), "", "")).
@@ -1,4 +0,0 @@
1
- rdf(iri("https://eyereasoner.github.io/eyeling/examples/age#alice"), iri("https://eyereasoner.github.io/eyeling/examples/age#adult"), literal("true", iri("http://www.w3.org/2001/XMLSchema#boolean"), "", "")).
2
- rdf(iri("https://eyereasoner.github.io/eyeling/examples/age#carol"), iri("https://eyereasoner.github.io/eyeling/examples/age#adult"), literal("true", iri("http://www.w3.org/2001/XMLSchema#boolean"), "", "")).
3
- rdf(iri("https://eyereasoner.github.io/eyeling/examples/age#carol"), iri("https://eyereasoner.github.io/eyeling/examples/age#senior"), literal("true", iri("http://www.w3.org/2001/XMLSchema#boolean"), "", "")).
4
- rdf(iri("https://eyereasoner.github.io/eyeling/examples/age#carol"), iri("https://eyereasoner.github.io/eyeling/examples/age#discount"), iri("https://eyereasoner.github.io/eyeling/examples/age#seniorPass")).
@@ -1 +0,0 @@
1
- rdf(iri("https://eyereasoner.github.io/ns#alice"), iri("https://schema.org/name"), literal("Alice", iri("http://www.w3.org/2001/XMLSchema#string"), "", "")).