Query Induction with Schema-Guided Pruning Strategies