Complex Query Answering with Neural Link Predictors
Not on the map. Why?
Abstract (arXiv)
Neural link predictors are immensely useful for identifying missing edges in large scale Knowledge Graphs. However, it is still not clear how to use these models for answering more complex queries that arise in a number of domains, such as queries using logical conjunctions (land), disjunctions (lor) and existential quantifiers (exists), while accounting for missing edges. In this work, we propose a framework for efficiently answering complex queries on incomplete Knowledge Graphs. We translate each query into an end-to-end differentiable objective, where the truth value of each atom is computed by a pre-trained neural link predictor. We then analyse two solutions to the optimisation problem, including gradient-based and combinatorial search. In our experiments, the proposed approach produces more accurate results than state-of-the-art methods -- black-box neural models trained on millions of generated queries -- without the need of training on a large and diverse set of complex queries. Using orders of magnitude less training data, we obtain relative improvements ranging from 8% up to 40% in Hits@3 across different knowledge graphs containing factual information. Finally, we demonstrate that it is possible to explain the outcome of our model in terms of the intermediate solutions identified for each of the complex query atoms. All our source code and datasets are available online, at https://github.com/uclnlp/cqd.
Key facts. Cited by 98 papers in the map (data through 7 Oct 2026). First posted on arXiv 6 Nov 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 10; 2022: 18; 2023: 27; 2024: 23; 2025: 10; 2026: 10.
98 papers.
Sort:
By area:
- 2022Neural-Symbolic Models for Logical Queries on Knowledge Graphscited by 60
- 2022Mask and Reason: Pre-Training Knowledge Graph Transformers for Complex Logical Queriescited by 39
- 2023Neural Graph Reasoning: Complex Logical Query Answering Meets Graph Databasescited by 35
- 2021Probabilistic Entity Representation Model for Reasoning over Knowledge Graphscited by 28
- 2022Answering Complex Logical Queries on Knowledge Graphs via Query Computation Tree Optimizationcited by 28
- 2023Logical Message Passing Networks with One-hop Inference on Atomic Formulascited by 28
- 2023Complex Logical Reasoning over Knowledge Graphs using Large Language Modelscited by 28
- 2022Inductive Logical Query Answering in Knowledge Graphscited by 25
- 2022Query2Particles: Knowledge Graph Reasoning with Particle Embeddingscited by 24
- 2024Learning to Plan for Retrieval-Augmented Large Language Models from Knowledge Graphscited by 24
- 2021Query Embedding on Hyper-relational Knowledge Graphscited by 23
- 2021Benchmarking the Combinatorial Generalizability of Complex Query Answering on Knowledge Graphscited by 21
38 more
- 2022GammaE: Gamma Embeddings for Logical Queries on Knowledge Graphscited by 21
- 2023Neurosymbolic AI for Reasoning over Knowledge Graphs: A Surveycited by 21
- 2023Complex Query Answering on Eventuality Knowledge Graph with Implicit Logical Constraintscited by 21
- 2023How to Turn Your Knowledge Graph Embeddings into Generative Modelscited by 20
- 2024Neural-Symbolic Reasoning over Knowledge Graphs: A Survey from a Query Perspectivecited by 20
- 2022Knowledge Graph Reasoning with Logics and Embeddings: Survey and Perspectivecited by 18
- 2022Neural-Symbolic Entangled Framework for Complex Query Answeringcited by 18
- 2021Logic Embeddings for Complex Query Answeringcited by 17
- 2021SMORE: Knowledge Graph Completion and Multi-hop Reasoning in Massive Knowledge Graphscited by 17
- 2023Wasserstein-Fisher-Rao Embedding: Logical Query Embeddings with Local Comparison and Global Transportcited by 16
- 2022A Unified Framework for Rank-based Evaluation Metrics for Link Prediction in Knowledge Graphscited by 14
- 2022Neural Set Function Extensions: Learning with Discrete Functions in High Dimensionscited by 14
- 2022Type-aware Embeddings for Multi-Hop Reasoning over Knowledge Graphscited by 13
- 2022TFLEX: Temporal Feature-Logic Embedding Framework for Complex Reasoning over Temporal Knowledge Graphcited by 13
- 2023Adapting Neural Link Predictors for Data-Efficient Complex Query Answeringcited by 13
- 2023Sequential Query Encoding For Complex Query Answering on Knowledge Graphscited by 13
- 2024A Foundation Model for Zero-shot Logical Query Reasoningcited by 13
- 2021Poisoning Knowledge Graph Embeddings via Relation Inference Patternscited by 12
- 2023Rethinking Complex Queries on Knowledge Graphs with Neural Link Predictorscited by 12
- 2023Injecting Logical Constraints into Neural Networks via Straight-Through Estimatorscited by 12
- 2023EFOk-CQA: Towards Knowledge Graph Complex Query Answering beyond Set Operationcited by 12
- 2021Fuzzy Logic Based Logical Query Answering on Knowledge Graphscited by 11
- 2023Knowledge Graph Reasoning over Entities and Numerical Valuescited by 11
- 2023Text2NKG: Fine-Grained N-ary Relation Extraction for N-ary relational Knowledge Graph Constructioncited by 11
- 2022NQE: N-ary Query Embedding for Complex Query Answering over Hyper-Relational Knowledge Graphscited by 9
- 2024Predictive Multiplicity of Knowledge Graph Embeddings in Link Predictioncited by 9
- 2022AdaLoGN: Adaptive Logic Graph Network for Reasoning-Based Machine Reading Comprehensioncited by 8
- 2024Effective Instruction Parsing Plugin for Complex Logical Query Answering on Knowledge Graphscited by 8
- 2021Towards General Natural Language Understanding with Probabilistic Worldbuildingcited by 7
- 2023Understanding Expressivity of GNN in Rule Learningcited by 7
- 2024Is Complex Query Answering Really Complex?cited by 7
- 2023LitCQD: Multi-Hop Reasoning in Incomplete Knowledge Graphs with Numeric Literalscited by 6
- 2025Enhancing Transformers for Generalizable First-Order Logical Entailmentcited by 6
- 2022Learning to solve Minimum Cost Multicuts efficiently using Edge-Weighted Graph Convolutional Neural Networkscited by 5
- 2023On the Security Risks of Knowledge Graph Reasoningcited by 5
- 2023Knowledge Graphs Queryingcited by 5
- 2023Privacy-Preserved Neural Graph Databasescited by 5
- 2024Capturing Knowledge Graphs and Rules with Octagon Embeddingscited by 5
50 most cited of 98 All 98 (JSON)
- 2026Neuro-Symbolic Meta-Policies for Temporal Knowledge-Graph Memory under Partial Observability20 Jul 2026
- 2026InductWave: Inductive Multi-Hop Logical Query Answering on Knowledge Graphs8 Jul 2026
- 2026Holographic Memory for Zero-Shot Compositional Reasoning in Knowledge Graphs: A Mechanistic Study of Where and Why It Fails23 Jun 2026
- 2026SCAIR: Schema-Conditioned Agentic Iterative Reasoning for Enterprise Knowledge Graphs2 Jun 2026
- 2026Better Later Than Sooner: Neuro-Symbolic Knowledge Graph Construction via Ontology-grounded Post-extraction Correction27 May 2026
- 2026Neural Scalable Symbolic Search Framework for Complex Logical Queries with Multiple Free Variables25 May 2026
- 2026A Survey on GNN-based Link Prediction: Techniques, Applications, and Challenges29 Apr 2026
- 2026NGDBench: Towards Neural Graph Data Management27 Feb 2026
- 2026Neural-Symbolic Logic Query Answering in Non-Euclidean Space25 Feb 2026
- 2026ROG: Retrieval-Augmented LLM Reasoning for Complex First-Order Queries over Knowledge Graphs2 Feb 2026
- 2025Counting Still Counts: Understanding Neural Complex Query Answering Through Query Relaxation27 Nov 2025
- 2025Parameter Averaging in Link Prediction29 Oct 2025
38 more
- 2025CQD-SHAP: Explainable Complex Query Answering via Shapley Values17 Oct 2025
- 2025Interactive Query Answering on Knowledge Graphs with Soft Entity Constraints19 Aug 2025
- 2025Unifying Post-hoc Explanations of Knowledge Graph Completions29 Jul 2025
- 2025On the Theoretical Limitations of Embedding-based Link Prediction27 Jun 2025
- 2025Efficient and Scalable Neural Symbolic Search for Knowledge Graph Complex Query Answering13 May 2025
- 2025Transformers for Complex Query Answering over Knowledge Hypergraphs23 Apr 2025
- 2025KGCompiler: Deep Learning Compilation Optimization for Knowledge Graph Complex Logical Query Answering4 Mar 2025
- 2025Enhancing Transformers for Generalizable First-Order Logical Entailment1 Jan 2025
- 2024Neural-Symbolic Reasoning over Knowledge Graphs: A Survey from a Query Perspective30 Nov 2024
- 2024DAGE: DAG Query Answering via Relational Combinator with Logical Constraints29 Oct 2024
- 2024Effective Instruction Parsing Plugin for Complex Logical Query Answering on Knowledge Graphs27 Oct 2024
- 2024Is Complex Query Answering Really Complex?16 Oct 2024
- 2024Inference over Unseen Entities, Relations and Literals on Knowledge Graphs9 Oct 2024
- 2024Complex Logical Query Answering by Calibrating Knowledge Graph Completion Models30 Sep 2024
- 2024One Model, Any Conjunctive Query: Graph Neural Networks for Answering Queries over Incomplete Knowledge Graphs21 Sep 2024
- 2024Conformalized Answer Set Prediction for Knowledge Graph Embedding15 Aug 2024
- 2024Predictive Multiplicity of Knowledge Graph Embeddings in Link Prediction15 Aug 2024
- 2024Generating SROI^- Ontologies via Knowledge Graph Query Embedding Learning12 Jul 2024
- 2024Adaptive Stochastic Weight Averaging27 Jun 2024
- 2024Pathformer: Recursive Path Query Encoding for Complex Logical Query Answering21 Jun 2024
- 2024Learning to Plan for Retrieval-Augmented Large Language Models from Knowledge Graphs20 Jun 2024
- 2024A Foundation Model for Zero-shot Logical Query Reasoning10 Apr 2024
- 2024KGExplainer: Towards Exploring Connected Subgraph Explanations for Knowledge Graph Completion5 Apr 2024
- 2024Prompt-fused framework for Inductive Logical Query Answering19 Mar 2024
- 2024Meta Operator for Complex Query Answering on Knowledge Graphs15 Mar 2024
- 2024Extending Complex Logical Queries on Uncertain Knowledge Graphs3 Mar 2024
- 2024Learning Federated Neural Graph Databases for Answering Complex Queries from Distributed Knowledge Graphs22 Feb 2024
- 2024Conditional Logical Message Passing Transformer for Complex Query Answering20 Feb 2024
- 2024Veni, Vidi, Vici: Solving the Myriad of Challenges before Knowledge Graph Learning8 Feb 2024
- 2024Capturing Knowledge Graphs and Rules with Octagon Embeddings29 Jan 2024
- 2024Type-based Neural Link Prediction Adapter for Complex Query Answering29 Jan 2024
- 2023Privacy-Preserved Neural Graph Databases25 Dec 2023
- 2023Query2Triple: Unified Query Encoding for Answering Diverse Complex Queries over Knowledge Graphs17 Oct 2023
- 2023Text2NKG: Fine-Grained N-ary Relation Extraction for N-ary relational Knowledge Graph Construction8 Oct 2023
- 2023A Neuro-Symbolic Framework for Answering Graph Pattern Queries in Knowledge Graphs6 Oct 2023
- 2023Approximate Answering of Graph Queries12 Aug 2023
- 2023EFOk-CQA: Towards Knowledge Graph Complex Query Answering beyond Set Operation15 Jul 2023
- 2023IntelliGraphs: Datasets for Benchmarking Knowledge Graph Generation13 Jul 2023
50 newest of 98 All 98 (JSON)
- 2022Neural-Symbolic Models for Logical Queries on Knowledge Graphscited by 60
- 2023Neural Graph Reasoning: Complex Logical Query Answering Meets Graph Databasescited by 35
- 2023Complex Logical Reasoning over Knowledge Graphs using Large Language Modelscited by 28
- 2022GammaE: Gamma Embeddings for Logical Queries on Knowledge Graphscited by 21
- 2023Neurosymbolic AI for Reasoning over Knowledge Graphs: A Surveycited by 21
- 2024Neural-Symbolic Reasoning over Knowledge Graphs: A Survey from a Query Perspectivecited by 20
- 2022Type-aware Embeddings for Multi-Hop Reasoning over Knowledge Graphscited by 13
- 2022TFLEX: Temporal Feature-Logic Embedding Framework for Complex Reasoning over Temporal Knowledge Graphcited by 13
- 2023EFOk-CQA: Towards Knowledge Graph Complex Query Answering beyond Set Operationcited by 12
- 2022NQE: N-ary Query Embedding for Complex Query Answering over Hyper-Relational Knowledge Graphscited by 9
- 2022AdaLoGN: Adaptive Logic Graph Network for Reasoning-Based Machine Reading Comprehensioncited by 8
- 2023LitCQD: Multi-Hop Reasoning in Incomplete Knowledge Graphs with Numeric Literalscited by 6
12 most cited of 19 All 19 (JSON)
- 2026Better Later Than Sooner: Neuro-Symbolic Knowledge Graph Construction via Ontology-grounded Post-extraction Correction27 May 2026
- 2026ROG: Retrieval-Augmented LLM Reasoning for Complex First-Order Queries over Knowledge Graphs2 Feb 2026
- 2025CQD-SHAP: Explainable Complex Query Answering via Shapley Values17 Oct 2025
- 2025KGCompiler: Deep Learning Compilation Optimization for Knowledge Graph Complex Logical Query Answering4 Mar 2025
- 2024Neural-Symbolic Reasoning over Knowledge Graphs: A Survey from a Query Perspective30 Nov 2024
- 2024Conformalized Answer Set Prediction for Knowledge Graph Embedding15 Aug 2024
- 2024Type-based Neural Link Prediction Adapter for Complex Query Answering29 Jan 2024
- 2023EFOk-CQA: Towards Knowledge Graph Complex Query Answering beyond Set Operation15 Jul 2023
- 2023Complex Logical Reasoning over Knowledge Graphs using Large Language Models2 May 2023
- 2023LitCQD: Multi-Hop Reasoning in Incomplete Knowledge Graphs with Numeric Literals28 Apr 2023
- 2023Neural Graph Reasoning: Complex Logical Query Answering Meets Graph Databases26 Mar 2023
- 2023Neurosymbolic AI for Reasoning over Knowledge Graphs: A Survey14 Feb 2023
12 newest of 19 All 19 (JSON)
- 2021Probabilistic Entity Representation Model for Reasoning over Knowledge Graphscited by 28
- 2022Answering Complex Logical Queries on Knowledge Graphs via Query Computation Tree Optimizationcited by 28
- 2023Logical Message Passing Networks with One-hop Inference on Atomic Formulascited by 28
- 2022Inductive Logical Query Answering in Knowledge Graphscited by 25
- 2022Query2Particles: Knowledge Graph Reasoning with Particle Embeddingscited by 24
- 2021Query Embedding on Hyper-relational Knowledge Graphscited by 23
- 2021Benchmarking the Combinatorial Generalizability of Complex Query Answering on Knowledge Graphscited by 21
- 2023Complex Query Answering on Eventuality Knowledge Graph with Implicit Logical Constraintscited by 21
- 2023How to Turn Your Knowledge Graph Embeddings into Generative Modelscited by 20
- 2022Knowledge Graph Reasoning with Logics and Embeddings: Survey and Perspectivecited by 18
- 2022Neural-Symbolic Entangled Framework for Complex Query Answeringcited by 18
- 2021Logic Embeddings for Complex Query Answeringcited by 17
12 most cited of 75 All 75 (JSON)
- 2026Neuro-Symbolic Meta-Policies for Temporal Knowledge-Graph Memory under Partial Observability20 Jul 2026
- 2026InductWave: Inductive Multi-Hop Logical Query Answering on Knowledge Graphs8 Jul 2026
- 2026Holographic Memory for Zero-Shot Compositional Reasoning in Knowledge Graphs: A Mechanistic Study of Where and Why It Fails23 Jun 2026
- 2026Neural Scalable Symbolic Search Framework for Complex Logical Queries with Multiple Free Variables25 May 2026
- 2026A Survey on GNN-based Link Prediction: Techniques, Applications, and Challenges29 Apr 2026
- 2026NGDBench: Towards Neural Graph Data Management27 Feb 2026
- 2026Neural-Symbolic Logic Query Answering in Non-Euclidean Space25 Feb 2026
- 2025Counting Still Counts: Understanding Neural Complex Query Answering Through Query Relaxation27 Nov 2025
- 2025Parameter Averaging in Link Prediction29 Oct 2025
- 2025Interactive Query Answering on Knowledge Graphs with Soft Entity Constraints19 Aug 2025
- 2025Unifying Post-hoc Explanations of Knowledge Graph Completions29 Jul 2025
- 2025On the Theoretical Limitations of Embedding-based Link Prediction27 Jun 2025
12 newest of 75 All 75 (JSON)