under which president did henry shelton sanford and edward bates hold an office ?
SELECT DISTINCT var_uri where brack_open dbr_Henry_Shelton_Sanford dbo_president var_uri sep_dot dbr_Edward_Bates dbo_president var_uri brack_close