Bi-temporal data model