which common prime minister did frederick guest and william weir serve ?
SELECT DISTINCT var_uri where brack_open dbr_Frederick_Guest dbo_primeMinister var_uri sep_dot dbr_William_Weir,_1st_Viscount_Weir dbo_primeMinister var_uri brack_close