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 |
—
|
NE NERFINISHED |
How this triple was built (3 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.
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 (2 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. |
Created at: April 16, 2026, 5:45 p.m.