Graph Characterization and Sampling Algorithms.