There is no need to create a separate rule to get the results you seek.
The query eat(human,Food). will work and is in the lower right panel.
To run the query again click the Run! button which will show the first result, Food = egg
Under the result is a set of buttons, click 10 to see the next 10 results, but since there are only two more results all the results will then be displayed.
Hi!
You can also use writeln/1, which writes a line, and fail/0, which forces Prolog to backtrack (find all solutions). nl generates a new line.
Cheers
/JC