Add Temporal Query