Topics

Ayah by Ayah

Download Links

Gog and Magog (يأجوج ومأجوج)

Ontology
Gog and Magog (يأجوج ومأجوج) are a group of people mentioned in the Quran who are kept behind a great wall.
Parent Topic: Historic People

Ayahs Associated with This Topic (3)

Sort ⇅
18:94 - Al-Kahf

Verse 94

قَالُواْ يَٰذَا ٱلۡقَرۡنَيۡنِ إِنَّ يَأۡجُوجَ وَمَأۡجُوجَ مُفۡسِدُونَ فِي ٱلۡأَرۡضِ فَهَلۡ نَجۡعَلُ لَكَ خَرۡجًا عَلَىٰٓ أَن تَجۡعَلَ بَيۡنَنَا وَبَيۡنَهُمۡ سَدّٗا ٩٤
Dr. Mustafa Khattab, the Clear Quran
They pleaded, “O Ⱬul-Qarnain! Surely Gog and Magog1 are spreading corruption throughout the land. Should we pay you tribute, provided that you build a wall between us and them?”
21:96 - Al-Anbya

Verse 96

حَتَّىٰٓ إِذَا فُتِحَتۡ يَأۡجُوجُ وَمَأۡجُوجُ وَهُم مِّن كُلِّ حَدَبٖ يَنسِلُونَ ٩٦
Dr. Mustafa Khattab, the Clear Quran
until ˹after˺ Gog and Magog have broken loose ˹from the barrier˺,1 swarming down from every hill,
21:97 - Al-Anbya

Verse 97

وَٱقۡتَرَبَ ٱلۡوَعۡدُ ٱلۡحَقُّ فَإِذَا هِيَ شَٰخِصَةٌ أَبۡصَٰرُ ٱلَّذِينَ كَفَرُواْ يَٰوَيۡلَنَا قَدۡ كُنَّا فِي غَفۡلَةٖ مِّنۡ هَٰذَا بَلۡ كُنَّا ظَٰلِمِينَ ٩٧
Dr. Mustafa Khattab, the Clear Quran
ushering in the True Promise.1 Then—behold!—the disbelievers will stare ˹in horror, crying,˺ “Oh, woe to us! We have truly been heedless of this. In fact, we have been wrongdoers.”

About Ayah Topics

Each verse can be associated with multiple topics across all three categories: ontological, thematic, and general. The topics are organized hierarchically, meaning each topic may have parent topics and child topics.

Database Structure

The QUL exports ayah topics data as a SQLite database with the following structure:

  • topic_id: Unique identifier for the topic
  • topic_name: The English name of the topic
  • arabic_name: The Arabic name or transliteration of the topic (if available)
  • verse_key: The verse identifier in format "chapter:verse" (e.g., "2:255")
  • is_ontology: Boolean indicating if this is an ontology topic
  • is_thematic: Boolean indicating if this is a thematic topic
  • parent_topic_id: ID of the parent topic (for hierarchical organization)
  • description: Detailed description of what the topic encompasses