Title: Database extensions to PROLOG (part 2)