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