Using semantic structure of the data and knowledge in question answering systems