A Hidden Markov Model Approach to Keyword-Based Search over Relational Databases