Conversational Lexicography: Querying Lexicographic Data on Knowledge Graphs with SPARQL through Natural Language
By: Kilian Sennrich, Sina Ahmadi
Potential Business Impact:
Lets you ask questions about words using normal talk.
Knowledge graphs offer an excellent solution for representing the lexical-semantic structures of lexicographic data. However, working with the SPARQL query language represents a considerable hurdle for many non-expert users who could benefit from the advantages of this technology. This paper addresses the challenge of creating natural language interfaces for lexicographic data retrieval on knowledge graphs such as Wikidata. We develop a multidimensional taxonomy capturing the complexity of Wikidata's lexicographic data ontology module through four dimensions and create a template-based dataset with over 1.2 million mappings from natural language utterances to SPARQL queries. Our experiments with GPT-2 (124M), Phi-1.5 (1.3B), and GPT-3.5-Turbo reveal significant differences in model capabilities. While all models perform well on familiar patterns, only GPT-3.5-Turbo demonstrates meaningful generalization capabilities, suggesting that model size and diverse pre-training are crucial for adaptability in this domain. However, significant challenges remain in achieving robust generalization, handling diverse linguistic data, and developing scalable solutions that can accommodate the full complexity of lexicographic knowledge representation.
Similar Papers
Graph Queries from Natural Language using Constrained Language Models and Visual Editing
Human-Computer Interaction
Lets anyone ask computers questions about facts.
Text-to-SPARQL Goes Beyond English: Multilingual Question Answering Over Knowledge Graphs through Human-Inspired Reasoning
Computation and Language
Answers questions in any language from data.
GRASP: Generic Reasoning And SPARQL Generation across Knowledge Graphs
Computation and Language
Lets computers answer questions using big data.