QA system based on knowledge-base