Linking 2 properties to the same table [3.3]

You can assosiate the same table in multiple alias.
Something like this

    $this->belongsTo('BornCountries', [
        'className' => 'Countries',
        'foreignKey' => 'born_country_id',
        'joinType' => 'INNER'
    ]);
    $this->belongsTo('LivingCountries', [
        'className' => 'Countries',
        'foreignKey' => 'living_country_id',
        'joinType' => 'INNER'
    ]);

And then you would access it like $person->born_country and $person->living_country.
Note that you can’t simply contain Countries, you have to use LivingCountries or BornCountries