Triple
T22521121
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Old Medina of al-Mahdiyya |
E556777
|
entity |
| Predicate | locatedIn |
P40
|
FINISHED |
| Object | al-Mahdiyya |
—
|
NE NERFINISHED |
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: al-Mahdiyya | Statement: [Old Medina of al-Mahdiyya, locatedIn, al-Mahdiyya]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: al-Mahdiyya Context triple: [Old Medina of al-Mahdiyya, locatedIn, al-Mahdiyya]
-
A.
al-Mahdiyya
chosen
al-Mahdiyya is a historic coastal city in present-day Tunisia that served as the first capital of the Fatimid Caliphate and an important political and trading center in the medieval Islamic world.
-
B.
Al-Kharj
Al-Kharj is a city in central Saudi Arabia, southeast of Riyadh, known for its agricultural production and growing urban development.
-
C.
Badr City
Badr City is a planned satellite city in Egypt that forms part of the Greater Cairo metropolitan area, known for its industrial zones and residential developments.
-
D.
al-Mansurah
Al-Mansurah is a historic city in Egypt’s Nile Delta, known for its strategic location and its role in medieval conflicts such as the Seventh Crusade.
-
E.
المسد
المسد هي سورة مكية قصيرة في القرآن الكريم تُعنى بذم أبي لهب وزوجته وبيان عاقبتهما.
- F. None of above.
- G. Unsure - the case is ambiguous/there is not enough information to decide.
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_69e11e5657e881909f16ca58352c50da |
completed | April 16, 2026, 5:37 p.m. |
| NER | Named-entity recognition | batch_69f15e32b8a88190ac335d4298dd5ee3 |
completed | April 29, 2026, 1:26 a.m. |
Created at: April 16, 2026, 8:50 p.m.