Thanks. Looks like a good proper learning material for Prolog. However, I just needed to get a feel or taste of what Prolog is without spending too much time reading concepts.
Thanks for the book suggestion. Quick duckduck for it gives me this pdf:
http://www2.cs.arizona.edu/classes/cs372/spring15/Programmin...