Triple

T10135292
Position Surface form Disambiguated ID Type / Status
Subject Kasbah of Tangier E226839 entity
Predicate partOf P40 FINISHED
Object medina of Tangier
The medina of Tangier is the historic walled old town of Tangier, Morocco, characterized by narrow streets, traditional architecture, and landmarks such as its kasbah overlooking the Strait of Gibraltar.
E226839 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: medina of Tangier | Statement: [Kasbah of Tangier, partOf, medina of Tangier]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: medina of Tangier
Context triple: [Kasbah of Tangier, partOf, medina of Tangier]
  • A. Medina of Essaouira
    The Medina of Essaouira is a historic fortified port city on Morocco’s Atlantic coast, renowned for its well-preserved 18th-century architecture, coastal ramparts, and blend of European and North African influences.
  • B. Medina of Tetouan
    The Medina of Tetouan is a well-preserved historic old town in northern Morocco, renowned for its distinctive Andalusian-influenced architecture and status as a UNESCO World Heritage Site.
  • C. Kasbah of Tangier
    The Kasbah of Tangier is a historic fortified citadel overlooking the Strait of Gibraltar, known for its narrow streets, traditional architecture, and role as the old political and military center of Tangier.
  • D. Medina of Fez
    The Medina of Fez is a historic walled old city in Fez, Morocco, renowned as one of the best-preserved medieval Islamic cities in the world and a UNESCO World Heritage Site.
  • E. Tangier
    Tangier is a historic Moroccan port city on the Strait of Gibraltar known for its blend of North African, European, and Middle Eastern influences and its long-standing role as a cultural crossroads.
  • 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: medina of Tangier
Triple: [Kasbah of Tangier, partOf, medina of Tangier]
Generated description
The medina of Tangier is the historic walled old town of Tangier, Morocco, characterized by narrow streets, traditional architecture, and landmarks such as its kasbah overlooking the Strait of Gibraltar.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: medina of Tangier
Target entity description: The medina of Tangier is the historic walled old town of Tangier, Morocco, characterized by narrow streets, traditional architecture, and landmarks such as its kasbah overlooking the Strait of Gibraltar.
  • A. Medina of Essaouira
    The Medina of Essaouira is a historic fortified port city on Morocco’s Atlantic coast, renowned for its well-preserved 18th-century architecture, coastal ramparts, and blend of European and North African influences.
  • B. Medina of Tetouan
    The Medina of Tetouan is a well-preserved historic old town in northern Morocco, renowned for its distinctive Andalusian-influenced architecture and status as a UNESCO World Heritage Site.
  • C. Kasbah of Tangier chosen
    The Kasbah of Tangier is a historic fortified citadel overlooking the Strait of Gibraltar, known for its narrow streets, traditional architecture, and role as the old political and military center of Tangier.
  • D. Medina of Fez
    The Medina of Fez is a historic walled old city in Fez, Morocco, renowned as one of the best-preserved medieval Islamic cities in the world and a UNESCO World Heritage Site.
  • E. Tangier
    Tangier is a historic Moroccan port city on the Strait of Gibraltar known for its blend of North African, European, and Middle Eastern influences and its long-standing role as a cultural crossroads.
  • F. None of above.

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_69ca8433ec308190b8b25a6fe359c34c completed March 30, 2026, 2:09 p.m.
NER Named-entity recognition batch_69cde87e1f908190a53865420f2b8f93 completed April 2, 2026, 3:54 a.m.
NED1 Entity disambiguation (via context triple) batch_69d300833e848190affe123d0286db56 completed April 6, 2026, 12:38 a.m.
NEDg Description generation batch_69d301dd614481909b357f319ba5e876 completed April 6, 2026, 12:44 a.m.
NED2 Entity disambiguation (via description) batch_69d302978e808190a9f5371a2bf4abce completed April 6, 2026, 12:47 a.m.
Created at: March 30, 2026, 9:06 p.m.