I found this information in a plugin (https://wordpress.org/plugins/wp-re-importer/faq/)
The standard WordPress Importer only sets a post's post_parent if that post also exists in the import; it can't map an imported post to a post that already exists in the database.
When I exported 'all content' instead then my snippet in my question successfully shows.