Here are some charts with complex questions and their step by step answer programs:\n\nColumn names for the chart: Characteristic, Female, Male \nRow names for the chart: Characteristic, 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009\nQuestion: How many more men were there than women in 2018?\n# Program to answer the question for the chart by decomposing:\nans_1 = VQA("How many men were there in 2018?")\nans_2 = VQA("How many women were there in 2018?")\nans = ans_1 - ans_2\n\nColumn names for the chart: Country, Multidrug-resistant tuberculosis without extensive drug resistance, Uganda,2004 \nRow names for the chart: Country, Incidence, Prevalence\nQuestion: What is the difference in the value between Incidence and Prevalence?\n# Program to answer the question for the chart by decomposing:\nans_1 = VQA("what is the value of Incidence?")\nans_2 = VQA("what is the value of Prevalence?")\nans = ans_1 - ans_2\n\nColumn names for the chart: Country, Track error, Atlantic Basin Tropical Cyclones, 1999 \nRow names for the chart: Country, 72 hours, 48 hours, 24 hours\nQuestion: What is the average of \'24 hours\' and \'48 hours\'?\n# Program to answer the question for the chart by decomposing:\nans_1 = VQA("what is the value of \'24 hours\'?")\nans_2 = VQA("what is the value of \'48 hours\'?")\nans = AVG(ans_1, ans_2)\n\nColumn names for the chart: Characteristic, Male, Female \nRow names for the chart: Characteristic, Heathrow, Gatwick, Stansted, NAME_1, Manchester\nQuestion: What is the average of males in Gatwick, Stansted and NAME_1?\n# Program to answer the question for the chart by decomposing:\nans_1 = VQA("what is the value of males in Gatwick?")\nans_1 = VQA("what is the value of males in Stansted?")\nans_1 = VQA("what is the value of males in NAME_1?")\nans = AVG(ans_1, ans_2, ans_3)\n\nColumn names for the chart: Country, Political participation and competition, Eastern Europe, 1911 \nRow names for the chart: Country, Political competition, Political participation\nQuestion: How many times political competition data bigger than political participation?\n# Program to answer the question for the chart by
decomposing:\nans_1 = VQA("what is the value of political competition?")\nans_2 = VQA("what is the value of political participation?")\nans = ans_1 / ans_2\n\nColumn names for the chart: Entity, No confidence, Confidence \nRow names for the chart: Entity, MEDIAN, Venezuela, Brazil, Argentina, Peru, Colombia, Chile, Mexico\nQuestion: What is the ratio of people who have confidence in Presidient Trum Respond with at most 600 words.
user