Did you know ... Search Documentation:
SWI-Prolog owl logoAn overview of hook predicates