3 extractive question-and-answer pairs built from Government of India Ministry of Home Affairs, 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. 2 of the 3 pairs (66.7%) are explanatory questions and 1 restate a figure. 100.00% of rows pass the corpus quality gate.
This dataset contains three extractive question-and-answer pairs derived from a document published by the Government of India Ministry of Home Affairs. The questions address definitions, relationships, and factual data, with answers sourced directly from the document text. The dataset includes metadata such as the context of each answer, its location in the document, and validation status. Two questions explain concepts, while one provides a numerical figure.
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/government-of-india-ministry-of-home-affairs-document-question-and-answer/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("government-of-india-ministry-of-home-affairs-document-question-and-answer")
df.head()First 3 of 3 rows
| question | answer | context | answer_start | question_type | knowledge_quality_score | source_quote | source_page | source_location | confidence | validation_status |
|---|---|---|---|---|---|---|---|---|---|---|
| What type of document is described? | Census | Registrar General Census Commissioner, India Government of India Ministry of Home Affairs Publisher = Office of the Registrar General, India; Type = Census; Source = Census Library, India; Language = English; Retention Period = Permanent; India/State = India; Pages = 103 p.; Adobe Scan-to-PDF Utility 4. Government of India Ministry of Home Affairs | 18 | definition | 0.900 | Registrar General Census Commissioner, India Government of India Ministry of Home Affairs Publisher = Office of the Registrar General, India; Type = Census; Source = Census Library, India; Language = English; Retention Period = Permanent; India/State = India; Pages = 103 p.; Adobe Scan-to-PDF Utility 4. | pdf-properties | 0.700 | valid | |
| Which ministry is associated with the document? | Ministry of Home Affairs | Registrar General Census Commissioner, India Government of India Ministry of Home Affairs Publisher = Office of the Registrar General, India; Type = Census; Source = Census Library, India; Language = English; Retention Period = Permanent; India/State = India; Pages = 103 p.; Adobe Scan-to-PDF Utility 4. Government of India Ministry of Home Affairs | 65 | relationship | 0.850 | Registrar General Census Commissioner, India Government of India Ministry of Home Affairs Publisher = Office of the Registrar General, India; Type = Census; Source = Census Library, India; Language = English; Retention Period = Permanent; India/State = India; Pages = 103 p.; Adobe Scan-to-PDF Utility 4. | pdf-properties | 0.700 | valid | |
| How many Marck the Kas Gf are there? | 27 | re the 27 Marck the Kas Gf te te 118 1472 Th BE Mes yA NEW AF a cea sti ... Por a Bo 4 data Hee | 7 | factual | 0.370 | re the 27 Marck the Kas Gf te te 118 1472 Th BE Mes yA NEW AF a cea sti ... | 3 | page=3,ocr=1 | 0.800 | valid |
Read straight from the file — download or use the API URL for the full dataset.