2 extractive question-and-answer pairs built from 00 Karnataka, published by censusindia.gov.in. Every answer is a verbatim span of text the source prints, and each row carries the passage it sits in, its offset in that passage, the source quote, the page and the location in the document, so any row can be checked against the original. 1 of the 2 pairs (50.0%) are explanatory questions and 1 restate a figure. 100.00% of rows pass the corpus quality gate.
This dataset contains two extractive question-and-answer pairs derived from the Karnataka Census document published by censusindia.gov.in. The questions address district headquarters information and naming conventions. Each answer is a verbatim excerpt from the source text, with details about its location in the document for verification. The dataset includes explanatory and factual questions, providing insights into administrative naming practices and district headquarters in Karnataka.
Browse more economy datasets, including other records from the same source when available.
Explore Economy datasetsUse the API URL with your free DD token in notebooks, scripts, and pipelines.
https://desidata.in/api/datasets/karnataka-census-document-question-and-answer-dataset/downloadDataset downloads are free. For Python or API downloads, sign in once and create a free DD token; set it as DD_TOKEN or save it in your notebook's secrets. Requests are linked to your account so your download history and counts stay accurate.
# One-time install: pip install --upgrade desidata==0.1.1
# Set DD_TOKEN in your environment first (create a free token in Profile & settings).
import desidata
df = desidata.load("karnataka-census-document-question-and-answer-dataset")
df.head()First 2 of 2 rows
| question | answer | context | answer_start | question_type | knowledge_quality_score | source_quote | source_page | source_location | confidence | validation_status |
|---|---|---|---|---|---|---|---|---|---|---|
| Which districts have Bangalore as their headquarters? | Bangalore and Bangalore Rural districts | Where the district/taluk name differs from its headquarters name, the latter is given within brackets. Bangalore is the headquarters for Bangalore North,Bangalore South & Bangalore East taluks and also for Bangalore and Bangalore Rural districts. | 206 | list | 0.780 | Bangalore is the headquarters for Bangalore North,Bangalore South & Bangalore East taluks and also for Bangalore and Bangalore Rural districts. | 1 | page=1,ocr=1 | 0.700 | valid |
| What is indicated when the district or taluk name differs from its headquarters name? | the latter is given within brackets | Where the district/taluk name differs from its headquarters name, the latter is given within brackets. Bangalore is the headquarters for Bangalore North,Bangalore South & Bangalore East taluks and also for Bangalore and Bangalore Rural districts. | 66 | factual | 0.570 | Where the district/taluk name differs from its headquarters name, the latter is given within brackets. | 1 | page=1,ocr=1 | 0.700 | valid |
Read straight from the file — download or use the API URL for the full dataset.