what common relegion affiliation exists for logan lerman and temple kol ami ?
SELECT DISTINCT var_uri where brack_open dbr_Logan_Lerman dbo_religion var_uri sep_dot dbr_Temple_Kol_Ami_ attr_open Thornhill,_Ontario attr_close dbp_religiousAffiliation var_uri brack_close