Triple
T23403318
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Great Mosque of Mahdia |
E559564
|
entity |
| Predicate | near |
P350
|
FINISHED |
| Object |
Mahdia city walls
The Mahdia city walls are the historic fortifications surrounding the coastal Tunisian city of Mahdia, built to defend this important early Islamic and Fatimid-era port.
|
E1583828
|
NE FINISHED |
How this triple was built (4 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 city walls | Statement: [Great Mosque of Mahdia, near, Mahdia city walls]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: Mahdia city walls Context triple: [Great Mosque of Mahdia, near, Mahdia city walls]
-
A.
Kasbah of Tunis
The Kasbah of Tunis is a historic fortified citadel and former seat of political power located at the western edge of the Medina of Tunis.
-
B.
Kasbah of Sousse
The Kasbah of Sousse is a historic fortified citadel in the coastal Tunisian city of Sousse, notable for its medieval Islamic military architecture and commanding views over the old town and harbor.
-
C.
Tiznit city walls
Tiznit city walls are historic fortifications in southern Morocco, known for their distinctive pink-hued ramparts and traditional Berber architectural style that encircle the old medina of Tiznit.
-
D.
Capitol of Dougga
The Capitol of Dougga is a well-preserved Roman temple in the ancient city of Dougga in modern-day Tunisia, dedicated to the Capitoline Triad and renowned for its impressive classical architecture.
-
E.
Kasbah of Hammamet
The Kasbah of Hammamet is a historic seaside fortress in the Tunisian town of Hammamet, known for its well-preserved ramparts, panoramic Mediterranean views, and traditional medina setting.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
NEDg
Description generation
gpt-5.1
Instruction
Generate a one-sentence description of the target entity. You are given a context triple in the form (subject, predicate, object), where the object is the target entity. # Instructions Use the triple to infer relevant information about the entity. Describe the entity based on what is most defining, well-known. Avoid repeating the information from the triple, unless really essential. # Response Format Return only the sentence: "Description: [one-sentence description of the target entity]"
Input
Entity: Mahdia city walls Triple: [Great Mosque of Mahdia, near, Mahdia city walls]
Generated description
The Mahdia city walls are the historic fortifications surrounding the coastal Tunisian city of Mahdia, built to defend this important early Islamic and Fatimid-era port.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: Mahdia city walls Target entity description: The Mahdia city walls are the historic fortifications surrounding the coastal Tunisian city of Mahdia, built to defend this important early Islamic and Fatimid-era port.
-
A.
Kasbah of Tunis
The Kasbah of Tunis is a historic fortified citadel and former seat of political power located at the western edge of the Medina of Tunis.
-
B.
Kasbah of Sousse
The Kasbah of Sousse is a historic fortified citadel in the coastal Tunisian city of Sousse, notable for its medieval Islamic military architecture and commanding views over the old town and harbor.
-
C.
Tiznit city walls
Tiznit city walls are historic fortifications in southern Morocco, known for their distinctive pink-hued ramparts and traditional Berber architectural style that encircle the old medina of Tiznit.
-
D.
Capitol of Dougga
The Capitol of Dougga is a well-preserved Roman temple in the ancient city of Dougga in modern-day Tunisia, dedicated to the Capitoline Triad and renowned for its impressive classical architecture.
-
E.
Kasbah of Hammamet
The Kasbah of Hammamet is a historic seaside fortress in the Tunisian town of Hammamet, known for its well-preserved ramparts, panoramic Mediterranean views, and traditional medina setting.
- F. None of above. chosen
Provenance (5 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. |
| NED1 | Entity disambiguation (via context triple) | batch_6a0c5df382b481908b7b2933cfc9e182 |
completed | May 19, 2026, 12:56 p.m. |
| NEDg | Description generation | batch_6a0c5f3e57308190865e48b43cc83d10 |
completed | May 19, 2026, 1:01 p.m. |
| NED2 | Entity disambiguation (via description) | batch_6a0c5ffbea40819088a5a01a3763c718 |
completed | May 19, 2026, 1:05 p.m. |
Created at: April 17, 2026, 5:37 p.m.