How to think of the Cartesian product (such as a relation A x B x C) in terms of programming or software development, to make it more intuitive - Quora
Cs774 (Prasad)L4ListProcessing1 List processing in Prolog - ppt download
A Review of Relational Databases and Prolog
All Combinations Equal to a Sum in Perl and Prolog