Such a corpus could be obtained by performing word sense disambiguating (Agirre and Edmonds, 2006;Navigli, 2009) on all words.
as this is an error-prone task and we are more interested to showcase the overall principle, we rely on Wikipedia as an already manually disambiguated corpus.