human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Year, Driver, Nation of citizenship, Racing series, Type of vehicle
###Question: What Nation of citizenship has a stock car vehicle with a year of 2012?
gpt
SELECT Nation of citizenship FROM table WHERE Type of vehicle = stock car AND Year = 2012