Abstract Representations and Frequent Pattern Discovery