File size: 3,544 Bytes
8913e19 881db77 8913e19 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | # WolframAlpha_API_Questions
A curated collection of 276 mathematical, scientific and general‑knowledge questions that can be sent a queries to the [Wolfram|Alpha API](https://products.wolframalpha.com/api).
The dataset is released under an **MIT License** and is hosted on Hugging Face for easy reuse in research, education and application development.
> **Repository URL**: https://huggingface.co/datasets/abhibambhaniya/WolframAlpha_API_Questions
> **License**: MIT
---
## Dataset Contents
```text
id,category,sub_category,question,answer
1,Mathematics,Elementary Math,"What is 47 × 89?",4183
2,Mathematics,Algebra,"Solve for x: 2x² – 4x + 1 = 0.",0.5,1.5
...
276,Additional Domains (New Categories),Environmental Science – Carbon Footprint,"What is the annual carbon footprint of a household consuming 12,000 kWh?",???
```
> *Note*: The above is a truncated preview; the full file contains all 276 entries.
---
## Usage Examples
```python
from datasets import load_dataset
dataset = load_dataset("abhibambhaniya/WolframAlpha_API_Questions", data_files="wolfram_alpha_queries_full.csv")
import pandas as pd
# Convert the 'train' split to a Pandas DataFrame
df = dataset['train'].to_pandas()
# Display the head of the DataFrame
print(df.head())
```
---
## Dataset Overview
| Category | Sub‑Category | # Entries |
|----------|--------------|-----------|
| **Mathematics** | Elementary Math | 10 |
| | Algebra | 15 |
| | Calculus | 15 |
| | Geometry | 8 |
| | Linear Algebra | 7 |
| | Statistics | 10 |
| | Number Theory | 8 |
| | Plotting | 5 |
| | Boolean Algebra | 4 |
| | Sequences & Series | 12 |
| **Physics** | Mechanics | 8 |
| | Optics | 6 |
| | Quantum | 7 |
| | Electrical Circuits & Signal Equations | 9 |
| **Chemistry** | Elements | 6 |
| | Compounds | 7 |
| | Reactions | 9 |
| **Units & Conversions** | Length | 4 |
| | Temperature | 4 |
| | Speed | 4 |
| | Mass | 4 |
| | Calculations | 5 |
| | Digital Storage | 3 |
| | Energy | 6 |
| **Date & Time** | Current | 4 |
| | Information | 5 |
| | Duration | 3 |
| | Arithmetic | 4 |
| | Time Zones | 2 |
| | Unix Time | 3 |
| | Calendar | 6 |
| **Geography** | Countries | 5 |
| | Cities | 4 |
| | Distances | 3 |
| | Weather | 6 |
| **Economics** | Market | 4 |
| | Currency Exchange Rates | 3 |
| | Population | 2 |
| | GDP | 3 |
| | Compound Interest or ROI Computation | 6 |
| **Additional Domains (New Categories)** | Astronomy | 5 |
| | Engineering – Structural Calculations | 6 |
| | Computer Science – Algorithm Complexity | 4 |
| | Environmental Science – Carbon Footprint | 5 |
> **Total**: **276** entries
---
## License
This dataset is released under the **MIT License**.
Feel free to use, modify, and distribute it for both academic and commercial purposes.
---
## Contributing
Contributions are welcome!
- **Add new questions** (ensure they map cleanly to Wolfram|Alpha).
- **Improve answers** or fix formatting errors.
- Submit a pull request with your changes.
---
## Contact
- **Author**: Abhimanyu Bambhaniya
- **GitHub**: [abhibambhaniya](https://github.com/abhibambhaniya)
- **Email**: abhibambhaniya@gmail.com
## Citation
If you use this dataset in a publication, please cite:
```
@dataset{WolframAlpha_API_Questions,
author = {Bambhaniya, Abhimanyu},
title = {{WolframAlpha\_API\_Questions}: A public dataset of math & science questions},
year = {2025},
publisher = {Hugging Face},
version = {1.0},
url = {https://huggingface.co/datasets/abhibambhaniya/WolframAlpha_API_Questions}
}
``` |