Input (grade 9): The emirate of Dubai shares borders with Abu Dhabi in the south, Sharjah in the northeast, and the Sultanate of Oman in the southeast.
Output (grade 5): Dubai is the second largest emirate in the U.A.E. after Abu Dhabi; which is the capital. The emirate is located on the Persian Gulf, southwest of Sharjah and northeast of Abu Dhabi.