Mining Patterns in Structured Data