Fact retrieval from knowledge graphs through semantic and contextual attention
Knowledge Graphs (KGs), such as DBpedia and ConceptNet, enhance Natural Language Processing (NLP) applications by providing structured information. However, extracting accurate data from KGs is challenging due to issues in entity detection, disambiguation, and relation classification, which often lead to errors and inefficiencies. We introduce Attention2Query (A2Q) , an attention-driven approach that directly ranks and selects the most relevant facts, thus minimizing error propagation. A2Q centres on three key contributions: (1) Focused Node Selection , which streamlines graph traversal; (2) Global Attention Alignment , improving retrieval by comparing facts against the query text; and (3) Contextual Re-ranking , enabling on-the-fly adjustments of fact importance based on evolving query context. Experimental results across multiple tasks and datasets show that A2Q substantially outperforms baseline methods, including those in zero-shot settings, achieving higher retrieval accuracy with reduced computational overhead. • Novel on-the-go fact retrieval framework for KGs using attention mechanisms. • The reranking strategy improves retrieval accuracy with minimal context. • A versatile approach reduces retrieval of non-relevant data from KGs. • A2Q outperforms baselines in data quality and efficiency in zero-shot settings.
Authors
- Evangelos Milios (ORCID: https://orcid.org/0000-0001-5549-4675)
- Somayeh Kafaie (ORCID: https://orcid.org/0000-0002-5685-6487)
- Enayat Rajabi (ORCID: https://orcid.org/0000-0002-9557-0043)
- Akhil Chaudhary (ORCID: https://orcid.org/0009-0009-2575-8030)
Institutions
- Cape Breton University (CA)
- Dalhousie University (CA)
- Saint Mary's University (CA)
Publication Details
- Journal
- Expert Systems with Applications
- Published
- 2025-04-18
- DOI
- https://doi.org/10.1016/j.eswa.2025.127612
- Citations
- 2
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 4.96
Funders
- Southern Methodist University
- Natural Sciences and Engineering Research Council of Canada
- Faculty of Graduate Studies and Research, University of Alberta