Is democracy consistent with Islam?

Dictatorships will only breed stunted bigots, but democracy has the potential to engender an educated human resource that doesn’t just consume resources but also creates them