The following solution to one of the tasks is written as a text file preusss.pl; the entire database is printed out with the command:
sicstus -l preuss.pl