Datasets:
The dataset viewer is not available for this dataset.
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
RedirectQA
RedirectQA is an entity-based factual QA dataset for analyzing how large language models access the same fact through different surface forms of an entity.
This v1.0.0 release is aligned with the dataset described in the paper Revisiting Non-Verbatim Memorization in Large Language Models: The Role of Entity Surface Forms. The public dataset contains:
61,120question realizations in thetestsplit30,560subject-surface instances14,672Wikidata factual triples14,672canonical surface instances15,888redirect surface instances16relation types33redirect categories
Each surface instance is rendered with two question templates:
original: the original PopQA-style templateparaphrased: a paraphrased template generated during dataset construction
Dataset Structure
This release provides one configuration:
default- split:
test - file:
data/test.parquet
- split:
The row unit in data/test.parquet is one question realization. Since each surface instance appears under two templates, every (triplet_id, redirect_id) pair appears exactly twice: once with template_type="original" and once with template_type="paraphrased".
Main data file
data/test.parquet61,120rows- one row per question realization
Metadata files
metadata/question_templates.json- the two public question templates for each predicate
metadata/redirect_category_to_type.csv- mapping from each redirect category to one of the higher-level types used in the paper
Data Fields
The main file contains the following columns.
| Column | Description |
|---|---|
triplet_id |
Identifier for the underlying factual triple |
redirect_id |
Surface-form identifier within a triple; 0 denotes the canonical surface |
subject_id |
Wikidata ID of the subject entity |
predicate_id |
Wikidata property ID |
object_ids |
Wikidata IDs of the answer entities |
subject_surface |
Subject string used in the question |
predicate_surface |
Natural-language relation label |
object_surfaces |
Canonical answer surface forms |
subject_aliases |
Subject aliases collected during construction |
object_aliases |
Alias lists for the answer entities |
subject_wiki_title |
Canonical English Wikipedia title of the subject |
object_wiki_titles |
Canonical English Wikipedia titles of the answer entities |
subject_pageviews |
Annual Wikipedia pageviews for the subject |
object_pageviews |
Annual Wikipedia pageviews for the answer entities |
subject_redirect_wiki_title |
Redirect title when the surface is non-canonical; null for canonical rows |
subject_surface_category |
Redirect category labels; canonical rows use ["__MAIN__"] |
possible_answers |
Acceptable answer strings for evaluation |
template_type |
Question template type: original or paraphrased |
question |
Final natural-language question |
High-Level Redirect Types
Redirect categories are grouped into the following high-level types:
Aliases_and_AbbreviationsSpelling_variantsTypical_Errors
Canonical rows are marked separately as Canonical in metadata/redirect_category_to_type.csv.
Statistics
The paper reports the following dataset statistics, which match this release:
30,560surface instances derived from14,672factual triples14,672canonical surface instances15,888redirect surface instances61,120question realizations from two templates per surface instance- among redirect surface instances:
8,667instances associated withAliases_and_Abbreviations4,928instances associated withSpelling_variants2,884instances associated withTypical_Errors
Source Data and Licensing Notes
This release is distributed under CC BY-SA 4.0.
It is derived from multiple resources, including:
- English Wikipedia redirects and titles
- Wikidata factual triples
- Wikimedia pageview statistics
- the PopQA setup for relation selection and original question templates
Underlying source licenses differ by source:
- Wikipedia text:
CC BY-SA 4.0 - Wikidata and pageviews:
CC0 1.0 - PopQA:
MIT
Loading the Dataset
from datasets import load_dataset
dataset = load_dataset("naist-nlp/RedirectQA", split="test")
print(dataset)
Citation
If you use RedirectQA, please cite the paper:
@misc{nishida2026revisitingnonverbatimmemorizationlarge,
title={Revisiting Non-Verbatim Memorization in Large Language Models: The Role of Entity Surface Forms},
author={Yuto Nishida and Naoki Shikoda and Yosuke Kishinami and Ryo Fujii and Makoto Morishita and Hidetaka Kamigaito and Taro Watanabe},
year={2026},
eprint={2604.21882},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2604.21882},
}
- Downloads last month
- 21