mlsanityData to 7 Oct 2026

NQE: N-ary Query Embedding for Complex Query Answering over Hyper-Relational Knowledge Graphs

arXiv 2211.13469 ↗First posted 24 Nov 2022cs.AIcited by 9

On the map: LLM reasoning → Knowledge- and tool-augmented reasoning

Abstract (arXiv)

Complex query answering (CQA) is an essential task for multi-hop and logical reasoning on knowledge graphs (KGs). Currently, most approaches are limited to queries among binary relational facts and pay less attention to n-ary facts (n>=2) containing more than two entities, which are more prevalent in the real world. Moreover, previous CQA methods can only make predictions for a few given types of queries and cannot be flexibly extended to more complex logical queries, which significantly limits their applications. To overcome these challenges, in this work, we propose a novel N-ary Query Embedding (NQE) model for CQA over hyper-relational knowledge graphs (HKGs), which include massive n-ary facts. The NQE utilizes a dual-heterogeneous Transformer encoder and fuzzy logic theory to satisfy all n-ary FOL queries, including existential quantifiers, conjunction, disjunction, and negation. We also propose a parallel processing algorithm that can train or predict arbitrary n-ary FOL queries in a single batch, regardless of the kind of each query, with good flexibility and extensibility. In addition, we generate a new CQA dataset WD50K-NFOL, including diverse n-ary FOL queries over WD50K. Experimental results on WD50K-NFOL and other standard CQA datasets show that NQE is the state-of-the-art CQA method over HKGs with good generalization capability. Our code and dataset are publicly available.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 22 of its 41 references that are in the map. First posted on arXiv 24 Nov 2022.

Builds on

22 of 41 references.

Closest ancestors · 1

Same direction, newest first

  1. 2022Neural-Symbolic Models for Logical Queries on Knowledge Graphs16 May

Other references · 21

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018Self-Attention with Relative Position Representationscited by 1,112
  3. 2019Heterogeneous Graph Attention Networkcited by 732
  4. 2019TuckER: Tensor Factorization for Knowledge Graph Completioncited by 290
  5. 2018SimplE Embedding for Link Prediction in Knowledge Graphscited by 195
  6. 2020Query2box: Reasoning over Knowledge Graphs in Vector Space using Box Embeddingscited by 169
  7. 2020Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphscited by 128
  8. 2018Embedding Logical Queries on Knowledge Graphscited by 120
  9. 2020BoxE: A Box Embedding Model for Knowledge Base Completioncited by 105
  10. 2020Complex Query Answering with Neural Link Predictorscited by 98
  11. 2020Message Passing for Hyper-Relational Knowledge Graphscited by 78
  12. 2021ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphscited by 78
9 more
  1. 2016On the representation and embedding of knowledge bases beyond binary relationscited by 55
  2. 2020Generalizing Tensor Decomposition for N-ary Relational Knowledge Basescited by 38
  3. 2021Role-Aware Modeling for N-ary Relational Knowledge Basescited by 29
  4. 2021Link Prediction on N-ary Relational Facts: A Graph-based Approachcited by 29
  5. 2020Answering Complex Queries in Knowledge Graphs with Bidirectional Sequence Encoderscited by 28
  6. 2021Probabilistic Entity Representation Model for Reasoning over Knowledge Graphscited by 28
  7. 2021Query Embedding on Hyper-relational Knowledge Graphscited by 23
  8. 2020Message Passing Query Embeddingcited by 8
  9. 2022FLEX: Feature-Logic Embedding Framework for CompleX Knowledge Graph Reasoningcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 3; 2024: 3; 2025: 2; 2026: 1.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2022Neural-Symbolic Entangled Framework for Complex Query Answering
  2. 2024A Foundation Model for Zero-shot Logical Query Reasoning
  3. 2022GammaE: Gamma Embeddings for Logical Queries on Knowledge Graphs
  4. 2022Inductive Logical Query Answering in Knowledge Graphs
  5. 2023Rethinking Complex Queries on Knowledge Graphs with Neural Link Predictors
  6. 2025A Large Language Model Based Method for Complex Logical Reasoning over Knowledge Graphs
  7. 2023Logical Message Passing Networks with One-hop Inference on Atomic Formulas
  8. 2024Improving Multi-hop Logical Reasoning in Knowledge Graphs with Context-Aware Query Representation Learning