Enhancing Scene Graph Generation with Hierarchical Relationships and Commonsense Knowledge