Relation extraction method and system based on knowledge map
A technology of knowledge graph and relation extraction, applied in the field of data mining, to reduce costs and improve the efficiency of relation extraction
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach
[0036] Such as figure 1 As shown, the relationship extraction method based on the knowledge map of the present application, an implementation thereof, includes the following steps:
[0037] Step 102: extract the description attribute of the entity and the shortest path set connecting the entity pair from the knowledge graph.
[0038] In one embodiment, extracting the shortest path set connecting entity pairs may specifically include:
[0039] The knowledge map is regarded as a directed graph, and the combination of the bidirectional breadth-first search algorithm and the depth-first search algorithm is used to extract the connected shortest path set between two entities.
[0040] Step 1022: Extract the shortest path set connecting entity pairs. The knowledge map is regarded as a directed graph. For the current entity pair, the bidirectional breadth-first search algorithm is used to confirm the shortest path length between entity pairs, and then the depth-first search algorit...
Embodiment 2
[0082] Such as figure 2 As shown, an implementation of the knowledge graph-based relationship extraction system of the present application includes a basic information extraction module, a path structure information extraction module, an attribute text information extraction module, and a relationship extraction module. The basic information extraction module is used to extract the description attribute of the entity and the shortest path set connecting the entity pair from the knowledge graph; the path structure information extraction module is used to extract the path structure information of the entity pair according to the shortest path set; the attribute text information extraction module is used to extract the attribute text information of the entity pair according to the description attribute of the entity; the relationship extraction module is used to extract the relationship between the entity pair according to the path structure information and the attribute text inf...
Embodiment 3
[0088] The present application provides a computer-readable storage medium, including a program, and the program can be executed by a processor to implement the method in Embodiment 1.
[0089] Those skilled in the art can understand that all or part of the steps of the various methods in the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, Random access memory, disk or CD, etc.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com