I lost the script from the class demonstration, but I posted some very similar Prolog examples on the Lecture Notes page.
to: "I posted some Prolog"