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 capital of', Sentence: 'To visit Machu Picchu you must spend at least 2 nights in Cuzco which was the capital of the Inca empire and has many archaeological ruins in the city and nearby .'

SOLUTION: capital

PROBLEM: Given Relationship: 'attack', Sentence: 'The Japanese attack on Pearl Harbor on Dec. 7 , 1941 led soldiers of the 28th to remain on active for the duration of the war .'

SOLUTION: attack

PROBLEM: Given Relationship: 'attack', Sentence: 'Rep. John Lewis comments on the hateful attacks on Obama from the McCain campaign and McCain wants an apology .'

SOLUTION:
attacks