Measurement of the top quark forward-backward production asymmetry and its dependence on event kinematic properties