Triple

T22326380
Position Surface form Disambiguated ID Type / Status
Subject Josh Lyman has post-traumatic stress disorder E551911 entity
Predicate diagnosedByCharacter P1005 FINISHED
Object Dr. Stanley Keyworth NE NERFINISHED

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: Dr. Stanley Keyworth | Statement: [Josh Lyman has post-traumatic stress disorder, diagnosedByCharacter, Dr. Stanley Keyworth]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Dr. Stanley Keyworth
Context triple: [Josh Lyman has post-traumatic stress disorder, diagnosedByCharacter, Dr. Stanley Keyworth]
  • A. Dr. Walter Curnow
    Dr. Walter Curnow is a fictional engineer and spacecraft designer who plays a central role in the science fiction film "2010: The Year We Make Contact," the sequel to "2001: A Space Odyssey."
  • B. Dr. Martin Ellingham
    Dr. Martin Ellingham is the socially awkward, blood-phobic surgeon-turned-GP who serves as the central character in the British television series "Doc Martin."
  • C. Dr. Robert Ledgard
    Dr. Robert Ledgard is a brilliant but disturbed plastic surgeon in Pedro Almodóvar’s film "The Skin I Live In," obsessed with creating a new kind of synthetic skin and driven by grief and revenge.
  • D. Dr. Robert Campbell
    Dr. Robert Campbell is the fictional scientist and doctor portrayed by Sean Connery in the 1992 film "Medicine Man," where he searches for a cure for cancer in the Amazon rainforest.
  • E. Dr. Leonard Gillespie
    Dr. Leonard Gillespie is a gruff but wise senior physician who serves as mentor and foil to the young Dr. Kildare in the classic MGM medical film series.
  • F. None of above. chosen
  • G. Unsure - the case is ambiguous/there is not enough information to decide.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Dr. Stanley Keyworth
Target entity description: Dr. Stanley Keyworth is a fictional psychiatrist on the television series "The West Wing," known for treating senior White House staff members for psychological trauma and stress-related issues.
  • A. Dr. Walter Curnow
    Dr. Walter Curnow is a fictional engineer and spacecraft designer who plays a central role in the science fiction film "2010: The Year We Make Contact," the sequel to "2001: A Space Odyssey."
  • B. Dr. Martin Ellingham
    Dr. Martin Ellingham is the socially awkward, blood-phobic surgeon-turned-GP who serves as the central character in the British television series "Doc Martin."
  • C. Dr. Robert Ledgard
    Dr. Robert Ledgard is a brilliant but disturbed plastic surgeon in Pedro Almodóvar’s film "The Skin I Live In," obsessed with creating a new kind of synthetic skin and driven by grief and revenge.
  • D. Dr. Robert Campbell
    Dr. Robert Campbell is the fictional scientist and doctor portrayed by Sean Connery in the 1992 film "Medicine Man," where he searches for a cure for cancer in the Amazon rainforest.
  • E. Dr. Leonard Gillespie
    Dr. Leonard Gillespie is a gruff but wise senior physician who serves as mentor and foil to the young Dr. Kildare in the classic MGM medical film series.
  • F. None of above. chosen
PD Predicate disambiguation gpt-5-mini-2025-08-07
Target predicate: diagnosedByCharacter
Context triple: [Josh Lyman has post-traumatic stress disorder, diagnosedByCharacter, Dr. Stanley Keyworth]
  • A. diagnosedWith chosen
    Indicates that a subject has been identified, typically by a medical professional, as having a particular disease or medical condition.
  • B. explainedByCharacter
    Indicates that something (such as an event, situation, or piece of information) is explained or clarified by a particular character.
  • C. introducedByCharacter
    Indicates that one character is responsible for presenting, bringing into the story, or otherwise causing another entity to be first revealed or made known.
  • D. characterDefinedBy
    Indicates that one entity’s character, identity, or nature is determined, shaped, or specified by another entity.
  • E. discoveredByFictionalCharacter
    Indicates that something (such as an object, place, or concept) is discovered by a fictional character within a narrative.
  • F. None of above.

Provenance (3 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_69e11e482f788190b78d1588fc26d606 completed April 16, 2026, 5:37 p.m.
NER Named-entity recognition batch_69f15768696481909be124e86c23d551 completed April 29, 2026, 12:57 a.m.
PD Predicate disambiguation batch_69e73004d9e88190bb862319a5aea06b completed April 21, 2026, 8:06 a.m.
Created at: April 16, 2026, 8:42 p.m.