which ancient country had capital as baghdad and abbasid samarra ?
SELECT DISTINCT var_uri where brack_open var_uri dbo_capital dbr_Baghdad sep_dot var_uri dbo_capital dbr_Abbasid_Samarra sep_dot var_uri a dbo_Country brack_close