Question: In 2012, what was the rank of the GDP of the Giant of Africa?

full_context: Document 1: List of African countries by GDP (nominal): 2017 Rank Country Nominal GDP ($billions) Nominal GDP per capita (US $) Notes Nigeria 376.284 1,994.235 South Africa 349.299 6,179.870 Egypt 237.037 2,500.772 Algeria 178.287 4,292.272 Angola 124.209 4,407.657 6 Sudan 119.00 1,428.000 7 Morocco 109.824 3,151.145 8 Ethiopia 80.874 872.840 9 Kenya 79.511 1,701.550 10 Tanzania 51.725 1,033.567 11 Ghana 47.032 1,663.190 12 Democratic Republic of the Congo 41.441 478.237 13 Ivory Coast 40.360 1,616.981 14 Tunisia 40.275 3,496.286 15 Cameroon 34.006 1,400.743 16 Libya 31.331 4,858.672 17 Uganda 26.349 699.410 18 Zambia 25.504 1,479.542 19 Zimbabwe 17.491 1,175.723 20 Botswana 17.168 7,876.997 21 Senegal 16.463 1,038.094 22 Mali 15.318 810.771 23 Gabon 15.206 7,971.589 24 Namibia 12.687 5,413.508 25 Mozambique 12.681 429.296 26 Burkina Faso 12.569 663.806 27 Mauritius 12.428 9,794.102 28 Madagascar 11.463 447.558 29 Equatorial Guinea 10.725 12,726.956 30 Chad 9.872 810.163 31 Guinea 9.721 749.463 32 Benin 9.238 830.404 33 Rwanda 9.137 771.702 34 Congo 8.513 1,958.174 35 Niger 8.253 439.997 36 Somalia 7.382 547.32 37 Malawi 6.206 323.740 38 Eritrea 5.813 979.692 39 Mauritania 5.116 1,317.938 40 Togo 4.767 611.133 41 Swaziland 4.491 3,914.821 42 Sierra Leone 3.641 491.448 43 Burundi 3.396 312.463 44 Liberia 3.285 729.292 45 South Sudan 2.870 228.034 46 Lesotho 2.768 1,425.310 47 Djibouti 2.029 1,988.765 48 Central African Republic 1.928 386.806 49 Cape Verde 1.741 3,237.597 50 Seychelles 1.482 15,685.955 51 Guinea - Bissau 1.350 794.107 52 The Gambia 1.009 480.040 53 Comoros 0.652 787.831 54 São Tomé and Príncipe 0.379 1,785.280 -- Total 2,191.104
Document 2: Nigeria: According to a 2001 report from The World Factbook by CIA, about 50% of Nigeria's population is Muslim, 40% are Christians and 10% adhere to local religions. But in some recent report, the Christian population is now sightly larger than the Muslim population. An 18 December 2012 report on religion and public life by the Pew Research Center stated that in 2010, 49.3 percent of Nigeria's population was Christian, 48.8 percent was Muslim, and 1.9 percent were followers of indigenous and other religions, or unaffiliated. Additionally, the 2010s census of Association of Religion Data Archives has reported that 46.5 percent of the total population is Christian, slightly bigger than the Muslim population of 45.5 percent, and that 7.7 percent are members of other religious groups.
Document 3: Nigeria: According to the International Organization for Migration, Nigeria witnessed a dramatic increase in remittances sent home from overseas Nigerians, going from USD 2.3 billion in 2004 to 17.9 billion in 2007. The United States accounts for the largest portion of official remittances, followed by the United Kingdom, Italy, Canada, Spain and France. On the African continent, Egypt, Equatorial Guinea, Chad, Libya and South Africa are important source countries of remittance flows to Nigeria, while China is the biggest remittance-sending country in Asia.
Document 4: Nigeria: Nigeria was ranked 30th in the world in terms of GDP (PPP) in 2012. Nigeria is the United States' largest trading partner in sub-Saharan Africa and supplies a fifth of its oil (11% of oil imports). It has the seventh-largest trade surplus with the US of any country worldwide. Nigeria is the 50th-largest export market for US goods and the 14th-largest exporter of goods to the US. The United States is the country's largest foreign investor. The International Monetary Fund (IMF) projected economic growth of 9% in 2008 and 8.3% in 2009. The IMF further projects an 8% growth in the Nigerian economy in 2011.
Document 5: Nigeria: As of 2015[update], Nigeria is the world's 20th largest economy, worth more than $500 billion and $1 trillion in terms of nominal GDP and purchasing power parity respectively. It overtook South Africa to become Africa's largest economy in 2014. Also, the debt-to-GDP ratio is only 11 percent, which is 8 percent below the 2012 ratio. Nigeria is considered to be an emerging market by the World Bank; It has been identified as a regional power on the African continent, a middle power in international affairs, and has also been identified as an emerging global power. Nigeria is a member of the MINT group of countries, which are widely seen as the globe's next "BRIC-like" economies. It is also listed among the "Next Eleven" economies set to become among the biggest in the world. Nigeria is a founding member of the Commonwealth of Nations, the African Union, OPEC, and the United Nations amongst other international organisations.
Document 6: Gabon: Abundant petroleum and foreign private investment have helped make Gabon one of the most prosperous countries in Sub-Saharan Africa, with the 7th highest HDI and the fourth highest GDP per capita (PPP) (after Mauritius, Equatorial Guinea and Seychelles) in the region. GDP grew by more than 6% per year from 2010 to 2012. However, because of inequality in income distribution, a significant proportion of the population remains poor.
Document 7: List of African countries by GDP (PPP): Region Rank Country 2015 GDP (PPP) millions of International dollars -- Africa 5,736,700 Nigeria 1,192.00 Egypt 995.97 South Africa 724.01 Algeria 570.64 Morocco 274.53 6 Angola 185.25 7 Sudan 167.42 8 Ethiopia 159.22 9 Tanzania 150.4 10 Kenya 143.05 11 Tunisia 127.21 12 Ghana 113.35 13 Libya 92.88 14 Uganda 79.75 15 Ivory Coast 78.34 16 Cameroon 72.11 17 Zambia 64.65 18 Democratic Republic of the Congo 63.27 19 Botswana 37.16 20 Senegal 36.30 21 Madagascar 35.56 22 Gabon 34.41 23 Chad 33.73 24 Mozambique 32.00 25 Burkina Faso 31.18 26 Mali 29.15 27 Zimbabwe 28.90 28 Republic of the Congo 27.92 29 Equatorial Guinea 25.94 30 Mauritius 24.84 31 Namibia 24.51 32 Benin 21.16 33 Malawi 20.56 34 Rwanda 20.32 35 Niger 18.96 36 Mauritania 16.43 37 Guinea 15.28 38 Swaziland 10.87 39 Togo 10.82 40 Eritrea 7.94 41 Burundi 7.88 42 Somalia 5.90 43 Lesotho 5.78 44 Gambia 3.27 45 Liberia 3.78 46 Cape Verde 3.48 47 Djibouti 3.09 48 Seychelles 2.53 49 Guinea - Bissau 1.94 50 Central African Republic 1.62 51 Comoros 1.21 52 São Tomé and Príncipe 0.66
Document 8: Nigeria: Nigeria is often referred to as the ``Giant of Africa '', owing to its large population and economy. With 186 million inhabitants, Nigeria is the most populous country in Africa and the seventh most populous country in the world. Nigeria has the third - largest youth population in the world, after India and China, with more than 90 million of its population under age 18. The country is viewed as a multinational state as it is inhabited by over 500 ethnic groups, of which the three largest are the Hausa, Igbo and Yoruba; these ethnic groups speak over 500 different languages and are identified with a wide variety of cultures. The official language is English. Nigeria is divided roughly in half between Christians, who live mostly in the southern part of the country, and Muslims, who live mostly in the north. A minority of the population practise religions indigenous to Nigeria, such as those native to the Igbo and Yoruba ethnicities.
Document 9: Nigeria: Nigeria is a religiously diverse society, with Islam and Christianity being the most widely professed religions. Nigerians are nearly equally divided into Christians and Muslims, with a tiny minority of adherents of Animism and other religions. According to one recent estimate, over 40% of Nigeria's population adheres to Islam (mainly Sunni, other branches are also present). Christianity is practised by 58% of the population (among them 74% are Protestant, 25% Roman Catholic, 1% other Christian). Adherents of Animism and other religions collectively represent 1.4% of the population.
Document 10: Nigeria: During the oil boom of the 1970s, Nigeria joined OPEC and the huge revenue generated made the economy richer. Despite huge revenues from oil production and sale, the military administration did little to improve the standard of living of the population, help small and medium businesses, or invest in infrastructure. As oil revenues fuelled the rise of federal subventions to states, the federal government became the centre of political struggle and the threshold of power in the country. As oil production and revenue rose, the Nigerian government became increasingly dependent on oil revenues and the international commodity markets for budgetary and economic concerns. It did not develop other sources of the economy for economic stability. That spelled doom to federalism in Nigeria.
Document 11: Nigeria: Among Christians, the Pew Research survey found that 74% were Protestant, 25% were Catholic, and 1% belonged to other Christian denominations, including a small Orthodox Christian community. In terms of Nigeria's major ethnic groups, the Hausa ethnic group (predominant in the north) was found to be 95% Muslim and 5% Christian, the Yoruba tribe (predominant in the west) was 55% Muslim, 35% Christian and 10% adherents of other religions, while the Igbos (predominant in the east) and the Ijaw (south) were 98% Christian, with 2% practising traditional religions. The middle belt of Nigeria contains the largest number of minority ethnic groups in Nigeria, who were found to be mostly Christians and members of traditional religions, with a small proportion of Muslims.
Document 12: United States: The United States has a capitalist mixed economy which is fueled by abundant natural resources and high productivity. According to the International Monetary Fund, the U.S. GDP of $16.8 trillion constitutes 24% of the gross world product at market exchange rates and over 19% of the gross world product at purchasing power parity (PPP).The nominal GDP of the U.S. is estimated to be $17.528 trillion as of 2014. From 1983 to 2008, U.S. real compounded annual GDP growth was 3.3%, compared to a 2.3% weighted average for the rest of the G7. The country ranks ninth in the world in nominal GDP per capita according to the United Nations (first in the Americas) and sixth in GDP per capita at PPP. The U.S. dollar is the world's primary reserve currency.The United States is the largest importer of goods and second-largest exporter, though exports per capita are relatively low. In 2010, the total U.S. trade deficit was $635 billion. Canada, China, Mexico, Japan, and Germany are its top trading partners. In 2010, oil was the largest import commodity, while transportation equipment was the country's largest export. Japan is the largest foreign holder of U.S. public debt. The largest holder of the U.S. debt are American entities, including federal government accounts and the Federal Reserve, who hold the majority of the debt.
Document 13: Nigeria: Nigeria is often referred to as the "Giant of Africa", owing to its large population and economy. With approximately 182 million inhabitants, Nigeria is the most populous country in Africa and the seventh most populous country in the world. Nigeria has one of the largest populations of youth in the world. The country is viewed as a multinational state, as it is inhabited by over 500 ethnic groups, of which the three largest are the Hausa, Igbo and Yoruba; these ethnic groups speak over 500 different languages, and are identified with wide variety of cultures. The official language is English. Nigeria is divided roughly in half between Christians, who live mostly in the southern part of the country, and Muslims in the northern part. A minority of the population practise religions indigenous to Nigeria, such as those native to Igbo and Yoruba peoples.
Document 14: Nigeria: With the majority of Nigeria's populace in the rural areas, the major languages of communication in the country remain indigenous languages. Some of the largest of these, notably Yoruba and Igbo, have derived standardised languages from a number of different dialects and are widely spoken by those ethnic groups. Nigerian Pidgin English, often known simply as 'Pidgin' or 'Broken' (Broken English), is also a popular lingua franca, though with varying regional influences on dialect and slang. The pidgin English or Nigerian English is widely spoken within the Niger Delta Regions, predominately in Warri, Sapele, Port Harcourt, Agenebode, Ewu, and Benin City.
Document 15: Yoruba people: The Yoruba people (Yoruba: Ìran Yorùbá, lit. 'Yoruba lineage'; also known as Àwon omo Yorùbá, lit. 'Children of Yoruba', or simply as the Yoruba) are an ethnic group of southwestern and north - central Nigeria, as well as southern and central Benin. Together, these regions are known as Yorubaland. The Yoruba constitute over 40 million people in total. The majority of this population is from Nigeria, and the Yoruba make up 21% of the country's population, according to the CIA World Factbook, making them one of the largest ethnic groups in Africa. The majority of the Yoruba speak the Yoruba language, which is tonal, and is the Niger - Congo language with the largest number of native speakers.
ground_truth: 30th in the world
sub_queries: Which country is called the 'Giant of Africa'? Answer: Nigeria
Where did Nigeria 's 2012 GDP rank? Answer: 30th in the world