Following is a demo of the Imaginary Friends program.
?- solve. joannes imaginary friend was a moose, and they went on a circus adventure. lous imaginary friend was a grizzly, and they went on a train adventure. ralphs imaginary friend was a seal, and they went on a rockband adventure. winnies imaginary friend was a zebra, and they went on a spaceship adventure. true .