Triple

T3905403
Position Surface form Disambiguated ID Type / Status
Subject Northern Morocco E87192 entity
Predicate hasMajorCity P316 FINISHED
Object Chefchaouen
Chefchaouen is a picturesque Moroccan city famed for its blue-painted streets and buildings nestled in the Rif Mountains.
E397676 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: Chefchaouen | Statement: [Northern Morocco, hasMajorCity, Chefchaouen]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Chefchaouen
Context triple: [Northern Morocco, hasMajorCity, Chefchaouen]
  • 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. Sidi Bou Said
    Sidi Bou Said is a picturesque coastal village in northern Tunisia, famed for its blue-and-white architecture, cliffside views over the Mediterranean, and vibrant artistic heritage.
  • C. Nador
    Nador is a coastal city in northeastern Morocco known as an important commercial and fishing port on the Mediterranean.
  • D. Salé
    Salé is a historic coastal city in northwestern Morocco, situated across the Bou Regreg River from the capital, Rabat.
  • E. Moroccan medina
    A Moroccan medina is the historic, walled old quarter of a Moroccan city, characterized by narrow winding streets, traditional markets (souks), and dense, centuries-old architecture.
  • 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: Chefchaouen
Triple: [Northern Morocco, hasMajorCity, Chefchaouen]
Generated description
Chefchaouen is a picturesque Moroccan city famed for its blue-painted streets and buildings nestled in the Rif Mountains.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Chefchaouen
Target entity description: Chefchaouen is a picturesque Moroccan city famed for its blue-painted streets and buildings nestled in the Rif Mountains.
  • 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. Sidi Bou Said
    Sidi Bou Said is a picturesque coastal village in northern Tunisia, famed for its blue-and-white architecture, cliffside views over the Mediterranean, and vibrant artistic heritage.
  • C. Nador
    Nador is a coastal city in northeastern Morocco known as an important commercial and fishing port on the Mediterranean.
  • D. Salé
    Salé is a historic coastal city in northwestern Morocco, situated across the Bou Regreg River from the capital, Rabat.
  • E. Moroccan medina
    A Moroccan medina is the historic, walled old quarter of a Moroccan city, characterized by narrow winding streets, traditional markets (souks), and dense, centuries-old architecture.
  • 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_69aed9424514819086e9c58adde6652d completed March 9, 2026, 2:29 p.m.
NER Named-entity recognition batch_69aeed1102b08190a9f5087ff9be0358 completed March 9, 2026, 3:53 p.m.
NED1 Entity disambiguation (via context triple) batch_69b51cace2b88190981e3516123a417d completed March 14, 2026, 8:30 a.m.
NEDg Description generation batch_69b51d9fd9388190bef2020b97b2fc80 completed March 14, 2026, 8:34 a.m.
NED2 Entity disambiguation (via description) batch_69b51e3325f08190a630644d0b6f7d76 completed March 14, 2026, 8:37 a.m.
Created at: March 9, 2026, 3:22 p.m.