Did you know? don't use format to print errorsSearch Documentation:
SWI-Prolog owl logoPredicate consult/1