If you have to support/appropriate referencing setup in your model, all you have to do is to go to business views for the parent entity and check the box for enabling the hierarchy view.
You can also refer to the below link for more detailed steps:
https://www.semarchy.com/doc/semarchy-xdm/semdg.html#configuring-the-hierarchy-in-a-business-view