Triple

T4416409
Position Surface form Disambiguated ID Type / Status
Subject Knuth–Morris–Pratt algorithm E94984 entity
Predicate comparedWith P278 FINISHED
Object Rabin–Karp algorithm
The Rabin–Karp algorithm is a string-searching technique that uses hashing to efficiently find any one of a set of pattern strings in a text.
E439883 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: Rabin–Karp algorithm | Statement: [Knuth–Morris–Pratt algorithm, comparedWith, Rabin–Karp algorithm]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Rabin–Karp algorithm
Context triple: [Knuth–Morris–Pratt algorithm, comparedWith, Rabin–Karp algorithm]
  • A. Knuth–Morris–Pratt algorithm
    The Knuth–Morris–Pratt algorithm is a classic linear-time string-searching algorithm that efficiently finds occurrences of a pattern within a text by precomputing a prefix function to avoid redundant comparisons.
  • B. Boyer–Moore string-search algorithm
    The Boyer–Moore string-search algorithm is a highly efficient pattern-matching algorithm that scans text from right to left and uses precomputed shift rules to skip sections of the text, making it one of the fastest practical algorithms for substring search.
  • C. Thompson's algorithm for regular expression matching
    Thompson's algorithm for regular expression matching is a classic method that converts regular expressions into nondeterministic finite automata (NFAs) to enable efficient pattern matching in text processing.
  • D. Marzullo's algorithm
    Marzullo's algorithm is a method for selecting the most likely correct time interval from multiple, possibly conflicting time sources, commonly used in clock synchronization systems.
  • E. Berlekamp–Massey algorithm
    The Berlekamp–Massey algorithm is a key algorithm in coding theory and cryptography used to efficiently determine the shortest linear feedback shift register that generates a given binary sequence.
  • 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: Rabin–Karp algorithm
Triple: [Knuth–Morris–Pratt algorithm, comparedWith, Rabin–Karp algorithm]
Generated description
The Rabin–Karp algorithm is a string-searching technique that uses hashing to efficiently find any one of a set of pattern strings in a text.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Rabin–Karp algorithm
Target entity description: The Rabin–Karp algorithm is a string-searching technique that uses hashing to efficiently find any one of a set of pattern strings in a text.
  • A. Knuth–Morris–Pratt algorithm
    The Knuth–Morris–Pratt algorithm is a classic linear-time string-searching algorithm that efficiently finds occurrences of a pattern within a text by precomputing a prefix function to avoid redundant comparisons.
  • B. Boyer–Moore string-search algorithm
    The Boyer–Moore string-search algorithm is a highly efficient pattern-matching algorithm that scans text from right to left and uses precomputed shift rules to skip sections of the text, making it one of the fastest practical algorithms for substring search.
  • C. Thompson's algorithm for regular expression matching
    Thompson's algorithm for regular expression matching is a classic method that converts regular expressions into nondeterministic finite automata (NFAs) to enable efficient pattern matching in text processing.
  • D. Marzullo's algorithm
    Marzullo's algorithm is a method for selecting the most likely correct time interval from multiple, possibly conflicting time sources, commonly used in clock synchronization systems.
  • E. Berlekamp–Massey algorithm
    The Berlekamp–Massey algorithm is a key algorithm in coding theory and cryptography used to efficiently determine the shortest linear feedback shift register that generates a given binary sequence.
  • 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_69b3453a36908190b95a79a297ca083c completed March 12, 2026, 10:59 p.m.
NER Named-entity recognition batch_69b3551afb448190a2ce2000193808ac completed March 13, 2026, 12:06 a.m.
NED1 Entity disambiguation (via context triple) batch_69b613664c548190b5cd0c2667baecc7 completed March 15, 2026, 2:03 a.m.
NEDg Description generation batch_69b6149bd168819091233024b81b811b completed March 15, 2026, 2:08 a.m.
NED2 Entity disambiguation (via description) batch_69b6157c06808190b7cb97516a6a81bf completed March 15, 2026, 2:12 a.m.
Created at: March 12, 2026, 11:29 p.m.