Mining Temporal Data using Attribute Extraction