I got recommended and have in my bookshelf "The art of prolog" waiting for the year when I have time (or need) for it.