Problem: After the War of the Spanish Succession in the early 18th century, possession of the kingdom again changed hands. Under the terms of the Treaty of Rastatt in 1714, Naples was given to Charles VI, the Holy Roman Emperor. He also gained control of Sicily in 1720, but Austrian rule did not last long. Both Naples and Sicily were conquered by a Spanish army during the War of the Polish Succession in 1734, and Charles, Duke of Parma, a younger son of King Philip V of Spain was installed as King of Naples and Sicily from 1735. When Charles inherited the Spanish throne from his older half-brother in 1759, he left Naples and Sicily to his younger son, Ferdinand IV. Despite the two Kingdoms being in a personal union under the Habsburg and Bourbon dynasts, they remained constitutionally separate. Being a member of the House of Bourbon, Ferdinand IV was a natural opponent of the French Revolution and Napoleon. In 1798, he briefly occupied Rome, but was expelled from it by French Revolutionary forces within the year. Soon afterwards Ferdinand fled to Sicily. In January 1799 the French armies installed a Parthenopaean Republic, but this proved short-lived, and a peasant counter-revolution inspired by the clergy allowed Ferdinand to return to his capital. However, in 1801 Ferdinand was compelled to make important concessions to the French by the Treaty of Florence, which reinforced France's position as the dominant power in mainland Italy.

Which event happened first, the Treaty of Rastatt where Naples was given to Charles VI or when he gained control of Sicily?
Answer: 1714, Naples was given
Q: The Detroit Tigers are an United States professional baseball team based in Detroit, Michigan. The Tigers compete in Major League Baseball (MLB) as a member of the American League (AL) American League Central division. One of the ALs eight charter franchises, the club was founded in Detroit as a member of the minor league Western League (1885–1899) in 1894. They are the oldest continuous one name, one city franchise in the AL. The Tigers have won four World Series championships (, , , and ), 11 List of American League pennant winners (1907, 1908, 1909, 1934, 1935, 1940, 1945, 1968, 1984 American League Championship Series, 2006 American League Championship Series, 2012 American League Championship Series), and four AL Central division championships (2011, 2012, 2013, and 2014). The Tigers also won division titles in 1972, 1984, and 1987 as a member of the American League East. The team currently plays its home games at Comerica Park in Downtown Detroit.
How many years after the Tigers won their second division title in the American League East did they win the third?
A: 3
Problem: The Browns traveled to Indianapolis to take on an Andrew Luck-led Colts offense. The Colts were able to score in the first quarter as Andrew Luck ran for a 3-yard touchdown making the score 7-0 for the only score of the game. The Browns responded in the 2nd quarter coming within a point when Brandon Weeden found Greg Little on a 14-yard pass (with a failed PAT) making the score 7-6. Then, Luck ran for another touchdown this time from 5 yards out to make the score 14-6 at halftime. The Browns came within a point again in the 3rd quarter as Weeden found Josh Gordon on a 33-yard pass making the score 14-13 but the Colts wrapped things up with Adam Vinatieri's 38-yard field goal followed by a scoreless 4th quarter making the final score 17-13 as the Browns' road record at this point of the season was 0-4 while their record overall was 1-6.
Answer this question based on the article: Who scored a touchdown first, Andrew Luck or Brandon Weeden?
A: Andrew Luck
Question:
The second half of the war was initiated by Pegu. To take advantage of Ava's dynastic succession crisis, Razadarit invaded Upper Burma in full force with a large flotilla in 1401. Ava's defenses held, and Razadarit and Minkhaung I of Ava agreed to another truce in 1403. The second truce lasted less than 5 years as Ava quickly went on an expansion spree, swallowing up Shan states of Kale and Mohnyin in the north, and Arakan in the west, between 1404 and 1406. Pegu could not allow Ava to get too strong, and renewed the war. In 1408, Peguan forces dislodged Avan troops from Arakan. Pegu also found an ally in the Shan state of Theinni , which too wanted to check Ava's ambitions. Between 1408 and 1413, Ava was forced to fight on multiple fronts: Theinni in the north, and Pegu in the south and in the west . Nonetheless, by 1412, Avan forces, led by Crown Prince Minye Kyawswa, had begun to gain an upper hand. Minye Kyawswa defeated Theinni and its Chinese allies in 1412. He invaded the Hanthawaddy country in full force in 1414, and conquered the Irrawaddy delta in 1415, forcing Razadarit to flee Pegu for Martaban. But Minye Kyawswa was killed in battle in March 1415.

How many countries did Minye Kyawswa defeat including China?

Answer:
2
question: After Flash 5 introduced ActionScript in 2000, developers combined the visual and programming capabilities of Flash to produce interactive experiences and applications for the Web. Such Web-based applications eventually came to be known as "Rich Internet Applications" . In 2004, Macromedia Flex was released, and specifically targeted the application development market. Flex introduced new user interface components, advanced data visualization components, data remoting, and a modern IDE . Flex competed with Asynchronous JavaScript and XML  and Microsoft Silverlight during its tenure. Flex was upgraded to support integration with remote data sources, using AMF, BlazeDS, Adobe LiveCycle, Amazon Elastic Compute Cloud, and others. As of 2015, Flex applications can be published for desktop platforms using Adobe AIR. Between 2006 and 2016, the Speedtest.net web service conducted over 9.0 billion speed tests using an RIA built with Adobe Flash. In 2016, the service shifted to HTML5 due to the decreasing availability of Adobe Flash Player on PCs. As of 2016, Web applications and RIAs can be developed with Flash using the ActionScript 3.0 programming language and related tools such as Adobe Flash Builder. Third-party IDEs such as FlashDevelop and Powerflasher FDT also enable developers to create Flash games and applications, and are generally similar to Microsoft Visual Studio. Flex applications are typically built using Flex frameworks such as PureMVC.
Answer this question: What purpose did Flex have?
answer: targeted the application development market
question: His publications have focused on the history of Mataram, Kartasura, Yogyakarta, Surakarta, locations in Central Java. He has also regularly updated his history of Indonesia - A History of Modern Indonesia, ca. 1300 to the present. Professor Ricklefs has dedicated most of his academic career to understanding how Indonesian society reacted to both the European presence  and the spread of Islam , with an emphasis on cultural as well as political history. Few other living English speaking writers can claim the scope of his knowledge of the history of Java from the 17th to the 21st century. In 2010 he edited and co-authored the New History of Southeast Asia, which continues the work of his friend and mentor D.G.E. Hall, who first published his own History of South East Asia in 1955. From 2004 to 2015, Professor Ricklefs was sectional editor for Southeast Asia for the new 3rd edition of Encyclopaedia of Islam . He is currently a member of the editorial boards of History Today, Studia Islamika, Journal of Indonesian Islam and Journal of Southeast Asian Studies. He co-edits the monograph series Handbook of Oriental Studies/Handbuch der Orientalistik and Brill's Southeast Asia Library .
Answer this question: How many areas in central Java has Ricklefs focused on?
answer:
4