who was the president at the time when both john hay and george b . cortelyou held a position in us political framework ?
SELECT DISTINCT var_uri where brack_open dbr_John_Hay dbp_president var_uri sep_dot dbr_George_B._Cortelyou dbp_president var_uri brack_close