Introduction - If you have any usage issues, please Google them yourself
prolog book (Artificial Intelligence Programming in Prolog), University of Edinburgh, UK prolog tutorial, it is online, I downloaded an e-book has become packaged (including DCG grammar (Definite Clause Grammars), is very suitable to use prolog-based learning Formal Semantics friends)