Is not getting Types relationships but WordPress native parent posts as in pages.
_wpcf_belongs_parent-post-type-slug_id
This Field will hold (in the Child post) the ID of the Parent Post.
So if you have a certain parent Post, you can get all Children Posts that have the ID stored in that Field.
Then, you can query again and check again the Child of the Child's ID, for it's parent Post ID stored in it's hidden field.
This is custom code. If you are not familiar with PHP I strongly suggest to use Views.
We can not assist Custom Code in the Free Types Forum or in our Paid forums, we do however assist Toolset Features and give instructions and examples on code so you can build on it, but we do not provide ready to go Custom Code.
https://toolset.com/toolset-support-policy/
If you need help with custom programming work which is beyond the scope of our support, I would suggest you consider contacting one of our certified partners from this link:
https://toolset.com/consultant/
You will get the custom assistance you need to get on with your project.
DOC:
https://codex.wordpress.org/Template_Tags/get_posts
Example on how to get Posts that are Child of a given Post with ID defined in $postID
$postID = //Define the Post ID of the Post where you use this code on (current post, post in loop...)
$args = array(
'posts_per_page' => -1,
'orderby' => 'date',
'order' => 'DESC',
'meta_key' => '_wpcf_belongs_post-type-slug_id',
'meta_value' => $postID,
'post_type' => 'post-type-slug',
'post_status' => 'publish',
'suppress_filters' => true
);
$posts_array = get_posts( $args );
//Now we have and array of ALL posts of type post-type-slug that are Types Child of the Post postID
Now you can go ahead, foreach over above Array, and repeat.