The book is ok for core Prolog, but quite old and many new features have been made available since then. Including stuff making parts of the core language obsolete.
Honestly, the language is super small. Best way to learn IMO is to go on https://swish.swi-prolog.org/ and do the examples / play with it. If you stick to it, then you can branch to other engines later (there are many systems with unique features).
The book is ok for core Prolog, but quite old and many new features have been made available since then. Including stuff making parts of the core language obsolete.
Honestly, the language is super small. Best way to learn IMO is to go on https://swish.swi-prolog.org/ and do the examples / play with it. If you stick to it, then you can branch to other engines later (there are many systems with unique features).