The application relates to an intelligent question and answer method and
system based on
a domain knowledge graph, and belongs to the technical field of computer
natural language processing. The method first constructs a basic
database, inputs a user question, uses a rule-based
template matching method to process the question, and then processes the question. The question and answer
system constructs a corresponding Cypher
query statement based on question and answer information to query the answer in the
database, and further processes the answer, and returns the answer according to the question type. The
system comprises a template module and a deep module. The application provides good support for training of a
knowledge graph-based question and answer model, saves sub-task time, improves the
correctness of the sub-task, eliminates the influence of professional field knowledge on relationship recognition, strengthens the
bidirectional communication and modeling between the
knowledge base and the question, improves the accuracy and response speed of the system, reduces the maintenance and updating cost, guarantees the accuracy of the question and answer model, and guarantees the
interpretability of the model.