Examples from the book Paradigms of Artificial Intelligence Programming