Triple

T4183872
Position Surface form Disambiguated ID Type / Status
Subject Pencoed E88262 entity
Predicate hasNeighbouringSettlement P4647 FINISHED
Object Llanharan
Llanharan is a village and community in Rhondda Cynon Taf, South Wales, known historically for its coal mining heritage and served by a railway station on the South Wales Main Line.
E491863 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: Llanharan | Statement: [Pencoed, hasNeighbouringSettlement, Llanharan]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Llanharan
Context triple: [Pencoed, hasNeighbouringSettlement, Llanharan]
  • A. Llanrhidian
    Llanrhidian is a rural coastal village in Swansea, Wales, known for its scenic salt marshes and location on the Gower Peninsula.
  • B. Llanwddyn
    Llanwddyn is a small village in Powys, Wales, best known for its relocation during the late 19th century to make way for the creation of Lake Vyrnwy reservoir.
  • C. Llantarnam
    Llantarnam is a residential suburb and historic area within the town of Cwmbran in South Wales.
  • D. Llanelltyd
    Llanelltyd is a small historic village in Gwynedd, Wales, known for its scenic setting near Dolgellau and the ruins of Cymer Abbey.
  • E. Llanbedr
    Llanbedr is a small village in north-west Wales known for its scenic setting near the Snowdonia mountains and the coast, as well as its nearby former RAF airfield.
  • 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: Llanharan
Triple: [Pencoed, hasNeighbouringSettlement, Llanharan]
Generated description
Llanharan is a village and community in Rhondda Cynon Taf, South Wales, known historically for its coal mining heritage and served by a railway station on the South Wales Main Line.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Llanharan
Target entity description: Llanharan is a village and community in Rhondda Cynon Taf, South Wales, known historically for its coal mining heritage and served by a railway station on the South Wales Main Line.
  • A. Llanrhidian
    Llanrhidian is a rural coastal village in Swansea, Wales, known for its scenic salt marshes and location on the Gower Peninsula.
  • B. Llanwddyn
    Llanwddyn is a small village in Powys, Wales, best known for its relocation during the late 19th century to make way for the creation of Lake Vyrnwy reservoir.
  • C. Llantarnam
    Llantarnam is a residential suburb and historic area within the town of Cwmbran in South Wales.
  • D. Llanelltyd
    Llanelltyd is a small historic village in Gwynedd, Wales, known for its scenic setting near Dolgellau and the ruins of Cymer Abbey.
  • E. Llanbedr
    Llanbedr is a small village in north-west Wales known for its scenic setting near the Snowdonia mountains and the coast, as well as its nearby former RAF airfield.
  • 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_69aed9477e8c81908bcb862d2db55b1d completed March 9, 2026, 2:29 p.m.
NER Named-entity recognition batch_69af0307a0b481909c7287402a8c78c4 completed March 9, 2026, 5:27 p.m.
NED1 Entity disambiguation (via context triple) batch_69beb0b17e288190b6014ad9c31a3b9f completed March 21, 2026, 2:52 p.m.
NEDg Description generation batch_69beb16170408190a04dded7fcc512d8 completed March 21, 2026, 2:55 p.m.
NED2 Entity disambiguation (via description) batch_69beb1c3bc5c8190b8a58baf2cd1ad44 completed March 21, 2026, 2:57 p.m.
Created at: March 9, 2026, 3:45 p.m.