Context: CREATE TABLE table_1341472_40 (party VARCHAR, incumbent VARCHAR)
Question: What party is thomas foglietta from?
Answer: SELECT party FROM table_1341472_40 WHERE incumbent = "Thomas Foglietta"