Pleias releases traces of an AI model searching Wikidata in code
In short
- Pleias, a French AI lab, and the AI-BRIDGES research project have released 10,235 recorded searches of an AI model answering questions by walking through Wikidata, the free knowledge base behind Wikipedia, step by step in code. The traces are meant as training data for smaller models.
- The work is described in an arXiv technical report posted on 5 October 2026, a preprint that has not been peer reviewed, and in a Pleias blog post of the same day.
- In the authors' test on 100 questions, letting a model explore the graph from a Python workspace instead of pasting every result into its conversation raised an open-weight model, Qwen3.8-27B running on one GPU, from 60 to 74 correct answers, and the commercial gpt-6-luna from 49 to 61.
10,235 solving traces released (672 multi-hop, 9,563 single-entity); 74 / 100 best score: Qwen3.8-27B in the harness, on one H100 GPU; 9 → 19 gpt-6-luna's multi-hop answers out of 50, agent vs harness; $0.04 estimated cost per question for the open model
The problem it tackles
Wikidata describes more than 100 million entities and is maintained by volunteers. Its facts are sourced, but a complicated question normally needs SPARQL, a query language that requires knowing the right identifiers and how to chain them. Chatbots answer in plain language but mostly from memory, which, the authors note, "is least reliable for less prominent entities".
The middle road is an agent: a language model that takes actions (here, calls to the graph), reads the results and decides what to do next. The paper names two obstacles: no training data records how a solver explores a knowledge graph, and the usual interface pastes every result into the model's context, where "one navigation step on a hub entity can return thousands of neighbours and statements".
How the questions are built
The team builds each question backwards from a known answer, on a Wikidata snapshot frozen in February 2026 with about 48 million entities and 262 million facts. The worked example in the paper is the 1986 Monaco Grand Prix. It starts as "Which race took place at Circuit de Monaco and was part of the 1986 Formula One World Championship?" Then, step by step, a language model picks one named thing to hide and replaces it with one to three conditions describing it: Circuit de Monaco becomes "a street circuit used for auto racing".
After every step, code checks the graph twice. Certification: the question must still point to exactly one answer. Necessity: removing any newly added clue must let in another answer, so no clue is decoration. Each question needs three to ten such expansions. After ten, the Monaco question has 16 relations and asks how many laps the race was, reached via Jos Verstappen's discipline, an award once won by Jackie Stewart and an event in a Belgian province. The answer is 78 laps.
A writer model turns each graph into a natural question and a critic model checks that every condition survived. Seeds were spread across popular, moderate and rare entities, to reduce reliance on answers a model may have memorised.

How one question is grown: at each step a named entity is hidden and replaced by clues about it, while the graph is checked to still point to a single answer. After ten steps the Monaco race is reached through 16 relations. Chenene et al., arXiv 2610.06650 (2026), Fig. 1, CC BY 4.0.
What to notice: Real names stay in the final question only as clues (Jos Verstappen, Jackie Stewart); the race itself, its circuit and its winner are never named.
What is in the dataset
From 2,003 certified question graphs the pipeline accepted 1,498 multi-hop questions, plus 11,130 simpler single-entity questions about 4,427 entities. A model (Gemini-3.1-flash-lite) then tried to solve them inside the harness, with hints from the graph to help it get there, and only runs that reached the expected answer were kept: 672 multi-hop and 9,563 single-entity traces. A multi-hop trace takes ten turns at the median.
Each trace records the question, the Python the model wrote, what the graph returned and the answer, which can be scored exactly, without an AI judge.
In plain words (our reading): CC BY 4.0 lets anyone reuse and adapt the traces, including commercially, with credit. Without a licence file, the code's terms are unclear until the authors add one.
Does exploring Wikidata in code improve answers?
The recursive language model (RLM) approach, which the authors credit to Zhang, Kraska and Khattab, gives the model a persistent Python workspace: it calls 13 graph functions from code, keeps results in variables, prints only what it needs and can hand evidence to a sub-call of itself. The baseline is an ordinary tool-calling agent with the same 13 functions, whose outputs go straight into the conversation.
The test used 50 single-entity and 50 multi-hop questions built the same way, without hints.
Source: the paper's Table 4. Qwen costs are the authors' estimate for batched serving on one H100; the others use API prices.
The authors' explanation is that the harness carries the search further. On multi-hop questions it took gpt-6-luna to the right entity in 35 runs instead of 17, and Qwen3.8-27B in 39 instead of 27; once there, each model answered correctly at about the same rate either way. In code, gpt-6-luna made 15,575 graph calls per multi-hop run against 13 as an agent, at similar token use.
These are first results on 100 questions, from the authors' own pipeline. The two interfaces did not get matched budgets of graph calls, only two models ran under both, and GLM-5.3-flash and Gemini-3.1-flash-lite were not tried in the harness. The paper says the multi-hop gap does "not yet show that difficulty follows the depth or number of expansions", and that whether the traces teach smaller models "remains untested".
Limits the authors list
The traces were collected with hints, so they show "more direct routes than an unguided solver would take", and were recorded without the model's reasoning. Every question has exactly one answer, so nothing teaches a model to report several answers or none. The harness works on the February 2026 snapshot; the blog says connecting it to the live Wikidata API "is next on our list". The stated next step is to fine-tune a smaller open model, around 12 billion parameters, on the traces.
Who did it
The five authors are from Pleias and academic partners in Paris and London. AI-BRIDGES is a Marie Skłodowska-Curie fellowship hosted at the School of Advanced Study, University of London; this phase was funded by Wikimedia Switzerland in collaboration with Wikimedia Deutschland.
30 September 2026: the dataset repository is created on Hugging Face. 1 October 2026: the harness repository is created on GitHub. 5 October 2026: the paper (v1) and the Pleias blog post go up. 9 October 2026: revised paper (v3); the dataset is last updated the same day.
Official channels of Pleias: Website · LinkedIn
Sources
- Wikidata Search Traces: A Dataset for Training Knowledge Graph Search Agents, Chenene, Rosas-Hinostroza, Stasenko, Evenstein Sigalov and Langlais, arXiv, 5 October 2026 (v3, 9 October)
- An RLM agent for searching Wikidata, and the traces to train on it, Pleias blog, 5 October 2026
- Wikidata Search Traces dataset card, AI-BRIDGES on Hugging Face
- RLM_Wikidata harness, GitHub
Sources
- Wikidata Search Traces: A Dataset for Training Knowledge Graph Search Agents
- An RLM agent for searching Wikidata, and the traces to train on it
- Wikidata Search Traces dataset card
- RLM_Wikidata harness
Related stories
- AWS releases AWS Context, a map of company data for AI agents
- Cerebras and NVIDIA plan to split AI answers across two chips
- Bound on solving degree-n polynomials drops to about n − √n
- NVIDIA announces Nemotron 4, a family of open AI models
- Pleias releases two reasoning models trained on synthetic data
- Pi0 gamma data need excited rho and omega states, authors say