Knowledge graph question-answering method based on two-stage linkage diagram attention framework
Патент · CN B
Полный текст
The invention discloses a knowledge graph question-answering method based on a two-stage linkage diagram attention framework, which comprises the following steps of S1, preprocessing and encoding a problem through an initialization layer to obtain word-level problem vectors and sentence vectors of the problem, S2, calculating semantic contribution degree of each word and fusing the semantic contribution degree into the initial problem vectors, and S3, calculating a relation score and calculating scores of tail entities by using a head entity and the relation score. The method can effectively solve the problem of insufficient understanding of the problem and the relation semantics in multi-hop pushing, and improves the reasoning performance.