Skip to content

Commit f363396

Browse files
committed
reintroducing (| functor args |) functional terms
1 parent 3f4ab8c commit f363396

File tree

8 files changed

+24
-11
lines changed

8 files changed

+24
-11
lines changed

RELEASE

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
EYE release
22

3+
v11.13.0 (2025-03-25) reintroducing (| functor args |) functional terms
34
v11.12.12 (2025-03-21) adding switch --no-call-residue-vars (no check for residue vars for forward rules) to fix issue https://github.com/eyereasoner/eye/issues/145
45
v11.12.11 (2025-03-21) fixing issue https://github.com/eyereasoner/eye/issues/145
56
v11.12.10 (2025-03-19) fixing default quantify uri prefix

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
11.12.12
1+
11.13.0

eye.pl

+13-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
:- catch(use_module(library(process)), _, true).
2424
:- catch(use_module(library(http/http_open)), _, true).
2525

26-
version_info('EYE v11.12.12 (2025-03-21)').
26+
version_info('EYE v11.13.0 (2025-03-25)').
2727

2828
license_info('MIT License
2929

@@ -2224,6 +2224,11 @@
22242224
{ sort(List, Distinct)
22252225
},
22262226
['$', ')'].
2227+
pathitem(fterm(List), Triples) -->
2228+
['(', '|'],
2229+
!,
2230+
pathlist(List, Triples),
2231+
['|', ')'].
22272232
pathitem(List, Triples) -->
22282233
['('],
22292234
!,
@@ -4221,6 +4226,11 @@
42214226
write('($'),
42224227
wl(X),
42234228
write(' $)').
4229+
wt1(fterm(X)) :-
4230+
!,
4231+
write('(|'),
4232+
wl(X),
4233+
write(' |)').
42244234
wt1('$VAR'(X)) :-
42254235
!,
42264236
write('?V'),
@@ -12960,6 +12970,8 @@
1296012970
!.
1296112971
raw_type(set(_), '<http://www.w3.org/2000/10/swap/log#Set>') :-
1296212972
!.
12973+
raw_type(fterm(_), '<http://www.w3.org/2000/10/swap/log#FunctionalTerm>') :-
12974+
!.
1296312975
raw_type(A, '<http://www.w3.org/2000/10/swap/log#Formula>') :-
1296412976
functor(A, B, C),
1296512977
B \= ':',

eye.zip

59 Bytes
Binary file not shown.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
@prefix : <https://eyereasoner.github.io/ns#>.
22

3-
:joe :is (:good :Cobbler).
3+
:joe :is (| :good :Cobbler |).

reasoning/good-cobbler/cobbler-proof.n3

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
skolem:proof a r:Proof, r:Conjunction;
88
r:component skolem:lemma1;
99
r:gives {
10-
:joe :is (:good :Cobbler).
10+
:joe :is (| :good :Cobbler |).
1111
}.
1212

1313
skolem:lemma1 a r:Inference;
1414
r:gives {
15-
:joe :is (:good :Cobbler).
15+
:joe :is (| :good :Cobbler |).
1616
};
1717
r:evidence (
1818
skolem:lemma2
@@ -23,16 +23,16 @@ skolem:lemma1 a r:Inference;
2323

2424
skolem:lemma2 a r:Extraction;
2525
r:gives {
26-
:joe :is (:good :Cobbler).
26+
:joe :is (| :good :Cobbler |).
2727
};
2828
r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/good-cobbler/cobbler.n3>].
2929

3030
skolem:lemma3 a r:Extraction;
3131
r:gives {
3232
@forAll var:x_0, var:x_1. {
33-
var:x_0 :is (:good var:x_1).
33+
var:x_0 :is (| :good var:x_1 |).
3434
} => {
35-
var:x_0 :is (:good var:x_1).
35+
var:x_0 :is (| :good var:x_1 |).
3636
}.
3737
};
3838
r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/good-cobbler/cobbler-query.n3>].

reasoning/good-cobbler/cobbler-query.n3

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# is there some x which is good at some y
44
{
5-
?X :is (:good ?Y).
5+
?X :is (| :good ?Y |).
66
} => {
7-
?X :is (:good ?Y).
7+
?X :is (| :good ?Y |).
88
}.

reasoning/good-cobbler/cobbler.n3

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
@prefix : <https://eyereasoner.github.io/ns#>.
66

77
# joe is a good cobbler
8-
:joe :is (:good :Cobbler).
8+
:joe :is (| :good :Cobbler |).

0 commit comments

Comments
 (0)