Path Ranking with Attention to Type Hierarchies