CRAG Dataset Documentation

June 13, 2025 ยท View on GitHub

Overview

The CRAG dataset is designed to support the development and evaluation of Retrieval-Augmented Generation (RAG) models. It consists of two main types of data:

  1. Question Answering Pairs: Pairs of questions and their corresponding answers.
  2. Retrieval Contents: Contents for information retrieval to support answer generation.

Retrieval contents are divided into two types to simulate practical scenarios for RAG:

  1. Web Search Results: For each question, up to 50 full HTML pages are stored, retrieved using the question text as a search query. For Task 1 & 2, 5 pages are randomly selected from the top-10 pages. These pages are likely relevant to the question, but relevance is not guaranteed.
  2. Mock KGs and APIs: The Mock API is designed to mimic real-world Knowledge Graphs (KGs) or API searches. Given some input parameters, they output relevant results, which may or may not be helpful in answering the user's question.

Download CRAG Data

Data Schema

Field NameTypeDescription
interaction_idstringA unique identifier for each example.
query_timestringDate and time when the query and the web search occurred.
domainstringDomain label for the query. Possible values: "finance", "music", "movie", "sports", "open". "Open" includes any factual queries not among the previous four domains.
question_typestringType label about the query. Possible values include: "simple", "simple_w_condition", "comparison", "aggregation", "set", "false_premise", "post-processing", "multi-hop".
static_or_dynamicstringIndicates whether the answer to a question changes and the expected rate of change. Possible values: "static", "slow-changing", "fast-changing", and "real-time".
querystringThe question for RAG to answer.
answerstringThe gold standard answer to the question.
alt_anslistOther valid gold standard answers to the question.
splitintegerData split indicator, where 0 is for validation and 1 is for the public test.
popularitystringPopularity category of the entity mentioned in the question, with "head", "torso" and "tail" corresponding to the top, middle, and bottom popularity. We defined popularity based on heuristics for each entity type and created a roughly equal number of questions for each bucket. All questions with popularity labels non-empty are Knowledge Graph (KG) questions - questions with answers coming from the KG. When popularity is an empty string, it means the answer to the question comes from the web.
search_resultslist of JSONContains up to k HTML pages for each query (k=5 for Task #1 and k=50 for Task #3), including page name, URL, snippet, full HTML, and last modified time.

Search Results Detail

KeyTypeDescription
page_namestringThe name of the webpage.
page_urlstringThe URL of the webpage.
page_snippetstringA short paragraph describing the major content of the page.
page_resultstringThe full HTML of the webpage.
page_last_modifiedstringThe time when the page was last modified.