Triple

T17101631
Position Surface form Disambiguated ID Type / Status
Subject Keith E414992 entity
Predicate hasHeritageRailway P522 FINISHED
Object Keith and Dufftown Railway
The Keith and Dufftown Railway is a preserved heritage railway in northeast Scotland that operates tourist trains along a scenic former branch line between the towns of Keith and Dufftown.
E1251660 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: Keith and Dufftown Railway | Statement: [Keith, hasHeritageRailway, Keith and Dufftown Railway]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Keith and Dufftown Railway
Context triple: [Keith, hasHeritageRailway, Keith and Dufftown Railway]
  • A. Dundee and Newtyle Railway
    The Dundee and Newtyle Railway was one of Scotland’s earliest railways, opened in the 1830s to connect the city of Dundee with the inland village of Newtyle and promote regional trade and transport.
  • B. Bo’ness and Kinneil Railway
    Bo’ness and Kinneil Railway is a heritage railway in Scotland that preserves and operates historic trains as a tourist attraction and museum line.
  • C. Leadhills and Wanlockhead Railway
    Leadhills and Wanlockhead Railway is a narrow-gauge heritage railway in South Lanarkshire, Scotland, preserving part of the former mineral line that once served the area’s historic lead-mining communities.
  • D. Dundee and Arbroath Railway
    The Dundee and Arbroath Railway was an early Scottish railway company that operated a line along the east coast between the cities of Dundee and Arbroath.
  • E. Highland Railway
    The Highland Railway was a former Scottish railway company that operated routes through the Scottish Highlands before being absorbed into the London, Midland and Scottish Railway in the 1923 Grouping.
  • 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: Keith and Dufftown Railway
Triple: [Keith, hasHeritageRailway, Keith and Dufftown Railway]
Generated description
The Keith and Dufftown Railway is a preserved heritage railway in northeast Scotland that operates tourist trains along a scenic former branch line between the towns of Keith and Dufftown.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Keith and Dufftown Railway
Target entity description: The Keith and Dufftown Railway is a preserved heritage railway in northeast Scotland that operates tourist trains along a scenic former branch line between the towns of Keith and Dufftown.
  • A. Dundee and Newtyle Railway
    The Dundee and Newtyle Railway was one of Scotland’s earliest railways, opened in the 1830s to connect the city of Dundee with the inland village of Newtyle and promote regional trade and transport.
  • B. Bo’ness and Kinneil Railway
    Bo’ness and Kinneil Railway is a heritage railway in Scotland that preserves and operates historic trains as a tourist attraction and museum line.
  • C. Leadhills and Wanlockhead Railway
    Leadhills and Wanlockhead Railway is a narrow-gauge heritage railway in South Lanarkshire, Scotland, preserving part of the former mineral line that once served the area’s historic lead-mining communities.
  • D. Dundee and Arbroath Railway
    The Dundee and Arbroath Railway was an early Scottish railway company that operated a line along the east coast between the cities of Dundee and Arbroath.
  • E. Highland Railway
    The Highland Railway was a former Scottish railway company that operated routes through the Scottish Highlands before being absorbed into the London, Midland and Scottish Railway in the 1923 Grouping.
  • 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_69d886cfc8e88190b05ba466edd35591 completed April 10, 2026, 5:12 a.m.
NER Named-entity recognition batch_69e3dc239a088190a776fe0f4361ffc7 completed April 18, 2026, 7:31 p.m.
NED1 Entity disambiguation (via context triple) batch_6a0139fdda488190a1ca5c7ca875e044 completed May 11, 2026, 2:07 a.m.
NEDg Description generation batch_6a013c4c0e6c8190a66fdee15f928444 completed May 11, 2026, 2:17 a.m.
NED2 Entity disambiguation (via description) batch_6a013cc0559881909a903ee05562b658 completed May 11, 2026, 2:19 a.m.
Created at: April 10, 2026, 5:35 a.m.