Adding Query Template

Adding Query Template