Triple
T7819487
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Caernarfon, Gwynedd |
E181091
|
entity |
| Predicate | nearRailway |
P25143
|
FINISHED |
| Object | Welsh Highland Railway terminus |
E245123
|
NE FINISHED |
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: Welsh Highland Railway terminus | Statement: [Caernarfon, Gwynedd, nearRailway, Welsh Highland Railway terminus]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: Welsh Highland Railway terminus Context triple: [Caernarfon, Gwynedd, nearRailway, Welsh Highland Railway terminus]
-
A.
Welsh Highland Railway
chosen
The Welsh Highland Railway is a scenic narrow-gauge heritage railway in North Wales that runs through the mountainous landscapes of Snowdonia.
-
B.
Sirhowy Railway
The Sirhowy Railway was a historic Welsh railway line that played a key role in transporting coal and iron through the Sirhowy Valley during the industrial era.
-
C.
Rhymney Railway
Rhymney Railway was a historic Welsh railway company that primarily served the coal-mining communities of the Rhymney Valley and surrounding areas.
-
D.
Nant Gwernol railway station
Nant Gwernol railway station is the upper mountain terminus of the historic narrow-gauge Talyllyn Railway in Mid Wales, serving as a scenic endpoint for heritage steam train services.
-
E.
Ebbw Valley Railway
The Ebbw Valley Railway is a passenger rail line in South Wales that connects communities in the Ebbw Valley with larger hubs such as Cardiff, supporting regional commuting and regeneration.
- F. None of above.
- G. Unsure - the case is ambiguous/there is not enough information to decide.
PD
Predicate disambiguation
gpt-5-mini-2025-08-07
Target predicate: nearRailway Context triple: [Caernarfon, Gwynedd, nearRailway, Welsh Highland Railway terminus]
-
A.
hasNearbyRailway
chosen
Indicates that one entity is located close to a railway associated with or relevant to another entity.
-
B.
nearestRailwayLine
Indicates that one railway line is the closest in distance to a given location or feature compared to all other railway lines.
-
C.
nearestRailwayTerminus
Indicates that one location is the closest railway terminus to another specified place.
-
D.
hasNearbyRailwayStation
Indicates that a railway station is located within a short or convenient distance from the referenced entity.
-
E.
nearestPassengerRailStation
Indicates that one entity is the closest passenger rail station in distance to another entity.
- F. None of above.
Provenance (4 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_69ca828153f48190bdb27ac46f8e0745 |
completed | March 30, 2026, 2:02 p.m. |
| NER | Named-entity recognition | batch_69caf97247c481908b18287eb7ee0a53 |
completed | March 30, 2026, 10:30 p.m. |
| NED1 | Entity disambiguation (via context triple) | batch_69cb149266e88190a582b11d68702a6a |
completed | March 31, 2026, 12:25 a.m. |
| PD | Predicate disambiguation | batch_69cae91687788190af9cb7aaa996d291 |
completed | March 30, 2026, 9:20 p.m. |
Created at: March 30, 2026, 4:40 p.m.