Prolog is a useful database implementation language, but such an implementation should only be undertaken after the database is properly designed.