# BoolQ: 15,942 Naturally Occurring Yes/No Questions Paired with Wikipedia Passages (Google Research)

## Facts

- Provider: Google Research (Clark et al.)
- License: CC-BY-SA-3.0 (https://github.com/google-research-datasets/boolean-questions)
- Size: 4 files
- Format: Parquet (in sampled files)
- Stored at: Hugging Face, https://huggingface.co/datasets/google/boolq
- Access: public, readable without an account
- Category: Natural Language Processing
- Source: https://arxiv.org/abs/1905.10044
- Page: https://scigantic.com/archive/543652a5-da4f-547e-adf2-236097017f24
- Keywords: Natural Language Processing, benchmark, Parquet, Hugging Face

## About

BoolQ is a reading comprehension dataset of yes/no questions. The questions are naturally occurring: they come from anonymized, aggregated queries to the Google search engine that were issued in unprompted, unconstrained settings, and annotators paired each one with a Wikipedia passage and a true/false answer. Each example is a triplet of question, passage and answer, with the Wikipedia page title as optional context, so the task resembles natural language inference over a text pair. BoolQ is part of the SuperGLUE benchmark and is used to evaluate boolean question answering, textual entailment and inference in pretrained language models. It holds 15,942 examples: 9,427 training and 3,270 validation, stored as two Parquet files (about 5 MB) under data/. Load with the Hugging Face datasets library (load_dataset('google/boolq')) or pandas. Released by Google Research under Creative Commons Attribution-ShareAlike 3.0 (CC BY-SA 3.0); cite Clark et al., BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questions, NAACL 2019.

## Load the data

```python
from datasets import load_dataset
ds = load_dataset("google/boolq")
print(ds)
```

## Data structure

File types in sampled files: Parquet

Example file: `data/train-00000-of-00001.parquet`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/543652a5-da4f-547e-adf2-236097017f24
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/543652a5-da4f-547e-adf2-236097017f24
- Over MCP: `get_schema_card` with id `543652a5-da4f-547e-adf2-236097017f24` 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)
