Triple
T2180970
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Medina of Tetouan |
E49039
|
entity |
| Predicate | partOf |
P40
|
FINISHED |
| Object | city of Tetouan |
E153568
|
NE FINISHED |
How this triple was built (2 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: city of Tetouan | Statement: [Medina of Tetouan, partOf, city of Tetouan]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: city of Tetouan Context triple: [Medina of Tetouan, partOf, city of Tetouan]
-
A.
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.
-
B.
Tétouan
chosen
Tétouan is a historic city in northern Morocco near the Mediterranean coast, known for its well-preserved Andalusian-influenced medina, a UNESCO World Heritage Site.
-
C.
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.
-
D.
Melilla
Melilla is a Spanish autonomous city located on the north coast of Africa, bordering Morocco and serving as a key enclave between Europe and Africa.
-
E.
Nador
Nador is a coastal city in northeastern Morocco known as an important commercial and fishing port on the Mediterranean.
- F. None of above.
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Provenance (3 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_69a88aa72d348190a9544bb5b8a4e71d |
completed | March 4, 2026, 7:40 p.m. |
| NER | Named-entity recognition | batch_69abbef0e2f0819080ca457fe3b8b419 |
completed | March 7, 2026, 6 a.m. |
| NED1 | Entity disambiguation (via context triple) | batch_69ae653de18481909c3521e060540a38 |
completed | March 9, 2026, 6:14 a.m. |
Created at: March 4, 2026, 7:45 p.m.