Why not a file
A dataset extracted once holds whatever was mapped on the day it was made.
A well-known bundled snapshot of this kind carries fifty-nine dams for the
whole of India — a country with several thousand large ones.
That is a sample, not an inventory. Asking as you go gets
whatever has been mapped since, including what somebody added last week.
What it will not tell you
Only what has been mapped. An unmapped dam looks exactly like no dam, and
rural India is mapped far less completely than its cities. A quarry may be
working or abandoned and the tags rarely say.
Treat an empty result as “nobody has added
this”, never as “there is nothing here”.
Take it with you
Everything found downloads as GeoJSON with its OpenStreetMap identity
attached, so it opens in QGIS and can be joined back to the original
features later.
Under the Open Database Licence, which allows commercial
use provided the contributors are credited and anything derived stays
open.