Triple
T6977913
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | River Tywi |
E161760
|
entity |
| Predicate | passesNear |
P416
|
FINISHED |
| Object |
Dinefwr Castle
Dinefwr Castle is a medieval Welsh fortress in Carmarthenshire, historically associated with the princes of Deheubarth and renowned for its picturesque hilltop ruins overlooking the surrounding countryside.
|
E633527
|
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: Dinefwr Castle | Statement: [River Tywi, passesNear, Dinefwr Castle]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: Dinefwr Castle Context triple: [River Tywi, passesNear, Dinefwr Castle]
-
A.
Bodelwyddan Castle
Bodelwyddan Castle is a 19th-century Gothic Revival country house and former historic house museum in North Wales, noted for its distinctive architecture and parkland setting.
-
B.
Dolwyddelan Castle
Dolwyddelan Castle is a medieval Welsh fortress in Snowdonia, traditionally associated with the native prince Llywelyn the Great and commanding a strategic mountain pass.
-
C.
Carmarthen Castle
Carmarthen Castle is a historic medieval fortress in the town of Carmarthen, Wales, notable for its strategic role in Welsh and English history.
-
D.
Penrhyn Castle
Penrhyn Castle is a 19th-century neo-Norman country house in North Wales, renowned for its grand architecture, extensive art collection, and role in the region’s slate industry history.
-
E.
Kidwelly Castle
Kidwelly Castle is a well-preserved medieval fortress in southwest Wales, noted for its imposing stone walls and strategic riverside location.
- 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: Dinefwr Castle Triple: [River Tywi, passesNear, Dinefwr Castle]
Generated description
Dinefwr Castle is a medieval Welsh fortress in Carmarthenshire, historically associated with the princes of Deheubarth and renowned for its picturesque hilltop ruins overlooking the surrounding countryside.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: Dinefwr Castle Target entity description: Dinefwr Castle is a medieval Welsh fortress in Carmarthenshire, historically associated with the princes of Deheubarth and renowned for its picturesque hilltop ruins overlooking the surrounding countryside.
-
A.
Bodelwyddan Castle
Bodelwyddan Castle is a 19th-century Gothic Revival country house and former historic house museum in North Wales, noted for its distinctive architecture and parkland setting.
-
B.
Dolwyddelan Castle
Dolwyddelan Castle is a medieval Welsh fortress in Snowdonia, traditionally associated with the native prince Llywelyn the Great and commanding a strategic mountain pass.
-
C.
Carmarthen Castle
Carmarthen Castle is a historic medieval fortress in the town of Carmarthen, Wales, notable for its strategic role in Welsh and English history.
-
D.
Penrhyn Castle
Penrhyn Castle is a 19th-century neo-Norman country house in North Wales, renowned for its grand architecture, extensive art collection, and role in the region’s slate industry history.
-
E.
Kidwelly Castle
Kidwelly Castle is a well-preserved medieval fortress in southwest Wales, noted for its imposing stone walls and strategic riverside location.
- 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_69c68854a0d88190bc0bf82263f1afce |
completed | March 27, 2026, 1:38 p.m. |
| NER | Named-entity recognition | batch_69c6db68d25c8190a1776908619ad979 |
completed | March 27, 2026, 7:32 p.m. |
| NED1 | Entity disambiguation (via context triple) | batch_69c761b614e88190877455edd5f64cf1 |
completed | March 28, 2026, 5:05 a.m. |
| NEDg | Description generation | batch_69c7629031608190b1ef76e969c97925 |
completed | March 28, 2026, 5:09 a.m. |
| NED2 | Entity disambiguation (via description) | batch_69c76329a47081909b47894ba0e1cad1 |
completed | March 28, 2026, 5:12 a.m. |
Created at: March 27, 2026, 2:31 p.m.