A large amount of the world’s data is stored in relational databases and knowledge graphs. One has to either learn programming languages like Structured Query Language (SQL) or reply on canned query forms to query data, even for very simple queries. SQL is the most commonly used interface for accessing relational databases. However, it requires users to acquire good understanding of such query languages and their running environment, which could take a large amount of training time and is not economical for users who query databases occasionally. In this talk, I will give an introduction on the research progress that has been achieved in this area and discuss our efforts in building NLI2Data to ease query preparation.