Triple
T23403281
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Great Mosque of Mahdia |
E559564
|
entity |
| Predicate | locatedIn |
P40
|
FINISHED |
| Object | Mahdia medina |
—
|
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: Mahdia medina | Statement: [Great Mosque of Mahdia, locatedIn, Mahdia medina]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: Mahdia medina Context triple: [Great Mosque of Mahdia, locatedIn, Mahdia medina]
-
A.
Mahdia
chosen
Mahdia is a historic coastal city in present-day Tunisia that served as the first capital of the Fatimid Caliphate and an important Mediterranean trading and naval center.
-
B.
city of Bizerte
The city of Bizerte is a major coastal city and port in northern Tunisia, situated on the Mediterranean Sea and known for its strategic naval base and historic medina.
-
C.
Medina of Sfax
The Medina of Sfax is the historic walled old town of Sfax, Tunisia, known for its well-preserved traditional urban fabric, markets, and architecture dating back to the early Islamic period.
-
D.
Kairouan
Kairouan is an ancient Islamic city in central Tunisia renowned for its historic mosques, traditional architecture, and status as a major center of early Muslim scholarship and pilgrimage.
-
E.
Medina of Tunis
The Medina of Tunis is the historic walled old town of Tunisia’s capital, renowned for its maze-like streets, traditional souks, and rich Islamic architectural heritage.
- 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_69e24549610c8190a069d6411ce5f661 |
completed | April 17, 2026, 2:35 p.m. |
| NER | Named-entity recognition | batch_69f1a4e16f9881908ea4bef465e3af11 |
completed | April 29, 2026, 6:27 a.m. |
Created at: April 17, 2026, 5:37 p.m.