Can a girl get pregnant if they did not have intercourse but the guy put the semen near her vagina?

No the semen needs to get in there to make her pregnant.

ACTUALLY they can... there have been reported cases of semen entering the vagina themselves from the outside and getting girls pregnant... thought its rare, ALWAYS ALWAYS ALWAYS practice safe sex