Graph-Based Automatic Acquisition of Semantic Classes