However, it is fairly obvious that intelligence has a genetic basis. In fact, I like to compare it to a seed which will sprout if given proper care and feeding. If you have, let's say, a tomato seed, a green thumb can produce a top-quality tomato from it while an unskilled gardener might only produce a shriveled plant. However, no amount of gardening influence can produce anything other than a tomato from that seed. Any highly-educated person can gain worlds of knowledge even if he is not unusually intelligent.
Intelligence is basically raw ability.
Whether or not that ability is utilized or realized is another question. I know you're not trying to connect homosexuality and intelligence, but I think you're lending support to the notion that both are genetically-based. That supports my view that homosexuality is a learned behavior rather than being genetically-based. It also means that learning the behavior of homosexuality is little different from learning any other positive, negative, or neutral behavior. Again, intelligence is always there whether or not it is cultivated.