Trend template: mining trends with a semi-formal trend model