Triple
T69612
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Dunfermline Queen Margaret railway station |
E1391
|
entity |
| Predicate | locatedNear |
P294
|
FINISHED |
| Object |
Queen Margaret Hospital, Dunfermline
Queen Margaret Hospital in Dunfermline is a major NHS healthcare facility in Fife, Scotland, providing a range of acute and community medical services to the local population.
|
E8175
|
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: Queen Margaret Hospital, Dunfermline | Statement: [Dunfermline Queen Margaret railway station, locatedNear, Queen Margaret Hospital, Dunfermline]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: Queen Margaret Hospital, Dunfermline Context triple: [Dunfermline Queen Margaret railway station, locatedNear, Queen Margaret Hospital, Dunfermline]
-
A.
Dunfermline Carnegie Library
Dunfermline Carnegie Library is a historic public library in Dunfermline, Scotland, notable as the world's first Carnegie library funded by philanthropist Andrew Carnegie.
-
B.
Carnegie Hall, Dunfermline
Carnegie Hall, Dunfermline is a historic performing arts venue and community theatre in Dunfermline, Scotland, known for hosting a wide range of music, drama, and cultural events.
-
C.
Alhambra Theatre, Dunfermline
Alhambra Theatre, Dunfermline is a historic Scottish performance venue known for hosting a wide range of live entertainment, including theatre, music, comedy, and community events.
-
D.
Newton-Wellesley Hospital
Newton-Wellesley Hospital is a community teaching hospital serving the Greater Boston area with a range of medical and surgical services.
-
E.
Dunfermline Palace
Dunfermline Palace is a historic former royal residence in Dunfermline, Fife, known for its association with Scottish monarchs and its proximity to Dunfermline Abbey.
- 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: Queen Margaret Hospital, Dunfermline Triple: [Dunfermline Queen Margaret railway station, locatedNear, Queen Margaret Hospital, Dunfermline]
Generated description
Queen Margaret Hospital in Dunfermline is a major NHS healthcare facility in Fife, Scotland, providing a range of acute and community medical services to the local population.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: Queen Margaret Hospital, Dunfermline Target entity description: Queen Margaret Hospital in Dunfermline is a major NHS healthcare facility in Fife, Scotland, providing a range of acute and community medical services to the local population.
-
A.
Dunfermline Carnegie Library
Dunfermline Carnegie Library is a historic public library in Dunfermline, Scotland, notable as the world's first Carnegie library funded by philanthropist Andrew Carnegie.
-
B.
Carnegie Hall, Dunfermline
Carnegie Hall, Dunfermline is a historic performing arts venue and community theatre in Dunfermline, Scotland, known for hosting a wide range of music, drama, and cultural events.
-
C.
Alhambra Theatre, Dunfermline
Alhambra Theatre, Dunfermline is a historic Scottish performance venue known for hosting a wide range of live entertainment, including theatre, music, comedy, and community events.
-
D.
Newton-Wellesley Hospital
Newton-Wellesley Hospital is a community teaching hospital serving the Greater Boston area with a range of medical and surgical services.
-
E.
Dunfermline Palace
Dunfermline Palace is a historic former royal residence in Dunfermline, Fife, known for its association with Scottish monarchs and its proximity to Dunfermline Abbey.
- 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_69a24c06b3bc8190aa4ac89026115efc |
completed | Feb. 28, 2026, 1:59 a.m. |
| NER | Named-entity recognition | batch_69a24f045d38819088f5f71e39fa1ee7 |
completed | Feb. 28, 2026, 2:12 a.m. |
| NED1 | Entity disambiguation (via context triple) | batch_69a26241d4c08190885dab6aef75dcf3 |
completed | Feb. 28, 2026, 3:34 a.m. |
| NEDg | Description generation | batch_69a26319b2b0819080ae6aeec36bc6e3 |
completed | Feb. 28, 2026, 3:38 a.m. |
| NED2 | Entity disambiguation (via description) | batch_69a263a07dfc8190a9acf5118f2a68f1 |
completed | Feb. 28, 2026, 3:40 a.m. |
Created at: Feb. 28, 2026, 2:03 a.m.