Rethinking Complex Queries on Knowledge Graphs with Neural Link Predictors
Hang Yin, Zihao Wang, Yangqiu Song
Abstract
Reasoning on knowledge graphs is a challenging task because it utilizes observed information to predict the missing one. Particularly, answering complex queries based on first-order logic is one of the crucial tasks to verify learning to reason abilities for generalization and composition. Recently, the prevailing method is query embedding which learns the embedding of a set of entities and treats logic operations as set operations and has shown great empirical success. Though there has been much research following the same formulation, many of its claims lack a formal and systematic inspection. In this paper, we rethink this formulation and justify many of the previous claims by characterizing the scope of queries investigated previously and precisely identifying the gap between its formulation and its goal, as well as providing complexity analysis for the currently investigated queries. Moreover, we develop a new dataset containing ten new types of queries with features that have never been considered and therefore can provide a thorough investigation of complex queries. Finally, we propose a new neural-symbolic method, Fuzzy Inference with Truth value (FIT), where we equip the neural link predictors with fuzzy logic theory to support end-to-end learning using complex queries with provable reasoning capability. Empirical results show that our method outperforms previous methods significantly in the new dataset and also surpasses previous methods in the existing dataset at the same time.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Faithful Embeddings for Knowledge Base Queries cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
- LLM-MatLogic: Executable Exchange Contracts for Knowledge-Graph Query Answering with Scoped Negation cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
- LLM-MatLogic: Executable Exchange Contracts for Knowledge-Graph Query Answering with Scoped Negation cites Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs
- Complex Numerical Reasoning with Numerical Semantic Pre-training Framework cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
- Complex Numerical Reasoning with Numerical Semantic Pre-training Framework cites ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphs
- Complex Numerical Reasoning with Numerical Semantic Pre-training Framework cites Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs
- ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphs cites Faithful Embeddings for Knowledge Base Queries
- ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphs cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
- ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphs cites Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs
- Improving Complex Reasoning over Knowledge Graph with Logic-Aware Curriculum Tuning cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
- Improving Complex Reasoning over Knowledge Graph with Logic-Aware Curriculum Tuning cites ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphs
- Improving Complex Reasoning over Knowledge Graph with Logic-Aware Curriculum Tuning cites Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs
- Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
- Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
- A Foundation Model for Zero-shot Logical Query Reasoning cites Faithful Embeddings for Knowledge Base Queries
- A Foundation Model for Zero-shot Logical Query Reasoning cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
- A Foundation Model for Zero-shot Logical Query Reasoning cites ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphs
- A Foundation Model for Zero-shot Logical Query Reasoning cites Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction
- A Foundation Model for Zero-shot Logical Query Reasoning cites Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs
- Privacy-Preserved Neural Graph Databases cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
- Privacy-Preserved Neural Graph Databases cites ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphs
- Privacy-Preserved Neural Graph Databases cites Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs
Cited by top-tier papers7
- A Foundation Model for Zero-shot Logical Query ReasoningMichael Galkin, Jincheng Zhou, Bruno Ribeiro, Jian Tang et al.NeurIPS 2024 · 20 citations
- Improving Complex Reasoning over Knowledge Graph with Logic-Aware Curriculum TuningTianle Xia, Liang Ding, Guojia Wan, Yibing Zhan et al.AAAI 2025 · 19 citations
- Privacy-Preserved Neural Graph DatabasesQi Hu, Haoran Li, Jiaxin Bai, Zihao Wang et al.KDD 2024 · 1 citation
- LLM-MatLogic: Executable Exchange Contracts for Knowledge-Graph Query Answering with Scoped NegationDezhuang Miao, Xiaoming Zhang, Bo Zhang, Yibin Du et al.ICML 2026
- Complex Numerical Reasoning with Numerical Semantic Pre-training FrameworkJun Zhang, Haihong E, Tianyi Hu, Yifan Zhu et al.EMNLP 2025
Builds on13
- Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link PredictionZhaocheng Zhu, Zuobai Zhang, Louis-Pascal A. C. Xhonneux, Jian TangNeurIPS 2021 · 546 citations
- Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box EmbeddingsHongyu Ren, Weihua Hu, Jure LeskovecICLR 2020 · 355 citations
- Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge GraphsHongyu Ren, Jure LeskovecNeurIPS 2020 · 267 citations
- ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge GraphsZhanqiu Zhang, Jie Wang, Jiajun Chen, Shuiwang Ji et al.NeurIPS 2021 · 161 citations
- Faithful Embeddings for Knowledge Base QueriesHaitian Sun, Andrew O. Arnold, Tania Bedrax-Weiss, Fernando Pereira et al.NeurIPS 2020 · 104 citations
Related papers
- Neural-Symbolic Models for Logical Queries on Knowledge GraphsZhaocheng Zhu, Mikhail Galkin, Zuobai Zhang, Jian TangICML 2022 · 106 citations
- Fuzzy Logic Based Logical Query Answering on Knowledge GraphsXuelu Chen, Ziniu Hu, Yizhou SunAAAI 2022 · 42 citations
- Neural-Symbolic Entangled Framework for Complex Query AnsweringZezhong Xu, Wen Zhang, Peng Ye, Hui Chen et al.NeurIPS 2022 · 31 citations
- LinE: Logical Query Reasoning over Hierarchical Knowledge GraphsZijian Huang, Meng-Fen Chiang, Wang-Chien LeeKDD 2022 · 17 citations
- NQE: N-ary Query Embedding for Complex Query Answering over Hyper-Relational Knowledge GraphsHaoran Luo, Haihong E, Yuhao Yang, Gengxian Zhou et al.AAAI 2023 · 13 citations
