who was the president at the time when both william t . barry and amos kendall held a position in us political framework ?
SELECT DISTINCT var_uri where brack_open dbr_William_T._Barry dbp_president var_uri sep_dot dbr_Amos_Kendall dbp_president var_uri brack_close