Linking an Environmental Expert System with a DBMS