which common prime minister did gordon hewart and william weir serve ?
SELECT DISTINCT var_uri where brack_open dbr_Gordon_Hewart,_1st_Viscount_Hewart dbo_primeMinister var_uri sep_dot dbr_William_Weir,_1st_Viscount_Weir dbo_primeMinister var_uri brack_close