Following is a demo of the Imaginary Friends program, presented as the output when you query solve.
| ?- solve. The author is joanne and their imaginary friend is moose and the adventure it went on was on a circus. The author is lou and their imaginary friend is grizzly_bear and the adventure it went on was on a train. The author is ralph and their imaginary friend is seal and the adventure it went on was on a rock_band. The author is winnie and their imaginary friend is zebra and the adventure it went on was on a spaceship.