Triple

T6857615
Position Surface form Disambiguated ID Type / Status
Subject Newtongrange railway station E158187 entity
Predicate hasOperatorService P5884 FINISHED
Object 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.
E624262 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–Tweedbank service | Statement: [Newtongrange railway station, hasOperatorService, ScotRail Edinburgh–Tweedbank service]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: ScotRail Edinburgh–Tweedbank service
Context triple: [Newtongrange railway station, hasOperatorService, ScotRail Edinburgh–Tweedbank service]
  • A. 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.
  • B. Edinburgh–Perth commuter services
    Edinburgh–Perth commuter services are regional passenger train services that provide regular rail connections between Edinburgh and Perth in Scotland.
  • C. 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.
  • D. Edinburgh–Fife Circle Line
    The Edinburgh–Fife Circle Line is a suburban rail service linking Edinburgh with towns across the Fife region in a circular route, providing frequent commuter connections over the Forth Bridge.
  • E. Edinburgh–North Berwick Line
    The Edinburgh–North Berwick Line is a suburban railway route in eastern Scotland that provides frequent passenger services between Edinburgh and the coastal town of North Berwick.
  • 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–Tweedbank service
Triple: [Newtongrange railway station, hasOperatorService, ScotRail Edinburgh–Tweedbank service]
Generated description
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.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: ScotRail Edinburgh–Tweedbank service
Target entity description: 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.
  • A. 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.
  • B. Edinburgh–Perth commuter services
    Edinburgh–Perth commuter services are regional passenger train services that provide regular rail connections between Edinburgh and Perth in Scotland.
  • C. 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.
  • D. Edinburgh–Fife Circle Line
    The Edinburgh–Fife Circle Line is a suburban rail service linking Edinburgh with towns across the Fife region in a circular route, providing frequent commuter connections over the Forth Bridge.
  • E. Edinburgh–North Berwick Line
    The Edinburgh–North Berwick Line is a suburban railway route in eastern Scotland that provides frequent passenger services between Edinburgh and the coastal town of North Berwick.
  • 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_69c68830cdbc8190a8301c7a9d9f651a completed March 27, 2026, 1:37 p.m.
NER Named-entity recognition batch_69c6d870a8088190b42fde7626735cb1 completed March 27, 2026, 7:20 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.
Created at: March 27, 2026, 2:21 p.m.