Triple

T10274678
Position Surface form Disambiguated ID Type / Status
Subject Bab Mahrouk E240931 entity
Predicate locatedNear P294 FINISHED
Object Bab al-Sagma
Bab al-Sagma is a historic city gate in the medieval walls of Fez, Morocco, forming part of the old fortified entrances near Bab Mahrouk.
E856775 NE FINISHED

How this triple was built (4 steps)

Every LLM step that produced this triple, in pipeline order — named-entity classification, the disambiguation choices (the exact options shown, with the pick highlighted), and the generated description. The batch + timestamp of each is in the Provenance table below.

NER Named-entity recognition gpt-5-mini
Instruction
Given a phrase, classify it is english named entity (e.g., persons, organizations, works of art) in Latin script, or not (e.g., literals, dates, URLs, verbose phrases). For disambiguation, the statement where the phrase occurs as object is also given. Please return a JSON object with `phrase` (string, the phrase being analyzed) and `is_ne` (boolean, indicating whether the phrase is a Named Entity).
Input
Phrase: Bab al-Sagma | Statement: [Bab Mahrouk, locatedNear, Bab al-Sagma]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Bab al-Sagma
Context triple: [Bab Mahrouk, locatedNear, Bab al-Sagma]
  • A. Bab al-Asbat
    Bab al-Asbat, also known as the Lions' Gate, is one of the historic entrances to Jerusalem’s Old City, notable for its carved lion reliefs and proximity to key religious sites.
  • B. Bab al-Fahs
    Bab al-Fahs is a historic city gate and bustling entrance area to Tangier’s old medina in northern Morocco.
  • C. Bab al-Kalabsha
    Bab al-Kalabsha is the original Nubian site in southern Egypt where the ancient Temple of Kalabsha once stood before being relocated due to the construction of the Aswan High Dam.
  • D. Bab al-Hadid
    Bab al-Hadid is a historic gate of the Citadel of Damascus, serving as one of the fortified entrances to the ancient stronghold in Syria’s capital.
  • E. Bab al-Qattanin
    Bab al-Qattanin is a historic Mamluk-era gate in Jerusalem’s Old City that serves as the main western entrance to the al-Aqsa Mosque compound, leading into the traditional Cotton Market.
  • F. None of above. chosen
  • G. Unsure - the case is ambiguous/there is not enough information to decide.
NEDg Description generation gpt-5.1
Instruction
Generate a one-sentence description of the target entity. 
You are given a context triple in the form (subject, predicate, object), where the object is the target entity. 
# Instructions
Use the triple to infer relevant information about the entity. Describe the entity based on what is most defining, well-known. 
Avoid repeating the information from the triple, unless really essential.
# Response Format
Return only the sentence: "Description: [one-sentence description of the target entity]"
Input
Entity: Bab al-Sagma
Triple: [Bab Mahrouk, locatedNear, Bab al-Sagma]
Generated description
Bab al-Sagma is a historic city gate in the medieval walls of Fez, Morocco, forming part of the old fortified entrances near Bab Mahrouk.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Bab al-Sagma
Target entity description: Bab al-Sagma is a historic city gate in the medieval walls of Fez, Morocco, forming part of the old fortified entrances near Bab Mahrouk.
  • A. Bab al-Asbat
    Bab al-Asbat, also known as the Lions' Gate, is one of the historic entrances to Jerusalem’s Old City, notable for its carved lion reliefs and proximity to key religious sites.
  • B. Bab al-Fahs
    Bab al-Fahs is a historic city gate and bustling entrance area to Tangier’s old medina in northern Morocco.
  • C. Bab al-Kalabsha
    Bab al-Kalabsha is the original Nubian site in southern Egypt where the ancient Temple of Kalabsha once stood before being relocated due to the construction of the Aswan High Dam.
  • D. Bab al-Hadid
    Bab al-Hadid is a historic gate of the Citadel of Damascus, serving as one of the fortified entrances to the ancient stronghold in Syria’s capital.
  • E. Bab al-Qattanin
    Bab al-Qattanin is a historic Mamluk-era gate in Jerusalem’s Old City that serves as the main western entrance to the al-Aqsa Mosque compound, leading into the traditional Cotton Market.
  • F. None of above. chosen

Provenance (5 batches)

The batch behind each pipeline step, in order, with when it ran. Timestamps are batch-level — stages were processed in waves, so the object chain (NER → NED1 → NEDg → NED2) reads in order, but predicate / elicitation batches can sit in a different wave.

Step Stage Batch ID Status When
creating Elicitation batch_69d381a94c1881908fc38fc263d9b9c2 completed April 6, 2026, 9:49 a.m.
NER Named-entity recognition batch_69d4d28a9c508190824867c04e8dcbe7 completed April 7, 2026, 9:46 a.m.
NED1 Entity disambiguation (via context triple) batch_69d75001586c8190a0d4af1ff5588f0e completed April 9, 2026, 7:06 a.m.
NEDg Description generation batch_69d751122d208190abaa4fd72a07643b completed April 9, 2026, 7:11 a.m.
NED2 Entity disambiguation (via description) batch_69d751d4aa908190a825322ebf0066af completed April 9, 2026, 7:14 a.m.
Created at: April 6, 2026, 11:36 a.m.