which ancient country had capital as xi'an and beijing ?
SELECT DISTINCT var_uri where brack_open var_uri dbo_capital dbr_Xi'an sep_dot var_uri dbo_capital dbr_Beijing sep_dot var_uri a dbo_Country brack_close