Getting Parent Entity

I am getting an entity returned to me from a ray cast result, and I need to retrieve its parent entity tags. However the parent entity that I am getting is more like a sibling, its on the same hierarchy level as the child.

an example of our project setup is

space {
    Title {
    Property {

When i console log result.entity.parent from the raycast I get Generic_Tile as the parent for Building, when what I need are the tags on Space

Do you have a public project to share?