COG366 Demo Page

Following is a demo of the prolog_challenge1.pl program.

      phurd@phurd-X510UAR:~/Desktop/COG366WorkSite/prolog$ swipl
Welcome to SWI-Prolog (threaded, 64 bits, version 8.4.0)
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software.
Please run ?- license. for legal details.

For online help and background, visit https://www.swi-prolog.org
For built-in help, use ?- help(Topic). or ?- apropos(Word).

?- [prolog_challenge1].
true.

?- solve.
joanne told the story about moose going circus.
lou told the story about grizzly_bear going train.
ralph told the story about seal going rock_Band.
winnie told the story about zebra going spaceship.
true