which ancient country had capital as veliko tarnovo and sofia ?
SELECT DISTINCT var_uri where brack_open var_uri dbo_capital dbr_Veliko_Tarnovo sep_dot var_uri dbo_capital dbr_Sofia sep_dot var_uri a dbo_Country brack_close