Task: Question Generation
Input (English): Passage: In 1823, a year after independence, slaves made up 29% of the population of Brazil, a figure which fell throughout the lifetime of the Empire: from 24% in 1854, to 15.2% in 1872, and finally to less than 5% in 1887—the year before slavery was completely abolished. Slaves were mostly adult males from southwestern Africa. Slaves brought to Brazil differed ethnically, religiously and linguistically, each identifying primarily with his or her own nation of origin, rather than by a shared African ethnicity. Some of the slaves brought to the Americas had been captured while fighting intertribal wars in Africa and had then been sold to slave dealers.Slaves and their descendants were usually found in regions devoted to producing exports for foreign markets. Sugarcane plantations on the eastern coast of the northeast region during the 16th and 17th centuries are typical of economic activities dependent on slave labor. In northern Maranhão province, slave labor was used in cotton and rice production in the 18th century. In this period, slaves were also exploited in Minas Gerais province where gold was extracted. Slavery was also common in Rio de Janeiro and São Paulo during the 19th century for the cultivation of coffee which became vital to the national economy. The prevalence of slavery was not geographically uniform across Brazil. Around 1870 only five provinces (Rio de Janeiro with 30%, Bahia with 15%, Minas Gerais with 14%, São Paulo with 7% and Rio Grande do Sul also with 7%) held 73% of the nation's total slave population. These were followed by Pernambuco (with 6%) and Alagoas (with 4%). Among the remaining 13 provinces none individually had even 3%.Most slaves worked as plantation laborers. Relatively few Brazilians owned slaves and most small and medium-sized farms employed free workers. Slaves could be found scattered throughout society in other capacities: some were used as house servants, farmers, miners, prostitutes, gardeners and in many other roles. Many emancipated slaves went on to acquire slaves and there were even cases of slaves who had their own slaves. While slaves were usually black or mulatto there were reported cases of slaves who appeared to be of European descent—the product of generations of inter-ethnic sexual relations between male slave owners and their female mulatto slaves. Even the harshest slave owners adhered to a long-established practice of selling slaves along with their families, taking care not to separate individuals. Slaves were regarded by law as properties. The ones who were freed immediately became citizens with all civil rights guaranteed—the only exception being that, until 1881, freed slaves were barred from voting in elections, although their children and descendants could vote.
Output (English): What were used as used as house servants, farmers, miners, prostitutes, and gardeners?