sentence1: relation extraction is the task of detecting and classifying relationships between two entities from text .
sentence2: relation extraction is the task of predicting semantic relations over entities expressed in structured or semi-structured text .