Input: Karatsu domain was founded in 1593, by Terazawa Hirotaka, who was granted lordship of Karatsu and landholdings of 83,000 koku. He was also Nagasaki bugyo under the Tokugawa bakufu. The Terazawa clan took part in the Battle of Sekigahara on the side of Tokugawa Ieyasu and received an additional 40,000 koku of land, bringing the total revenues of the domain up to 123,000 koku. The Terazawa took part in the Shogunate's expedition to suppress the Shimabara Uprising. The family held on to Karatsu until 1647, when Hirotaka's son Katataka committed suicide; due to a lack of heir, the family came to an end and the domain was confiscated by the central government. Several families were rotated through Karatsu for the next century: two generations of the Okubo clan; three generations of the Ogyu-Matsudaira clan, four generations of the Doi clan, and four of the Mizuno clan, including the famous reformer Mizuno Tadakuni. The domain then passed into the hands of Ogasawara Nagamasa, whose family remained until Karatsu domain was abolished in 1871. During the Boshin War of the Meiji Restoration of 1868-69, Ogasawara Nagamichi, the de facto ruler of Karatsu, led a group of his retainers on the side of the Ouetsu Reppan Domei; after the fall of this alliance he went to Ezo and fought under the forces of the Ezo Republic. At the same time, Karatsu's domain-based administration was forced to pledge military support to the Satcho Alliance of Emperor Meiji. Ogasawara Naganari, the Meiji period Imperial Japanese Navy admiral, was a descendant of the Ogasawara branch which ruled Karatsu.

Question: What happened first: Karatsu domain was founded or Katataka committed suicide?

Input: Jedrzej Edward Moraczewski was a Polish socialist politician who served as the first Prime Minister of the Second Polish Republic between November 1918 and January 1919. He had previously served as Minister of Communications. Subsequently, from 1925 to 1929, he served as Minister of Public Labour. Moraczewski died on 5 August 1944 when he was hit by shrapnel fired by a Soviet soldier into his house. He was buried at Powazki Military Cemetery.

Question: For how many years did he serve as Public Labour Minister?

Input: In week 6, the Lions hosted the NFC West Division-leading San Francisco 49ers. The Lions struck first, when Jason Hanson kicked a 25-yard field goal that came after a San Francisco turnover. Detroit added to their lead when Brandon Pettigrew caught a 16-yard TD pass. In the second quarter, the 49ers finally got on the board with a 1-yard TD run by Frank Gore. San Francisco received a safety when Aldon Smith sacked Matthew Stafford in the end zone. The final points of the first half came just before intermission when David Akers of the 49ers kicked a 55-yard field goal, putting the Lions down at halftime for the fourth consecutive week. After the break, Detroit scored on a 24-yard field goal. San Francisco responded with a field goal of their own, this one from 31 yards out. In the fourth quarter, the Lions' Nate Burleson caught a 5-yard TD pass; the Lions went for a 2-point conversion but Calvin Johnson failed to catch Matthew Stafford's pass. In the final 2 minutes, the 49ers rallied from behind, first with a 6-yard TD catch by Delanie Walker, then a 37-yard field goal by David Akers, putting them up 25-19. With 1:02 left in the game, the Lions attempted another comeback, but San Francisco's defense held them off, handing Detroit its first loss of the season as the team fell to 5-1 and 2nd place in the NFC North. After the game, coaches Jim Schwartz and Jim Harbaugh got into an argument after Schwartz claimed Harbaugh pushed him out of the way when the two coaches were shaking hands.

Question: Which team had a safety scored on them in the first half??

Input: Hoping to rebound from their loss to the Saints the Seahawks played on home ground where they played their former division rival, the Kansas City Chiefs. In the first quarter, the Seahawks trailed early with QB Matt Cassel getting a 7-yard TD pass to WR Dwayne Bowe. They responded after FS Earl Thomas returned a blocked punt 10 yards for a touchdown. They fell behind as Shaun Smith got a 1-yard TD run, followed by Cassel finding Bowe again on a 36-yard TD pass. The Seahawks cut the lead when kicker Olindo Mare got a 43-yard field goal, followed by QB Matt Hasselbeck getting a 13-yard TD pass to TE Chris Baker. The struggled further with RB Jamaal Charles getting a 3-yard TD run, followed by Cassel throwing to Bowe on a 9-yard TD pass. The Seahawks responded as Hasselbeck completed an 87-yard TD pass to WR Ben Obomanu, but the Chiefs increased their lead as Cassel got a 6-yard TD pass to TE Tony Moeaki.

Question:
How many touchdown passes did Matt Cassel throw?