Implicit and Explicit Rule Injection for Complex Query Answering over Knowledge Graphs

Complex Query Answering over incomplete knowledge graphs is a fundamental yet challenging task. Existing methods based on a pretrained knowledge graph embedding model have achieved good performance. However, they ignore logical rules. Logical rules, as part of the conceptual layer in knowledge graphs, contain rich background information that enhances logical reasoning and improves the performance of models. To address this problem, we propose a model that incorporates logical rules for complex query answering over knowledge graphs called R-CQA (Complex Query Answering with Rules). This model introduces implicit and explicit rule injection modules to the existing CQA models. The implicit rule injection module models logical rules as additional data for training and incorporates rule information into knowledge graph embedding model, which enhances inference. The explicit rule injection module uses logical rules to rewrite queries and constructs a query set for each original query, which avoids missing answers for inference. However, implicit rule injection does not really use logical rules for reasoning which decreases the interpretability and accuracy of logical rules. Explicit rule injection is influenced by the quantity and quality of logical rules. Therefore, we combine both methods to take advantage of their respective strengths. Experiments on 3 datasets demonstrate our model obtains state-of-the-art performance on complex query answering.

Authors

Institutions

Publication Details

Published
2025-03-12
DOI
https://doi.org/10.1109/icassp49660.2025.10889593
Primary Topic
Semantic Web and Ontologies
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Implicit and Explicit Rule Injection for Complex Query Answering over Knowledge Graphs

Guozheng Rao, Kewen Wang, Xin Zhang, Zhe Wang
Semantic Web and Ontologies
article

Implicit and Explicit Rule Injection for Complex Query Answering over Knowledge Graphs

Guozheng Rao, Kewen Wang, Xin Zhang, Zhe Wang
article en

Abstract

Complex Query Answering over incomplete knowledge graphs is a fundamental yet challenging task. Existing methods based on a pretrained knowledge graph embedding model have achieved good performance. However, they ignore logical rules. Logical rules, as part of the conceptual layer in knowledge graphs, contain rich background information that enhances logical reasoning and improves the performance of models. To address this problem, we propose a model that incorporates logical rules for complex query answering over knowledge graphs called R-CQA (Complex Query Answering with Rules). This model introduces implicit and explicit rule injection modules to the existing CQA models. The implicit rule injection module models logical rules as additional data for training and incorporates rule information into knowledge graph embedding model, which enhances inference. The explicit rule injection module uses logical rules to rewrite queries and constructs a query set for each original query, which avoids missing answers for inference. However, implicit rule injection does not really use logical rules for reasoning which decreases the interpretability and accuracy of logical rules. Explicit rule injection is influenced by the quantity and quality of logical rules. Therefore, we combine both methods to take advantage of their respective strengths. Experiments on 3 datasets demonstrate our model obtains state-of-the-art performance on complex query answering.

Griffith University (AU), Tianjin University (CN)
National Natural Science Foundation of China
Openalex Percentile: Top 98%
Semantic Web and Ontologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.