Triple

T19083830
Position Surface form Disambiguated ID Type / Status
Subject Doukkala-Abda E467093 entity
Predicate hasHeritageSite P923 FINISHED
Object Portuguese City of Mazagan (El Jadida)
The Portuguese City of Mazagan (El Jadida) is a historic fortified coastal town in Morocco, renowned for its well-preserved Portuguese colonial architecture and UNESCO World Heritage status.
E1356861 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: Portuguese City of Mazagan (El Jadida) | Statement: [Doukkala-Abda, hasHeritageSite, Portuguese City of Mazagan (El Jadida)]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Portuguese City of Mazagan (El Jadida)
Context triple: [Doukkala-Abda, hasHeritageSite, Portuguese City of Mazagan (El Jadida)]
  • 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. 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.
  • C. Tangier medina
    Tangier medina is the historic old quarter of Tangier, Morocco, characterized by its narrow winding streets, traditional markets, and blend of Moorish, Andalusian, and European influences.
  • D. port of El Aaiún
    The port of El Aaiún is a key Atlantic export hub in Western Sahara, notably used for shipping phosphates from the Bou Craa mine.
  • E. city of El Aaiún
    The city of El Aaiún is the largest urban center and de facto administrative capital of Western Sahara, known for its strategic Atlantic coastal location and role as a political and economic hub of the disputed territory.
  • 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: Portuguese City of Mazagan (El Jadida)
Triple: [Doukkala-Abda, hasHeritageSite, Portuguese City of Mazagan (El Jadida)]
Generated description
The Portuguese City of Mazagan (El Jadida) is a historic fortified coastal town in Morocco, renowned for its well-preserved Portuguese colonial architecture and UNESCO World Heritage status.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Portuguese City of Mazagan (El Jadida)
Target entity description: The Portuguese City of Mazagan (El Jadida) is a historic fortified coastal town in Morocco, renowned for its well-preserved Portuguese colonial architecture and UNESCO World Heritage status.
  • 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. 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.
  • C. Tangier medina
    Tangier medina is the historic old quarter of Tangier, Morocco, characterized by its narrow winding streets, traditional markets, and blend of Moorish, Andalusian, and European influences.
  • D. port of El Aaiún
    The port of El Aaiún is a key Atlantic export hub in Western Sahara, notably used for shipping phosphates from the Bou Craa mine.
  • E. city of El Aaiún
    The city of El Aaiún is the largest urban center and de facto administrative capital of Western Sahara, known for its strategic Atlantic coastal location and role as a political and economic hub of the disputed territory.
  • 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_69d8dd04f4488190b1121cc53ef2bfd6 completed April 10, 2026, 11:20 a.m.
NER Named-entity recognition batch_69e5e34600f88190bd96bcc2c5c08d14 completed April 20, 2026, 8:26 a.m.
NED1 Entity disambiguation (via context triple) batch_6a05d3663f748190bec29d54c6b86277 completed May 14, 2026, 1:51 p.m.
NEDg Description generation batch_6a05d3fe45c881908622e745b66abfd2 completed May 14, 2026, 1:54 p.m.
NED2 Entity disambiguation (via description) batch_6a05d4b2292c8190bd4cd73969c610d8 completed May 14, 2026, 1:57 p.m.
Created at: April 10, 2026, 12:04 p.m.