Triple
T15615430
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Spanish Protectorate in Morocco |
E375399
|
entity |
| Predicate | capital |
P234
|
FINISHED |
| Object | Tétouan |
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: Tétouan | Statement: [Spanish Protectorate in Morocco, capital, Tétouan]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: Tétouan Context triple: [Spanish Protectorate in Morocco, capital, Tétouan]
-
A.
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.
-
B.
Larache
Larache is a coastal city in northwestern Morocco, situated along the Atlantic Ocean and known for its historic medina and nearby ancient Phoenician-Roman archaeological site of Lixus.
-
C.
Tiznit
Tiznit is a historic town in southern Morocco known for its traditional silver jewelry craftsmanship and fortified old medina.
-
D.
Al Hoceima
Al Hoceima is a coastal city in northern Morocco on the Mediterranean, known as a major urban center of the Rif region and an important hub for the Riffian (Amazigh) population.
-
E.
Oujda
Oujda is a major city in northeastern Morocco near the Algerian border, known as an important commercial and cultural center of the region.
- 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_69d85ccf2794819096cda4cbcb02d478 |
completed | April 10, 2026, 2:13 a.m. |
| NER | Named-entity recognition | batch_69e04e83407c8190abbcd4b7fab0ff85 |
completed | April 16, 2026, 2:50 a.m. |
| NED1 | Entity disambiguation (via context triple) | batch_69ff56dd1e4c819090bf3cd4425b39b7 |
completed | May 9, 2026, 3:46 p.m. |
Created at: April 10, 2026, 4:13 a.m.