!TITLE Programming Examples !KEY Some simple examples of Prolog programming are given below. To clearly differentiate the examples themselves, they are marked with a vertical bar in the left margin.