Triple

T20636447
Position Surface form Disambiguated ID Type / Status
Subject Taroudant E507092 entity
Predicate hasGate P4365 FINISHED
Object Bab El-Kasbah
Bab El-Kasbah is a historic city gate in Taroudant, Morocco, serving as one of the main entrances through the town’s fortified walls.
E1442344 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 El-Kasbah | Statement: [Taroudant, hasGate, Bab El-Kasbah]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Bab El-Kasbah
Context triple: [Taroudant, hasGate, Bab El-Kasbah]
  • A. Kasbah Ras El Ain
    Kasbah Ras El Ain is a historic fortress overlooking the city of Beni Mellal in central Morocco, known for its panoramic views and traditional Moroccan architecture.
  • B. Qasr al-Basha
    Qasr al-Basha is a historic fortified palace in Gaza City that served as a residence for local rulers and now functions as a museum showcasing the region’s cultural heritage.
  • C. Dar El Makhzen
    Dar El Makhzen is the historic royal palace complex in Meknes, Morocco, once serving as a principal residence of the Alaouite sultans.
  • D. Dar Hassan Pacha
    Dar Hassan Pacha is a historic Ottoman-era palace in the Casbah of Algiers, renowned for its traditional Algerian architecture and cultural significance.
  • E. Cairo Citadel
    The Cairo Citadel is a historic medieval Islamic fortification in Cairo, Egypt, that served for centuries as the seat of government and a symbol of the city’s military and political power.
  • 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 El-Kasbah
Triple: [Taroudant, hasGate, Bab El-Kasbah]
Generated description
Bab El-Kasbah is a historic city gate in Taroudant, Morocco, serving as one of the main entrances through the town’s fortified walls.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Bab El-Kasbah
Target entity description: Bab El-Kasbah is a historic city gate in Taroudant, Morocco, serving as one of the main entrances through the town’s fortified walls.
  • A. Kasbah Ras El Ain
    Kasbah Ras El Ain is a historic fortress overlooking the city of Beni Mellal in central Morocco, known for its panoramic views and traditional Moroccan architecture.
  • B. Qasr al-Basha
    Qasr al-Basha is a historic fortified palace in Gaza City that served as a residence for local rulers and now functions as a museum showcasing the region’s cultural heritage.
  • C. Dar El Makhzen
    Dar El Makhzen is the historic royal palace complex in Meknes, Morocco, once serving as a principal residence of the Alaouite sultans.
  • D. Dar Hassan Pacha
    Dar Hassan Pacha is a historic Ottoman-era palace in the Casbah of Algiers, renowned for its traditional Algerian architecture and cultural significance.
  • E. Cairo Citadel
    The Cairo Citadel is a historic medieval Islamic fortification in Cairo, Egypt, that served for centuries as the seat of government and a symbol of the city’s military and political power.
  • 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_69e0b4bd4a0081908d4e97a590a33fb2 completed April 16, 2026, 10:06 a.m.
NER Named-entity recognition batch_69e6ad0f5a88819090c1516f5543f3d4 completed April 20, 2026, 10:47 p.m.
NED1 Entity disambiguation (via context triple) batch_6a08c585df208190becf0a78fad805f0 completed May 16, 2026, 7:29 p.m.
NEDg Description generation batch_6a08c648e35881908c480b0afa383422 completed May 16, 2026, 7:32 p.m.
NED2 Entity disambiguation (via description) batch_6a08c6c6f9608190bdbcdd58f6b14008 completed May 16, 2026, 7:34 p.m.
Created at: April 16, 2026, 11:42 a.m.