Which ruled first, the Shang dynasty, or the Zhou dynasty?
return the  Shang dynasty ruled ;return the  Zhou dynasty ruled ;return when  was  #1 ;return when  was  #2 ;return which is lowest of #3 ,  #4
['select', 'select', 'project', 'project', 'comparison']