human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Year, Name, Political affiliation, Deputy, Deputy's affiliation
###Question: What is the Political affiliation of deputy john dallat?
gpt
SELECT Political affiliation FROM table WHERE Deputy = john dallat