The rest of this chapter contains a number of simple examples of Prolog programming, illustrating some of the techniques described above.