Triple

T5727992
Position Surface form Disambiguated ID Type / Status
Subject Ashraf Pahlavi E126312 entity
Predicate spouse P13 FINISHED
Object Ahmad Shafiq
Ahmad Shafiq was an Egyptian military officer and diplomat who became known internationally as the second husband of Iranian princess Ashraf Pahlavi.
E542211 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: Ahmad Shafiq | Statement: [Ashraf Pahlavi, spouse, Ahmad Shafiq]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Ahmad Shafiq
Context triple: [Ashraf Pahlavi, spouse, Ahmad Shafiq]
  • A. Hassan Ali Khaire
    Hassan Ali Khaire is a Somali politician and former humanitarian and oil executive who served as the Prime Minister of Somalia from 2017 to 2020.
  • B. Mohammad Qasim Fahim
    Mohammad Qasim Fahim was an influential Afghan military commander and politician who served as a key leader of the anti-Taliban resistance and later as Afghanistan’s vice president and defense minister.
  • C. Mustafa Mashhur
    Mustafa Mashhur was an Egyptian Islamist leader who served as the fifth General Guide of the Muslim Brotherhood and played a key role in shaping its modern political strategy.
  • D. Yasin al-Hashimi
    Yasin al-Hashimi was an influential Iraqi military officer and nationalist politician who twice served as prime minister during the early years of the Kingdom of Iraq.
  • E. Abdulla Elyas
    Abdulla Elyas is a Saudi entrepreneur best known as one of the co-founders of the Middle Eastern ride-hailing company Careem.
  • 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: Ahmad Shafiq
Triple: [Ashraf Pahlavi, spouse, Ahmad Shafiq]
Generated description
Ahmad Shafiq was an Egyptian military officer and diplomat who became known internationally as the second husband of Iranian princess Ashraf Pahlavi.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Ahmad Shafiq
Target entity description: Ahmad Shafiq was an Egyptian military officer and diplomat who became known internationally as the second husband of Iranian princess Ashraf Pahlavi.
  • A. Hassan Ali Khaire
    Hassan Ali Khaire is a Somali politician and former humanitarian and oil executive who served as the Prime Minister of Somalia from 2017 to 2020.
  • B. Mohammad Qasim Fahim
    Mohammad Qasim Fahim was an influential Afghan military commander and politician who served as a key leader of the anti-Taliban resistance and later as Afghanistan’s vice president and defense minister.
  • C. Mustafa Mashhur
    Mustafa Mashhur was an Egyptian Islamist leader who served as the fifth General Guide of the Muslim Brotherhood and played a key role in shaping its modern political strategy.
  • D. Yasin al-Hashimi
    Yasin al-Hashimi was an influential Iraqi military officer and nationalist politician who twice served as prime minister during the early years of the Kingdom of Iraq.
  • E. Abdulla Elyas
    Abdulla Elyas is a Saudi entrepreneur best known as one of the co-founders of the Middle Eastern ride-hailing company Careem.
  • 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_69c0082f723881908ce8bb13a0c0f8b7 completed March 22, 2026, 3:18 p.m.
NER Named-entity recognition batch_69c0250c0ca081909340abae204cc226 completed March 22, 2026, 5:21 p.m.
NED1 Entity disambiguation (via context triple) batch_69c05a8a1d08819080f071eb22db54d3 completed March 22, 2026, 9:09 p.m.
NEDg Description generation batch_69c05e02edc48190938613946f19df01 completed March 22, 2026, 9:24 p.m.
NED2 Entity disambiguation (via description) batch_69c0621308588190a0d7a86bb804134d completed March 22, 2026, 9:41 p.m.
Created at: March 22, 2026, 3:47 p.m.