The genealogy program Family Historian include a useful “plugin” that enables the direct import of person and relationship data into a new database.
The main Family Historian product (which I personally recommend) can be obained here, including a free trial.
The data fields the plugin supports are:
ID, Forenames, Surname, Sex, BirthDate, BirthPlace, DeathDate, DeathPlace, Mother, Father, Spouse1, Spouse2
You should expect to test the import process and may need to edit the plugin code to adapt it to your requirements.