Return entire query definition line in output