Relationship Discovery for Drug Recommendation