Triple

T17542898
Position Surface form Disambiguated ID Type / Status
Subject Sheriff of San Francisco E427246 entity
Predicate worksWith P398 FINISHED
Object San Francisco District Attorney’s Office
The San Francisco District Attorney’s Office is the local prosecutorial agency responsible for enforcing criminal law, pursuing charges, and representing the people of San Francisco in criminal proceedings.
E99957 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: San Francisco District Attorney’s Office | Statement: [Sheriff of San Francisco, worksWith, San Francisco District Attorney’s Office]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: San Francisco District Attorney’s Office
Context triple: [Sheriff of San Francisco, worksWith, San Francisco District Attorney’s Office]
  • A. Santa Clara County District Attorney's Office
    The Santa Clara County District Attorney's Office is the local prosecutorial agency responsible for investigating and prosecuting criminal cases and representing the people in criminal matters within Santa Clara County, California.
  • B. Alameda County District Attorney’s Office
    The Alameda County District Attorney’s Office is the government agency responsible for prosecuting criminal cases and representing the people in legal matters within Alameda County, California.
  • C. Sacramento County District Attorney's Office
    The Sacramento County District Attorney's Office is the local prosecutorial agency responsible for investigating and prosecuting criminal cases on behalf of the people of Sacramento County, California.
  • D. District Attorney of San Francisco
    The District Attorney of San Francisco is the chief local prosecutor responsible for enforcing criminal law and overseeing felony and certain misdemeanor prosecutions within the City and County of San Francisco.
  • E. San Francisco Juvenile Probation Department
    The San Francisco Juvenile Probation Department is a local government agency responsible for supervising and rehabilitating youth involved in the juvenile justice system in San Francisco.
  • 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: San Francisco District Attorney’s Office
Triple: [Sheriff of San Francisco, worksWith, San Francisco District Attorney’s Office]
Generated description
The San Francisco District Attorney’s Office is the local prosecutorial agency responsible for enforcing criminal law, pursuing charges, and representing the people of San Francisco in criminal proceedings.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: San Francisco District Attorney’s Office
Target entity description: The San Francisco District Attorney’s Office is the local prosecutorial agency responsible for enforcing criminal law, pursuing charges, and representing the people of San Francisco in criminal proceedings.
  • A. Santa Clara County District Attorney's Office
    The Santa Clara County District Attorney's Office is the local prosecutorial agency responsible for investigating and prosecuting criminal cases and representing the people in criminal matters within Santa Clara County, California.
  • B. Alameda County District Attorney’s Office
    The Alameda County District Attorney’s Office is the government agency responsible for prosecuting criminal cases and representing the people in legal matters within Alameda County, California.
  • C. Sacramento County District Attorney's Office
    The Sacramento County District Attorney's Office is the local prosecutorial agency responsible for investigating and prosecuting criminal cases on behalf of the people of Sacramento County, California.
  • D. District Attorney of San Francisco chosen
    The District Attorney of San Francisco is the chief local prosecutor responsible for enforcing criminal law and overseeing felony and certain misdemeanor prosecutions within the City and County of San Francisco.
  • E. San Francisco Juvenile Probation Department
    The San Francisco Juvenile Probation Department is a local government agency responsible for supervising and rehabilitating youth involved in the juvenile justice system in San Francisco.
  • F. None of above.

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_69d889df6dc081908f67dbadc03c07ee completed April 10, 2026, 5:25 a.m.
NER Named-entity recognition batch_69e4545f1fa08190870c9244d06cf5f6 completed April 19, 2026, 4:04 a.m.
NED1 Entity disambiguation (via context triple) batch_6a01d289875c81909773184e733211af completed May 11, 2026, 12:58 p.m.
NEDg Description generation batch_6a01d3466bfc8190a64748a113066b67 completed May 11, 2026, 1:01 p.m.
NED2 Entity disambiguation (via description) batch_6a01d425f9748190b64a0a01fd1a20d0 completed May 11, 2026, 1:05 p.m.
Created at: April 10, 2026, 5:49 a.m.