Internet food entity alignment method and system based on graph neural network
A technology of neural network and entity pairing, which is applied in the field of knowledge graph and neural network, can solve problems such as the impact of alignment effect, ignore graph structural heterogeneity, and influence effect, so as to improve quality, improve utilization efficiency and entity alignment accuracy, The effect of reducing the influence of heterogeneity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] Such as figure 1 As shown, a method for aligning Internet food entities based on a graph neural network provided by an embodiment of the present invention includes the following steps:
[0027] Step S1: Obtain food information through a web crawler, extract triples among them, construct two knowledge graphs KG1 and KG2 to be aligned, and separate the triples in KG1 and KG2 to obtain relational triples and attribute triplets;
[0028] Step S2: Deduce the rules for the relational triples, transfer the rules between KG1 and KG2, construct a new relational triplet, update the relational triplet, and obtain the updated relational triplet;
[0029] Step S3: Calculate and obtain two adjacency matrices with self-attention mechanism weights and cross-attention mechanism weights according to the updated relation triplet, as well as self-attention mechanism and cross-attention mechanism; and pre-train word vectors according to bert , query the vector table to obtain the entity wo...
Embodiment 2
[0099] Such as Figure 8 As shown, the embodiment of the present invention provides a graph neural network-based Internet food entity alignment system, including the following modules:
[0100] The separation triplet module is used to obtain food information through web crawlers, extract the triplets, construct two knowledge graphs KG1 and KG2 to be aligned, and separate the triplets in KG1 and KG2 to obtain relational triplets and attribute triplet;
[0101] Updating the relational triplet module, which is used to reason the relational triplet to obtain rules, transfer the rules between KG1 and KG2, construct a new relational triplet, and obtain an updated relational triplet;
[0102] Obtain the entity structure feature vector and relation feature vector module, which is used to calculate two weights with self-attention mechanism weight and cross-attention mechanism weight according to the updated relation triplet, as well as self-attention mechanism and cross-attention mech...
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