Triple

T7794166
Position Surface form Disambiguated ID Type / Status
Subject King Mangrai E180255 entity
Predicate alliedWith P37 FINISHED
Object Ngam Muang of Phayao
Ngam Muang of Phayao was a 13th-century Tai king of the Phayao kingdom in what is now northern Thailand, known for his close alliance with King Mangrai and his role in regional politics of the Lanna area.
E693972 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: Ngam Muang of Phayao | Statement: [King Mangrai, alliedWith, Ngam Muang of Phayao]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Ngam Muang of Phayao
Context triple: [King Mangrai, alliedWith, Ngam Muang of Phayao]
  • A. Phayao
    Phayao is a provincial town in northern Thailand known for its scenic lakeside setting on Kwan Phayao and its relaxed, small-city atmosphere.
  • B. Lamphun
    Lamphun is a historic provincial capital in northern Thailand, known for its ancient Hariphunchai kingdom heritage and well-preserved temples.
  • C. Umphang District
    Umphang District is a remote mountainous district in western Thailand renowned for its forests, waterfalls such as Thi Lo Su, and its location near the Myanmar border.
  • D. Wat Phra Yai
    Wat Phra Yai is a prominent hilltop Buddhist temple near Pattaya, Thailand, best known for its large golden Buddha statue overlooking the city and coastline.
  • E. Ban Koh Larn
    Ban Koh Larn is the main village and residential hub on Koh Larn island off the coast of Pattaya, Thailand, serving as its central community and service area for locals and tourists.
  • 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: Ngam Muang of Phayao
Triple: [King Mangrai, alliedWith, Ngam Muang of Phayao]
Generated description
Ngam Muang of Phayao was a 13th-century Tai king of the Phayao kingdom in what is now northern Thailand, known for his close alliance with King Mangrai and his role in regional politics of the Lanna area.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Ngam Muang of Phayao
Target entity description: Ngam Muang of Phayao was a 13th-century Tai king of the Phayao kingdom in what is now northern Thailand, known for his close alliance with King Mangrai and his role in regional politics of the Lanna area.
  • A. Phayao
    Phayao is a provincial town in northern Thailand known for its scenic lakeside setting on Kwan Phayao and its relaxed, small-city atmosphere.
  • B. Lamphun
    Lamphun is a historic provincial capital in northern Thailand, known for its ancient Hariphunchai kingdom heritage and well-preserved temples.
  • C. Umphang District
    Umphang District is a remote mountainous district in western Thailand renowned for its forests, waterfalls such as Thi Lo Su, and its location near the Myanmar border.
  • D. Wat Phra Yai
    Wat Phra Yai is a prominent hilltop Buddhist temple near Pattaya, Thailand, best known for its large golden Buddha statue overlooking the city and coastline.
  • E. Ban Koh Larn
    Ban Koh Larn is the main village and residential hub on Koh Larn island off the coast of Pattaya, Thailand, serving as its central community and service area for locals and tourists.
  • 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_69ca827d22208190b4dc5aa680edcf5d completed March 30, 2026, 2:02 p.m.
NER Named-entity recognition batch_69cae939c7388190b36d3e746be27a4d completed March 30, 2026, 9:20 p.m.
NED1 Entity disambiguation (via context triple) batch_69cb13ea96cc819081ac26db3ecf4481 completed March 31, 2026, 12:23 a.m.
NEDg Description generation batch_69cb1730900c8190bc0322c4b6a3772f completed March 31, 2026, 12:37 a.m.
NED2 Entity disambiguation (via description) batch_69cb1a3e6da08190bf4f82b59db41333 completed March 31, 2026, 12:50 a.m.
Created at: March 30, 2026, 4:31 p.m.