Following is a demo of the ? program.
?- 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