which ancient country had capital as madurai and tirunelveli ?
SELECT DISTINCT var_uri where brack_open var_uri dbo_capital dbr_Madurai sep_dot var_uri dbo_capital dbr_Tirunelveli sep_dot var_uri a dbo_Country brack_close