Dataset Viewer
Auto-converted to Parquet Duplicate
doc_id
stringlengths
9
30
text
stringlengths
3
4.47k
lexeme_id
stringlengths
2
15
tier
stringclasses
3 values
aaa:encyclopedia
The string AAA operates as a cross-domain acronym and symbol in contemporary discourse, illustrating how a simple three-letter sequence can encode multiple high-salience concepts. While the all-lowercase form aaa often appears as a neutral placeholder or in instructional examples, the capitalized variant AAA signals do...
aaa
core
aaa:interjection:0
An interjection used to indicate sudden physical or emotional discomfort, typically produced as a reflexive reaction to pain or injury.
aaa
core
aaa:interjection:1
An interjection used to express sudden surprise, alarm, or realization in response to an unexpected event.
aaa
core
aaa:noun:0
The American Automobile Association, commonly referred to as the AAA, is a nonprofit federation of motor clubs that provides roadside assistance, travel planning, insurance, and related services.
aaa
core
aaa:noun:1
A credit rating of AAA denotes the highest level of creditworthiness assigned by major rating agencies to issuers or debt instruments.
aaa
core
aaa:noun:2
A battery is a standard small cylindrical dry-cell used to power portable devices such as remote controls and toys.
aaa
core
aaa:noun:3
In information technology AAA denotes authentication, authorization, and accounting a security framework governing identity verification access control and usage accounting.
aaa
core
aachen:encyclopedia
Aachen is a city in western Germany, situated in Nordrhein-Westfalen near the tri-border region with Belgium and the Netherlands. Its approximate coordinates are 50.7753° N, 6.0839° E. The city fuses a long-standing spa heritage with a contemporary emphasis on science and engineering. Historically, Aachen served as the...
aachen
tier2
aachen:noun:0
Aachen is a city in North Rhine-Westphalia, Germany, located near the Belgian and Dutch borders, known for its medieval heritage and as a modern university town.
aachen
tier2
aaliyah:encyclopedia
Aaliyah is a feminine given name of cross-cultural resonance, most commonly encountered in English-language contexts. Its etymology is typically traced to the Arabic root associated with “exalted” or “noble” and, through cross-cultural contact, to the Hebrew aliyah meaning “ascension” or “immigration to Israel.” The re...
aaliyah
tier3
aaliyah:noun:0
Aaliyah is a female given name of Arabic origin used in English-speaking contexts as a personal name.
aaliyah
tier3
aaliyah:noun:1
Aaliyah is the name of an American singer and actress who gained prominence in the late 1990s and early 2000s.
aaliyah
tier3
aardvark:encyclopedia
The aardvark is a nocturnal, insectivorous mammal native to sub-Saharan Africa. It is the sole living representative of the order Tubulidentata and the genus Orycteropus, with the species Orycteropus afer. The etymology traces to Afrikaans for “earth pig,” reflecting its fossorial habits. Its ecological significance li...
aardvark
tier2
aardvark:noun:0
A nocturnal insectivorous mammal of sub-Saharan Africa, the only living representative of the order Tubulidentata, characterized by a pig-like snout, long ears, strong forelimbs with digging claws, and tubulidentate teeth adapted for eating ants and termites.
aardvark
tier2
aaron:encyclopedia
Aaron Aaron is a name of enduring prominence in religious, literary, and secular contexts. Grounded in the Hebrew Aharon (transliterated as Aharon), the etymology is often associated with notions of elevation, exaltation, or a lofty place, though scholarly debates persist over the precise root meaning. In scriptural a...
aaron
core
aaron:noun:0
A male given name of Hebrew origin used as a forename in English and many other languages.
aaron
core
aaron:noun:1
A biblical figure, the brother of Moses, who served as the first high priest of the Israelites.
aaron
core
aba:encyclopedia
Aba is a term used in English primarily to denote a traditional outer garment of the Middle East and parts of North Africa. The garment, commonly rendered in Arabic as ʿabāʾ or ʿabāya, is typically a long, loose, and open-fronted cloak worn over other clothing. Historically, abas have been made from heavy woven materia...
aba
tier2
aba:noun:0
A loose, usually long, outer garment or cloak of Middle Eastern or North African origin, traditionally worn by men and sometimes by women, often made of wool or camel hair.
aba
tier2
aba:noun:2
An abbreviation used in academic and professional contexts for applied behavior analysis, a discipline that uses behavioral principles to bring about meaningful changes in behavior, especially in educational and clinical settings.
aba
tier2
aback:adjective:0
Indicating a state of surprise or astonishment in response to something unexpected or unusual.
aback
tier2
aback:adjective:1
Nautical and historical usage: of a sailing vessel, oriented backward with respect to the wind, typically with the sails backed or the helm set to face the wind; in this sense it denotes a backward orientation rather than a forward direction.
aback
tier2
aback:adverb:0
Towards the rear in space or orientation; in nautical usage, wind pressure may push a sail toward the stern, reducing forward motion.
aback
tier2
aback:adverb:1
Indicating surprise or astonishment in response to unexpected information or events.
aback
tier2
aback:encyclopedia
aback is a term with a dual life in English, spanning literal nautical usage and extended metaphorical meaning. In its nautical sense, to be aback describes a vessel whose sails are backed against the wind, producing back pressure that slows or reverses forward motion. In general speech, the phrase taken aback signals ...
aback
tier2
abacus:encyclopedia
Abacus An abacus is a counting frame enabling arithmetic by sliding beads along rods. It stands among the oldest calculating tools and a foundational element in the history of numeracy, commerce, and education. Though not a programmable machine, it offers a concrete, manipulable model of numbers that supports place-va...
abacus
tier2
abacus:noun:0
A rectangular counting device used to perform arithmetic operations by sliding beads on rods, attested from antiquity and employed across civilizations.
abacus
tier2
abaft:adverb:0
Toward or at the rear of a specified point; behind.
abaft
tier2
abaft:encyclopedia
abaft refers to a spatial relationship used primarily in nautical language to denote a position toward the rear of a vessel. As both a preposition and an adverb, it anchors descriptions of where objects, sails, or crew lie in relation to the ship’s stern. In common English, abaft carries a formal, sometimes archaic ton...
abaft
tier2
abaft:preposition:0
Behind or toward the stern from a specified point on a vessel.
abaft
tier2
abalone:encyclopedia
Abalone Abalone refers to a group of large marine gastropod mollusks in the family Haliotidae. These species inhabit temperate coastal regions of the Pacific, Indian, and Atlantic Oceans and are prized for their edible meat and striking shells. The animal’s shell is ear-shaped and typically features a single row of re...
abalone
tier2
abalone:noun:0
An edible marine gastropod mollusk of the family Haliotidae, having an ear-shaped shell with a row of respiratory openings.
abalone
tier2
abalone:noun:1
The shell of a marine gastropod, noted for its iridescent nacre used in inlays and jewelry.
abalone
tier2
abalone:noun:2
The edible flesh of a marine gastropod, eaten as seafood.
abalone
tier2
abandon:encyclopedia
Abandon Abandon is a versatile word in the English language with core meanings centered on leaving something behind, giving up a plan, or relinquishing control. As a verb, it is primarily transitive—used with an object as in “to abandon a project” or “to abandon a car.” Its past tense and past participle forms appear ...
abandon
core
abandon:noun:0
The act of leaving behind or giving up on something such as a project or plan.
abandon
core
abandon:noun:1
The state of being left alone or neglected; the condition of being forsaken.
abandon
core
abandon:verb:0
To leave someone or something behind, especially in a hurry or when they need care; to desert.
abandon
core
abandon:verb:1
To give up completely or stop using or doing something such as a habit, plan, or method.
abandon
core
abandon:verb:2
To yield to a strong emotion or impulse and act without restraint; to surrender self-control temporarily.
abandon
core
abandoned:adjective:0
Deserted or unoccupied; no longer inhabited or in use.
abandoned
core
abandoned:adjective:1
Neglected or forsaken; left without proper care or maintenance.
abandoned
core
abandoned:adjective:2
Unrestrained or reckless; acting without restraint or thoughtful planning.
abandoned
core
abandoned:encyclopedia
Abandoned Abandoned is an adjective describing something left behind with little or no expectation of care, return, or control. It also serves as the past participle form of the verb abandon, meaning to leave something or someone behind, often abruptly or without consent. In everyday use, abandoned signals neglect, da...
abandoned
core
abandoned:verb:0
To leave someone or something behind and no longer provide support.
abandoned
core
abandoning:encyclopedia
Abandoning At its core, the verb form abandoning refers to the act of ceasing to support, retain, or remain with someone or something. Derived from the verb abandon, it is most commonly used to describe voluntary relinquishment or desertion—whether leaving a person, place, obligation, or project. In grammatical terms,...
abandoning
tier2
abandoning:noun:0
The act or process of ceasing to support, care for, or maintain someone or something; leaving it behind.
abandoning
tier2
abandoning:noun:1
The state or condition of being left without support, care, or maintenance; a situation of neglect.
abandoning
tier2
abandoning:verb:0
To desert or leave behind a person, place, or thing, often abruptly or without intention to return.
abandoning
tier2
abandoning:verb:1
To withdraw or discontinue support, engagement, or commitments, notably in policy, treaty, or program contexts.
abandoning
tier2
abandoning:verb:3
To fail to fulfill duties or obligations toward others or toward an institution; to neglect obligations.
abandoning
tier2
abandonment:encyclopedia
Abandonment is the act or experience of being left by someone who is trusted or needed for support. In everyday use, it can refer to a physical leaving—such as a caregiver moving away—or to an emotional sense of being neglected or forsaken. For students and educators, understanding abandonment helps explain feelings in...
abandonment
tier2
abandonment:noun:0
The act of giving up or stopping support, care, or involvement for someone or something.
abandonment
tier2
abandonment:noun:1
An emotional state arising from perceived neglect or desertion by a caregiver or partner.
abandonment
tier2
abandonment:noun:2
The voluntary relinquishment of ownership or rights to property or a claim, often in legal contexts.
abandonment
tier2
abase:encyclopedia
abase denotes the act of lowering someone’s dignity or standing through contempt, insult, or coercion. In general usage, the term captures intentional demeaning behavior that aims to suppress autonomy or social agency. Its significance lies not only in the emotional harm it communicates but also in its role within powe...
abase
tier3
abase:verb:0
To lower in rank dignity or value by action or speech; to degrade or humiliate someone or something.
abase
tier3
abased:adjective:0
Degraded in dignity or esteem due to external judgment or disgrace; lowered in status or self-respect.
abased
tier3
abased:adjective:1
Lowered in rank or social standing by external authority; relating to demotion.
abased
tier3
abased:adjective:2
Characterized by humility or a self effacing attitude; not asserting one’s importance.
abased
tier3
abased:encyclopedia
Abased The adjective and past participle abased denote a state of being lowered in status, dignity, or esteem, or the act of causing such a lowering. Stemming from the verb abase, meaning to debase or degrade, the term frames social interactions and moral judgments around power asymmetries. In scholarly writing, abase...
abased
tier3
abased:verb:0
To degrade or belittle a person or their status through actions, language, or treatment; to reduce in dignity or esteem.
abased
tier3
abased:verb:1
To abase oneself; to humble or lower one's own dignity or status, typically in apology or submission.
abased
tier3
abased:verb:2
To lower in rank or standing within an organization or system, typically through formal discipline or administrative action.
abased
tier3
abasement:encyclopedia
Abasement is the act or process of lowering someone's dignity, status, or self-regard, often through public or coercive means. In general usage it denotes a decrease in social standing or self-worth, and can arise in interpersonal interactions, institutional punishment, or ritual practice. The concept has interdiscipli...
abasement
tier3
abasement:noun:0
An act or instance of humiliating someone or lowering their dignity, typically by coercive or public means.
abasement
tier3
abases:encyclopedia
ABASES abases is the third-person singular present tense of the transitive verb abase, meaning to lower someone in rank, dignity, or esteem; or to humble or degrade. The concept sits at the intersection of linguistics, ethics, and social power, because to abase another is to enact social subordination or moral sanctio...
abases
tier3
abases:verb:0
To lower in dignity, rank, or esteem; to degrade or humiliate someone, often through abusive or belittling treatment.
abases
tier3
abash:encyclopedia
abash is a transitive verb in English meaning to cause someone to feel embarrassed, disconcerted, or ashamed. In everyday speech it is comparatively formal or literary, yet it remains productive in prose, poetry, and academic writing when a precise nuance is required. The related adjective abashed denotes the feeling o...
abash
tier2
abash:verb:0
To cause someone to feel embarrassed or self-conscious; to embarrass.
abash
tier2
abasing:adjective:0
Humiliating or demeaning in tone, language, or action; intended to reduce another's dignity.
abasing
tier3
abasing:encyclopedia
Abasing Abasing refers to the act or process of lowering someone's dignity, status, or self-respect, often through language, behavior, or social penalties. The verb abase signals a transfer of standing within social hierarchies and moral judgments, and the noun form abasing denotes the ongoing process rather than a si...
abasing
tier3
abasing:noun:0
The act or instance of humiliating or degrading a person through actions or speech.
abasing
tier3
abasing:noun:1
The state or condition of being humiliated, subordinated, or reduced in status.
abasing
tier3
abasing:noun:2
Discussion of humiliation and degradation in various contexts, including self-humiliation and ceremonial submission.
abasing
tier3
abasing:verb:0
To degrade or belittle someone, lowering their dignity or status through speech or actions.
abasing
tier3
abasing:verb:1
To lower one's dignity or status through one's own actions; to practice self-humiliation or self-deprecation.
abasing
tier3
abate:encyclopedia
Abate abate is a versatile verb that means to become less intense, to lessen in amount or force, or to cause something to decrease. In everyday speech we might say the storm began to abate, the noise finally abated, or a pain slowly abated. In more formal or academic writing, the term often appears with nouns such as ...
abate
tier2
abate:verb:0
To become less strong, intense, or severe; to decrease in degree or severity.
abate
tier2
abate:verb:1
To reduce or remove a nuisance or burden, usually by legal or official action.
abate
tier2
abatement:encyclopedia
Core concept and significance Abatement refers to the act or process of reducing, preventing, or eliminating something undesirable. In general usage, it denotes a deliberate diminution of severity, presence, or intensity. The concept is central to environmental policy, public health, and law, where institutions design...
abatement
tier2
abatement:noun:0
A reduction in the magnitude or severity of a phenomenon, condition, or quantity.
abatement
tier2
abatement:noun:1
In legal and administrative contexts, the act of removing or mitigating a nuisance or unlawful condition.
abatement
tier2
abatement:noun:2
Reduction of tax liability or assessments granted by a public authority.
abatement
tier2
abattoir:encyclopedia
Abattoir Abattoir denotes a facility where animals are slaughtered for food production within a regulated supply chain. In many contexts it is synonymous with a slaughterhouse, though terminology and regulatory distinctions vary by country. The abattoir functions as the operational hinge between farming and meat proce...
abattoir
tier2
abattoir:noun:0
A facility where animals are slaughtered for meat; a slaughterhouse used for meat processing.
abattoir
tier2
abattoir:noun:1
A term used chiefly in British Commonwealth English for a slaughterhouse, especially in contrast to American usage.
abattoir
tier2
abba:encyclopedia
abba is a Semitic term of address meaning “father”, best known from its appearance in the Aramaic sections of the New Testament, where it is used as a vocative for God. In its original Aramaic context (ʾabbā), the word functions as an intimate yet respectful way of saying “father,” comparable to “dear father” rather th...
abba
tier2
abba:noun:0
In biblical and early Christian usage, a respectful and intimate term for father, especially used in addressing God in prayer and sometimes a male parent or spiritual leader.
abba
tier2
abbasid:adjective:0
Relating to the Abbasid Caliphate (750–1258 CE) and its cultural, political, and administrative milieu; used to describe artifacts, architecture, or scholarship arising from this dynasty.
abbasid
tier2
abbasid:encyclopedia
Abbasid Caliphate Abbasid Caliphate refers to the dynasty that ruled a vast Islamic empire from about 750 to 1258 CE, with a later ceremonial revival in Cairo into the early modern period. Descended from al-‘Abbās, the Prophet Muhammad’s uncle, the Abbasids overthrew the Umayyad regime and redirected political power t...
abbasid
tier2
abbasid:noun:0
A person belonging to the Abbasid dynasty, the ruling family that held the caliphate of the Islamic world from the mid-8th to the 13th century, historically centered in Baghdad.
abbasid
tier2
abbasid:noun:1
The Abbasid Caliphate, the Islamic empire established by the Abbasid dynasty with its capital at Baghdad, at its height spanning much of the Middle East, North Africa, and Central Asia.
abbasid
tier2
abbasid:noun:2
The administrative framework of the Abbasid regime, including centralized governance, the diwān fiscal offices, and provincial appointments.
abbasid
tier2
abbasid:noun:3
In contemporary scholarship, the Abbasid label denotes scholarly studies and historiography focusing on the Abbasid dynasty and its era.
abbasid
tier2
abbess:encyclopedia
Abbess An abbess is the female superior of a community of nuns in many Christian traditions, serving a role analogous to the male abbot. The office combines spiritual authority with practical governance, extending over the life of the monastery, its members, and often its allies in the surrounding locality. In monasti...
abbess
tier2
abbess:noun:0
The female head of an abbey, the superior of a community of nuns.
abbess
tier2
abbey:encyclopedia
An abbey is a self-governing religious community and its contiguous sacred precinct, primarily within the Western Christian tradition but with analogous forms elsewhere. The term denotes both the physical complex—comprising a church or cathedral, cloister, dormitories, refectory, infirmary, and often a scriptorium—and ...
abbey
core
abbey:noun:0
A monastery building and its accompanying church, typically under the authority of an abbot or abbess, with related monastic structures.
abbey
core
abbey:noun:1
A monastic community together with the institution governing and administering it.
abbey
core
End of preview. Expand in Data Studio

OpenGloss v2.0 — Qrels

A ready-to-score retrieval benchmark built from the release's own graph. The listwise config gives one query with its whole graded candidate list; the docs config is the document corpus those candidate ids address; and qrels.trec at the repo root is the same judgements in standard trec_eval format. Grades are 3 (the query's own sense), 2 (a direct synonym), 1 (a direct hypernym, a co-hyponym, or a polysemous entry's encyclopedia article) and 0 (everything else). The tiers are disjoint by construction: no document is offered twice at two grades for one query.

Part of the OpenGloss v2.0 release family — 15 datasets built from one store of 54,724 lexemes and 137,314 live senses, all joinable on derived ids. See Related datasets for the rest.

What's new in v2.0 vs v1.3

  1. Schema v3. Every lexeme carries a kind discriminator (simplex, compound, phrasal verb, idiom, proper noun, abbreviation, affix, function word); every sense carries a controlled domain leaf from a fixed ~160-leaf taxonomy instead of free text; every example carries the character span of the headword occurrence inside it.
  2. Renditions, not one string. A definition is a set: the canonical one plus rewrites at four reading levels and in four registers, each produced in a single call from the canonical text so they say the same thing at different altitudes.
  3. A sense graph, not a word graph. Typed relations resolve to sense ids wherever the target's entry exists in the release, so bank --hypernym--> financial institution points at a meaning rather than at a string.
  4. Retrieval data is first-class. Synthetic per-sense queries in eight styles, grounded QA pairs, mined word-in-context pairs, MS MARCO-style triples with graph-derived hard negatives, and graded TREC qrels — all derivable from, and consistent with, the same entries.
  5. Derivable identifiers everywhere. v1.3 published a positional id for lexemes and senses (3d_model_noun_0) and nothing below that. v2.0 gives every rendition, edge, query, QA pair and provenance record an id computable from the row alone, and never renumbers: a retired sense is tombstoned, so the ids after it keep their meaning.
  6. Per-field provenance. Which model wrote a field, how many tokens it took, what it cost — published as its own dataset.

Scope: fewer headwords, far more per headword

v2.0 is not a superset of v1.3. It covers 54,724 lexemes — a frequency-ranked subset of v1.3's 205,983 — and spends the difference on depth. If you need breadth of vocabulary, use v1.3; if you need graded renditions, resolved relations, spans, or retrieval supervision, use v2.0.

v1.3 v2.0
Lexemes 205,983 54,724
Senses 565,604 137,314
Definition renditions per sense 1 canonical 1 canonical + up to 8 graded
Relation targets bare strings resolved to sense ids
Retrieval training data companion sets queries, QA, triples, qrels
Per-field provenance no model, tokens and cost per call

Key statistics

Lexemes 54,724
Live senses 137,314
Rows in this dataset 1,548,780
docs_written 192,025
entries_scanned 54,724
listwise_queries_written 1,356,755
qrels_written 10,351,441
queries_considered 1,356,755
senses_considered 137,314

By tier

Tier Lexemes Live senses
core 10,000 34,015
tier2 31,886 76,855
tier3 12,838 26,444

Coverage by tier

The release was built in three frequency-ranked passes and they did not all receive the same stages. This table is per-field and per-tier so the gaps are visible rather than averaged away.

Field Of core tier2 tier3
Canonical gloss sense 100.0% 100.0% 100.0%
Controlled domain tag sense 100.0% 100.0% 100.0%
Gloss at 4 reading levels sense 100.0% 99.9% 99.9%
Gloss in 4 registers sense 100.0% 100.0% 0.0%
At least one example sense 100.0% 99.9% 99.8%
Examples at 4 reading levels sense 99.0% 99.6% 99.8%
At least one relation sense 96.8% 97.3% 98.0%
Synthetic retrieval queries sense 100.0% 100.0% 0.0%
Grounded QA pairs sense 99.8% 99.6% 0.0%
Etymology lexeme 100.0% 100.0% 99.8%
Lexical explanation lexeme 100.0% 100.0% 100.0%
Encyclopedia (neutral) lexeme 100.0% 100.0% 100.0%
Encyclopedia at grade 5 + college (core entries also carry grade 1 and grade 10) lexeme 100.0% 100.0% 100.0%
Contrast paragraphs lexeme 72.8% 55.1% 0.0%

Files

Files Config Rows Shards Size
data/listwise/train-*.parquet listwise 1,356,755 3 150.0 MB
data/docs/train-*.parquet docs 192,025 1 57.9 MB

Fields

Config listwise

1,356,755 rows, one row per query, with its whole graded candidate list.

Field Type Description
query_id string The query's id; matches column 1 of qrels.trec.
query string The query text.
query_source string generated or gloss_pseudo.
sense_id string The sense the query belongs to. Join key.
lexeme_id string That sense's entry id.
candidates list<struct<id, text, grade>> The graded candidate documents: id into the docs config, text, and grade 0–3.
n_candidates int32 Length of candidates.
tier string Tier of the query's entry.

One real row:

{
  "query_id": "aaa:interjection:0#q1",
  "query": "reflex cry from sudden pain",
  "query_source": "generated",
  "sense_id": "aaa:interjection:0",
  "lexeme_id": "aaa",
  "candidates": [
    {
      "id": "aaa:interjection:0",
      "text": "An interjection used to indicate sudden physical or emotional discomfort, typically produced as a reflexive reaction to pain or injury.",
      "grade": 3
    },
    {
      "id": "ouch:interjection:0",
      "text": "Interjection used to express sudden physical pain or discomfort in response to a minor injury or sensory insult.",
      "grade": 2
    },
    {
      "id": "damnation:interjection:0",
      "text": "An archaic interjection used to express condemnation or dismay toward a person, action, or circumstance, invoking the notion of divine punishment.",
      "grade": 1
    },
    "… 6 more of 9"
  ],
  "n_candidates": 9,
  "tier": "core"
}

Config docs

192,025 rows, one row per document in the retrieval corpus.

Field Type Description
doc_id string A sense id (the document is that sense's canonical gloss) or a {lexeme_id}:encyclopedia id.
text string The document text.
lexeme_id string The entry the document belongs to. Join key.
tier string Tier of that entry.

One real row:

{
  "doc_id": "aaa:encyclopedia",
  "text": "The string AAA operates as a cross-domain acronym and symbol in contemporary discourse, illustrating how a simple three-letter sequence can encode multiple high-salience concepts. While the all-lowercase form aaa often appears as a neutral placeholder or in instructional examples, the capitalized variant AAA signals do … [truncated for this card]",
  "lexeme_id": "aaa",
  "tier": "core"
}

Loading it

from datasets import load_dataset

# configs: "listwise", "docs"
ds = load_dataset("mjbommar/opengloss-v2.0-qrels", "listwise", split="train")
print(ds)
print(ds[0])

The shards are plain parquet, so nothing forces you through datasets — read them straight, locally or over hf://:

import polars as pl

df = pl.read_parquet("hf://datasets/mjbommar/opengloss-v2.0-qrels/data/listwise/train-*.parquet")
print(df.head())
import duckdb

duckdb.sql("SELECT count(*) FROM 'hf://datasets/mjbommar/opengloss-v2.0-qrels/data/listwise/train-*.parquet'").show()

Beside the parquet shards this repo carries:

  • qrels.trec — The graded judgements in standard trec_eval format: query_id 0 doc_id grade, one per line.

Score a run with pytrec_eval

import pytrec_eval
from huggingface_hub import hf_hub_download

path = hf_hub_download(
    "mjbommar/opengloss-v2.0-qrels", "qrels.trec", repo_type="dataset"
)
with open(path, encoding="utf-8") as handle:
    qrels = {}
    for line in handle:
        qid, _, docid, grade = line.split()
        qrels.setdefault(qid, {})[docid] = int(grade)

# run = {query_id: {doc_id: score}} from your own retriever
evaluator = pytrec_eval.RelevanceEvaluator(qrels, {"ndcg_cut_10", "recall_100"})
results = evaluator.evaluate(run)

Identifiers, and how they compose

Every id is derived from structure, never randomly minted, so a consumer can recompute one from a row and join across the whole family without a lookup table. Sense positions are stable across regenerations: a retired sense is tombstoned, not removed, so the indices after it never shift.

Id Shape Example
Lexeme slugify(headword) abseil
Sense {lexeme_id}:{pos}:{index} (zero-based) abseil:verb:0
Rendition {owner_id}#{reading_level}/{register} abseil:verb:0#grade_5/plain
Entry-level owner {lexeme_id}:encyclopedia / :explanation abseil:encyclopedia
Edge {source_sense_id}-{type}->{target_lexeme_id} abseil:verb:0-synonym->rappel
Query {sense_id}#q{n} (zero-based) abseil:verb:0#q3
QA pair {sense_id}#qa{n} (zero-based) abseil:verb:0#qa3
Provenance record p{n} within its entry (one-based) p12

An edge id keys on the target's slug, not on the target's sense, so resolving a target never changes the id of the edge that found it.

Reading levels and registers

A rendition is keyed on a (reading_level, register) pair. The canonical rendition of every field is (neutral, plain); everything else is a rewrite of it.

reading_level Who it is written for Rough CCSS band
neutral The canonical text: an adult general reader, no level targeted
grade_1 Beginning readers; short sentences, common words K–1
grade_5 Upper elementary 4–5
grade_10 Secondary 9–10
college Undergraduate and above; technical vocabulary allowed 11–CCR
register What changes Reading it
plain Nothing — the neutral register The default
informal Conversational, contractions, everyday words How you'd say it to a friend
formal Full forms, precise hedging, no contractions How you'd write it in a report
technical Domain vocabulary, exact conditions How a specialist would state it
marketing Benefit-first, persuasive framing A genre, not a formality level

marketing sits on the register axis for convenience but is a genre value rather than a point on the formality scale — worth remembering if you train a formality classifier on this column.

Related datasets

Everything below is built from the same store and joins on lexeme_id / sense_id.

Dataset Grain What it holds
opengloss-v2.0-lexicon one row per lexeme One row per lexeme: kind, morphology, etymology, encyclopedia, contrasts, sense ids, provenance summary.
opengloss-v2.0-senses one row per live sense One row per live sense: canonical gloss, 8 gloss renditions, examples, resolved relations, synthetic queries, grounded QA pairs.
opengloss-v2.0-definitions one row per gloss rendition One row per gloss rendition (canonical included): reading level, register, text, readability grade.
opengloss-v2.0-examples one row per example rendition One row per example sentence with the headword's character span, its reading level and register.
opengloss-v2.0-encyclopedia one row per encyclopedia rendition · one row per lexical-explanation rendition One row per encyclopedia article rendition, plus an explanation config for the "why this word" prose.
opengloss-v2.0-etymology one row per entry with an etymology One row per entry with an etymology: prose summary, ordered language trail, cognates, references.
opengloss-v2.0-relations one row per live relation edge · one row per removed relation edge One row per semantic edge, resolved to target sense ids; a tombstoned config recovers the edges the reconcile pass removed.
opengloss-v2.0-queries one row per synthetic query One row per synthetic retrieval query, across eight query styles, tagged to the sense it should retrieve.
opengloss-v2.0-qa-pairs one row per question/answer pair One row per grounded question/answer pair, with the rendition ids the answer cites.
opengloss-v2.0-contrasts one row per contrast paragraph One row per "X vs Y" paragraph on a synonym/antonym/confusable edge, with a verdict on the edge.
opengloss-v2.0-provenance one row per provenance record One row per recorded generation call: stage, model, tokens, cost, run id — the audit trail.
opengloss-v2.0-retrieval-pairs one row per mined pair Word-in-context and doc2query-shaped (text_a, text_b, label) pairs mined from the store for free.
opengloss-v2.0-retrieval-triples one row per (query, positive, negative) triple MS MARCO-style (query, positive, negative) triples whose hard negatives come from the graph.
opengloss-v2.0-qrels (this one) one row per query, with its whole graded candidate list · one row per document in the retrieval corpus Graded TREC relevance judgements (0–3) plus the document corpus and listwise candidate lists.
opengloss-v2.0-pretrain one row per rendered document Entries serialised into plain-prose dictionary, thesaurus, encyclopedia and usage-note documents.

Known limitations

  • It is synthetic. Every string here was written by a language model against a schema, not transcribed from a corpus or checked by a lexicographer. It is well-formed and internally consistent; it is not attested usage, and it will contain confident errors. Do not use it as ground truth about what a word means.
  • Judge scores 70.2/100 (core + tier 2) and 66.7/100 (tier 3). A different model family (Claude Opus) scored fixed 40-entry stratified samples at the close of each build. Sample statistics, not per-entry guarantees, and the judge is itself a model.
  • Relation precision is the weakest axis. Relations were judged for validity and the ones that failed were demoted rather than asserted; symmetric reciprocity finished at 98.0% for synonyms and 99.1% for antonyms, and 3,709 senses were left with no relation at all. Treat a single edge as a hypothesis, not a fact; treat the aggregate graph as usable.
  • Tier 3 is deliberately partial. 12,838 lexemes received the text stages (glosses, examples, encyclopedia) but not the queries, QA pairs, contrasts or register renditions. The coverage table above gives the exact per-field share; nothing is hidden behind an average.
  • The encyclopedia is entry-level. One article per headword, about the headword as a whole. On a polysemous entry it is not a description of any one sense, and it is never used as a positive for one (D-71). It is entry-level reference prose, not a specialist article.
  • Pseudo-queries. A sense with no written query falls back to its grade_5/plain gloss standing in as one; query_source says which happened, and a pseudo-query is a paraphrase of the document it is supposed to retrieve, which makes it easier than a real query. Filter on query_source == 'generated' for the harder set.

Citation

@misc{bommarito2025opengloss,
  title  = {OpenGloss: A Synthetic Encyclopedic Dictionary and Semantic Knowledge Graph},
  author = {Bommarito, Michael J., II},
  year   = {2025},
  eprint = {2511.18622},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2511.18622}
}

License

Released under Creative Commons Attribution 4.0 International (CC-BY 4.0). Attribution to the OpenGloss project is required; commercial use is permitted.

Downloads last month
10

Paper for mjbommar/opengloss-v2.0-qrels