This lecture will take a closer look at the syntax and meaning of prolog programs. Bratko, chapter 2, gives more details.