--- license: cc-by-4.0 language: - en pretty_name: Multi-Domain Question Answering Dataset size_categories: - n<1K task_categories: - question-answering - multiple-choice tags: - question-answering - multidomain - multimodal - education - llm - rag - instruction-tuning - reasoning - stem - non-stem - finance - healthcare - engineering - mathematics - science - economics - business configs: - config_name: default data_files: - split: train path: dataset.parquet --- # Multi-Domain Question Answering Dataset A sample of multi-domain, exam-style question answering data with worked explanations. Questions span finance, quantitative aptitude, software engineering, medical and life sciences, enterprise operations, and advanced science and engineering. Many records include embedded images (charts, tables, diagrams, code screenshots) alongside the text. This repository contains a **70-row sample**. It is intended for evaluating the format, schema and quality of the data, and for small-scale experiments. A much larger corpus is available from the provider (see [Contact](#contact)). ## Dataset Summary | | | |---|---| | Rows | 70 | | Columns | 14 | | Language | English | | Format | Parquet (single `train` split) | | Question types | Single-select multiple choice (68), free-form numeric/text input (2) | | Images | 74 PNG images embedded across 60 rows (about 2 MB total) | | Source field | `origin_source` = `EduGorilla` for all rows | ### Domain breakdown | Domain | Rows | Subjects | |---|---|---| | Finance | 20 | Economics, Accountancy | | Education, Research & Advanced Science | 10 | Engineering, Biology | | Enterprise Operations, Professional Services & Supply Chain | 10 | Commerce, Management | | Medical & Life Sciences | 10 | Nursing, Environmental Science, Medical | | Quantitative (Quant) | 10 | Quant | | Software Engineering | 10 | IT & Computer | ### Difficulty / level (`grade`) Graduate (36), Post Graduate (9), Others (8), Senior High school / Grade 12 (5), School level (5), High school / Grade 10 (4), Vocational courses (3). ## Supported Tasks - Question answering and multiple-choice question answering - Multimodal (text + image) reasoning, for rows that reference images - Instruction tuning and evaluation of LLMs on domain-specific, exam-style questions - Explanation generation and chain-of-thought style supervision, using the `explanation` field - Retrieval-augmented generation (RAG) evaluation, using `passage` as context where present ## Dataset Structure ### Data fields | Field | Type | Description | |---|---|---| | `id` | string | Unique record ID, prefixed with the domain (e.g. `finance_016`). | | `domain` | string | Top-level domain (6 values, see above). | | `subject` | string | Subject area within the domain. | | `category` | string | Finer-grained topic label (e.g. `Quantitative Aptitude`, `Foreign Exchange Rates`). Labels are free text and a few near-duplicates exist (e.g. `English` / `English Language`). | | `grade` | string | Academic or exam level the question targets. | | `answer_type` | string | `single_select` (choose one option) or `input` (type the answer). | | `passage` | string | Optional shared context for the question. Empty string when not used (populated in 17 rows). | | `question` | string | The question text. May contain HTML and LaTeX. | | `options` | list[string] | Answer choices (4 or 5 items). Empty list for `input` questions. | | `answer_index` | int32 | Zero-based index of the correct option in `options`. `-1` for `input` questions. | | `answer` | string | The correct answer as text. For `single_select` it equals `options[answer_index]`. | | `explanation` | string | Worked explanation or rationale. May contain HTML. | | `images` | list[struct] | Embedded images, each `{bytes: binary, format: string}`. All are PNG. Empty list when there are none. | | `origin_source` | string | Provenance label for the record. | ### Formatting notes - **HTML markup.** `question`, `passage`, `explanation` and a few `options` contain HTML tags (`
`, `
`, ``, `` and similar). Strip or render them depending on your use case.
- **LaTeX.** Math is often written as `\( ... \)`.
- **Image placeholders.** Where an image belongs in the text, the markup references it as `
`. `image_N` is the zero-based position in that row's `images` list, so `image_0` is `images[0]`.
- **Missing values.** There are no nulls. Empty values are encoded as empty strings or empty lists.
### Example record
```json
{
"id": "education_research_and_advanced_science_001",
"domain": "Education, Research & Advanced Science",
"subject": "Engineering",
"category": "A.C Fundamentals, Circuits And Circuit Theory",
"grade": "Graduate",
"answer_type": "single_select",
"passage": "",
"question": "The purpose of a parallel circuit resonance is to magnify",
"options": ["Current", "Voltage", "Power", "Frequency"],
"answer_index": 1,
"answer": "Voltage",
"explanation": "In a parallel circuit resonance, the purpose is to magnify voltage. ...",
"images": [],
"origin_source": "EduGorilla"
}
```
## Usage
```python
from datasets import load_dataset
ds = load_dataset("InfoBay.AI/