Did you know ... Search Documentation:
SWI-Prolog owl logoAvoid setof/3 and bagof/3