query gears