Triple

T21414829
Position Surface form Disambiguated ID Type / Status
Subject Longniddry railway station E528271 entity
Predicate hasTimetable P28039 FINISHED
Object ScotRail Edinburgh–North Berwick services
ScotRail Edinburgh–North Berwick services are a regional passenger rail service in Scotland operating frequent trains between Edinburgh and the coastal town of North Berwick, serving intermediate stations in East Lothian.
E1483594 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: ScotRail Edinburgh–North Berwick services | Statement: [Longniddry railway station, hasTimetable, ScotRail Edinburgh–North Berwick services]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: ScotRail Edinburgh–North Berwick services
Context triple: [Longniddry railway station, hasTimetable, ScotRail Edinburgh–North Berwick services]
  • A. ScotRail Edinburgh–Tweedbank service
    The ScotRail Edinburgh–Tweedbank service is a regional passenger rail route on the Borders Railway connecting Edinburgh with Tweedbank via intermediate stations in the Scottish Borders and Midlothian.
  • B. Edinburgh–Stirling services
    Edinburgh–Stirling services are regional rail passenger routes in central Scotland that connect Edinburgh with the city of Stirling and intermediate communities.
  • C. Aberdeen–Edinburgh rail services
    Aberdeen–Edinburgh rail services are passenger train services that operate along the main line connecting the cities of Aberdeen and Edinburgh in Scotland.
  • D. Edinburgh–Perth commuter services
    Edinburgh–Perth commuter services are regional passenger train services that provide regular rail connections between Edinburgh and Perth in Scotland.
  • E. ScotRail Dundee–Aberdeen services
    ScotRail Dundee–Aberdeen services are regional passenger train services in eastern Scotland operating along the rail corridor between the cities of Dundee and Aberdeen.
  • 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: ScotRail Edinburgh–North Berwick services
Triple: [Longniddry railway station, hasTimetable, ScotRail Edinburgh–North Berwick services]
Generated description
ScotRail Edinburgh–North Berwick services are a regional passenger rail service in Scotland operating frequent trains between Edinburgh and the coastal town of North Berwick, serving intermediate stations in East Lothian.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: ScotRail Edinburgh–North Berwick services
Target entity description: ScotRail Edinburgh–North Berwick services are a regional passenger rail service in Scotland operating frequent trains between Edinburgh and the coastal town of North Berwick, serving intermediate stations in East Lothian.
  • A. ScotRail Edinburgh–Tweedbank service
    The ScotRail Edinburgh–Tweedbank service is a regional passenger rail route on the Borders Railway connecting Edinburgh with Tweedbank via intermediate stations in the Scottish Borders and Midlothian.
  • B. Edinburgh–Stirling services
    Edinburgh–Stirling services are regional rail passenger routes in central Scotland that connect Edinburgh with the city of Stirling and intermediate communities.
  • C. Aberdeen–Edinburgh rail services
    Aberdeen–Edinburgh rail services are passenger train services that operate along the main line connecting the cities of Aberdeen and Edinburgh in Scotland.
  • D. Edinburgh–Perth commuter services
    Edinburgh–Perth commuter services are regional passenger train services that provide regular rail connections between Edinburgh and Perth in Scotland.
  • E. ScotRail Dundee–Aberdeen services
    ScotRail Dundee–Aberdeen services are regional passenger train services in eastern Scotland operating along the rail corridor between the cities of Dundee and Aberdeen.
  • 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_69e0c454c248819093425d1099101c09 completed April 16, 2026, 11:13 a.m.
NER Named-entity recognition batch_69ee62d16bfc8190a1c08dd9d0c80e02 completed April 26, 2026, 7:09 p.m.
NED1 Entity disambiguation (via context triple) batch_6a09c29e95908190b294c9bf0790502e completed May 17, 2026, 1:29 p.m.
NEDg Description generation batch_6a09c37f44208190bfccdb4fdba2a00c completed May 17, 2026, 1:32 p.m.
NED2 Entity disambiguation (via description) batch_6a09c442817c819097b8dfadf292e56d completed May 17, 2026, 1:36 p.m.
Created at: April 16, 2026, 5:45 p.m.