Learning Hierarchical Relationships among Partially Ordered Objects with Heterogeneous Attributes and Links