Triple

T349445
Position Surface form Disambiguated ID Type / Status
Subject Morocco E7408 entity
Predicate hasHeritageCity P2499 FINISHED
Object 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.
E47858 NE FINISHED

How this triple was built (5 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 Fez | Statement: [Morocco, hasHeritageCity, Medina of Fez]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Medina of Fez
Context triple: [Morocco, hasHeritageCity, Medina of Fez]
  • A. Meknes
    Meknes is a historic imperial city in northern Morocco known for its grand gates, monumental architecture, and UNESCO-listed medina.
  • B. Marrakesh
    Marrakesh is a historic and vibrant city in western Morocco, renowned for its bustling medina, iconic red sandstone architecture, and rich cultural heritage.
  • C. Rabat
    Rabat is the capital city of Morocco, located on the Atlantic coast and known for its historic medina, coastal fortifications, and role as a political and administrative center.
  • D. 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.
  • E. Agadir
    Agadir is a major coastal city in southwestern Morocco known for its Atlantic beaches, modern resort infrastructure, and role as a key tourist destination.
  • 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 Fez
Triple: [Morocco, hasHeritageCity, Medina of Fez]
Generated description
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.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Medina of Fez
Target entity description: 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.
  • A. Meknes
    Meknes is a historic imperial city in northern Morocco known for its grand gates, monumental architecture, and UNESCO-listed medina.
  • B. Marrakesh
    Marrakesh is a historic and vibrant city in western Morocco, renowned for its bustling medina, iconic red sandstone architecture, and rich cultural heritage.
  • C. Rabat
    Rabat is the capital city of Morocco, located on the Atlantic coast and known for its historic medina, coastal fortifications, and role as a political and administrative center.
  • D. 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.
  • E. Agadir
    Agadir is a major coastal city in southwestern Morocco known for its Atlantic beaches, modern resort infrastructure, and role as a key tourist destination.
  • F. None of above. chosen
PD Predicate disambiguation gpt-5-mini-2025-08-07
Target predicate: hasHeritageCity
Context triple: [Morocco, hasHeritageCity, Medina of Fez]
  • A. hasHeritage
    Indicates that an entity possesses or is associated with a particular cultural, ethnic, or ancestral background.
  • B. hasHistoricCity
    Indicates that an entity possesses, contains, or is associated with a city recognized for its historical significance.
  • C. hasWorldHeritageSite chosen
    Indicates that a location or entity possesses or contains a site designated as a UNESCO World Heritage Site.
  • D. hasFamousCity
    Indicates that an entity possesses or is associated with a city that is widely recognized or renowned.
  • E. UNESCOHeritage
    Indicates that a place, site, or cultural/natural asset has been officially inscribed on the UNESCO World Heritage List as having outstanding universal value.
  • F. None of above.

Provenance (6 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_69a2e7e696948190bebc966535995e45 completed Feb. 28, 2026, 1:04 p.m.
NER Named-entity recognition batch_69a2eb1dc5f88190b54d084c6def7fc5 completed Feb. 28, 2026, 1:18 p.m.
NED1 Entity disambiguation (via context triple) batch_69a3f4d6e29c8190993b8a9ec87d3a8b completed March 1, 2026, 8:12 a.m.
NEDg Description generation batch_69a3f75b57208190bf05de985776f7d3 completed March 1, 2026, 8:22 a.m.
NED2 Entity disambiguation (via description) batch_69a3f7c3f2a88190a65ef6c6cacd65c3 completed March 1, 2026, 8:24 a.m.
PD Predicate disambiguation batch_69a2e955d1f88190bd687c46fa7c5469 completed Feb. 28, 2026, 1:10 p.m.
Created at: Feb. 28, 2026, 1:08 p.m.