Triple
T4736776
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Marrakesh-Safi |
E105143
|
entity |
| Predicate | borders |
P224
|
FINISHED |
| Object | Beni Mellal-Khenifra |
E118986
|
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: Beni Mellal-Khenifra | Statement: [Marrakesh-Safi, borders, Beni Mellal-Khenifra]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: Beni Mellal-Khenifra Context triple: [Marrakesh-Safi, borders, Beni Mellal-Khenifra]
-
A.
Beni Mellal
chosen
Beni Mellal is a major city in central Morocco known for its agricultural importance and its location at the foot of the Middle Atlas mountains.
-
B.
El Jadida
El Jadida is a coastal city in western Morocco known for its historic Portuguese fortifications and status as a UNESCO World Heritage Site.
-
C.
Sefrou
Sefrou is a historic town in northern Morocco known for its traditional medina, cherry festival, and location near the Middle Atlas mountains.
-
D.
Oujda
Oujda is a major city in northeastern Morocco near the Algerian border, known as an important commercial and cultural center of the region.
-
E.
Kenitra
Kenitra is a port city in northwestern Morocco, located on the Sebou River and known as an important industrial and transportation hub near the Atlantic coast.
- 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_69bd43ee52048190b81a4f066534ffb3 |
completed | March 20, 2026, 12:56 p.m. |
| NER | Named-entity recognition | batch_69bd64831c58819098758ac1f7839b3a |
completed | March 20, 2026, 3:15 p.m. |
| NED1 | Entity disambiguation (via context triple) | batch_69bf486aabac8190a90b4402403078ac |
completed | March 22, 2026, 1:39 a.m. |
Created at: March 20, 2026, 1:19 p.m.