BORAT….Borat has won an Oscar nomination in the category of Best Adapted Screenplay. I’m confused. What was it adapted from?

UPDATE: In comments, several people suggest it’s adapted from the Ali G Show. OK, but where does the screenplay come from? Answer: according to FMguru, “About half the movie is material from the TV show.” Really? I never saw the show, so I don’t know. But it’s a different character and I thought the movie bits were unscripted anyway. I’m still confused, but I guess slightly less confused than before.