Triple
T19170789
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Safi Province |
E469312
|
entity |
| Predicate | hasCulturalHeritage |
P3114
|
FINISHED |
| Object | historic medina of Safi |
—
|
NE NERFINISHED |
How this triple was built (3 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: historic medina of Safi | Statement: [Safi Province, hasCulturalHeritage, historic medina of Safi]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: historic medina of Safi Context triple: [Safi Province, hasCulturalHeritage, historic medina of Safi]
-
A.
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.
-
B.
Historic City of Meknes
The Historic City of Meknes is a fortified imperial city in northern Morocco renowned for its grand palaces, monumental gates, and harmonious blend of Islamic and European architectural styles.
-
C.
historic medina of Taza
The historic medina of Taza is the old walled quarter of the Moroccan city of Taza, characterized by narrow streets, traditional architecture, and layers of Islamic and Berber heritage.
-
D.
Royal Granaries of Meknes
The Royal Granaries of Meknes are a monumental historical complex in Meknes, Morocco, built under Sultan Moulay Ismaïl to store vast quantities of grain for the imperial city and its royal stables.
-
E.
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.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: historic medina of Safi Target entity description: The historic medina of Safi is the old walled quarter of the coastal Moroccan city of Safi, known for its traditional architecture, pottery heritage, and maze-like streets reflecting centuries of urban and cultural history.
-
A.
Moroccan medina
chosen
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.
-
B.
Historic City of Meknes
The Historic City of Meknes is a fortified imperial city in northern Morocco renowned for its grand palaces, monumental gates, and harmonious blend of Islamic and European architectural styles.
-
C.
historic medina of Taza
The historic medina of Taza is the old walled quarter of the Moroccan city of Taza, characterized by narrow streets, traditional architecture, and layers of Islamic and Berber heritage.
-
D.
Royal Granaries of Meknes
The Royal Granaries of Meknes are a monumental historical complex in Meknes, Morocco, built under Sultan Moulay Ismaïl to store vast quantities of grain for the imperial city and its royal stables.
-
E.
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.
- F. None of above.
Provenance (2 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_69d8dd09d5a081909ae43c286651ae5a |
completed | April 10, 2026, 11:20 a.m. |
| NER | Named-entity recognition | batch_69e5f163c5888190b4880471d17b4f51 |
completed | April 20, 2026, 9:26 a.m. |
Created at: April 10, 2026, 12:06 p.m.