Dhul Qarnayn (ذو القرنين) is righteous ruler mentioned in the Quran who constructed a wall to hold Gog and magog. His story is recounted in the chapter of the Quran named "The Cave".
He declared, “This is a mercy from my Lord. But when the promise of my Lord comes to pass, He will level it to the ground. And my Lord’s promise is ever true.”
Bring me blocks of iron!” Then, when he had filled up ˹the gap˺ between the two mountains, he ordered, “Blow!” When the iron became red hot, he said, “Bring me molten copper to pour over it.”
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?”
until he reached the setting ˹point˺ of the sun, which appeared to him to be setting in a spring of murky water, where he found some people. We said, “O Ⱬul-Qarnain! Either punish them or treat them kindly.”
They ask you ˹O Prophet˺ about Ⱬul-Qarnain. Say, “I will relate to you something of his narrative.”1
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