Format queries in examples.