Skip to content

Commit

Permalink
renaming rdfreasoning to rdflingua
Browse files Browse the repository at this point in the history
  • Loading branch information
josd committed Nov 25, 2023
1 parent 7d2d364 commit ec43f90
Show file tree
Hide file tree
Showing 83 changed files with 26 additions and 25 deletions.
1 change: 1 addition & 0 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
EYE release

v8.6.21 (2023-11-25) renaming rdfreasoning to rdflingua
v8.6.20 (2023-11-24) fixing euler abstract machine for rdfreasoning
v8.6.19 (2023-11-24) using explicit rule:vars in rdfreasoning
v8.6.18 (2023-11-23) using log:negativeTriple as backward chaining hint
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.6.20
8.6.21
44 changes: 22 additions & 22 deletions eye.pl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
:- use_module(library(pcre)).
:- catch(use_module(library(http/http_open)), _, true).

version_info('EYE v8.6.20 (2023-11-24)').
version_info('EYE v8.6.21 (2023-11-25)').

license_info('MIT License

Expand Down Expand Up @@ -418,8 +418,8 @@
; true
),
args(Args),
( flag(rdfreasoning)
-> rdfreasoning
( flag(rdflingua)
-> rdflingua
; true
),
( flag(blogic)
Expand Down Expand Up @@ -481,7 +481,7 @@
\+query(_, _),
\+flag('pass-only-new'),
\+flag(strings),
\+flag(rdfreasoning),
\+flag(rdflingua),
\+flag(blogic)
-> throw(halt(0))
; true
Expand Down Expand Up @@ -617,10 +617,10 @@
).

%
% RDF Reasoning
% RDF Lingua
%

rdfreasoning :-
rdflingua :-
% create list terms
( pred(P),
P \= '<http://www.w3.org/1999/02/22-rdf-syntax-ns#first>',
Expand Down Expand Up @@ -1460,8 +1460,8 @@
Triple =.. [Predicate, Subject, Object],
djiti_assertz(Triple),
( Predicate = '<http://eyereasoner.github.io/rule#premise>',
\+flag(rdfreasoning)
-> assertz(flag(rdfreasoning))
\+flag(rdflingua)
-> assertz(flag(rdflingua))
; true
),
( flag(intermediate, Out)
Expand Down Expand Up @@ -1522,8 +1522,8 @@
; true
),
( Rt = '<http://eyereasoner.github.io/rule#premise>'(_, _),
\+flag(rdfreasoning)
-> assertz(flag(rdfreasoning))
\+flag(rdflingua)
-> assertz(flag(rdflingua))
; true
),
( functor(Rt, F, _),
Expand Down Expand Up @@ -2594,8 +2594,8 @@
{ prolog_verb(Item, Verb),
( atomic(Verb),
Verb = '\'<http://eyereasoner.github.io/rule#premise>\'',
\+flag(rdfreasoning)
-> assertz(flag(rdfreasoning))
\+flag(rdflingua)
-> assertz(flag(rdflingua))
; true
),
( atomic(Verb),
Expand Down Expand Up @@ -4142,7 +4142,7 @@
wp('<http://eulersharp.sourceforge.net/2003/03swap/log-rules#derive>'),
write(' true').
wt0('<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>') :-
flag(rdfreasoning),
flag(rdflingua),
!,
write(a).
wt0([]) :-
Expand Down Expand Up @@ -4342,7 +4342,7 @@
write(' true')
; wt(X),
ws(X),
( flag(rdfreasoning)
( flag(rdflingua)
-> true
; write('.')
),
Expand Down Expand Up @@ -4376,7 +4376,7 @@
indentation(-4),
indent,
write(']')
; ( flag(rdfreasoning),
; ( flag(rdflingua),
is_lott([X|Y])
-> write('('),
indentation(4),
Expand Down Expand Up @@ -4653,7 +4653,7 @@
-> write('"'),
writeq(X),
write('"')
; ( flag(rdfreasoning),
; ( flag(rdflingua),
\+nb_getval(indentation, 0)
-> write('(')
; true
Expand All @@ -4663,7 +4663,7 @@
wp(P),
write(' '),
wg(O),
( flag(rdfreasoning),
( flag(rdflingua),
\+nb_getval(indentation, 0)
-> write(')')
; true
Expand All @@ -4675,7 +4675,7 @@
( atom(P)
-> X =.. [P, S, O],
wt2(X)
; ( flag(rdfreasoning),
; ( flag(rdflingua),
\+nb_getval(indentation, 0)
-> write('(')
; true
Expand All @@ -4685,7 +4685,7 @@
wg(P),
write(' '),
wg(O),
( flag(rdfreasoning),
( flag(rdflingua),
\+nb_getval(indentation, 0)
-> write(')')
; true
Expand Down Expand Up @@ -4740,7 +4740,7 @@
; F = ':-'
)
)
-> ( flag(rdfreasoning)
-> ( flag(rdflingua)
-> write('(')
; write('{')
),
Expand All @@ -4763,15 +4763,15 @@
-> true
; ( flag('no-beautified-output')
-> true
; ( flag(rdfreasoning)
; ( flag(rdflingua)
-> true
; write('.')
),
nl,
indent
)
),
( flag(rdfreasoning)
( flag(rdflingua)
-> write(')')
; write('}')
)
Expand Down
Binary file modified eye.zip
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion rdfreasoning/test → rdflingua/test
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ NORMAL="\e[0;39m"
OK=0
FAILED=0

echo -e "${YELLOW}Running eye/rdfreasoning/test${NORMAL}"
echo -e "${YELLOW}Running eye/rdflingua/test${NORMAL}"
echo ""

for dir in */
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ pushd ~/github.com/eyereasoner/eye/reasoning > /dev/null
popd > /dev/null
echo ""

pushd ~/github.com/eyereasoner/eye/rdfreasoning > /dev/null
pushd ~/github.com/eyereasoner/eye/rdflingua > /dev/null
./test
popd > /dev/null

0 comments on commit ec43f90

Please sign in to comment.