Trade-offs in Static and Dynamic Evaluation of Hierarchical Queries (Logical Methods in Computer Science, 2023)