Triple

T10274680
Position Surface form Disambiguated ID Type / Status
Subject Bab Mahrouk E240931 entity
Predicate locatedNear P294 FINISHED
Object Bab Chorfa
Bab Chorfa is one of the historic gates of the old medina of Fez, Morocco, forming part of the city’s traditional fortified entrance system.
E854592 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 Chorfa | Statement: [Bab Mahrouk, locatedNear, Bab Chorfa]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Bab Chorfa
Context triple: [Bab Mahrouk, locatedNear, Bab Chorfa]
  • A. 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.
  • B. Bab Semmarine
    Bab Semmarine is a historic city gate in Fez, Morocco, serving as a major entrance to the old medina and lying close to the Royal Palace.
  • C. Chtouka Aït Baha
    Chtouka Aït Baha is a rural province and administrative area in southwestern Morocco known for its agricultural activities and Amazigh (Berber) cultural heritage.
  • D. Qasr el-Ghueita
    Qasr el-Ghueita is a well-preserved ancient Egyptian desert temple-fortress complex dating mainly to the Ptolemaic period, located in Egypt’s Western Desert.
  • E. Barquq
    Barquq was a prominent 14th-century Mamluk sultan of Egypt who founded the Burji (Circassian) Mamluk dynasty and played a key role in reshaping the political landscape of the late medieval Islamic world.
  • 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 Chorfa
Triple: [Bab Mahrouk, locatedNear, Bab Chorfa]
Generated description
Bab Chorfa is one of the historic gates of the old medina of Fez, Morocco, forming part of the city’s traditional fortified entrance system.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Bab Chorfa
Target entity description: Bab Chorfa is one of the historic gates of the old medina of Fez, Morocco, forming part of the city’s traditional fortified entrance system.
  • A. 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.
  • B. Bab Semmarine
    Bab Semmarine is a historic city gate in Fez, Morocco, serving as a major entrance to the old medina and lying close to the Royal Palace.
  • C. Chtouka Aït Baha
    Chtouka Aït Baha is a rural province and administrative area in southwestern Morocco known for its agricultural activities and Amazigh (Berber) cultural heritage.
  • D. Qasr el-Ghueita
    Qasr el-Ghueita is a well-preserved ancient Egyptian desert temple-fortress complex dating mainly to the Ptolemaic period, located in Egypt’s Western Desert.
  • E. Barquq
    Barquq was a prominent 14th-century Mamluk sultan of Egypt who founded the Burji (Circassian) Mamluk dynasty and played a key role in reshaping the political landscape of the late medieval Islamic world.
  • 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_69d71ceeeec88190a36a5e67dc44cfe1 completed April 9, 2026, 3:28 a.m.
NEDg Description generation batch_69d71f76e3cc8190b21a5fe8825caa2b completed April 9, 2026, 3:39 a.m.
NED2 Entity disambiguation (via description) batch_69d7319938ec8190a4a1a5f09832e3e3 completed April 9, 2026, 4:56 a.m.
Created at: April 6, 2026, 11:36 a.m.