Building method and system used for knowledge obtaining model in knowledge graph

Liu Zhiyuan,Han Xu,Sun Maosong
2018-01-01
Abstract:The invention provides a building method used for a knowledge obtaining model in a knowledge graph. The method comprises the steps of constructing a first training set consisting of multiple text sentences as input data and a relationship between any two entities in each sentence in the knowledge graph, as a classification result, and training a first neural network; constructing a second trainingset consisting of triples in multiple knowledge graphs, and training a second neural network; by taking input data vectors obtained in the second neural network as attention features of the first neural network, building a relationship extraction model; by taking input data vectors obtained in the first neural network as attention features of the second neural network, building a knowledge representation model; and fusing the relationship extraction model and the knowledge representation model to obtain the knowledge obtaining model in the knowledge graph. According to the method provided bythe invention, the two task models of knowledge representation and relationship extraction are integrated at the same time, and the features of the knowledge graph and free texts can be comprehensively extracted, so that the model stability and accuracy are improved.
What problem does this paper attempt to address?