Triple

T2028757
Position Surface form Disambiguated ID Type / Status
Subject Tangier E44467 entity
Predicate hasLandmark P105 FINISHED
Object 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.
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: Kasbah of Tangier | Statement: [Tangier, hasLandmark, Kasbah of Tangier]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Kasbah of Tangier
Context triple: [Tangier, hasLandmark, Kasbah 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. Old Town of Ghadamès
    The Old Town of Ghadamès is an ancient oasis settlement in the Sahara Desert renowned for its distinctive earthen architecture and intricate covered alleyways, reflecting a long history of trans-Saharan trade and traditional Berber culture.
  • 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. Casbah
    Casbah is the historic fortified old quarter of Algiers, known for its narrow winding streets, traditional houses, and significant cultural and architectural heritage.
  • 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: Kasbah of Tangier
Triple: [Tangier, hasLandmark, Kasbah of Tangier]
Generated description
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.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Kasbah of Tangier
Target entity description: 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.
  • 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. Old Town of Ghadamès
    The Old Town of Ghadamès is an ancient oasis settlement in the Sahara Desert renowned for its distinctive earthen architecture and intricate covered alleyways, reflecting a long history of trans-Saharan trade and traditional Berber culture.
  • 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. Casbah
    Casbah is the historic fortified old quarter of Algiers, known for its narrow winding streets, traditional houses, and significant cultural and architectural heritage.
  • 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_69a889144f2481909932f0746a93023d completed March 4, 2026, 7:33 p.m.
NER Named-entity recognition batch_69abb9136f888190b0fd03530e9eda1e completed March 7, 2026, 5:35 a.m.
NED1 Entity disambiguation (via context triple) batch_69ae0afea7848190b53b8813a567879d completed March 8, 2026, 11:49 p.m.
NEDg Description generation batch_69ae0b8cda248190b88b353c1768c3d7 completed March 8, 2026, 11:51 p.m.
NED2 Entity disambiguation (via description) batch_69ae0c31f00c8190bb29098f95ee4cb9 completed March 8, 2026, 11:54 p.m.
Created at: March 4, 2026, 7:38 p.m.