Knowledge graph updating method and device, storage medium and electronic device
A technology of knowledge graph and update method, which is applied in the field of storage media and electronic devices, knowledge graph update, and can solve problems such as knowledge graph redundancy and errors
Active Publication Date: 2020-03-24
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 0 Cited by
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
At this time, if the same triples or triples that need to be updated already exist in the knowledge graph, it will lead to redundancy and errors in the knowledge graph
[0003] Aiming at the problem that directly adding the triples extracted from the text to the knowledge map in the existing technology will lead to redundancy and errors in the knowledge map, no effective solution has been proposed yet
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 moreImage
Smart Image Click on the blue labels to locate them in the text.
Smart ImageViewing Examples
Examples
Experimental program
Comparison scheme
Effect test
example 1
[0123] Example 1: A is (Faye Wong, ex-husband, Li Yapeng), B is (Faye Wong, spouse, Li Yapeng)
example 2
[0124] Example 2: A is (Zhang Wenping, wife, Li Yuanyuan), B is (Zhang Wenping, spouse, Li Yuanyuan).
[0125] The equivalent triples in Example 2 are identified and not added to the knowledge map. Only consider Example 1 as a case of real property name conflicts.
[0126] b. Attribute value conflict: e=e', r=r', p! =p'
[0127] Attribute value conflicts are when the subject and attribute are the same, but the object is different.
[0128] Example: A is (Faye Wong, spouse, Li Yapeng), and B is (Faye Wong, spouse, Dou Wei).
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
Login to View More Abstract
The invention discloses a knowledge graph updating method and device, a storage medium and an electronic device, and relates to a natural language processing technology in the field of artificial intelligence. The method comprises the steps that a first triad in a to-be-processed text is acquired, and the first triad comprises a first subject, a first attribute and a first attribute value; a second triad in which the first triad conflicts is searched in a predetermined knowledge graph, wherein the second triad comprises a second subject, a second attribute and a second attribute value; under the condition that the second triad conflicting with the first triad is found, whether the first triad is added into the knowledge graph or not is determined according to the conflict type of the conflict between the second triad and the first triad. According to the method and the device, the technical problem of redundancy and errors of the knowledge graph due to the fact that the triples extracted from the text are directly added into the knowledge graph is solved.
Description
technical field [0001] The present invention relates to the technical field of data processing, in particular, to a method and device for updating a knowledge map, a storage medium and an electronic device. Background technique [0002] The knowledge graph is essentially a semantic network, and there are multiple nodes in the network, called entities. A triple is the smallest structural unit in a knowledge graph, and its form is: (subject, attribute, object), and it can also be expressed as (subject, attribute, attribute value). In the prior art, when supplementing the knowledge map, the triples are extracted from the text and directly added to the knowledge map. At this time, if the same triples or triples that need to be updated already exist in the knowledge graph, it will lead to redundancy and errors in the knowledge graph. [0003] Aiming at the problem that directly adding the triples extracted from the text to the knowledge map in the prior art will lead to redunda...
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
Login to View More IPC IPC(8): G06F16/36G06F16/33G06F16/38
CPCG06F16/367G06F16/3331G06F16/38
Inventor 王安然
Owner TENCENT TECH (SHENZHEN) CO LTD



