Triple

T4013361
Position Surface form Disambiguated ID Type / Status
Subject al-Qarawiyyin Mosque E90697 entity
Predicate locatedIn P40 FINISHED
Object medina of Fez E47858 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: medina of Fez | Statement: [al-Qarawiyyin Mosque, locatedIn, medina of Fez]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: medina of Fez
Context triple: [al-Qarawiyyin Mosque, locatedIn, medina of Fez]
  • A. Medina of Fez chosen
    The Medina of Fez is a historic walled old city in Fez, Morocco, renowned as one of the best-preserved medieval Islamic cities in the world and a UNESCO World Heritage Site.
  • B. Medina of Essaouira
    The Medina of Essaouira is a historic fortified port city on Morocco’s Atlantic coast, renowned for its well-preserved 18th-century architecture, coastal ramparts, and blend of European and North African influences.
  • C. Moroccan medina
    A Moroccan medina is the historic, walled old quarter of a Moroccan city, characterized by narrow winding streets, traditional markets (souks), and dense, centuries-old architecture.
  • D. Medina of Tetouan
    The Medina of Tetouan is a well-preserved historic old town in northern Morocco, renowned for its distinctive Andalusian-influenced architecture and status as a UNESCO World Heritage Site.
  • E. Meknes
    Meknes is a historic imperial city in northern Morocco known for its grand gates, monumental architecture, and UNESCO-listed medina.
  • 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_69aed95e44088190aff7d90a151b1b20 completed March 9, 2026, 2:29 p.m.
NER Named-entity recognition batch_69aefa893ce08190b8fe49a11123738d completed March 9, 2026, 4:51 p.m.
NED1 Entity disambiguation (via context triple) batch_69b54c73e6048190a59a8d8bc12c907d completed March 14, 2026, 11:54 a.m.
Created at: March 9, 2026, 3:35 p.m.