Triple

T7819468
Position Surface form Disambiguated ID Type / Status
Subject Caernarfon, Gwynedd E181091 entity
Predicate hasTownWalls P29117 FINISHED
Object Caernarfon town walls
Caernarfon town walls are a well-preserved medieval defensive fortification encircling the historic town of Caernarfon in Gwynedd, Wales, built under King Edward I as part of his conquest of Wales.
E703533 NE FINISHED

How this triple was built (5 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: Caernarfon town walls | Statement: [Caernarfon, Gwynedd, hasTownWalls, Caernarfon town walls]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Caernarfon town walls
Context triple: [Caernarfon, Gwynedd, hasTownWalls, Caernarfon town walls]
  • A. Conwy town walls
    Conwy town walls are a remarkably well-preserved medieval defensive wall system encircling the town of Conwy in North Wales, recognized as part of a UNESCO World Heritage Site.
  • B. Caernarfon Castle
    Caernarfon Castle is a massive medieval fortress in Caernarfon, Wales, famed for its polygonal towers and role as a symbol of English rule over Wales.
  • C. Conwy Castle
    Conwy Castle is a 13th-century medieval fortress in North Wales, renowned for its imposing walls and towers and its role in Edward I’s conquest of Wales.
  • D. Tenby town walls
    Tenby town walls are a well-preserved medieval defensive fortification encircling much of the historic seaside town of Tenby in Pembrokeshire, Wales.
  • E. 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.
  • 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: Caernarfon town walls
Triple: [Caernarfon, Gwynedd, hasTownWalls, Caernarfon town walls]
Generated description
Caernarfon town walls are a well-preserved medieval defensive fortification encircling the historic town of Caernarfon in Gwynedd, Wales, built under King Edward I as part of his conquest of Wales.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Caernarfon town walls
Target entity description: Caernarfon town walls are a well-preserved medieval defensive fortification encircling the historic town of Caernarfon in Gwynedd, Wales, built under King Edward I as part of his conquest of Wales.
  • A. Conwy town walls
    Conwy town walls are a remarkably well-preserved medieval defensive wall system encircling the town of Conwy in North Wales, recognized as part of a UNESCO World Heritage Site.
  • B. Caernarfon Castle
    Caernarfon Castle is a massive medieval fortress in Caernarfon, Wales, famed for its polygonal towers and role as a symbol of English rule over Wales.
  • C. Conwy Castle
    Conwy Castle is a 13th-century medieval fortress in North Wales, renowned for its imposing walls and towers and its role in Edward I’s conquest of Wales.
  • D. Tenby town walls
    Tenby town walls are a well-preserved medieval defensive fortification encircling much of the historic seaside town of Tenby in Pembrokeshire, Wales.
  • E. 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.
  • F. None of above. chosen
PD Predicate disambiguation gpt-5-mini-2025-08-07
Target predicate: hasTownWalls
Context triple: [Caernarfon, Gwynedd, hasTownWalls, Caernarfon town walls]
  • A. hasCityWallName
    Indicates that a city wall is associated with a specific name or designation.
  • B. hasHistoricTownWallsRemnants chosen
    Indicates that remnants of historic town walls are present and associated with the subject entity.
  • C. hasPeaceWalls
    Indicates that there exist physical barriers or walls separating groups or areas to reduce or prevent conflict or violence between them.
  • D. hasFortifications
    Indicates that one entity possesses or is equipped with defensive structures or fortification works associated with it.
  • E. wasFortifiedBy
    Indicates that a place or structure received defensive strengthening or fortification through the actions or resources of a specified agent or entity.
  • F. None of above.

Provenance (6 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_69cbdee0fddc819086a5736f1a709865 completed March 31, 2026, 2:49 p.m.
NEDg Description generation batch_69cbe4cf113481908877091f21607978 completed March 31, 2026, 3:14 p.m.
NED2 Entity disambiguation (via description) batch_69cc33163ac8819090ec53058a78ef13 completed March 31, 2026, 8:48 p.m.
PD Predicate disambiguation batch_69cae91687788190af9cb7aaa996d291 completed March 30, 2026, 9:20 p.m.
Created at: March 30, 2026, 4:40 p.m.