The embodiment of the invention provides an automatic question and answer method and system. The method comprises the following steps of obtaining querying information of a user; querying a scene associated query result according to the querying information and question and answer pair data of at least one knowledge scene, and returning to the user, wherein the knowledge scene question and answer pair data comprise at least one question and answer pair, and the question and answer pairs are provided with a set association relationship. According to the technical scheme of the embodiment of the invention, various question and answer pairs are organized in the form of a knowledge scene, and the association relationship of the question and answer pairs is established; therefore, when the user queries, the user can obtain the query result associated with the scene, and can obtain abundant and flexible results by utilizing the association relationship among the question and answer pairs, so that the problem that the question and answer result is single is avoided.