Triple

T23479107
Position Surface form Disambiguated ID Type / Status
Subject Medina of Sfax E570352 entity
Predicate hasCityGate P4365 FINISHED
Object Bab El Kasbah
Bab El Kasbah is a historic gateway in the medina of Sfax, Tunisia, providing access to the old city near its traditional fortress area.
E1590621 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: [Medina of Sfax, hasCityGate, Bab El Kasbah]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Bab El Kasbah
Context triple: [Medina of Sfax, hasCityGate, Bab El Kasbah]
  • A. 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.
  • B. 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.
  • 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. Bab Bou Jeloud
    Bab Bou Jeloud is a famous ornate city gate in Fez, Morocco, known for its striking blue-and-green tilework and role as a main entrance to the historic medina.
  • E. 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.
  • 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: [Medina of Sfax, hasCityGate, Bab El Kasbah]
Generated description
Bab El Kasbah is a historic gateway in the medina of Sfax, Tunisia, providing access to the old city near its traditional fortress area.
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 gateway in the medina of Sfax, Tunisia, providing access to the old city near its traditional fortress area.
  • A. 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.
  • B. 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.
  • 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. Bab Bou Jeloud
    Bab Bou Jeloud is a famous ornate city gate in Fez, Morocco, known for its striking blue-and-green tilework and role as a main entrance to the historic medina.
  • E. 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.
  • 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_69e245af8a88819084f2704f6d265a92 completed April 17, 2026, 2:37 p.m.
NER Named-entity recognition batch_69f1a74e7e648190b89006dce7d7ce05 completed April 29, 2026, 6:38 a.m.
NED1 Entity disambiguation (via context triple) batch_6a0cdf3ee01c8190a7e0d65b89c34d8f completed May 19, 2026, 10:07 p.m.
NEDg Description generation batch_6a0ce03e3fe48190b9611ab39255f655 completed May 19, 2026, 10:12 p.m.
NED2 Entity disambiguation (via description) batch_6a0ce07459948190a9465ce092155d64 completed May 19, 2026, 10:13 p.m.
Created at: April 17, 2026, 6:02 p.m.