This document contains a lecture on programming with Prolog III. It includes examples of facts and rules defining instructor and student relationships. It then shows example queries and their results. It poses sample test questions for students to check their understanding of writing predicates and rules in Prolog.