Triple
T6678143
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Dumfries, Scotland |
E151906
|
entity |
| Predicate | hasHospital |
P105
|
FINISHED |
| Object |
Dumfries and Galloway Royal Infirmary
Dumfries and Galloway Royal Infirmary is a major acute general hospital serving the Dumfries and Galloway region in southwest Scotland.
|
E611514
|
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: Dumfries and Galloway Royal Infirmary | Statement: [Dumfries, Scotland, hasHospital, Dumfries and Galloway Royal Infirmary]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: Dumfries and Galloway Royal Infirmary Context triple: [Dumfries, Scotland, hasHospital, Dumfries and Galloway Royal Infirmary]
-
A.
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.
-
B.
Royal Infirmary of Glasgow
The Royal Infirmary of Glasgow is a major teaching hospital and one of the principal acute healthcare facilities serving Glasgow and the surrounding region in Scotland.
-
C.
Stracathro Hospital
Stracathro Hospital is a healthcare facility in Angus, Scotland, providing a range of acute and elective services as part of the NHS system.
-
D.
Royal Infirmary of Edinburgh
The Royal Infirmary of Edinburgh is a major teaching hospital and one of Scotland’s principal acute care centers, closely linked to the University of Edinburgh’s medical education and research.
-
E.
Scone Hospital
Scone Hospital is a regional healthcare facility serving the medical needs of the community in and around Scone, New South Wales, Australia.
- 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: Dumfries and Galloway Royal Infirmary Triple: [Dumfries, Scotland, hasHospital, Dumfries and Galloway Royal Infirmary]
Generated description
Dumfries and Galloway Royal Infirmary is a major acute general hospital serving the Dumfries and Galloway region in southwest Scotland.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: Dumfries and Galloway Royal Infirmary Target entity description: Dumfries and Galloway Royal Infirmary is a major acute general hospital serving the Dumfries and Galloway region in southwest Scotland.
-
A.
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.
-
B.
Royal Infirmary of Glasgow
The Royal Infirmary of Glasgow is a major teaching hospital and one of the principal acute healthcare facilities serving Glasgow and the surrounding region in Scotland.
-
C.
Stracathro Hospital
Stracathro Hospital is a healthcare facility in Angus, Scotland, providing a range of acute and elective services as part of the NHS system.
-
D.
Royal Infirmary of Edinburgh
The Royal Infirmary of Edinburgh is a major teaching hospital and one of Scotland’s principal acute care centers, closely linked to the University of Edinburgh’s medical education and research.
-
E.
Scone Hospital
Scone Hospital is a regional healthcare facility serving the medical needs of the community in and around Scone, New South Wales, Australia.
- 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_69c687f830bc81909eb8b04dbb8450b1 |
completed | March 27, 2026, 1:36 p.m. |
| NER | Named-entity recognition | batch_69c6b0f53af48190b0b25b61c3531158 |
completed | March 27, 2026, 4:31 p.m. |
| NED1 | Entity disambiguation (via context triple) | batch_69c6f7a78ab081909d904e4468293957 |
completed | March 27, 2026, 9:33 p.m. |
| NEDg | Description generation | batch_69c6f8453af88190b237c249bfbb4f8c |
completed | March 27, 2026, 9:36 p.m. |
| NED2 | Entity disambiguation (via description) | batch_69c6f8d5630c8190913e8572a70b82c1 |
completed | March 27, 2026, 9:38 p.m. |
Created at: March 27, 2026, 2:03 p.m.