what is the common religious affiliation of the biecz synagogue and that of fast of gedalia ?
SELECT DISTINCT var_uri where brack_open dbr_Biecz_Synagogue dbp_religiousAffiliation var_uri sep_dot dbr_Fast_of_Gedalia dbo_type var_uri brack_close