Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
15
39
question_id
stringlengths
14
36
category
stringclasses
2 values
type
stringclasses
16 values
question
stringlengths
32
936
answer_format
stringclasses
6 values
answer
stringlengths
1
200
answer_kind
stringclasses
4 values
model
stringclasses
1 value
n_turns
int32
1
27
n_messages
int32
3
55
chars
int32
283
168k
system_chars
int32
5.15k
5.2k
guide_residue
bool
2 classes
messages
listlengths
3
55
TR_SE_Q1000921_neighbour_P39_0
SE_Q1000921_neighbour_P39_0
single_entity
neighbour
How many different people are listed as having served as the Prime Minister of the Faroe Islands?
Call FINAL with exactly one JSON number and no prose, for example: 7
15
number
gemini-3.1-flash-lite
2
5
1,430
5,160
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q1000921_profile_P1308_0
SE_Q1000921_profile_P1308_0
single_entity
profile
Who are all the different people that have served as the Prime Minister of the Faroe Islands according to the records on Wikidata?
Call FINAL with exactly this JSON array of every matching entity and no prose: ["Q...", "Q..."]
["Q492986", "Q1058890", "Q74077", "Q746101", "Q757383", "Q639940", "Q763757", "Q272902", "Q678236", "Q529900", "Q331931", "Q331786", "Q556712", "Q853551"]
list
gemini-3.1-flash-lite
1
3
1,476
5,187
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q100153926_neighbour_P3148_1
SE_Q100153926_neighbour_P3148_1
single_entity
neighbour
How many different items does Wikidata list as being repealed by the Law of the Republic of Indonesia Number 11 of 2020?
Call FINAL with exactly one JSON number and no prose, for example: 7
3
number
gemini-3.1-flash-lite
2
5
2,408
5,160
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q100153926_profile_P2568_0
SE_Q100153926_profile_P2568_0
single_entity
profile
I was looking into that Indonesian omnibus bill on workforce, Law Number 11 of 2020, and I'm wondering which specific laws and regulations are listed on Wikidata as having repealed it?
Call FINAL with exactly this JSON array of every matching entity and no prose: ["Q...", "Q..."]
["Q129566475", "Q129567385", "Q129567348"]
list
gemini-3.1-flash-lite
1
3
1,082
5,187
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q100153926_reference_P7588_1
SE_Q100153926_reference_P7588_1
single_entity
reference
Since the Law of the Republic of Indonesia Number 11 of 2020 went into effect in 2020, what's the URL for the source that actually cites this date?
Call FINAL with exactly one JSON string and no prose, for example: "Paris"
https://peraturan.bpk.go.id/Details/149750
str
gemini-3.1-flash-lite
1
3
988
5,166
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q100279905_value_date_P577_0
SE_Q100279905_value_date_P577_0
single_entity
value_date
Could you provide the specific year when the first edition of The Wikipedia Signpost, titled 'Welcome to the inaugural edition of The Wikipedia Signpost', was formally published?
Call FINAL with exactly one JSON string holding the year and no prose, for example: "1993"
2005
number
gemini-3.1-flash-lite
1
3
430
5,182
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q100279905_value_item_P1433_0
SE_Q100279905_value_item_P1433_0
single_entity
value_item
In which publication was the inaugural edition of The Wikipedia Signpost, titled 'Welcome to the inaugural edition of The Wikipedia Signpost', officially released?
Call FINAL with exactly this JSON array and no prose: ["Q..."]
["Q16639816"]
list
gemini-3.1-flash-lite
1
3
1,286
5,154
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q1003131_neighbour_P6379_1
SE_Q1003131_neighbour_P6379_1
single_entity
neighbour
How many items are listed as belonging to the Fortepan collection?
Call FINAL with exactly one JSON number and no prose, for example: 7
3
number
gemini-3.1-flash-lite
2
5
2,038
5,160
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q1003131_profile_P921_0
SE_Q1003131_profile_P921_0
single_entity
profile
What are the various main subjects of the Fortepan collection as documented in the Wikidata registry?
Call FINAL with exactly this JSON array of every matching entity and no prose: ["Q...", "Q..."]
["Q125191", "Q199960", "Q49773", "Q131265"]
list
gemini-3.1-flash-lite
1
3
1,014
5,187
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q1003131_reference_P6241_4
SE_Q1003131_reference_P6241_4
single_entity
reference
Regarding the archival entry attributing the Fortepan collection's creation to Miklós Tamási, please identify the specific database or scholarly registry wherein this provenance is formally documented.
Call FINAL with exactly this JSON array and no prose: ["Q..."]
["Q64784883"]
list
gemini-3.1-flash-lite
1
3
1,313
5,154
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q1003985_language_de_0
SE_Q1003985_language_de_0
single_entity
language
How do folks say the name of that old Frizatik currency in German?
Call FINAL with exactly one JSON string and no prose, for example: "Paris"
Friesacher Pfennig
str
gemini-3.1-flash-lite
1
3
620
5,166
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q1003985_value_item_P138_0
SE_Q1003985_value_item_P138_0
single_entity
value_item
From what specific geographical or administrative etymon does the medieval Croatian currency known as the Frizatik derive its nomenclature?
Call FINAL with exactly this JSON array and no prose: ["Q..."]
["Q871601"]
list
gemini-3.1-flash-lite
1
3
1,196
5,154
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q1004260_language_ru_0
SE_Q1004260_language_ru_0
single_entity
language
I was looking into the Bullengraben river and was wondering if you could tell me how it's referred to in Russian.
Call FINAL with exactly one JSON string and no prose, for example: "Paris"
Булленграбен
str
gemini-3.1-flash-lite
2
5
1,423
5,166
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q1004260_qualifier_P974_0
SE_Q1004260_qualifier_P974_0
single_entity
qualifier
Regarding the hydrologic classification of the Bullengraben river, please specify the bank orientation on which the Egelpfuhlgraben tributary enters the main channel.
Call FINAL with exactly this JSON array and no prose: ["Q..."]
["Q25303601"]
list
gemini-3.1-flash-lite
2
5
3,019
5,154
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q1004260_value_quantity_P2053_1
SE_Q1004260_value_quantity_P2053_1
single_entity
value_quantity
I'd love to know the size of the watershed area for the Bullengraben river if you have that info handy.
Call FINAL with exactly this JSON object and no prose: {"amount": <number>, "unit": "<unit name, or null>"}
{"amount": 1.4, "unit": "square kilometre"}
dict
gemini-3.1-flash-lite
1
3
1,046
5,199
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q1004343_language_fr_0
SE_Q1004343_language_fr_0
single_entity
language
Within the academic discipline of fundamental theology, what is the formal French terminology used to designate this specific field of study?
Call FINAL with exactly one JSON string and no prose, for example: "Paris"
théologie fondamentale
str
gemini-3.1-flash-lite
2
5
1,924
5,166
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q1004343_neighbour_P101_0
SE_Q1004343_neighbour_P101_0
single_entity
neighbour
How many items in the database currently list fundamental theology as their specific field of work?
Call FINAL with exactly one JSON number and no prose, for example: 7
64
number
gemini-3.1-flash-lite
2
5
2,475
5,160
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q1004343_value_item_P1365_1
SE_Q1004343_value_item_P1365_1
single_entity
value_item
Which academic discipline did fundamental theology formally succeed and replace in the scholarly curriculum?
Call FINAL with exactly this JSON array and no prose: ["Q..."]
["Q17995685"]
list
gemini-3.1-flash-lite
1
3
999
5,154
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q1004715_language_ar_2
SE_Q1004715_language_ar_2
single_entity
language
How do you write the name of the town Mashta al-Helu in Arabic script?
Call FINAL with exactly one JSON string and no prose, for example: "Paris"
مشتى الحلو
str
gemini-3.1-flash-lite
1
3
456
5,166
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q1004715_value_quantity_P2044_0
SE_Q1004715_value_quantity_P2044_0
single_entity
value_quantity
What is the recorded elevation above sea level for the settlement of Mashta al-Helu?
Call FINAL with exactly this JSON object and no prose: {"amount": <number>, "unit": "<unit name, or null>"}
{"amount": 465.0, "unit": "metre"}
dict
gemini-3.1-flash-lite
2
5
2,586
5,199
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q1005148_neighbour_P463_0
SE_Q1005148_neighbour_P463_0
single_entity
neighbour
How many distinct entities are documented within the Wikidata records as maintaining a membership status within the Bund Demokratischer Wissenschaftlerinnen und Wissenschaftler?
Call FINAL with exactly one JSON number and no prose, for example: 7
4
number
gemini-3.1-flash-lite
2
5
3,359
5,160
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q1005148_value_date_P571_0
SE_Q1005148_value_date_P571_0
single_entity
value_date
Do you happen to know what year the Bund Demokratischer Wissenschaftlerinnen und Wissenschaftler was actually started?
Call FINAL with exactly one JSON string holding the year and no prose, for example: "1993"
1968
number
gemini-3.1-flash-lite
1
3
1,169
5,182
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q1005148_value_item_P1454_2
SE_Q1005148_value_item_P1454_2
single_entity
value_item
What is the designated legal form under which the Bund Demokratischer Wissenschaftlerinnen und Wissenschaftler is formally incorporated?
Call FINAL with exactly this JSON array and no prose: ["Q..."]
["Q9299236"]
list
gemini-3.1-flash-lite
1
3
957
5,154
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q100542638_qualifier_P179_1
SE_Q100542638_qualifier_P179_1
single_entity
qualifier
The European Union Habitats (Ballyprior Grassland Special Area of Conservation 002256) Regulations 2016 is listed as part of the Irish Statutory Instruments 2016 series; do you know which instrument followed it in that same series?
Call FINAL with exactly this JSON array and no prose: ["Q..."]
["Q100542642"]
list
gemini-3.1-flash-lite
1
3
1,271
5,154
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q100542638_reference_P457_7
SE_Q100542638_reference_P457_7
single_entity
reference
I see the European Union Habitats (Ballyprior Grassland Special Area of Conservation 002256) Regulations 2016 list the European Communities Act of 1972 as their foundation, but what's the actual web address for where that's cited from?
Call FINAL with exactly one JSON string and no prose, for example: "Paris"
http://www.irishstatutebook.ie/eli/isbc/1972_27.html
str
gemini-3.1-flash-lite
3
7
4,268
5,166
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
TR_SE_Q100542638_value_date_P577_0
SE_Q100542638_value_date_P577_0
single_entity
value_date
Could you please provide the formal publication date for the Irish Statutory Instrument regarding the European Union Habitats (Ballyprior Grassland Special Area of Conservation 002256) Regulations?
Call FINAL with exactly one JSON string holding the year and no prose, for example: "1993"
2016
number
gemini-3.1-flash-lite
1
3
743
5,182
false
[ { "role": "system", "content": "You are a Recursive Language Model (RLM) agent exploring a frozen Wikidata snapshot through Python functions in a persistent REPL.\n\n## Interaction limit\n\n6 turns total. Graph reads are measured but not capped. llm_query is\ncapped at 80 calls for the whole run.\n\n## Avai...
End of preview. Expand in Data Studio

Wikidata-Search-Traces is an open corpus of 10,235 reasoning trajectories over Wikidata. In each one, an agent answers a question by writing Python in a REPL: it searches entities, follows relations, reads qualifiers and references, keeps intermediate results in variables, and returns an answer checked exactly against the graph.

Wikidata describes more than 120 million entities in over 300 languages, and AI systems have no good way to explore it. SPARQL takes expertise and pasting graph data into a context window degrades as the question grows. Recursive Language Models (RLMs; Zhang, Kraska & Khattab, 2026) fit this task better: the model explores the graph in code and calls itself on the parts that matter. Training on trajectories from a larger model turns a small model into an effective RLM, but no such trajectories existed for a knowledge graph. This corpus provides them.

Composition

Category In short Question types Example Traces
Single-entity Simple lookup around one node A property's value (entity, year or quantity), a qualifier, a reference, the preferred value, the label in French, German, Chinese, Arabic or Russian, every value of a property, how many entities point at it The Japanese submarine I-53 was launched during World War II, but do you know exactly when that happened? → 1942 9,563
Multi-hop Long-horizon search through the graph The target never appears by name; a chain of facts about unnamed entities identifies it. The question asks for the target, a year, a quantity, how many entities point at it, the list of those entities, or the one with the highest or lowest value A cave in Lebanon is located within a district belonging to a specific governorate that shares a border with the South Governorate. Which cave is this? → Afqa Grotto 672

A single-entity trace takes 1 turn at the median; a multi-hop trace takes 10, up to 27. Every answer is an entity (QID), a year, a quantity, a number, a string or a list of entities, so you can score a model exactly, with no judge. The graph is a frozen Wikidata dump of February 2026 (48 M entities, 262 M edges).

Each row holds the question, the answer format, the expected answer, the model and the conversation in chat format.

Processing

  1. Seeds. We sample seed entities evenly across popular, moderate and rare parts of the graph.
  2. Building complex questions. Starting from the seed, a model expands through its neighbouring nodes and grows a tree of facts that leads back to the seed without naming it. That tree becomes the question.
  3. Natural question. A model converts the tree into a natural question using a persona from Nemotron-Personas-USA, so the questions vary in tone and style.
  4. Traces. A model answers each question inside our RLM harness. We keep only the traces that reach the expected answer.

Evaluation

We evaluated five systems on 100 questions built with the pipeline: 50 single-entity and 50 multi-hop.

  • Single-entity types: language 6, neighbour 5, profile 5, qualifier 6, rank 5, reference 6, value_date 5, value_item 6, value_quantity 6.
  • Multi-hop types: identity 24, year 12, quantity 7, count 4, group 3.
  • Scoring: exact match after canonicalisation, with no judge. Entities must match as QIDs. Quantities must match both the amount and the unit label, with null when the value has no unit.

Systems

System Model Setup
Qwen3.8-27B + RLM Qwen3.8-27B (FP8, served with vLLM on one H100) RLM harness
gpt-6-luna + RLM gpt-6-luna RLM harness
glm-5.3-flash agent glm-5.3-flash tool-calling agent
gpt-6-luna agent gpt-6-luna tool-calling agent
gemini-3.1-flash-lite agent gemini-3.1-flash-lite tool-calling agent
  • Shared: every system uses the same 13 graph functions over the same frozen graph, with low reasoning effort. Every system gets the same instruction: "The question has an answer. Do not stop until you find one."
  • RLM harness: the model writes Python in a REPL and keeps intermediate results in variables. It can call itself on sub-problems. Temperature 1, up to 100 turns and 80 sub-calls maximum.
  • Tool-calling agents: openai-agents with LiteLLM. They call the graph functions directly, with tool output truncated at 10,000 characters, up to 100 calls and $0.50 per question maximum.

Results

System Single-entity Multi-hop Overall Cost / question Tokens / question (median) Seconds / question (median)
Qwen3.8-27B + RLM 46/50 28/50 74/100 $0.04 ¹ 35,754 25 ²
gpt-6-luna + RLM 42/50 19/50 61/100 $0.013 24,942 18
glm-5.3-flash agent 37/50 13/50 50/100 $0.067 30,478 33
gpt-6-luna agent 40/50 9/50 49/100 $0.005 24,924 16
gemini-3.1-flash-lite agent 31/50 10/50 41/100 $0.19 460,426 104

For the API systems, cost is input tokens × input price + output tokens × output price, with prices from LiteLLM's model price table. For every model, reasoning tokens are counted as output tokens, in both the token counts and the costs.

¹ Estimated cost of batched serving on an H100 in Google Colab, about 40 compute units in total. ² Processing one question at a time.

License

Facts from Wikidata (CC0 1.0). Question style from NVIDIA Nemotron-Personas-USA (CC BY 4.0); no persona text appears in a question.

The traces were generated with gemini-3.1-flash-lite: we provide them for demonstration purposes of our harness design.

Downloads last month
23