under which president did john lehman and james m . beggs hold an office ?
SELECT DISTINCT var_uri where brack_open dbr_John_Lehman dbo_president var_uri sep_dot dbr_James_M._Beggs dbo_president var_uri brack_close