Thanks for the clarifications. I learned Prolog over a few weeks for a class I took a year ago. It left a favorable impression on me.
With respect to answering "multiple questions/queries", is it fair to draw a parallel with SQL?
With respect to answering "multiple questions/queries", is it fair to draw a parallel with SQL?
Simpsons = ['bart', 'lisa', 'homer'], member(X, Simpsons)?
will do a for each over the list, with X bound to each character.
and the same member definition can also be used to answer Simpsons = ['bart', 'lisa', 'homer'], member('brian griffin', Simpsons)?