who was the president at the time when both charles joseph bonaparte and charles emory smith held a position in us political framework ?
SELECT DISTINCT var_uri where brack_open dbr_Charles_Joseph_Bonaparte dbp_president var_uri sep_dot dbr_Charles_Emory_Smith dbp_president var_uri brack_close