Triple

T17388041
Position Surface form Disambiguated ID Type / Status
Subject James Hamilton, 2nd Duke of Hamilton E422739 entity
Predicate positionHeld P8 FINISHED
Object Hereditary Sheriff of Lanark
The Hereditary Sheriff of Lanark was a powerful Scottish feudal office tied to the Hamilton family, granting long-term judicial and administrative authority over the county of Lanark.
E1265537 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: Hereditary Sheriff of Lanark | Statement: [James Hamilton, 2nd Duke of Hamilton, positionHeld, Hereditary Sheriff of Lanark]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Hereditary Sheriff of Lanark
Context triple: [James Hamilton, 2nd Duke of Hamilton, positionHeld, Hereditary Sheriff of Lanark]
  • A. Sheriff of Wigtown
    The Sheriff of Wigtown was a local royal official in historic Wigtownshire, Scotland, responsible for administering justice, maintaining order, and overseeing legal and administrative matters in the region.
  • B. Sheriff of Dumfries
    The Sheriff of Dumfries was a key royal legal and administrative officer responsible for law enforcement and local governance in the Dumfries area of Scotland.
  • C. Sheriff of Edinburghshire
    The Sheriff of Edinburghshire was a senior royal legal and administrative officer responsible for law enforcement and judicial matters in the historic county surrounding Scotland’s capital, Edinburgh.
  • D. High Sheriff of Clwyd
    The High Sheriff of Clwyd is the ceremonial royal representative responsible for supporting the judiciary and law enforcement within the preserved county of Clwyd in Wales.
  • E. High Sheriff
    The High Sheriff is a ceremonial royal representative in an English or Welsh county, historically responsible for law and order and now focused mainly on supporting the judiciary, law enforcement, and civic events.
  • 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: Hereditary Sheriff of Lanark
Triple: [James Hamilton, 2nd Duke of Hamilton, positionHeld, Hereditary Sheriff of Lanark]
Generated description
The Hereditary Sheriff of Lanark was a powerful Scottish feudal office tied to the Hamilton family, granting long-term judicial and administrative authority over the county of Lanark.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Hereditary Sheriff of Lanark
Target entity description: The Hereditary Sheriff of Lanark was a powerful Scottish feudal office tied to the Hamilton family, granting long-term judicial and administrative authority over the county of Lanark.
  • A. Sheriff of Wigtown
    The Sheriff of Wigtown was a local royal official in historic Wigtownshire, Scotland, responsible for administering justice, maintaining order, and overseeing legal and administrative matters in the region.
  • B. Sheriff of Dumfries
    The Sheriff of Dumfries was a key royal legal and administrative officer responsible for law enforcement and local governance in the Dumfries area of Scotland.
  • C. Sheriff of Edinburghshire
    The Sheriff of Edinburghshire was a senior royal legal and administrative officer responsible for law enforcement and judicial matters in the historic county surrounding Scotland’s capital, Edinburgh.
  • D. High Sheriff of Clwyd
    The High Sheriff of Clwyd is the ceremonial royal representative responsible for supporting the judiciary and law enforcement within the preserved county of Clwyd in Wales.
  • E. High Sheriff
    The High Sheriff is a ceremonial royal representative in an English or Welsh county, historically responsible for law and order and now focused mainly on supporting the judiciary, law enforcement, and civic events.
  • 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_69d889d710288190bf0f4762801fefae completed April 10, 2026, 5:25 a.m.
NER Named-entity recognition batch_69e43a8b66288190b29bb82eff761902 completed April 19, 2026, 2:14 a.m.
NED1 Entity disambiguation (via context triple) batch_6a019ffb34688190a0a69b069353ced8 completed May 11, 2026, 9:23 a.m.
NEDg Description generation batch_6a01a0585088819082a3cf1858cb2d99 completed May 11, 2026, 9:24 a.m.
NED2 Entity disambiguation (via description) batch_6a01a0ee35348190a7d412a83ecd2acc completed May 11, 2026, 9:27 a.m.
Created at: April 10, 2026, 5:45 a.m.