A Framework For Sampling Pattern Occurrences In A Huge Graph