sentence1: relation extraction ( re ) is a task of identifying typed relations between known entity mentions in a sentence .
sentence2: relation extraction is the task of detecting and classifying relationships between two entities from text .