Oh yeah, this conversation is going in the right direction
Regarding pulses: I have been told that if you wash them well before cooking it reduces these after effects. There is an additive I've seen a friend use which is designed to minimise the pfffft, but I haven't used it and couldn't say what the active ingredient was.
Regarding apples: (how to you like them apples?) When I was working in hospitality I had a customer spend quite some time trying to convince me that you should never eat fruit after a meal. The reasoning was that the fruit fermentation during digestion produces gas, and it gets trapped behind the food on the way out. Maybe you can try repeating the experiment with bagel then apples, and then a few day later try the apples, wait a half hour and then have the bagel.
We want a chart of results. Just a sec, no we don't.