# XQuAD-R: Cross-lingual Answer Sentence Retrieval Benchmark, 11-Way Parallel Questions and Answers (Google Research LAReQA)

## Facts

- Provider: Google Research (Roy et al.)
- License: CC-BY-SA-4.0 (https://huggingface.co/datasets/google-research-datasets/xquad_r)
- Size: 13 files
- Format: Parquet (in sampled files)
- Stored at: Hugging Face, https://huggingface.co/datasets/google-research-datasets/xquad_r
- Access: public, readable without an account
- Category: Natural Language Processing
- Source: https://arxiv.org/abs/2004.05484
- Page: https://scigantic.com/archive/7cde2209-47bf-5539-b84f-983be0e4872f
- Keywords: Natural Language Processing, benchmark, Parquet, Hugging Face

## About

XQuAD-R is the retrieval version of XQuAD, released with LAReQA (Language-Agnostic Answer Retrieval from a multilingual pool). XQuAD's 240 SQuAD paragraphs and 1,190 questions are professionally translated into 11 languages (Arabic, German, Greek, English, Spanish, Hindi, Russian, Thai, Turkish, Vietnamese, Chinese); XQuAD-R splits the paragraphs into candidate answer sentences, so every question has 11 parallel correct answers, one per language, inside a pooled multilingual candidate set. The task is to retrieve the answer sentence for a question from the whole pool regardless of language, which tests whether multilingual sentence embeddings and dual-encoder retrievers are language-agnostic rather than biased toward same-language matches. The repository has one folder per language code (ar, de, el, en and so on), each with a validation Parquet file holding contexts, questions and answers with sentence offsets. Load with the Hugging Face datasets library (load_dataset('google-research-datasets/xquad_r', 'en')). Distributed under CC BY-SA 4.0; cite Roy et al., LAReQA: Language-Agnostic Answer Retrieval from a Multilingual Pool, EMNLP 2020.

## Load the data

```python
from datasets import load_dataset
ds = load_dataset("google-research-datasets/xquad_r")
print(ds)
```

## Data structure

File types in sampled files: Parquet

Example file: `ar/validation-00000-of-00001.parquet`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/7cde2209-47bf-5539-b84f-983be0e4872f
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/7cde2209-47bf-5539-b84f-983be0e4872f
- Over MCP: `get_schema_card` with id `7cde2209-47bf-5539-b84f-983be0e4872f` at https://api.scigantic.com/mcp

## Related topics

- [Parquet datasets](https://scigantic.com/topics/parquet)
- [Benchmark datasets](https://scigantic.com/topics/benchmark)
- [Natural Language Processing datasets](https://scigantic.com/topics/natural-language-processing)
