Method and apparatus for generating knowledge graph, device and computer readable storage medium
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsYe ZHANG, Ying ZHU, Xuefei CUI, Xiaobo LIU, Chengyuan ZHAO
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure provide a method and an apparatus for generating a knowledge graph, a device, and a computer readable storage medium. The method includes: establishing a graph database based on a set of entities and relationships among the entities in given content; receiving a graph query for the given content from a user; and generating, based on the graph database, a knowledge graph of the given content by using a predefined formatted layout, the knowledge graph having a network structure.
Claims20
A method for generating a knowledge graph, comprising:
- establishing a graph database based on a set of entities and relationships among the entities in given content;
- receiving a graph query for the given content from a user;
- and
- generating, based on the graph database, a knowledge graph of the given content by using a predefined formatted layout, the knowledge graph having a network structure.
An apparatus for generating a knowledge graph, comprising:
- one or more processors,
- a memory storing one or more software modules executable by the one or more processors, wherein the one or more software modules comprises:
- an establishing module, configured to establish a graph database based on a set of entities and relationships among the entities in given content;
- a receiving module, configured to receive a graph query for the given content from a user;
- and
- a generating module, configured to generate, based on the graph database, a knowledge graph of the given content by using a predefined formatted layout, the knowledge graph having a network structure.
A computer readable storage medium, having computer programs stored thereon that, when executed by a processor, cause the processor to perform a method for generating a knowledge graph, the method comprising:
- establishing a graph database based on a set of entities and relationships among the entities in given content;
- receiving a graph query for the given content from a user;
- and
- generating, based on the graph database, a knowledge graph of the given content by using a predefined formatted layout, the knowledge graph having a network structure.
Dependencies are inferred from the claim text.