Triple

T14773335
Position Surface form Disambiguated ID Type / Status
Subject Boyer–Moore string-search algorithm E347189 entity
Predicate comparedWith P278 FINISHED
Object Knuth–Morris–Pratt algorithm E94984 NE FINISHED

How this triple was built (2 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: Knuth–Morris–Pratt algorithm | Statement: [Boyer–Moore string-search algorithm, comparedWith, Knuth–Morris–Pratt algorithm]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Knuth–Morris–Pratt algorithm
Context triple: [Boyer–Moore string-search algorithm, comparedWith, Knuth–Morris–Pratt algorithm]
  • A. Knuth–Morris–Pratt algorithm chosen
    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. 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.
  • C. Aho–Corasick algorithm
    The Aho–Corasick algorithm is a classic string-searching algorithm that efficiently finds all occurrences of multiple patterns in a text using a trie-based finite-state machine.
  • D. 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.
  • E. 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.
  • F. None of above.
  • G. Unsure - the case is ambiguous/there is not enough information to decide.

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_69d822e9b9e08190bedcc31a163fda82 completed April 9, 2026, 10:06 p.m.
NER Named-entity recognition batch_69dec81485e08190be35baafcf22b6f2 completed April 14, 2026, 11:04 p.m.
NED1 Entity disambiguation (via context triple) batch_69fe0cfd26fc81909fba39c8705437ed completed May 8, 2026, 4:19 p.m.
Created at: April 10, 2026, 1:31 a.m.