Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Q-GNN: Query-Conditioned Graph Neural Networks with Type Awareness for Knowledge Graph Completion

About

Knowledge Graph Completion (KGC) aims at predicting missing triplets from incomplete knowledge graphs, which is crucial for downstream applications. Recently, Graph Neural Network (GNN)-based methods have achieved remarkable success by performing message passing over query-centered local subgraphs. However, in practice, a query is jointly defined by both the entity and the relation, with both carrying information indispensable for reasoning, yet these methods rely solely on the query relation as the guiding signal, while the information inherent in the query entity is not leveraged to guide inference - the entity serves merely as a structural anchor for subgraph extraction. To this end, we incorporate query entity information into the reasoning process from two perspectives: the first is structural context, i.e., the neighboring structure and relation patterns around the entity, which is encoded by a dedicated context encoder and used to modulate messages; the second is semantic type of the entity, inferred by a large language model, which is incorporated into attention computation and final scoring to provide type-level prior constraints. Together, these two sources of information enable the reasoning process to be guided by both the query relation and the query entity. Experimental results on standard benchmarks demonstrate the effectiveness of the proposed Q-GNN.

Dongxiao He, Ruqiong Zhang, Zhizhi Yu, Ling Ding, Di Jin, Guangquan Xu, Zhiyong Feng• 2026

Related benchmarks

TaskDatasetResultRank
Knowledge Graph CompletionUMLS
Hits@100.99
29
Knowledge Graph CompletionWN18RR standard (transductive)
MRR57.2
14
Knowledge Graph CompletionFB15k-237 standard (transductive)
MRR0.408
14
Knowledge Graph CompletionNELL-995
MRR0.57
8
Inductive Knowledge Graph CompletionWN18RR V1
MRR0.714
7
Inductive Knowledge Graph CompletionWN18RR V2
MRR0.705
7
Inductive Knowledge Graph CompletionWN18RR V3
MRR45.1
7
Inductive Knowledge Graph CompletionWN18RR V4
MRR65.9
7
Inductive Knowledge Graph CompletionFB15k-237 V1
MRR46
7
Inductive Knowledge Graph CompletionFB15k-237 v2
MRR49.5
7
Showing 10 of 27 rows

Other info

Follow for update