Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Which Term expiration has an Appointing Governor of george pataki, republican, and an Appointed larger than 2004?

### Inputs:
table_name: table, columns: ['Name', 'Appointed', 'Term expiration', 'Appointing Governor', 'Law School Attended']

### Response:
SELECT SUM Term expiration FROM table WHERE Appointing Governor = george pataki, republican AND Appointed > 2004