Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
josd committed Apr 22, 2023
1 parent 3809f9f commit 4f957ce
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
1 change: 1 addition & 0 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
EYE release

v3.21.1 (2023-04-23) fixing https://github.com/eyereasoner/Notation3-By-Example/blob/main/log/blogic/contradiction5:FAIL.n3
v3.21.0 (2023-04-22) treating graffiti as scratches
v3.20.10 (2023-04-20) fixing --pass-only-new (obs from William Van Woensel)
v3.20.9 (2023-04-20) fixing issue with blogic create contrapositive
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.21.0
3.21.1
17 changes: 13 additions & 4 deletions eye.pl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
:- catch(use_module(library(pcre)), _, true).
:- catch(use_module(library(http/http_open)), _, true).

version_info('EYE v3.21.0 (2023-04-22)').
version_info('EYE v3.21.1 (2023-04-23)').

license_info('MIT License

Expand Down Expand Up @@ -738,7 +738,11 @@
is_list(V),
makevars(G, H, beta(V)),
catch(call(H), _, false),
'<http://www.w3.org/2000/10/swap/log#onNegativeSurface>'(_, H)
( H = '<http://www.w3.org/2000/10/swap/log#onNegativeSurface>'(_, C)
-> I = '<http://www.w3.org/2000/10/swap/log#onNegativeSurface>'(_, C)
; I = H
),
'<http://www.w3.org/2000/10/swap/log#onNegativeSurface>'(_, I)
), false, '<>')),
% simplify positive surface
assertz(implies(('<http://www.w3.org/2000/10/swap/log#onNegativeSurface>'(V, G),
Expand Down Expand Up @@ -4781,13 +4785,17 @@
),
( select(makevars(_, _, _), Lst1, Lst2)
-> true
; Lst2 = Lst
; Lst2 = Lst1
),
( select(catch(call(Call), _, _), Lst2, Lst3)
-> Lst4 = [Call|Lst3]
; Lst4 = Lst2
),
conj_list(Prem2, Lst4)
( select((_ -> _ ; _), Lst4, Lst5)
-> true
; Lst5 = Lst4
),
conj_list(Prem2, Lst5)
; Prem2 = Prem
),
( flag('n3p-output')
Expand Down Expand Up @@ -10583,6 +10591,7 @@
nb_getval(scope, A).

domain(A, true, B) :-
'<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>'(_, _),
!,
findall('<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>'(C, _),
( member(C, A)
Expand Down
Binary file modified eye.zip
Binary file not shown.

0 comments on commit 4f957ce

Please sign in to comment.