上知天文，下知地理

Idiom

 * 1) describes someone who is very learned; a polymath