This lecture has two main goals:
To discuss database manipulation in Prolog.
To discuss inbuilt predicates that let us collect all solutions to a problem into a single list.
findall/3
bagof/3
setof/3