abhibambhaniya's picture
Update README.md
8913e19 verified
|
Raw History Blame Contribute Delete
3.54 kB

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.
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

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

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

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}
}