One Model, Any Conjunctive Query: Graph Neural Networks for Answering Queries over Incomplete Knowledge Graphs
Not on the map. Why?
Abstract (arXiv)
Motivated by the incompleteness of modern knowledge graphs, a new setup for query answering has emerged, where the goal is to predict answers that do not necessarily appear in the knowledge graph, but are present in its completion. In this paper, we formally introduce and study two query answering problems, namely, query answer classification and query answer retrieval. To solve these problems, we propose AnyCQ, a model that can classify answers to any conjunctive query on any knowledge graph. At the core of our framework lies a graph neural network trained using a reinforcement learning objective to answer Boolean queries. Trained only on simple, small instances, AnyCQ generalizes to large queries of arbitrary structure, reliably classifying and retrieving answers to queries that existing approaches fail to handle. This is empirically validated through our newly proposed, challenging benchmarks. Finally, we empirically show that AnyCQ can effectively transfer to completely novel knowledge graphs when equipped with an appropriate link prediction model, highlighting its potential for querying incomplete data.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 37 of its 54 references that are in the map. First posted on arXiv 21 Sep 2024.
Builds on
37 of 54 references.
References · 37
- 2017Attention Is All You Needcited by 60,361
- 2018How Powerful are Graph Neural Networks?cited by 4,393
- 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,367
- 2017Modeling Relational Data with Graph Convolutional Networkscited by 1,694
- 2016Complex Embeddings for Simple Link Predictioncited by 902
- 2019RotatE: Knowledge Graph Embedding by Relational Rotation in Complex Spacecited by 898
- 2017Convolutional 2D Knowledge Graph Embeddingscited by 730
- 2019Composition-based Multi-Relational Graph Convolutional Networkscited by 396
- 2019KEPLER: A Unified Model for Knowledge Embedding and Pre-trained Language Representationcited by 356
- 2021Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Predictioncited by 275
- 2019An Efficient Graph Convolutional Network Technique for the Travelling Salesman Problemcited by 269
- 2021Combinatorial optimization and reasoning with graph neural networkscited by 268
25 more
- 2020The Surprising Power of Graph Neural Networks with Random Node Initializationcited by 198
- 2020Query2box: Reasoning over Knowledge Graphs in Vector Space using Box Embeddingscited by 171
- 2018Canonical Tensor Decomposition for Knowledge Base Completioncited by 150
- 2020Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphscited by 129
- 2020BoxE: A Box Embedding Model for Knowledge Base Completioncited by 105
- 2020CoDEx: A Comprehensive Knowledge Graph Completion Benchmarkcited by 102
- 2020Analyzing Differentiable Fuzzy Logic Operatorscited by 101
- 2020Complex Query Answering with Neural Link Predictorscited by 99
- 2023Towards Foundation Models for Knowledge Graph Reasoningcited by 86
- 2021ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphscited by 78
- 2022Neural-Symbolic Models for Logical Queries on Knowledge Graphscited by 61
- 2019Graph Colouring Meets Deep Learning: Effective Graph Neural Network Models for Combinatorial Problemscited by 40
- 2021Relation Prediction as an Auxiliary Training Objective for Improving Multi-Relational Graph Representationscited by 37
- 2023A Theory of Link Prediction via Relational Weisfeiler-Leman on Knowledge Graphscited by 32
- 2022Answering Complex Logical Queries on Knowledge Graphs via Query Computation Tree Optimizationcited by 29
- 2023Logical Message Passing Networks with One-hop Inference on Atomic Formulascited by 28
- 2022One Model, Any CSP: Graph Neural Networks as Fast Global Search Heuristics for Constraint Satisfactioncited by 27
- 2019Solving NP-Hard Problems on Graphs with Extended AlphaGo Zerocited by 23
- 2024A Foundation Model for Zero-shot Logical Query Reasoningcited by 14
- 2023Rethinking Complex Queries on Knowledge Graphs with Neural Link Predictorscited by 13
- 2023EFOk-CQA: Towards Knowledge Graph Complex Query Answering beyond Set Operationcited by 12
- 2024Conditional Logical Message Passing Transformer for Complex Query Answeringcited by 5
- 2023Query2Triple: Unified Query Encoding for Answering Diverse Complex Queries over Knowledge Graphscited by 4
- 2021Approximate Knowledge Graph Query Answering: From Ranking to Binary Classificationcited by 3
- 2023Finding Hamiltonian cycles with graph neural networkscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2022Inductive Logical Query Answering in Knowledge Graphs
- 2026Q-GNN: Query-Conditioned Graph Neural Networks with Type Awareness for Knowledge Graph Completion
- 2026Search-on-Graph-R1: Training Large Language Models to Search Knowledge Graphs with Reinforcement Learning
- 2023Neural Graph Reasoning: Complex Logical Query Answering Meets Graph Databases
- 2023Adapting Neural Link Predictors for Data-Efficient Complex Query Answering
- 2022Neural Methods for Logical Reasoning Over Knowledge Graphs
- 2024Type-based Neural Link Prediction Adapter for Complex Query Answering
- 2025CQD-SHAP: Explainable Complex Query Answering via Shapley Values