GenSPARQL links 83% of generated names that refer to graph entities. That doesn’t verify the facts.
In a two-graph demo, embedding similarity recovered more name variants than word matching. The same evaluation shows why a valid graph ID is not proof of a generated claim.
A query can return a real entity ID and still be wrong about that entity. That distinction is the most useful result in GenSPARQL’s Nov. 19 demo paper. The prototype extends Apache Jena’s SPARQL engine so that a query can ask a language model for a missing value during execution. When a generated name matches an existing graph label closely enough, the query can use the graph’s identifier in subsequent patterns. That match identifies an entity; it does not verify the claim that brought the entity into the answer.
What the 83% measures
In Section 4, the authors ran six list queries across World Cup and Nobel Prize graphs built from Wikidata, using Qwen3-30B, Qwen3-8B and Mistral-7B. They counted 145 graph entities named by the three models, counting each entity once per model. At a similarity threshold of 0.85, the embedding join recovered 83% of those entities and made one incorrect match. A word-set Jaccard join recovered 67% at the same threshold. The embedding join also had a trade-off: at 0.90, recall fell to 79% with no incorrect match observed; at 0.80, precision fell to 91%.
The denominator matters. Depending on the model, 20% to 61% of generated names did not refer to an entity in the evaluated graph. Those names do not contribute to the 145-entity recall denominator. And the separate attribute tests, which compare generated values against Wikidata, report 55–59% correctness for playing positions and 69–90% for birth years among answered entities with reference values, not across all entities. Neither score is a BIRD or Spider 2.0 result.
Filter first, then measure what the model adds
The same evaluation reports that moving graph filters ahead of generation reduced calls from 1,248 to 104 for a World Cup Group A query and from 230 to 17 for a Physics Nobel query restricted to awards since 2020, compared with running generation first. Those are call counts on two queries, not a general latency or cost benchmark.
For teams testing a similar query operator, measure three things separately: how often the model names an entity the graph contains, how often the join links it correctly, and how often the returned fact agrees with an independent reference. The public repository ships the evaluation and a recorded workbench for inspecting the authors’ examples. We did not independently rerun the models.
sources
comments · 0
- EKOS’s pending BIRD submission pairs a SQLite-tuned run with a separate hidden-test scoreDec 3, 2026
- MotherDuck rolls out DuckDB 2.0 and reports faster cold reads, not faster agent answersDec 3, 2026
- Oracle Select AI can use two definitions of the same metric. Source order won’t break the tieDec 3, 2026