A unified approach for specifying timing constraints and composite events in active real-time database systems | Synapse