Table: alibunar_town
Columns: settlement
cyrillic_name_other_names
type
population_2011
largest_ethnic_group_2002
dominant_religion_2002

Question: What was the dominant religion in 2002 in lokve?
SQL: SELECT "dominant_religion_2002" FROM alibunar_town WHERE "settlement" = 'Lokve'

Question: What was the largest ethnic group in in the settlement with the cyrillic name банатски карловац?
SQL: SELECT "largest_ethnic_group_2002" FROM alibunar_town WHERE "cyrillic_name_other_names" = 'Банатски Карловац'

Question: What is the largest ethnic group in the settlement with a 2011 population of 5082?
SQL: SELECT COUNT("largest_ethnic_group_2002") FROM alibunar_town WHERE "population_2011" = 5082

Question: What was the population in 2011 of banatski karlovac?
SQL: SELECT "population_2011" FROM alibunar_town WHERE "settlement" = 'Banatski Karlovac'

Question: Which settlement has the cyrillic and other name of локве (romanian: locve)?
SQL: SELECT "settlement" FROM alibunar_town WHERE "cyrillic_name_other_names" = 'Локве (Romanian: Locve)'

Question: What is the population of the settlement with the cyrillic name of добрица?
SQL: SELECT MAX("population_2011") FROM alibunar_town WHERE "cyrillic_name_other_names" = 'Добрица'