mlsanityData to 14 Oct 2026

One Model, Any Conjunctive Query: Graph Neural Networks for Answering Queries over Incomplete Knowledge Graphs

arXiv 2409.13959 ↗First posted 21 Sep 2024cs.LG cs.AIcited by 0

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018How Powerful are Graph Neural Networks?cited by 4,393
  3. 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,367
  4. 2017Modeling Relational Data with Graph Convolutional Networkscited by 1,694
  5. 2016Complex Embeddings for Simple Link Predictioncited by 902
  6. 2019RotatE: Knowledge Graph Embedding by Relational Rotation in Complex Spacecited by 898
  7. 2017Convolutional 2D Knowledge Graph Embeddingscited by 730
  8. 2019Composition-based Multi-Relational Graph Convolutional Networkscited by 396
  9. 2019KEPLER: A Unified Model for Knowledge Embedding and Pre-trained Language Representationcited by 356
  10. 2021Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Predictioncited by 275
  11. 2019An Efficient Graph Convolutional Network Technique for the Travelling Salesman Problemcited by 269
  12. 2021Combinatorial optimization and reasoning with graph neural networkscited by 268
25 more
  1. 2020The Surprising Power of Graph Neural Networks with Random Node Initializationcited by 198
  2. 2020Query2box: Reasoning over Knowledge Graphs in Vector Space using Box Embeddingscited by 171
  3. 2018Canonical Tensor Decomposition for Knowledge Base Completioncited by 150
  4. 2020Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphscited by 129
  5. 2020BoxE: A Box Embedding Model for Knowledge Base Completioncited by 105
  6. 2020CoDEx: A Comprehensive Knowledge Graph Completion Benchmarkcited by 102
  7. 2020Analyzing Differentiable Fuzzy Logic Operatorscited by 101
  8. 2020Complex Query Answering with Neural Link Predictorscited by 99
  9. 2023Towards Foundation Models for Knowledge Graph Reasoningcited by 86
  10. 2021ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphscited by 78
  11. 2022Neural-Symbolic Models for Logical Queries on Knowledge Graphscited by 61
  12. 2019Graph Colouring Meets Deep Learning: Effective Graph Neural Network Models for Combinatorial Problemscited by 40
  13. 2021Relation Prediction as an Auxiliary Training Objective for Improving Multi-Relational Graph Representationscited by 37
  14. 2023A Theory of Link Prediction via Relational Weisfeiler-Leman on Knowledge Graphscited by 32
  15. 2022Answering Complex Logical Queries on Knowledge Graphs via Query Computation Tree Optimizationcited by 29
  16. 2023Logical Message Passing Networks with One-hop Inference on Atomic Formulascited by 28
  17. 2022One Model, Any CSP: Graph Neural Networks as Fast Global Search Heuristics for Constraint Satisfactioncited by 27
  18. 2019Solving NP-Hard Problems on Graphs with Extended AlphaGo Zerocited by 23
  19. 2024A Foundation Model for Zero-shot Logical Query Reasoningcited by 14
  20. 2023Rethinking Complex Queries on Knowledge Graphs with Neural Link Predictorscited by 13
  21. 2023EFOk-CQA: Towards Knowledge Graph Complex Query Answering beyond Set Operationcited by 12
  22. 2024Conditional Logical Message Passing Transformer for Complex Query Answeringcited by 5
  23. 2023Query2Triple: Unified Query Encoding for Answering Diverse Complex Queries over Knowledge Graphscited by 4
  24. 2021Approximate Knowledge Graph Query Answering: From Ranking to Binary Classificationcited by 3
  25. 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

  1. 2022Inductive Logical Query Answering in Knowledge Graphs
  2. 2026Q-GNN: Query-Conditioned Graph Neural Networks with Type Awareness for Knowledge Graph Completion
  3. 2026Search-on-Graph-R1: Training Large Language Models to Search Knowledge Graphs with Reinforcement Learning
  4. 2023Neural Graph Reasoning: Complex Logical Query Answering Meets Graph Databases
  5. 2023Adapting Neural Link Predictors for Data-Efficient Complex Query Answering
  6. 2022Neural Methods for Logical Reasoning Over Knowledge Graphs
  7. 2024Type-based Neural Link Prediction Adapter for Complex Query Answering
  8. 2025CQD-SHAP: Explainable Complex Query Answering via Shapley Values