in what group curly howard and moe howard were previously involved ?
SELECT DISTINCT var_uri where brack_open var_uri dbp_pastMembers dbr_Curly_Howard sep_dot var_uri dbp_pastMembers dbr_Moe_Howard sep_dot var_uri a dbo_Group brack_close