what religion did the president follow which was served by james albert gary ?
SELECT DISTINCT var_uri where brack_open dbr_James_Albert_Gary dbp_president var_x sep_dot var_x dbo_religion var_uri brack_close