what river ends in gulf of nicoya and also starts somewhere in costa rica ?
SELECT DISTINCT var_uri where brack_open var_uri dbo_riverMouth dbr_Gulf_of_Nicoya sep_dot var_uri dbo_sourceCountry dbr_Costa_Rica sep_dot var_uri a dbo_River brack_close