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.
- package/README.md +8 -19
- 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 +129 -25
- package/index.js +13 -6
- package/package.json +1 -1
- package/test/examples.test.js +1 -1
|
@@ -2,44 +2,5 @@
|
|
|
2
2
|
@prefix ex: <http://example.org/> .
|
|
3
3
|
@prefix ref: <http://example.org/ref/> .
|
|
4
4
|
|
|
5
|
-
# ----------------------------------------------------------------------
|
|
6
|
-
# Proof for derived triple:
|
|
7
|
-
# anpr:VehicleWithPlate ex:treatedAs ref:Car .
|
|
8
|
-
# It holds because the following instance of the rule body is provable:
|
|
9
|
-
# anpr:VehicleWithPlate skos:broadMatch ref:Car .
|
|
10
|
-
# via the schematic forward rule:
|
|
11
|
-
# {
|
|
12
|
-
# ?a skos:broadMatch ?b .
|
|
13
|
-
# } => {
|
|
14
|
-
# ?a ex:treatedAs ?b .
|
|
15
|
-
# } .
|
|
16
|
-
# with substitution (on rule variables):
|
|
17
|
-
# ?a = anpr:VehicleWithPlate
|
|
18
|
-
# ?b = ref:Car
|
|
19
|
-
# Therefore the derived triple above is entailed by the rules and facts.
|
|
20
|
-
# ----------------------------------------------------------------------
|
|
21
|
-
|
|
22
5
|
anpr:VehicleWithPlate ex:treatedAs ref:Car .
|
|
23
|
-
|
|
24
|
-
# ----------------------------------------------------------------------
|
|
25
|
-
# Proof for derived triple:
|
|
26
|
-
# anpr:PassengerCar ex:treatedAs ref:Car .
|
|
27
|
-
# It holds because the following instance of the rule body is provable:
|
|
28
|
-
# anpr:PassengerCar skos:broader anpr:VehicleWithPlate .
|
|
29
|
-
# anpr:VehicleWithPlate ex:treatedAs ref:Car .
|
|
30
|
-
# via the schematic forward rule:
|
|
31
|
-
# {
|
|
32
|
-
# ?x skos:broader ?y .
|
|
33
|
-
# ?y ex:treatedAs ?z .
|
|
34
|
-
# } => {
|
|
35
|
-
# ?x ex:treatedAs ?z .
|
|
36
|
-
# } .
|
|
37
|
-
# with substitution (on rule variables):
|
|
38
|
-
# ?x = anpr:PassengerCar
|
|
39
|
-
# ?y = anpr:VehicleWithPlate
|
|
40
|
-
# ?z = ref:Car
|
|
41
|
-
# Therefore the derived triple above is entailed by the rules and facts.
|
|
42
|
-
# ----------------------------------------------------------------------
|
|
43
|
-
|
|
44
6
|
anpr:PassengerCar ex:treatedAs ref:Car .
|
|
45
|
-
|
|
@@ -1,40 +1,4 @@
|
|
|
1
1
|
@prefix : <https://eyereasoner.github.io/ns#> .
|
|
2
2
|
|
|
3
|
-
# ----------------------------------------------------------------------
|
|
4
|
-
# Proof for derived triple:
|
|
5
|
-
# _:b1 a :Animal .
|
|
6
|
-
# It holds because the following instance of the rule body is provable:
|
|
7
|
-
# _:b1 a :Monkey .
|
|
8
|
-
# via the schematic forward rule:
|
|
9
|
-
# {
|
|
10
|
-
# ?X a :Monkey .
|
|
11
|
-
# } => {
|
|
12
|
-
# ?X a :Animal .
|
|
13
|
-
# } .
|
|
14
|
-
# with substitution (on rule variables):
|
|
15
|
-
# ?X = _:b1
|
|
16
|
-
# Therefore the derived triple above is entailed by the rules and facts.
|
|
17
|
-
# ----------------------------------------------------------------------
|
|
18
|
-
|
|
19
3
|
_:b1 a :Animal .
|
|
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
|
-
# _:b1 a :Monkey .
|
|
26
|
-
# _:b1 a :Animal .
|
|
27
|
-
# via the schematic forward rule:
|
|
28
|
-
# {
|
|
29
|
-
# ?X a :Monkey .
|
|
30
|
-
# ?X a :Animal .
|
|
31
|
-
# } => {
|
|
32
|
-
# :test :is true .
|
|
33
|
-
# } .
|
|
34
|
-
# with substitution (on rule variables):
|
|
35
|
-
# ?X = _:b1
|
|
36
|
-
# Therefore the derived triple above is entailed by the rules and facts.
|
|
37
|
-
# ----------------------------------------------------------------------
|
|
38
|
-
|
|
39
4
|
:test :is true .
|
|
40
|
-
|
|
@@ -1,51 +1,5 @@
|
|
|
1
1
|
@prefix : <http://example.org/odrl-trust#> .
|
|
2
2
|
@prefix odrl: <http://www.w3.org/ns/odrl/2/> .
|
|
3
3
|
|
|
4
|
-
# ----------------------------------------------------------------------
|
|
5
|
-
# Proof for derived triple:
|
|
6
|
-
# :req1 :decision odrl:permit .
|
|
7
|
-
# It holds because the following instance of the rule body is provable:
|
|
8
|
-
# (:req1 odrl:permit 0.95) :cand true .
|
|
9
|
-
# (:req1 odrl:prohibit 0.70) :cand true .
|
|
10
|
-
# (0.95 0.70) math:greaterThan true .
|
|
11
|
-
# via the schematic forward rule:
|
|
12
|
-
# {
|
|
13
|
-
# (:req1 odrl:permit ?Sp) :cand true .
|
|
14
|
-
# (:req1 odrl:prohibit ?Sd) :cand true .
|
|
15
|
-
# (?Sp ?Sd) math:greaterThan true .
|
|
16
|
-
# } => {
|
|
17
|
-
# :req1 :decision odrl:permit .
|
|
18
|
-
# :req1 :confidence ?Sp .
|
|
19
|
-
# } .
|
|
20
|
-
# with substitution (on rule variables):
|
|
21
|
-
# ?Sd = 0.70
|
|
22
|
-
# ?Sp = 0.95
|
|
23
|
-
# Therefore the derived triple above is entailed by the rules and facts.
|
|
24
|
-
# ----------------------------------------------------------------------
|
|
25
|
-
|
|
26
4
|
:req1 :decision odrl:permit .
|
|
27
|
-
|
|
28
|
-
# ----------------------------------------------------------------------
|
|
29
|
-
# Proof for derived triple:
|
|
30
|
-
# :req1 :confidence 0.95 .
|
|
31
|
-
# It holds because the following instance of the rule body is provable:
|
|
32
|
-
# (:req1 odrl:permit 0.95) :cand true .
|
|
33
|
-
# (:req1 odrl:prohibit 0.70) :cand true .
|
|
34
|
-
# (0.95 0.70) math:greaterThan true .
|
|
35
|
-
# via the schematic forward rule:
|
|
36
|
-
# {
|
|
37
|
-
# (:req1 odrl:permit ?Sp) :cand true .
|
|
38
|
-
# (:req1 odrl:prohibit ?Sd) :cand true .
|
|
39
|
-
# (?Sp ?Sd) math:greaterThan true .
|
|
40
|
-
# } => {
|
|
41
|
-
# :req1 :decision odrl:permit .
|
|
42
|
-
# :req1 :confidence ?Sp .
|
|
43
|
-
# } .
|
|
44
|
-
# with substitution (on rule variables):
|
|
45
|
-
# ?Sd = 0.70
|
|
46
|
-
# ?Sp = 0.95
|
|
47
|
-
# Therefore the derived triple above is entailed by the rules and facts.
|
|
48
|
-
# ----------------------------------------------------------------------
|
|
49
|
-
|
|
50
5
|
:req1 :confidence 0.95 .
|
|
51
|
-
|