I think they all contain similar nutrients, typically calcium, Iron, potassium, folic acid, etc..
The main difference is the calories vs. Protein and Fiber concentrations. I don't have any numbers in front of me, but I know if you want a certain amount of protein while remaining with a specific calorie budget
, beans are the best way to fine tune your diet.
They all have tons of good protein, and tons of soluble fiber (and plenty of good carbs). But (if you didn't know) you still need a separte source of insoluble fiber such as, unprocessed whole grains, to reap the benefits of all that soluble fiber.
There isn't much out there that's as well balanced as beans/legumes with whole brown rice.