Query language support for Mnesia DBMS