Input: Read this: The rivalries between the Arab tribes had caused unrest in the provinces outside Syria, most notably in the Second Muslim Civil War of 680692 CE and the Berber Revolt of 740743 CE. During the Second Civil War, leadership of the Umayyad clan shifted from the Sufyanid branch of the family to the Marwanid branch. As the constant campaigning exhausted the resources and manpower of the state, the Umayyads, weakened by the Third Muslim Civil War of 744747 CE, were finally toppled by the Abbasid Revolution in 750 CE/132 AH. A branch of the family fled across North Africa to Al-Andalus, where they established the Caliphate of Cordoba, which lasted until 1031 before falling due to the Fitna of al-Andalus.
Question: When did leadership shift from the Marwanid branch to the Sufyanid branch?

Output: unanswerable

Input: Read this: The first polytechnic in Hong Kong is The Hong Kong Polytechnic, established in 1972 through upgrading the Hong Kong Technical College (Government Trade School before 1947). The second polytechnic, the City Polytechnic of Hong Kong, was founded in 1984. These polytechnics awards diplomas, higher diplomas, as well as academic degrees. Like the United Kingdom, the two polytechnics were granted university status in 1994, and renamed The Hong Kong Polytechnic University and the City University of Hong Kong respectively. The Hong Kong University of Science and Technology, a university with a focus in applied science, engineering and business, was founded in 1991.
Question: What was the original name of Hong Kong Polytechnic?

Output: Hong Kong Technical College

Input: Read this: Gearless traction machines are low-speed (low-RPM), high-torque electric motors powered either by AC or DC. In this case, the drive sheave is directly attached to the end of the motor. Gearless traction elevators can reach speeds of up to 20 m/s (4,000 ft/min), A brake is mounted between the motor and gearbox or between the motor and drive sheave or at the end of the drive sheave to hold the elevator stationary at a floor. This brake is usually an external drum type and is actuated by spring force and held open electrically; a power failure will cause the brake to engage and prevent the elevator from falling (see inherent safety and safety engineering). But it can also be some form of disc type like 1 or more calipers over a disc in one end of the motor shaft or drive sheave which is used in high speed, high rise and large capacity elevators with machine rooms(an exception is the Kone MonoSpace's EcoDisc which is not high speed, high rise and large capacity and is machine room less but it uses the same design as is a thinner version of a conventional gearless traction machine) for breaking power, compactness and redundancy(assuming there's at least 2 calipers on the disc), or 1 or more disc brakes with a single caliper at one end of the motor shaft or drive sheave which is used in machine room less elevators for compactness, breaking power, and redundancy(assuming there's 2 brakes or more).
Question: What speed is a gearless traction elevator capable of attaining?

Output: 20 m/s (4,000 ft/min)

Input: Read this: Protestants have founded hospitals, homes for disabled or elderly people, educational institutions, organizations that give aid to developing countries, and other social welfare agencies. In the nineteenth century, throughout the Anglo-American world, numerous dedicated members of all Protestant denominations were active in social reform movements such as the abolition of slavery, prison reforms, and woman suffrage. As an answer to the "social question" of the nineteenth century, Germany under Chancellor Otto von Bismarck introduced insurance programs that led the way to the welfare state (health insurance, accident insurance, disability insurance, old-age pensions). To Bismarck this was "practical Christianity". These programs, too, were copied by many other nations, particularly in the Western world.
Question: What country started programs that led to the welfare state?

Output:
Germany