TASK DEFINITION: From the given sentence, extract the phrase (often noun or verb) that carries the given relationship. The generated phrase should be present in the sentence.
PROBLEM: Given Relationship: 'be city of', Sentence: 'Lahore is Pakistan 's second largest city and the capital of the northeastern province of Punjab .'

SOLUTION: city

PROBLEM: Given Relationship: 'be part of', Sentence: 'Finland was part of the Russian Empire until the end of WW I. i .e .1917 .'

SOLUTION: part

PROBLEM: Given Relationship: 'be town in', Sentence: 'The bridge would connect the Alaska town of Ketchikan to Gravina Island .'

SOLUTION:
town