Corpus-Based Relation Extraction by Identifying and Refining Relation Patterns