which common prime minister did john spencer-churchill and dudley ryder serve ?
SELECT DISTINCT var_uri where brack_open dbr_John_Spencer-Churchill,_7th_Duke_of_Marlborough dbo_primeMinister var_uri sep_dot dbr_Dudley_Ryder,_3rd_Earl_of_Harrowby dbo_primeMinister var_uri brack_close