Triple

T13575054
Position Surface form Disambiguated ID Type / Status
Subject Diyala Governorate E324259 entity
Predicate hasCity P316 FINISHED
Object Khanaqin
Khanaqin is a city in eastern Iraq near the Iranian border, known for its ethnically diverse population and strategic location in the oil-rich Diyala region.
E1065096 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: Khanaqin | Statement: [Diyala Governorate, hasCity, Khanaqin]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Khanaqin
Context triple: [Diyala Governorate, hasCity, Khanaqin]
  • A. Sarakhs
    Sarakhs is a historic border city in northeastern Iran, known for its strategic location along ancient trade routes between Iran and Central Asia.
  • B. Akhnur
    Akhnur is a town in the Jammu district of the Indian union territory of Jammu and Kashmir, known for its strategic location near the India–Pakistan border and its historical and archaeological significance.
  • C. Qayrawan
    Qayrawan (Kairouan) is a historic city in central Tunisia renowned as an early center of Islamic scholarship and a major religious and cultural hub in North Africa.
  • D. Behramkale
    Behramkale is a historic village in northwestern Turkey built on the ancient site of Assos, known for its well-preserved ruins and dramatic views over the Aegean Sea.
  • E. Tushpa
    Tushpa was the ancient fortified city on the eastern shore of Lake Van that served as the political and cultural center of the Kingdom of Urartu in the early first millennium BCE.
  • 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: Khanaqin
Triple: [Diyala Governorate, hasCity, Khanaqin]
Generated description
Khanaqin is a city in eastern Iraq near the Iranian border, known for its ethnically diverse population and strategic location in the oil-rich Diyala region.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Khanaqin
Target entity description: Khanaqin is a city in eastern Iraq near the Iranian border, known for its ethnically diverse population and strategic location in the oil-rich Diyala region.
  • A. Sarakhs
    Sarakhs is a historic border city in northeastern Iran, known for its strategic location along ancient trade routes between Iran and Central Asia.
  • B. Akhnur
    Akhnur is a town in the Jammu district of the Indian union territory of Jammu and Kashmir, known for its strategic location near the India–Pakistan border and its historical and archaeological significance.
  • C. Qayrawan
    Qayrawan (Kairouan) is a historic city in central Tunisia renowned as an early center of Islamic scholarship and a major religious and cultural hub in North Africa.
  • D. Behramkale
    Behramkale is a historic village in northwestern Turkey built on the ancient site of Assos, known for its well-preserved ruins and dramatic views over the Aegean Sea.
  • E. Tushpa
    Tushpa was the ancient fortified city on the eastern shore of Lake Van that served as the political and cultural center of the Kingdom of Urartu in the early first millennium BCE.
  • 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_69d80769100c819099111274614f5ed2 completed April 9, 2026, 8:09 p.m.
NER Named-entity recognition batch_69dbb02b1f108190a12af382d1de70bb completed April 12, 2026, 2:46 p.m.
NED1 Entity disambiguation (via context triple) batch_69f7c0d759fc81908c327850a4836ecd completed May 3, 2026, 9:40 p.m.
NEDg Description generation batch_69f7c18a032481909fc1e97883062170 completed May 3, 2026, 9:43 p.m.
NED2 Entity disambiguation (via description) batch_69f7c21231f48190ae6e2bdb2bbc0afd completed May 3, 2026, 9:45 p.m.
Created at: April 9, 2026, 9:48 p.m.