Is there a mapping of GO IDs to UniGene IDs?
GOA provides a UniGene to UniProtKB mapping (available at: ftp://ftp.ebi.ac.uk/pub/databases/GO/goa/gp2protein/gp2protein.unigene.gz) Using the either one of GOA’s non-redundant species-specific files (Arabidopsis, chicken, cow, human, mouse, rat and zebrafish proteomes), or the GOA UniProt gene association file, you should be able to parse out the appropriate set of GO terms for a set of Unigene ids.