which branch of military have both joseph cookman and thomas s . hinde served ?
SELECT DISTINCT var_uri where brack_open dbr_Joseph_Cookman dbp_branch var_uri sep_dot dbr_Thomas_S._Hinde dbp_branch var_uri sep_dot var_uri a dbo_MilitaryUnit brack_close