Import data with the possibility of importing new data in link fields

I created a docttype I want to import its data
But there are link fields in it and I want the new data related to that table to be imported and linked together.
The relevant table is not a child table

School docttype:
Title Data
Type Link typetable
address data

typetable docttype:

Title data
Description text