sentence1: 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 .
sentence2: relation extraction ( re ) is the process of generating structured relation knowledge from unstructured natural language texts .