Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

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,120 question realizations in the test split
  • 30,560 subject-surface instances
  • 14,672 Wikidata factual triples
  • 14,672 canonical surface instances
  • 15,888 redirect surface instances
  • 16 relation types
  • 33 redirect categories

Each surface instance is rendered with two question templates:

  • original: the original PopQA-style template
  • paraphrased: a paraphrased template generated during dataset construction

Dataset Structure

This release provides one configuration:

  • default
    • split: test
    • file: data/test.parquet

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.parquet
    • 61,120 rows
    • 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_Abbreviations
  • Spelling_variants
  • Typical_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,560 surface instances derived from 14,672 factual triples
  • 14,672 canonical surface instances
  • 15,888 redirect surface instances
  • 61,120 question realizations from two templates per surface instance
  • among redirect surface instances:
    • 8,667 instances associated with Aliases_and_Abbreviations
    • 4,928 instances associated with Spelling_variants
    • 2,884 instances associated with Typical_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

Paper for naist-nlp/RedirectQA