Did you know? about the full featured web frameworkSearch Documentation:
SWI-Prolog owl logoPredicate trace/0