Question: The Siege of the city where Mohammad moved to found a separate Muslim community is part of what war?

full_context: Document 1: Muhammad's first revelation: Muhammad's first revelation was an event described in Islam as taking place in 610 AD, during which the prophet Muhammad was visited by the archangel Gabriel, who revealed to him the beginnings of what would later become the Holy Quran. The event took place in a cave called Hira, located on the mountain Jabal an - Nour, near Makka.
Document 2: Quran: In the beginning, the Quran did not have vocalization markings. The system of vocalization, as we know it today, seems to have been introduced towards the end of the ninth century. Since it would have been too costly for most Muslims to purchase a manuscript, copies of the Quran were held in mosques in order to make them accessible to people. These copies frequently took the form of a series of 30 parts or juzʼ. In terms of productivity, the Ottoman copyists provide the best example. This was in response to widespread demand, unpopularity of printing methods and for aesthetic reasons.
Document 3: Şahin Bey: Şahin Bey's return to the Western front would come after the Ottoman Empire entered the World War I on the side of the Central Powers. He was sent to Galicia to help the allies of the empire. He was later transferred to the Middle Eastern front of the war, specifically to Sinai in 1917. There he took part in the Sinai and Palestine Campaign which resulted with another defeat for the Ottoman-German alliance. Şahin Bey became a prisoner of war in the hands of the British forces. He was not released until 1919.
Document 4: Hejaz Expeditionary Force: The Hejaz Expeditionary Force () of the Ottoman Empire was one of the expeditionary forces of the Ottoman Army. Its commander had the authority of an army commander. It was formed during World War I for the defense of Medina (located in the region known as the Hejaz).
Document 5: Quran: According to the traditional narrative, several companions of Muhammad served as scribes and were responsible for writing down the revelations. Shortly after Muhammad's death, the Quran was compiled by his companions who wrote down and memorized parts of it. These codices had differences that motivated the Caliph Uthman to establish a standard version now known as Uthman's codex, which is generally considered the archetype of the Quran known today. There are, however, variant readings, with mostly minor differences in meaning.
Document 6: Quran: Islamic tradition relates that Muhammad received his first revelation in the Cave of Hira during one of his isolated retreats to the mountains. Thereafter, he received revelations over a period of 23 years. According to hadith and Muslim history, after Muhammad immigrated to Medina and formed an independent Muslim community, he ordered many of his companions to recite the Quran and to learn and teach the laws, which were revealed daily. It is related that some of the Quraysh who were taken prisoners at the Battle of Badr regained their freedom after they had taught some of the Muslims the simple writing of the time. Thus a group of Muslims gradually became literate. As it was initially spoken, the Quran was recorded on tablets, bones, and the wide, flat ends of date palm fronds. Most suras were in use amongst early Muslims since they are mentioned in numerous sayings by both Sunni and Shia sources, relating Muhammad's use of the Quran as a call to Islam, the making of prayer and the manner of recitation. However, the Quran did not exist in book form at the time of Muhammad's death in 632. There is agreement among scholars that Muhammad himself did not write down the revelation.
Document 7: Ottoman Empire during World War I: The Ottoman Empire participated in World War I as one of the Central Powers. The Ottoman Empire entered the war by carrying out a surprise attack on Russia's Black Sea coast on 29 October 1914, with Russia responding by declaring war on it on November 5th, 1914. Ottoman forces fought the Entente in the Balkans and the Middle Eastern theatre of World War I. The Ottoman Empire's defeat in the war in 1918 was crucial in the eventual dissolution of the empire in 1921.
Document 8: Partition of the Ottoman Empire: The partition of the Ottoman Empire (Armistice of Mudros, 30 October 1918 -- Abolition of the Ottoman Sultanate, 1 November 1922) was a political event that occurred after World War I and the occupation of Constantinople by British, French and Italian troops in November 1918. The partitioning was planned in several agreements made by the Allied Powers early in the course of World War I, notably the Sykes - Picot Agreement. As world war loomed, the Ottoman Empire sought protection but was rejected by Britain, France, and Russia, and finally formed the Ottoman -- German Alliance. The huge conglomeration of territories and peoples that formerly comprised the Ottoman Empire was divided into several new states. The Ottoman Empire had been the leading Islamic state in geopolitical, cultural and ideological terms. The partitioning of the Ottoman Empire led to the rise in the Middle East of Western powers such as Britain and France and brought the creation of the modern Arab world and the Republic of Turkey. Resistance to the influence of these powers came from the Turkish national movement but did not become widespread in the post-Ottoman states until after World War II.
Document 9: Quran: Islamic tradition relates that Muhammad received his first revelation in the Cave of Hira during one of his isolated retreats to the mountains. Thereafter, he received revelations over a period of 23 years. According to hadith and Muslim history, after Muhammad immigrated to Medina and formed an independent Muslim community, he ordered many of his companions to recite the Quran and to learn and teach the laws, which were revealed daily. It is related that some of the Quraysh who were taken prisoners at the battle of Badr regained their freedom after they had taught some of the Muslims the simple writing of the time. Thus a group of Muslims gradually became literate. As it was initially spoken, the Quran was recorded on tablets, bones, and the wide, flat ends of date palm fronds. Most suras were in use amongst early Muslims since they are mentioned in numerous sayings by both Sunni and Shia sources, relating Muhammad's use of the Quran as a call to Islam, the making of prayer and the manner of recitation. However, the Quran did not exist in book form at the time of Muhammad's death in 632. There is agreement among scholars that Muhammad himself did not write down the revelation.
Document 10: Mehmed VI: The First World War was a disaster for the Ottoman Empire. British and allied forces had conquered Baghdad, Damascus, and Jerusalem during the war and most of the Ottoman Empire was divided amongst the European allies. At the San Remo conference of April 1920, the French were granted a mandate over Syria and the British were granted one over Palestine and Mesopotamia. On 10 August 1920, Mehmed's representatives signed the Treaty of Sèvres, which recognised the mandates and recognised Hejaz as an independent state.
Document 11: Ottoman Empire: The history of the Ottoman Empire during World War I began with the Ottoman engagement in the Middle Eastern theatre. There were several important Ottoman victories in the early years of the war, such as the Battle of Gallipoli and the Siege of Kut. The Arab Revolt which began in 1916 turned the tide against the Ottomans on the Middle Eastern front, where they initially seemed to have the upper hand during the first two years of the war. The Armistice of Mudros was signed on 30 October 1918, and set the partition of the Ottoman Empire under the terms of the Treaty of Sèvres. This treaty, as designed in the conference of London, allowed the Sultan to retain his position and title. The occupation of Constantinople and İzmir led to the establishment of a Turkish national movement, which won the Turkish War of Independence (1919–22) under the leadership of Mustafa Kemal (later given the surname "Atatürk"). The sultanate was abolished on 1 November 1922, and the last sultan, Mehmed VI (reigned 1918–22), left the country on 17 November 1922. The caliphate was abolished on 3 March 1924.
Document 12: Siege of Medina: Medina, an Islamic holy city in Arabia, underwent a long siege during World War I. Medina was at the time part of the Ottoman Empire. In the war, the Ottoman Empire sided with the Central Powers. Sharif Hussain of Mecca revolted against the caliph and the Ottoman Empire which, under the leadership of the nationalistic Young Turks, had ignored the wishes of the Caliph and sided with the Central Powers. Hussain instead sided with the British Empire. T. E. Lawrence was instrumental in this revolt. Hussain occupied Mecca and besieged Medina. It was one of the longest sieges in history that lasted till even after the end of war. Fahreddin Pasha was the defender of Medina. Some celebrated him as ""the Lion of the Desert"" despite the suffering of those who remained in Medina. The siege lasted two years and seven months.
Document 13: Hejaz: In 1916, Sharif Hussein ibn Ali proclaimed himself King of an independent Hejaz, as a result of the McMahon–Hussein Correspondence. The ensuing Arab Revolt overthrew the Ottoman Empire. In 1924, however, Ibn Ali was forced into exile by Ibn Saud of the Najd.
Document 14: Quran: Based on earlier transmitted reports, in the year 632, after the demise of Muhammad a number of his companions who knew the Quran by heart were killed in a battle by Musaylimah, the first caliph Abu Bakr (d. 634) decided to collect the book in one volume so that it could be preserved. Zayd ibn Thabit (d. 655) was the person to collect the Quran since "he used to write the Divine Inspiration for Allah's Apostle". Thus, a group of scribes, most importantly Zayd, collected the verses and produced a hand-written manuscript of the complete book. The manuscript according to Zayd remained with Abu Bakr until he died. Zayd's reaction to the task and the difficulties in collecting the Quranic material from parchments, palm-leaf stalks, thin stones and from men who knew it by heart is recorded in earlier narratives. After Abu Bakr, Hafsa bint Umar, Muhammad's widow, was entrusted with the manuscript. In about 650, the third Caliph Uthman ibn Affan (d. 656) began noticing slight differences in pronunciation of the Quran as Islam expanded beyond the Arabian Peninsula into Persia, the Levant, and North Africa. In order to preserve the sanctity of the text, he ordered a committee headed by Zayd to use Abu Bakr's copy and prepare a standard copy of the Quran. Thus, within 20 years of Muhammad's death, the Quran was committed to written form. That text became the model from which copies were made and promulgated throughout the urban centers of the Muslim world, and other versions are believed to have been destroyed. The present form of the Quran text is accepted by Muslim scholars to be the original version compiled by Abu Bakr.
Document 15: Quran: Muslims believe the Quran was verbally revealed by God to Muhammad through the angel Gabriel (Jibril), gradually over a period of approximately 23 years, beginning on 22 December 609 CE, when Muhammad was 40, and concluding in 632, the year of his death. Muslims regard the Quran as the most important miracle of Muhammad, a proof of his prophethood, and the culmination of a series of divine messages that started with the messages revealed to Adam and ended with Muhammad. The word "Quran" occurs some 70 times in the text of the Quran, although different names and words are also said to be references to the Quran.
ground_truth: World War I
sub_queries: Where did Mohammad move to found a separate Muslim community? Answer: Medina
Siege of Medina >> part of Answer: World War I