Knowledge graph construction method and system based on multi-source database
A knowledge graph and construction method technology, applied in database management systems, database indexes, relational databases, etc., can solve the problems of cumbersome process, wrong table configuration, failure to build knowledge graph, etc., to simplify the creation process, simplify operation steps, improve The effect of operational efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] Such as figure 1 As shown, this embodiment provides a method for building a knowledge map based on a multi-source database. By setting rules for the fields in the table in the source database, the rules define which fields can be used to construct entities in the knowledge map, that is, define entities Metadata fields; at the same time, which fields between metadata and metadata can construct the relationship in the knowledge map, that is, the relational metadata field. By defining metadata rules to create a model that extracts data from various data sources and converts table fields into corresponding metadata configurations, and compares the data one by one and converts them into entities, so that various data resources can be automated using SQL statements Build a knowledge graph and normalize the knowledge.
[0038] Step 1. Data governance and metadata creation: Judge the validity of all source databases, and obtain all tables in each valid source database, and eac...
Embodiment 2
[0063] This embodiment provides a knowledge graph construction system based on a multi-source database, which specifically includes the following modules:
[0064] The validity judgment module is configured to: judge the validity of all source databases, specifically: obtain data source configuration parameters, and send the data source configuration parameters to each source database, and judge the source availability of the database;
[0065] A metadata acquisition module configured to: acquire all tables in each source database, and use each table as a piece of metadata;
[0066] A field extraction module, which is configured to: obtain a field extraction instruction, extract the fields of each table, and use it as a field of corresponding metadata;
[0067] An entity relationship building module, which is configured to: for any two metadata, extract fields with a matching relationship, traverse the entities in the metadata, and build all entity relationships between the t...
Embodiment 3
[0071] This embodiment provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps in the multi-source database-based knowledge map construction method as described in the first embodiment above are implemented .
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