CLAILGJun 7, 2024

LinkQ: An LLM-Assisted Visual Interface for Knowledge Graph Question-Answering

arXiv:2406.06621v29 citations
Originality Incremental advance
AI Analysis

This addresses the challenge for knowledge graph practitioners who need to query graphs without expertise in query languages, though it is incremental as it builds on existing LLM-assisted methods.

The paper tackles the problem of constructing knowledge graph queries by introducing LinkQ, a system that uses a large language model to interpret natural language questions and convert them into precise queries, with a qualitative study showing practitioners find it effective.

We present LinkQ, a system that leverages a large language model (LLM) to facilitate knowledge graph (KG) query construction through natural language question-answering. Traditional approaches often require detailed knowledge of a graph querying language, limiting the ability for users -- even experts -- to acquire valuable insights from KGs. LinkQ simplifies this process by implementing a multistep protocol in which the LLM interprets a user's question, then systematically converts it into a well-formed query. LinkQ helps users iteratively refine any open-ended questions into precise ones, supporting both targeted and exploratory analysis. Further, LinkQ guards against the LLM hallucinating outputs by ensuring users' questions are only ever answered from ground truth KG data. We demonstrate the efficacy of LinkQ through a qualitative study with five KG practitioners. Our results indicate that practitioners find LinkQ effective for KG question-answering, and desire future LLM-assisted exploratory data analysis systems.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes