Closed damianoazzolini closed 1 year ago
The bias file is incorrect. It should be:
head_pred(penguin,1).
body_pred(bird, 1).
body_pred(can, 2).
type(penguin,(bird,)).
type(bird,(bird,)).
type(can,(bird,ability)).
Also, this version of Popper does not support constants in induced rules, so you would need to define these background relations:
can_fly(alice).
can_swim(Betty).
and add can_fly and can_swim to the bias file
Hi, I'm testing a simple program, but, as the title says, I get an index out of range error. These are my files, stored in a folder called
test
:bk.pl
exs.pl
bias.pl
Here the command I run