Okapi BM25
Technique
In information retrieval, Okapi BM25 is a ranking function used by search engines to estimate the relevance of documents to a given search query. It is based on the probabilistic retrieval framework developed in the 1970s and 1980s by Stephen E. Robertson, Karen Spärck Jones, and others.
Related work
- ask.chaipat.cc, the ask-me-anything site Key work Nov 2026
Candidates come from two places at once: the graph neighbours of what was named, and passages of the wiki ranked with BM25 by the wiki full-text search.
- Wiki full-text search (ask.chaipat.cc)
The wiki full-text search in src/search.js ranks passages of the wiki for a question with BM25.
In the knowledge graph
Okapi BM25 and the 2 things it is linked to. Open any dot for its page, or explore it in the full graph.
As data
Everything on this page is read from triples in the knowledge graph. These are the 4 it states about Okapi BM25, and 1 more its ontology implies; the console runs SPARQL over the whole graph, here in your browser.
@prefix id: <https://ask.chaipat.cc/id/> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix cj: <https://ask.chaipat.cc/ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix skos: <http://www.w3.org/2004/02/skos/core#> . @prefix schema: <https://schema.org/> . id:BM25 a cj:Technique ; rdfs:label "Okapi BM25" ; skos:altLabel "BM25" ; schema:sameAs <https://en.wikipedia.org/wiki/Okapi_BM25> .