TASK DEFINITION: In this task, you are given a question and a context passage. You have to answer the question based on the given passage.
PROBLEM: WHat is second mentioned location?, Context: Cork was one of the most rail-oriented cities in Ireland, featuring eight stations at various times. The main route, still much the same today, is from Dublin Heuston. Originally terminating on the city's outskirts at Blackpool, the route now reaches the city centre terminus of Kent Station via Glanmire tunnel. Now a through station, the line through Kent connects the towns of Cobh and Midleton east of the city. This also connected to the seaside town of Youghal, until the 1980s.[citation needed]

SOLUTION: Ireland

PROBLEM: What was the main job for one of the individuals who was one of the final Apollo astronauts to go to the moon?, Context: The Apollo astronauts were chosen from the Project Mercury and Gemini veterans, plus from two later astronaut groups. All missions were commanded by Gemini or Mercury veterans. Crews on all development flights (except the Earth orbit CSM development flights) through the first two landings on Apollo 11 and Apollo 12, included at least two (sometimes three) Gemini veterans. Dr. Harrison Schmitt, a geologist, was the first NASA scientist astronaut to fly in space, and landed on the Moon on the last mission, Apollo 17. Schmitt participated in the lunar geology training of all of the Apollo landing crews.

SOLUTION: geologist

PROBLEM: Where is Warsaw situated?, Context: Warsaw (Polish: Warszawa [varˈʂava] ( listen); see also other names) is the capital and largest city of Poland. It stands on the Vistula River in east-central Poland, roughly 260 kilometres (160 mi) from the Baltic Sea and 300 kilometres (190 mi) from the Carpathian Mountains. Its population is estimated at 1.740 million residents within a greater metropolitan area of 2.666 million residents, which makes Warsaw the 9th most-populous capital city in the European Union. The city limits cover 516.9 square kilometres (199.6 sq mi), while the metropolitan area covers 6,100.43 square kilometres (2,355.39 sq mi).

SOLUTION:
on the Vistula River in east-central Poland, roughly 260 kilometres (160 mi) from the Baltic Sea and 300 kilometres (190 mi) from the Carpathian Mountains