Check patentability & draft patents in minutes with Patsnap Eureka AI!

Complex question answering method and device based on knowledge graph and storage medium

A technology of knowledge graphs and questions, applied in devices and storage media, in the field of complex question answering methods based on knowledge graphs, can solve problems such as no semantic information matching of questions, inflexibility, and inability to query map correspondence, etc., to achieve The effect of improving the accuracy of answers and narrowing the range of answers

Pending Publication Date: 2021-10-01
四川启睿克科技有限公司
View PDF11 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

CN111611806A proposes a semantic analysis method for knowledge graph question answering. In this method, different parts of the question sentence are converted into different data nodes through a pre-built dictionary, and then converted into a query graph according to artificially defined rules. The method directly matches through the dictionary, does not make full use of the specific information of the knowledge graph, and is not flexible
CN110111766A proposes a knowledge map common sense question answering method based on staged query. In this method, the entity, constraint conditions and question structure of the question are identified through models of different stages. Although the unity of the overall structure is satisfied, But it does not match the semantic information of the question sentence with the parts of the query graph
[0005] 1. The existing method directly matches the relationship between the question sentence and the knowledge map, without using other information of the knowledge map, resulting in inaccurate matching
[0006] 2. When the existing method sorts candidate query graphs, it is necessary to manually define many features, convert the query graph into a feature vector and then sort through the model, and the ranking model is only for the characteristics of the query graph, and cannot match the query graph with the specific problem. one-to-one correspondence
[0007] 3. In the process of constraint identification, some methods convert different constraint items into the same feature vector, and the model cannot recognize these different constraint items

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Complex question answering method and device based on knowledge graph and storage medium
  • Complex question answering method and device based on knowledge graph and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] see figure 1 , the present invention discloses a method for answering complex questions based on knowledge graphs, which is mainly used in the field of question and answering of knowledge graphs for complex questions, and answers complex questions by identifying subject entities, matching key paths, and screening appropriate constraints. Specific implementation steps as follows:

[0055] Step s1: Perform entity recognition and entity linking on the input question sentence.

[0056] Further said step s1 comprises:

[0057] Step s11: Identify the entity expression in the question sentence through the entity recognition model, and link it with the entity in the knowledge graph to obtain the entity set; the entity recognition model includes a bidirectional recurrent neural network (Bi-LSTM), conditional random field (CRF) Wait.

[0058] Step s2: Obtain candidate key paths and knowledge graph information according to the subject entity of the question.

[0059] Further s...

Embodiment 2

[0081] see figure 2 , the present invention also discloses a complex question answering device based on a knowledge map, including:

[0082] The entity linking module is used for entity recognition and entity linking of input questions.

[0083] The candidate key path and information extraction module is used to obtain the candidate key path and knowledge map information according to the subject entity of the question sentence.

[0084] The key path matching model module is used to construct a candidate key path matching model and identify the key path of the question.

[0085] The constraint item screening module is used to identify corresponding candidate constraint conditions according to the selected critical path; and select the appropriate constraint condition according to the constraint condition screening model;

[0086] The answer retrieval module is used to generate the query graph of the question according to the key path and constraints, and retrieve the answer ...

Embodiment 3

[0096] The present invention also discloses a storage medium, on which a computer program is stored, and the computer program is used to implement the method for answering complex questions based on knowledge graphs described in Embodiment 1.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a complex question answering method and device based on a knowledge graph, and a storage medium. The method comprises the following steps of performing entity recognition and entity linking on an input question, obtaining a candidate key path and knowledge graph information according to the subject entity of the question, constructing a candidate critical path matching model, identifying a critical path of the question, and identifying candidate constraint conditions corresponding to the selected critical path, constructing a constraint condition screening model, and selecting a proper constraint condition, and generating a query graph of the question sentences in combination with the key paths and the constraint conditions, and retrieving answers in the knowledge graph. According to the method, all aspects of information of the knowledge graph can be fully utilized, key semantic information of complex questions can be extracted, matching of the semantic information of the questions and the knowledge graph is achieved, and the accuracy of the answers is improved by automatically screening constraint conditions, narrowing the answer range and positioning question points of the questions.

Description

technical field [0001] The present invention relates to the technical field of natural language understanding, in particular to a complex question answering method, device and storage medium based on knowledge graphs. Background technique [0002] In recent years, intelligent question-answering robots have gradually become one of the important research directions of many large companies, such as Microsoft Xiaoice, Ali Xiaomi, etc. As an important part of knowledge graph-based question-answering, it has attracted extensive attention from academia and industry. And in many directions such as the financial field, medical field, education field, etc., it is applied in the form of customer service and search engines. In actual application scenarios, users will face complex scenarios. These complex problems are also a technical difficulty that the current question answering system needs to solve. [0003] In related technologies, the mainstream methods are divided into two catego...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/332G06F16/33G06F16/36G06F40/194G06F40/30G06N3/04G06N3/08G06N7/00
CPCG06F16/3329G06F16/3344G06F16/367G06F40/194G06F40/30G06N3/08G06N7/01G06N3/044G06N3/045Y02T10/40
Inventor 骆敏展华益王欣司成良
Owner 四川启睿克科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More