Basic Relation Discovery Function