which common prime minister did walter montagu douglas scott and william lamb serve ?
SELECT DISTINCT var_uri where brack_open dbr_Walter_Montagu_Douglas_Scott,_5th_Duke_of_Buccleuch dbo_primeMinister var_uri sep_dot dbr_William_Lamb,_2nd_Viscount_Melbourne dbo_primeMinister var_uri brack_close