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.
- package/examples/output/age.n3 +0 -17
- package/examples/output/alignment-demo.n3 +0 -572
- package/examples/output/backward.n3 +0 -15
- package/examples/output/basic-monadic.n3 +0 -105
- package/examples/output/brussels-brew-club.n3 +0 -476
- package/examples/output/cat-koko.n3 +0 -108
- package/examples/output/cobalt-kepler-kitchen.n3 +0 -7064
- package/examples/output/complex.n3 +0 -46
- package/examples/output/control-system.n3 +0 -75
- package/examples/output/cranberry-calculus.n3 +0 -1313
- package/examples/output/crypto-builtins-tests.n3 +0 -60
- package/examples/output/deep-taxonomy-10.n3 +0 -602
- package/examples/output/deep-taxonomy-100.n3 +1 -5733
- package/examples/output/deep-taxonomy-1000.n3 +1 -57033
- package/examples/output/deep-taxonomy-10000.n3 +1 -570033
- package/examples/output/derived-backward-rule-2.n3 +0 -58
- package/examples/output/derived-backward-rule.n3 +0 -44
- package/examples/output/derived-rule.n3 +0 -42
- package/examples/output/dijkstra.n3 +0 -297
- package/examples/output/dog.n3 +0 -30
- package/examples/output/drone-corridor-planner.n3 +0 -799
- package/examples/output/easter.n3 +0 -3570
- package/examples/output/equals.n3 +0 -15
- package/examples/output/ev-roundtrip-planner.n3 +0 -392
- package/examples/output/existential-rule.n3 +0 -34
- package/examples/output/expression-eval.n3 +0 -20
- package/examples/output/family-cousins.n3 +0 -636
- package/examples/output/fibonacci.n3 +0 -36
- package/examples/output/french-cities.n3 +0 -484
- package/examples/output/good-cobbler.n3 +0 -22
- package/examples/output/gps.n3 +0 -62
- package/examples/output/gray-code-counter.n3 +0 -17
- package/examples/output/hanoi.n3 +0 -17
- package/examples/output/jade-eigen-loom.n3 +0 -4690
- package/examples/output/json-pointer.n3 +0 -529
- package/examples/output/json-reconcile-vat.n3 +0 -12882
- package/examples/output/light-eaters.n3 +0 -311
- package/examples/output/list-builtins-tests.n3 +0 -167
- package/examples/output/list-iterate.n3 +0 -124
- package/examples/output/lldm.n3 +0 -960
- package/examples/output/log-collect-all-in.n3 +0 -117
- package/examples/output/log-for-all-in.n3 +0 -27
- package/examples/output/log-not-includes.n3 +0 -59
- package/examples/output/log-skolem.n3 +0 -17
- package/examples/output/log-uri.n3 +0 -42
- package/examples/output/math-builtins-tests.n3 +0 -4434
- package/examples/output/minimal-skos-alignment.n3 +0 -39
- package/examples/output/monkey.n3 +0 -36
- package/examples/output/odrl-trust.n3 +0 -46
- package/examples/output/oslo-steps-library-scholarly.n3 +0 -1260
- package/examples/output/oslo-steps-workflow-composition.n3 +0 -180
- package/examples/output/peano.n3 +0 -23
- package/examples/output/pi.n3 +0 -17
- package/examples/output/pillar.n3 +0 -32
- package/examples/output/polygon.n3 +0 -17
- package/examples/output/rdf-list.n3 +0 -28
- package/examples/output/reordering.n3 +0 -26
- package/examples/output/ruby-runge-workshop.n3 +0 -613
- package/examples/output/rule-matching.n3 +0 -26
- package/examples/output/saffron-slopeworks.n3 +0 -1447
- package/examples/output/self-referential.n3 +0 -81
- package/examples/output/similar.n3 +0 -15
- package/examples/output/snaf.n3 +0 -23
- package/examples/output/socrates.n3 +0 -21
- package/examples/output/spectral-week.n3 +0 -350
- package/examples/output/string-builtins-tests.n3 +0 -240
- package/examples/output/topaz-markov-mill.n3 +0 -4178
- package/examples/output/traffic-skos-aggregate.n3 +0 -3151
- package/examples/output/turing.n3 +0 -36
- package/examples/output/ultramarine-simpson-forge.n3 +0 -3873
- package/examples/output/witch.n3 +0 -107
- package/examples/output/zebra.n3 +0 -111
- package/eyeling.js +97 -18
- package/package.json +1 -1
- package/test/examples.test.js +1 -1
|
@@ -1,44 +1,8 @@
|
|
|
1
1
|
@prefix : <http://example.org/#> .
|
|
2
2
|
|
|
3
|
-
# ----------------------------------------------------------------------
|
|
4
|
-
# Proof for derived triple:
|
|
5
|
-
# :test :is {
|
|
6
|
-
# (1 0 1 0 0 1) :compute (1 0 1 0 1 0 "#") .
|
|
7
|
-
# (1 0 1 1 1 1) :compute (1 1 0 0 0 0 "#") .
|
|
8
|
-
# (1 1 1 1 1 1) :compute (1 0 0 0 0 0 0 "#") .
|
|
9
|
-
# () :compute (1 "#") .
|
|
10
|
-
# } .
|
|
11
|
-
# It holds because the following instance of the rule body is provable:
|
|
12
|
-
# (1 0 1 0 0 1) :compute (1 0 1 0 1 0 "#") .
|
|
13
|
-
# (1 0 1 1 1 1) :compute (1 1 0 0 0 0 "#") .
|
|
14
|
-
# (1 1 1 1 1 1) :compute (1 0 0 0 0 0 0 "#") .
|
|
15
|
-
# () :compute (1 "#") .
|
|
16
|
-
# via the schematic forward rule:
|
|
17
|
-
# {
|
|
18
|
-
# (1 0 1 0 0 1) :compute ?A1 .
|
|
19
|
-
# (1 0 1 1 1 1) :compute ?A2 .
|
|
20
|
-
# (1 1 1 1 1 1) :compute ?A3 .
|
|
21
|
-
# () :compute ?A4 .
|
|
22
|
-
# } => {
|
|
23
|
-
# :test :is {
|
|
24
|
-
# (1 0 1 0 0 1) :compute ?A1 .
|
|
25
|
-
# (1 0 1 1 1 1) :compute ?A2 .
|
|
26
|
-
# (1 1 1 1 1 1) :compute ?A3 .
|
|
27
|
-
# () :compute ?A4 .
|
|
28
|
-
# } .
|
|
29
|
-
# } .
|
|
30
|
-
# with substitution (on rule variables):
|
|
31
|
-
# ?A1 = (1 0 1 0 1 0 "#")
|
|
32
|
-
# ?A2 = (1 1 0 0 0 0 "#")
|
|
33
|
-
# ?A3 = (1 0 0 0 0 0 0 "#")
|
|
34
|
-
# ?A4 = (1 "#")
|
|
35
|
-
# Therefore the derived triple above is entailed by the rules and facts.
|
|
36
|
-
# ----------------------------------------------------------------------
|
|
37
|
-
|
|
38
3
|
:test :is {
|
|
39
4
|
(1 0 1 0 0 1) :compute (1 0 1 0 1 0 "#") .
|
|
40
5
|
(1 0 1 1 1 1) :compute (1 1 0 0 0 0 "#") .
|
|
41
6
|
(1 1 1 1 1 1) :compute (1 0 0 0 0 0 0 "#") .
|
|
42
7
|
() :compute (1 "#") .
|
|
43
8
|
} .
|
|
44
|
-
|