Contextual Graph Attention for Answering Logical Queries over Incomplete Knowledge Graphs

09/30/2019
by   Gengchen Mai, et al.
0

Recently, several studies have explored methods for using KG embedding to answer logical queries. These approaches either treat embedding learning and query answering as two separated learning tasks, or fail to deal with the variability of contributions from different query paths. We proposed to leverage a graph attention mechanism to handle the unequal contribution of different query paths. However, commonly used graph attention assumes that the center node embedding is provided, which is unavailable in this task since the center node is to be predicted. To solve this problem we propose a multi-head attention-based end-to-end logical query answering model, called Contextual Graph Attention model(CGA), which uses an initial neighborhood aggregation layer to generate the center embedding, and the whole model is trained jointly on the original KG structure as well as the sampled query-answer pairs. We also introduce two new datasets, DB18 and WikiGeo19, which are rather large in size compared to the existing datasets and contain many more relation types, and use them to evaluate the performance of the proposed model. Our result shows that the proposed CGA with fewer learnable parameters consistently outperforms the baseline models on both datasets as well as Bio dataset.

READ FULL TEXT
research
11/02/2018

Learning to Rank Query Graphs for Complex Question Answering over Knowledge Graphs

In this paper, we conduct an empirical investigation of neural query gra...
research
08/05/2021

Fuzzy Logic based Logical Query Answering on Knowledge Graph

Answering complex First-Order Logical (FOL) queries on large-scale incom...
research
06/15/2021

Query Embedding on Hyper-relational Knowledge Graphs

Multi-hop logical reasoning is an established problem in the field of re...
research
02/28/2021

Logic Embeddings for Complex Query Answering

Answering logical queries over incomplete knowledge bases is challenging...
research
08/12/2023

Approximate Answering of Graph Queries

Knowledge graphs (KGs) are inherently incomplete because of incomplete w...
research
02/25/2023

Sequential Query Encoding For Complex Query Answering on Knowledge Graphs

Complex Query Answering (CQA) is an important and fundamental task for k...
research
04/23/2023

LogicRec: Recommendation with Users' Logical Requirements

Users may demand recommendations with highly personalized requirements i...

Please sign up or login with your details

Forgot password? Click here to reset