Beans? Wow, had no idea, but what I just found on the 'net says you're quite right, though nothing I read said that cooked is worse than raw. They contain inulin which cannot be broken down by the human digestive system and can cause flatulence and sometimes gastric pain. The English planter John Goodyer on Jerusalem artichokes: "which way soever they be dressed and eaten, they stir and cause a filthy loathsome stinking wind within the body, thereby causing the belly to be pained and tormented, and are a meat more fit for swine than men."
The English call them 'fartichokes'. However, one article in Bon Appetit said they asked some American chefs who use them in their cooking about it, and all but one of those chefs were unaware of the bad rep. The one who did know of it, however, said that some people are more susceptible to the problem than others. If apples, he said, tend to make things rumble down below, then you're someone who would also have a problem with Jerusalem artichokes. The rest of us should experience nothing more than a minor social inconvenience, if that.
My wine shopping and I have never had a problem. Just a perpetual race between the bankruptcy court and Hell.--Rogov