A Graph-Based Model for Semistructured Temporal Data