Example of integrating Django with SWI-Prolog