which common prime minister did lord george hamilton and thomas f . bayard serve ?
SELECT DISTINCT var_uri where brack_open dbr_Lord_George_Hamilton dbo_primeMinister var_uri sep_dot dbr_Thomas_F._Bayard dbo_primeMinister var_uri brack_close