Lexicalization Is All You Need: Examining the Impact of Lexical Knowledge in a Compositional QALD System

David Maria Schmidt, Mohammad Fazleh Elahi, Philipp Cimiano
11/6/2024
cs.AIcs.CLcs.IR

No official code found. Best implementation: ag-sc/neodudes (1 star, last commit 2025-08-18).

Abstract

In this paper, we examine the impact of lexicalization on Question Answering over Linked Data (QALD). It is well known that one of the key challenges in interpreting natural language questions with respect to SPARQL lies in bridging the lexical gap, that is mapping the words in the query to the correct vocabulary elements. We argue in this paper that lexicalization, that is explicit knowledge about the potential interpretations of a word with respect to the given vocabulary, significantly eases the task and increases the performance of QA systems. Towards this goal, we present a compositional QA system that can leverage explicit lexical knowledge in a compositional manner to infer the meaning of a question in terms of a SPARQL query. We show that such a system, given lexical knowledge, has a performance well beyond current QA systems, achieving up to a $35.8\%$ increase in the micro $F_1$ score compared to the best QA system on QALD-9. This shows the importance and potential of including explicit lexical knowledge. In contrast, we show that LLMs have limited abilities to exploit lexical knowledge, with only marginal improvements compared to a version without lexical knowledge. This shows that LLMs have no ability to compositionally interpret a question on the basis of the meaning of its parts, a key feature of compositional approaches. Taken together, our work shows new avenues for QALD research, emphasizing the importance of lexicalization and compositionality.

View on arXivView PDF

Code Implementations(1)

ag-sc/neodudesCommunity100%

NeoDUDES - A Compositional Question Answering System Using DUDES

10Shell, PythonJul 1, 20241 years ago

Cite this paper

@article{schmidt2024lexicalization,
  title  = {Lexicalization Is All You Need: Examining the Impact of Lexical Knowledge in a Compositional QALD System},
  author = {David Maria Schmidt and Mohammad Fazleh Elahi and Philipp Cimiano},
  year   = {2024},
  eprint = {2411.03906},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.03906v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.03906.svg)](https://codeofpaper.com/paper/2411.03906)

Discussion