Research
GenSPARQL: A Generative Extension of SPARQL for Incomplete Knowledge Graphs
GenSPARQL extends SPARQL 1.1 with a GENOP operator that binds LLM-generated values to query variables during query evaluation. A similarity join maps generated names to entity IRIs, and the query planner invokes the LLM only for bindings selected by other graph patterns and filters. Evaluation with three open-weight LLMs shows the embedding similarity maps 83% of entities named by the LLMs and yields only one incorrect match. A web workbench lets attendees query two Wikidata-derived graphs and inspect generated values, mapped entities, and LLM calls.
knowledge graphsSPARQLlarge language models