Answer query method and device based on knowledge graph and electronic equipment
The invention provides an answer query method and device based on a knowledge graph and electronic equipment. The method comprises the steps of obtaining a question statement of a user side, and in the constructed knowledge graph, determining a search sub-graph containing an entity in the question s...
Gespeichert in:
Hauptverfasser: | , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides an answer query method and device based on a knowledge graph and electronic equipment. The method comprises the steps of obtaining a question statement of a user side, and in the constructed knowledge graph, determining a search sub-graph containing an entity in the question statement, and determining at least two candidate paths pointing to the candidate answers from the entity according to the search sub-graph. The candidate paths and question and answer types in the question statement are combined into feature vectors, the feature vectors are input into a preset artificial intelligence model, confidence values of the candidate paths are obtained, and the artificial intelligence model is obtained through training on the basis of sample feature vectors and labels marked with the confidence values for the sample feature vectors; the sample feature vector is obtained by combining the candidate path of the knowledge graph corresponding to the sample question statement with the question an |
---|