Following is a demo of the Imaginary Friends program.
?- % c:/Users/tjw89/COG366WorkSite/prolog/imaginary_friends.pl compiled 0.00 sec, 17 clauses ?- solve. The child named joanne was friends with a moose and went on an adventure to a circus. The child named lou was friends with a grizzly_Bear and went on an adventure to a train. The child named ralph was friends with a seal and went on an adventure to a rock_band. The child named winnie was friends with a zebra and went on an adventure to a spaceship. true