Triple

T5947323
Position Surface form Disambiguated ID Type / Status
Subject al-Mahdiyya E132310 entity
Predicate hasStructure P35 FINISHED
Object Great Mosque of Mahdia
The Great Mosque of Mahdia is a historic Fatimid-era congregational mosque in the coastal Tunisian city of Mahdia, renowned for its fortress-like architecture and significance in early Islamic North African history.
E559564 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: Great Mosque of Mahdia | Statement: [al-Mahdiyya, hasStructure, Great Mosque of Mahdia]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Great Mosque of Mahdia
Context triple: [al-Mahdiyya, hasStructure, Great Mosque of Mahdia]
  • A. Great Mosque of Tunis
    The Great Mosque of Tunis, or Al-Zaytuna Mosque, is a historic and influential Islamic religious and educational center in the heart of Tunis, renowned for its ancient origins and role in North African scholarship.
  • B. Great Mosque of Sfax
    The Great Mosque of Sfax is a historic congregational mosque in the Tunisian city of Sfax, renowned for its early Islamic architecture and central role in the city’s religious and urban life.
  • C. Great Mosque of Kairouan
    The Great Mosque of Kairouan is one of the oldest and most important mosques in the Islamic world, renowned as a major center of early Islamic scholarship and architecture in North Africa.
  • D. Great Mosque of Tripoli
    The Great Mosque of Tripoli is a prominent medieval Islamic mosque in the old city of Tripoli, Lebanon, known for its Mamluk-era architecture and historical significance.
  • E. Sidi Yahia Mosque
    Sidi Yahia Mosque is a historic 15th-century Islamic mosque and center of learning in Timbuktu, Mali, renowned for its earthen Sahelian architecture and scholarly heritage.
  • 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: Great Mosque of Mahdia
Triple: [al-Mahdiyya, hasStructure, Great Mosque of Mahdia]
Generated description
The Great Mosque of Mahdia is a historic Fatimid-era congregational mosque in the coastal Tunisian city of Mahdia, renowned for its fortress-like architecture and significance in early Islamic North African history.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Great Mosque of Mahdia
Target entity description: The Great Mosque of Mahdia is a historic Fatimid-era congregational mosque in the coastal Tunisian city of Mahdia, renowned for its fortress-like architecture and significance in early Islamic North African history.
  • A. Great Mosque of Tunis
    The Great Mosque of Tunis, or Al-Zaytuna Mosque, is a historic and influential Islamic religious and educational center in the heart of Tunis, renowned for its ancient origins and role in North African scholarship.
  • B. Great Mosque of Sfax
    The Great Mosque of Sfax is a historic congregational mosque in the Tunisian city of Sfax, renowned for its early Islamic architecture and central role in the city’s religious and urban life.
  • C. Great Mosque of Kairouan
    The Great Mosque of Kairouan is one of the oldest and most important mosques in the Islamic world, renowned as a major center of early Islamic scholarship and architecture in North Africa.
  • D. Great Mosque of Tripoli
    The Great Mosque of Tripoli is a prominent medieval Islamic mosque in the old city of Tripoli, Lebanon, known for its Mamluk-era architecture and historical significance.
  • E. Sidi Yahia Mosque
    Sidi Yahia Mosque is a historic 15th-century Islamic mosque and center of learning in Timbuktu, Mali, renowned for its earthen Sahelian architecture and scholarly heritage.
  • 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_69c00869d3308190af89b2453e0f7546 completed March 22, 2026, 3:19 p.m.
NER Named-entity recognition batch_69c0397c80708190a4778fdb353314b7 completed March 22, 2026, 6:48 p.m.
NED1 Entity disambiguation (via context triple) batch_69c0e3c4120c8190bab97f91a7bc7030 completed March 23, 2026, 6:55 a.m.
NEDg Description generation batch_69c0f66f787c81909f76556d8e688a9a completed March 23, 2026, 8:14 a.m.
NED2 Entity disambiguation (via description) batch_69c0f73744b08190b82c538fa723c42a completed March 23, 2026, 8:17 a.m.
Created at: March 22, 2026, 4:01 p.m.