Mining of Data with Complex Structures