Triple

T6857338
Position Surface form Disambiguated ID Type / Status
Subject Loanhead E158180 entity
Predicate parliamentaryConstituencyScottishParliament P2710 FINISHED
Object Midlothian North and Musselburgh
Midlothian North and Musselburgh is a Scottish Parliament constituency in the Lothian region that covers parts of Midlothian and East Lothian, including the town of Musselburgh.
E624238 NE FINISHED

How this triple was built (5 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: Midlothian North and Musselburgh | Statement: [Loanhead, parliamentaryConstituencyScottishParliament, Midlothian North and Musselburgh]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Midlothian North and Musselburgh
Context triple: [Loanhead, parliamentaryConstituencyScottishParliament, Midlothian North and Musselburgh]
  • A. Mid Fife and Glenrothes
    Mid Fife and Glenrothes is a Scottish Parliament constituency centered on the town of Glenrothes and surrounding parts of central Fife.
  • B. Musselburgh ward
    Musselburgh ward is an electoral and administrative division in East Lothian, Scotland, represented on the local council and centred on the town of Musselburgh.
  • C. Cockenzie and Port Seton
    Cockenzie and Port Seton is a coastal town in southeastern Scotland known historically for its fishing, salt panning, and later its power station on the Firth of Forth.
  • D. Midlothian
    Midlothian is a historic county and council area in southeastern Scotland, just south of Edinburgh, known for its mix of former mining communities, rural landscapes, and historic sites.
  • E. Midlothian
    Midlothian is a suburban city in the Dallas–Fort Worth metropolitan area, known for its rapidly growing residential communities and significant cement and steel manufacturing industries.
  • 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: Midlothian North and Musselburgh
Triple: [Loanhead, parliamentaryConstituencyScottishParliament, Midlothian North and Musselburgh]
Generated description
Midlothian North and Musselburgh is a Scottish Parliament constituency in the Lothian region that covers parts of Midlothian and East Lothian, including the town of Musselburgh.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Midlothian North and Musselburgh
Target entity description: Midlothian North and Musselburgh is a Scottish Parliament constituency in the Lothian region that covers parts of Midlothian and East Lothian, including the town of Musselburgh.
  • A. Mid Fife and Glenrothes
    Mid Fife and Glenrothes is a Scottish Parliament constituency centered on the town of Glenrothes and surrounding parts of central Fife.
  • B. Musselburgh ward
    Musselburgh ward is an electoral and administrative division in East Lothian, Scotland, represented on the local council and centred on the town of Musselburgh.
  • C. Cockenzie and Port Seton
    Cockenzie and Port Seton is a coastal town in southeastern Scotland known historically for its fishing, salt panning, and later its power station on the Firth of Forth.
  • D. Midlothian
    Midlothian is a historic county and council area in southeastern Scotland, just south of Edinburgh, known for its mix of former mining communities, rural landscapes, and historic sites.
  • E. Midlothian
    Midlothian is a suburban city in the Dallas–Fort Worth metropolitan area, known for its rapidly growing residential communities and significant cement and steel manufacturing industries.
  • F. None of above. chosen
PD Predicate disambiguation gpt-5-mini-2025-08-07
Target predicate: parliamentaryConstituencyScottishParliament
Context triple: [Loanhead, parliamentaryConstituencyScottishParliament, Midlothian North and Musselburgh]
  • A. scottishParliamentConstituency
    Indicates that an entity is a constituency represented in the Scottish Parliament.
  • B. mapsToScottishParliamentRegion
    Indicates that one entity is assigned or corresponds to a specific Scottish Parliament electoral region.
  • C. parliamentaryConstituency chosen
    Indicates that one entity serves as the parliamentary constituency to which the other entity (such as a place or representative) is formally linked or assigned.
  • D. hasConstituencyMSPs
    Indicates that a political body or region is represented by specific Members of the Scottish Parliament (MSPs) elected from constituencies.
  • E. electoralConstituencies
    Indicates a relationship where a geographic or political area is divided into specific electoral constituencies used for representation or voting.
  • F. None of above.

Provenance (6 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_69c68830cdbc8190a8301c7a9d9f651a completed March 27, 2026, 1:37 p.m.
NER Named-entity recognition batch_69c6da3ce95081909a424ac04bc7fa07 completed March 27, 2026, 7:27 p.m.
NED1 Entity disambiguation (via context triple) batch_69c72fe28dc88190a9c7794b78374ecf completed March 28, 2026, 1:33 a.m.
NEDg Description generation batch_69c736684f848190a5fb1b82e152b8a5 completed March 28, 2026, 2:01 a.m.
NED2 Entity disambiguation (via description) batch_69c736d828f88190a388d559c673861a completed March 28, 2026, 2:03 a.m.
PD Predicate disambiguation batch_69c6d7b168908190b2f7c724b1bc7fc9 completed March 27, 2026, 7:17 p.m.
Created at: March 27, 2026, 2:21 p.m.