SEMAPHORE: Semantic Detour over Incomplete Knowledge Graphs for Multi-hop Numerical QA
Abstract
Numerical question answering (QA) over Knowledge Graphs (KGs) requires retrieving numerical values from structured sources. Knowledge Graph Question Answering (KGQA) and KG-augmented Large Language Model (LLM) methods exploit multi-hop connectivity for entity-centric questions but remain brittle for numerical queries, whose values typically appear as sparse attribute leaves. When required triples are missing, target values can become unreachable by explicit traversal; structural methods may retrieve values from the wrong numerical attribute, while numerical solvers assuming directly attached values cannot access non-local evidence. We propose SEMAPHORE, a neuro-symbolic framework that reformulates numerical QA over KGs as a semantic detour problem. SEMAPHORE combines symbolic path planning with embedding-based geometric navigation and decoupled scoring that separates relational navigation from numerical attribute grounding. This design identifies plausible detours while preserving the metric semantics required for accurate numerical answers. On numerical QA benchmarks derived from FB15K-237 and YAGO15K, SEMAPHORE outperforms strong LLM and KG-augmented baselines, demonstrating the value of semantic detours for robust numerical knowledge access over KGs. Sparsity and cross-dataset transfer experiments show that this advantage persists under severe graph incompleteness and when target-specific Knowledge Graph Embedding (KGE) training is replaced with transferred schema embeddings. Code is available at https://github.com/orcies8147/SEMAPHORE.