SWI-Prolog Did You Know Did you know? SWI-Prolog supports tabling (SLG resolution) Search Documentation:
Predicate set_prolog_flag/2