Relating inclusive e+e− annihilation to electroproduction sum rules in quantum chromodynamics