# US 2023/0409637 A1 · Method and system of building knowledge graph and method and system of conversing news event

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0409637 A1
- Document ID: US20230409637A1
- Status: Published application
- Kind: A1
- Application number: 17/836,647
- Filed: 2022-06-09
- Published: 2023-12-21
- Earliest claimed: 2022-05-25
- Assignees: National Cheng Kung University
- Applicants: National Cheng Kung University
- Inventors: Wen-Hsiang LU; Cheng-Wei LIN; Bo Yang HUANG; Chia-Ming TUNG
- Web page: https://patentgrep.com/patent/US20230409637A1

## CPC

- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06F 16/90332: {Natural language query formulation or dialogue systems}
- G06F 16/9038: Presentation of query results
- G06F 16/906: Clustering; Classification
- G06F 16/93: Document management systems
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of building a knowledge graph, performed by a processing device, includes: classifying news articles to a main event associated with sub events, using the main event as a first node of the knowledge graph, using the sub events as second nodes of the knowledge graph respectively, connecting the second nodes to the first node, extracting event summaries from the news articles respectively according to a template, using the event summaries as third nodes of the knowledge graph respectively, and connecting each of the third nodes to one of the second nodes according to association between the event summaries and the sub events, extracting commenter identities from the event summaries, and using the commenter identities as fourth nodes of the knowledge graph, and connecting each of the fourth nodes to one of the third nodes.

## Claims

### Claim 1

A method of building a knowledge graph, performed by a processing device, comprising:
classifying a plurality of news articles to a main event, with the main event associated with a plurality of sub events;
using the main event as a first node of the knowledge graph;
using the sub events as a plurality of second nodes of the knowledge graph respectively;
connecting the second nodes to the first node;
extracting a plurality of event summaries from the news articles respectively according to a template;
using the event summaries as a plurality of third nodes of the knowledge graph respectively, and connecting each of the third nodes to one of the second nodes according to association between the event summaries and the sub events;
extracting a plurality of commenter identities from the event summaries; and
using the commenter identities as a plurality of fourth nodes of the knowledge graph, and connecting each of the fourth nodes to one of the third nodes.

### Claim 2 (depends on 1)

The method of building knowledge graph according to claim 1, wherein extracting the commenter identities from the event summaries comprises:
extracting a plurality of commenter names from the event summaries;
searching for a plurality of commenter professions of the commenter names from a domain specific database based on the commenter names;
assigning a plurality of weights to the commenter names respectively according to a plurality of connections between the commenter professions and the main event, wherein the connections and the weights have a positive correlation therebetween; and
composing one of the commenter identities with one of the commenter names and a corresponding weight of the weights.

### Claim 3 (depends on 2)

The method of building knowledge graph according to claim 2, wherein extracting the commenter identities from the event summaries further comprises:
extracting a plurality of pieces of commenting time and a plurality of news website addresses from the event summaries; and
composing one of the commenter identities with one of the commenter names, corresponding commenting time of the pieces of commenting time, and a corresponding news website address of the news website addresses.

### Claim 4 (depends on 1)

A method of conversing a news event, performed by a processing device, comprising:
parsing a user question to obtain a target question;
determining a target event knowledge graph matching the target question from a plurality of news knowledge graphs generated from the method of building knowledge graph according to claim 1;
determining a target sub event matching the target question from the sub events of the target event knowledge graph;
using the event summary connecting the target sub event as a target summary; and
outputting a complete answer according to the target summary and one or more commenter identities corresponding to the target summary from the commenter identities.

### Claim 5 (depends on 4)

The method of conversing news event according to claim 4, wherein the target summary is a plurality of target summaries, and outputting the complete answer according to the target summary and one or more commenter identities corresponding to the target summary from the commenter identities comprises:
sorting the target summaries according to weights corresponding to the commenter identities respectively connecting the target summaries;
generating a plurality of sub answers according to the commenter identities and each of the corresponding target summaries; and
sorting the sub answers according to a sorting result of the target summaries as the complete answer.

### Claim 6 (depends on 2)

A method of conversing a news event, performed by a processing device, comprising:
parsing a user question to obtain a target question;
determining a target event knowledge graph matching the target question from a plurality of news knowledge graphs generated from the method of building knowledge graph according to claim 2;
determining a target sub event matching the target question from the sub events of the target event knowledge graph;
using the event summary connecting the target sub event as a target summary; and
outputting a complete answer according to the target summary and one or more commenter identities corresponding to the target summary from the commenter identities.

### Claim 7 (depends on 6)

The method of conversing news event according to claim 6, wherein the target summary is a plurality of target summaries, and outputting the complete answer according to the target summary and one or more commenter identities corresponding to the target summary from the commenter identities comprises:
sorting the target summaries according to the weights corresponding to the commenter identities respectively connecting the target summaries;
generating a plurality of sub answers according to the commenter identities and each of the corresponding target summaries; and
sorting the sub answers according to a sorting result of the target summaries as the complete answer.

### Claim 8 (depends on 3)

A method of conversing a news event, performed by a processing device, comprising:
parsing a user question to obtain a target question;
determining a target event knowledge graph matching the target question from a plurality of news knowledge graphs generated from the method of building knowledge graph according to claim 3;
determining a target sub event matching the target question from the sub events of the target event knowledge graph;
using the event summary connecting the target sub event as a target summary; and
outputting a complete answer according to the target summary and one or more commenter identities corresponding to the target summary from the commenter identities.

### Claim 9 (depends on 8)

The method of conversing news event according to claim 8, wherein the target summary is a plurality of target summaries, and outputting the complete answer according to the target summary and one or more commenter identities corresponding to the target summary from the commenter identities comprises:
sorting the target summaries according to the weights corresponding to the commenter identities respectively connecting the target summaries;
generating a plurality of sub answers according to the commenter identities and each of the corresponding target summaries; and
sorting the sub answers according to a sorting result of the target summaries as the complete answer.

### Claim 10

A system of building a knowledge graph, comprising:
a memory storing a main event and a plurality of sub events, with the main event being associated with a plurality of sub events; and
a processing device connected to the memory, wherein the processing device is configured to perform:
classifying a plurality of news articles to the main event;
using the main event as a first node of the knowledge graph;
using the sub events as a plurality of second nodes of the knowledge graph respectively;
connecting the second nodes to the first node;
extracting a plurality of event summaries from the news articles respectively according to a template;
using the event summaries as a plurality of third nodes of the knowledge graph respectively, and connecting each of the third nodes to one of the second nodes according to association between the event summaries and the sub events;
extracting a plurality of commenter identities from the event summaries; and
using the commenter identities as a plurality of fourth nodes of the knowledge graph, and connecting each of the fourth nodes to one of the third nodes.

### Claim 11 (depends on 10)

The system of building knowledge graph according to claim 10, wherein the processing device is connected to a domain specific database, and the processing device configured to perform extracting the commenter identities from the event summaries comprises:
extracting a plurality of commenter names from the event summaries;
searching for a plurality of commenter professions of the commenter names from a domain specific database based on the commenter names;
assigning a plurality of weights to the commenter names respectively according to a number of connections between the commenter professions and the main event, wherein the connections and the weights have a positive correlation therebetween; and
composing one of the commenter identities with one of the commenter names and a corresponding weight of the weights.

### Claim 12 (depends on 11)

The system of building knowledge graph according to claim 11, wherein the processing device configured to perform extracting the commenter identities from the event summaries further comprises:
extracting a plurality of pieces of commenting time and a plurality of news website addresses from the event summaries; and
composing one of the commenter identities with one of the commenter names, corresponding commenting time of the pieces of commenting time, and a corresponding news website address of the news website addresses.

### Claim 13 (depends on 1)

A system of conversing a news event, comprising:
a user interface configured to receive a user question;
a memory storing a plurality of news event knowledge graphs generated from the method of building knowledge graph according to claim 1; and
a processing device connected to the user interface and the memory, wherein the processing device is configured to perform:
parsing the user question to obtain a target question;
determining a target event knowledge graph matching the target question from the news knowledge graphs;
determining a target sub event matching the target question from the sub events of the target event knowledge graph;
using the event summary connecting the target sub event as a target summary; and
outputting a complete answer according to the target summary and one or more commenter identities corresponding to the target summary from the commenter identities.

### Claim 14 (depends on 13)

The system of conversing news event according to claim 13, wherein the target summary is a plurality of target summaries, and the processing device configured to perform outputting the complete answer according to the target summary and one or more commenter identities corresponding to the target summary from the commenter identities comprises:
sorting the target summaries according to weights corresponding to the commenter identities respectively connecting the target summaries;
generating a plurality of sub answers according to the commenter identities and each of the corresponding target summaries; and
sorting the sub answers according to a sorting result of the target summaries as the complete answer.

### Claim 15 (depends on 2)

A system of conversing a news event, comprising:
a user interface configured to receive a user question;
a memory storing a plurality of news event knowledge graphs generated from the method of building knowledge graph according to claim 2; and
a processing device connected to the user interface and the memory, wherein the processing device is configured to perform:
parsing the user question to obtain a target question;
determining a target event knowledge graph matching the target question from the news knowledge graphs;
determining a target sub event matching the target question from the sub events of the target event knowledge graph;
using the event summary connecting the target sub event as a target summary; and
outputting a complete answer according to the target summary and one or more commenter identities corresponding to the target summary from the commenter identities.

### Claim 16 (depends on 15)

The system of conversing news event according to claim 15, wherein the target summary is a plurality of target summaries, and the processing device configured to perform outputting the complete answer according to the target summary and one or more commenter identities corresponding to the target summary from the commenter identities comprises:
sorting the target summaries according to the weights corresponding to the commenter identities respectively connecting the target summaries;
generating a plurality of sub answers according to the commenter identities and each of the corresponding target summaries; and
sorting the sub answers according to a sorting result of the target summaries as the complete answer.

### Claim 17 (depends on 3)

A system of conversing a news event, comprising:
a user interface configured to receive a user question;
a memory storing a plurality of news event knowledge graphs generated from the method of building knowledge graph according to claim 3; and
a processing device connected to the user interface and the memory, wherein the processing device is configured to perform:
parsing the user question to obtain a target question;
determining a target event knowledge graph matching the target question from the news knowledge graphs;
determining a target sub event matching the target question from the sub events of the target event knowledge graph;
using the event summary connecting the target sub event as a target summary; and
outputting a complete answer according to the target summary and one or more commenter identities corresponding to the target summary from the commenter identities.

### Claim 18 (depends on 17)

The system of conversing news event according to claim 17, wherein the target summary is a plurality of target summaries, and the processing device configured to perform outputting the complete answer according to the target summary and one or more commenter identities corresponding to the target summary from the commenter identities comprises:
sorting the target summaries according to the weights corresponding to the commenter identities respectively connecting the target summaries;
generating a plurality of sub answers according to the commenter identities and each of the corresponding target summaries; and
sorting the sub answers according to a sorting result of the target summaries as the complete answer.
