Did you know ... Search Documentation:
SWI-Prolog owl logoPredicate with_output_to/2