WordNet as a graph