Following is a demo of the Imaginary Friends Demo program.
?- solve. joanne went to the circus with their imaginary friend moose. lou went to the train with their imaginary friend grizzly_bear. ralph went to the rock_band with their imaginary friend seal. winnie went to the spaceship with their imaginary friend zebra. true