Gravar-mail: Supporting temporal queries on clinical relational databases: the S-WATCH-QL language.