What are the themes of competitions that have corresponding host cities with more than 1000 residents?
CREATE TABLE competition_record (
    competition_id number,
    farm_id number,
    rank number
)

CREATE TABLE farm (
    farm_id number,
    year number,
    total_horses number,
    working_horses number,
    total_cattle number,
    oxen number,
    bulls number,
    cows number,
    pigs number,
    sheep_and_goats number
)

CREATE TABLE farm_competition (
    competition_id number,
    year number,
    theme text,
    host_city_id number,
    hosts text
)

CREATE TABLE city (
    city_id number,
    official_name text,
    status text,
    area_km_2 number,
    population number,
    census_ranking text
)
SELECT T2.theme FROM city AS T1 JOIN farm_competition AS T2 ON T1.city_id = T2.host_city_id WHERE T1.population > 1000
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What are the themes of competitions that have corresponding host cities with more than 1000 residents? ### Input: CREATE TABLE competition_record (
    competition_id number,
    farm_id number,
    rank number
)

CREATE TABLE farm (
    farm_id number,
    year number,
    total_horses number,
    working_horses number,
    total_cattle number,
    oxen number,
    bulls number,
    cows number,
    pigs number,
    sheep_and_goats number
)

CREATE TABLE farm_competition (
    competition_id number,
    year number,
    theme text,
    host_city_id number,
    hosts text
)

CREATE TABLE city (
    city_id number,
    official_name text,
    status text,
    area_km_2 number,
    population number,
    census_ranking text
) ### Response: SELECT T2.theme FROM city AS T1 JOIN farm_competition AS T2 ON T1.city_id = T2.host_city_id WHERE T1.population > 1000