Well, the classic logic programming language is Prolog, so learning it would be a good start. Here is something fairly lightweight on the subject:
http://www.amzi.com/AdventureInProlog/advtop.php
There was a great PDF that explained how unification and substitution of symbols worked in a concise and readable fashion, but I can't find it right now. Hm, maybe this one:
http://www.cs.ubbcluj.ro/~gabis/plf/Doc/SWI-Prolog/AnIntrodu...