Hey do you have a temporal DB backing all of these queries? I was reading through and it looks like you might have some sort of Bi-Temporal DB backing your queries based on some of the samples I saw.
temporal.io is home of the Temporal Workflow project. It is not about temporal queries, but about writing resilient distributed application. The state is maintained in an event log and supports rollbacks, thus the name.