DOE OSTI · 3424756
Query Relaxation for LLM-Generated SPARQL Queries over Building Knowledge Graphs
Abstract
When Knowledge Graph (KG) queries fail to match a pattern in a KG, they return no results. Identifying the statements causing these failures is tedious, especially for LLM-generated queries, which tend to be longer and more complex than queries written by hand. Query relaxation addresses this by systematically loosening query constraints until results are recovered. To evaluate the effectiveness of query relaxation against LLM generated queries, we propose a two-stage relaxation method combining triple deletion and path relaxation and test it against 1,823 failed queries for building KGs.
Keep this discovery
Explore connections, maps & timelines
Paul, Lazlo, Prakash, Anand Krishnan, Pritoni, Marco. 2026-06-22. Query Relaxation for LLM-Generated SPARQL Queries over Building Knowledge Graphs. https://doi.org/10.1145/3765611.3815342
Cite the original work for its findings. Save a collection to share your selection of sources.