Question: What party is thomas foglietta from?
Schema: create table table_1341472_40 (party varchar, incumbent varchar, PRIMARY KEY (party))
SQL: select party from table_1341472_40 where incumbent = "thomas foglietta"