query: SELECT avg(LifeExpectancy) FROM country WHERE Continent  =  "Africa" AND GovernmentForm  =  "Republic"
question: Give the average life expectancy for countries in Africa which are republics?
query_toks: SELECT avg ( LifeExpectancy ) FROM country WHERE Continent = `` Africa '' AND GovernmentForm = `` Republic ''
query_toks_no_value: select avg ( lifeexpectancy ) from country where continent = value and governmentform = value
question_toks: Give the average life expectancy for countries in Africa which are republics?