The invention discloses a construction method of a literature history question and answer
system based on a
knowledge graph, which comprises the following steps of constructing the
knowledge graph ofa literature history
vertical field by taking structural data related to Chinese literature history as a basis and combining a literature history ontology structure created from top to bottom; designing a semantic analysis framework which comprises two user
question analysis modules characterized in that one module is based on regularization and rules, and the other module is based on a neural network; organizing the results obtained through problem analysis into corresponding
SPARQL query statements, and searching the corresponding results for in the constructed
knowledge graph; organizing the result as a reply, and returning the reply to the user; designing a webpage side and a WeChat official account service as a window for interaction between the
system and a user; designing a user uses a log and feedback collection module, wherein the related data is used for iteratively training a neural
network model, and the generalization capability of the model is enhanced. According to the present invention, the
natural language query of a user can be directly processed, an accurate result is returned, and the method plays an important role in improving the
knowledge acquisition efficiency, promoting Chinese culture research and the like.