Tabling: First Blood

Quick guess.

Tabling has been being added over the last several releases and you are not up to the latest which is SWI-Prolog 8.1.19