Prolog Examples

Various Prolog example programs are listed (and the introduction also contains programming examples).
House of Windsor.
Solar system database.
Aunts and Uncles, rules and relations.
Linked lists and list manipulation.
Symbolic differentiation.
Tree data structures and tree traversal algorithms.
Monty Python and "logic".
 
The examples can be run using the Prolog interpreter.



— see Monty Python's [Search for the Holy Grail], with the witch.