Contemporaneamente si dedicò agli studi scientifici (matematica e astronomia) e alla letteratura. ###>He attended Jesuit school, then studied at the University of Bologna, graduating with a degree in law in 1691.