sentence1: relation extraction ( re ) is the task of assigning a semantic relationship between a pair of arguments .
sentence2: relation extraction is a subtask of information extraction that finds various predefined semantic relations , such as location , affiliation , rival , etc. , between pairs of entities in text .