Structured discovery in graphs: Recommender systems and temporal graph analysis