BeIR/dbpedia-entity

Dataset

18

stars

7

commits

4

linked in READMEs

Apr 9, 2026

updated

argument-retrieval
biomedical-information-retrieval
citation-prediction-retrieval
duplication-question-retrieval
news-retrieval
passage-retrieval
question-answering-retrieval
tweet-retrieval
zero-shot-information-retrieval
zero-shot-retrieval

README

Dataset Card for BEIR Benchmark

dbpedia-entity is one of the datasets from the Entity Retrieval task within BEIR, measuring the retrieval of DbPedia articles for a given query entity.

Dataset Description

Dataset Summary

BEIR is a heterogeneous benchmark built from 18 diverse datasets representing 9 information retrieval tasks.

Languages

All tasks are in English (en).

Dataset Structure

This dataset uses the standard BEIR retrieval layout and includes:

  • corpus: one row per document with _id, title, text
  • queries: one row per query with _id, title, text

Data Fields

  • _id (string): unique identifier
  • title (string): title (empty string when unavailable)
  • text (string): document/query text

Data Instances

A high level example of any BEIR dataset:

corpus = {
    "doc1" : {
        "title": "Albert Einstein",
        "text": "Albert Einstein was a German-born theoretical physicist. who developed the theory of relativity, \
                 one of the two pillars of modern physics (alongside quantum mechanics). His work is also known for \
                 its influence on the philosophy of science. He is best known to the general public for his mass–energy \
                 equivalence formula E = mc2, which has been dubbed 'the world's most famous equation'. He received the 1921 \
                 Nobel Prize in Physics 'for his services to theoretical physics, and especially for his discovery of the law \
                 of the photoelectric effect', a pivotal step in the development of quantum theory."
        },
    "doc2" : {
        "title": "", # Keep title an empty string if not present
        "text": "Wheat beer is a top-fermented beer which is brewed with a large proportion of wheat relative to the amount of \
                 malted barley. The two main varieties are German Weißbier and Belgian witbier; other types include Lambic (made\
                 with wild yeast), Berliner Weisse (a cloudy, sour beer), and Gose (a sour, salty beer)."
    },
}

queries = {
    "q1" : "Who developed the mass-energy equivalence formula?",
    "q2" : "Which beer is brewed with a large proportion of wheat?"
}

qrels = {
    "q1" : {"doc1": 1},
    "q2" : {"doc2": 1},
}

DBPedia Data Splits

SubsetSplitRows
corpuscorpus4,635,922
queriesqueries467

BEIR Direct Download

You can also download BEIR datasets directly (without loading through Hugging Face datasets) using the links below.

DatasetWebsiteBEIR-NameTypeQueriesCorpusRel D/QDown-loadmd5
MSMARCOHomepagemsmarcotrain dev test6,9808.84M1.1Link444067daf65d982533ea17ebd59501e4
TREC-COVIDHomepagetrec-covidtest50171K493.5Linkce62140cb23feb9becf6270d0d1fe6d1
NFCorpusHomepagenfcorpustrain dev test3233.6K38.2Linka89dba18a62ef92f7d323ec890a0d38d
BioASQHomepagebioasqtrain test50014.91M8.05NoHow to Reproduce?
NQHomepagenqtrain test3,4522.68M1.2Linkd4d3d2e48787a744b6f6e691ff534307
HotpotQAHomepagehotpotqatrain dev test7,4055.23M2.0Linkf412724f78b0d91183a0e86805e16114
FiQA-2018Homepagefiqatrain dev test64857K2.6Link17918ed23cd04fb15047f73e6c3bd9d9
Signal-1M(RT)Homepagesignal1mtest972.86M19.6NoHow to Reproduce?
TREC-NEWSHomepagetrec-newstest57595K19.6NoHow to Reproduce?
ArguAnaHomepagearguanatest1,4068.67K1.0Link8ad3e3c2a5867cdced806d6503f29b99
Touche-2020Homepagewebis-touche2020test49382K19.0Link46f650ba5a527fc69e0a6521c5a23563
CQADupstackHomepagecqadupstacktest13,145457K1.4Link4e41456d7df8ee7760a7f866133bda78
QuoraHomepagequoradev test10,000523K1.6Link18fb154900ba42a600f84b839c173167
DBPediaHomepagedbpedia-entitydev test4004.63M38.2Linkc2a39eb420a3164af735795df012ac2c
SCIDOCSHomepagescidocstest1,00025K4.9Link38121350fc3a4d2f48850f6aff52e4a9
FEVERHomepagefevertrain dev test6,6665.42M1.2Link5a818580227bfb4b35bb6fa46d9b6c03
Climate-FEVERHomepageclimate-fevertest1,5355.42M3.0Link8b66f0a9126c521bae2bde127b4dc99d
SciFactHomepagescifacttrain test3005K1.1Link5f7d1de60b170fc8027bb7898e2efca1
Robust04Homepagerobust04test249528K69.9NoHow to Reproduce?

Citation Information

@inproceedings{
thakur2021beir,
title={{BEIR}: A Heterogeneous Benchmark for Zero-shot Evaluation of Information Retrieval Models},
author={Nandan Thakur and Nils Reimers and Andreas R{\"u}ckl{\'e} and Abhishek Srivastava and Iryna Gurevych},
booktitle={Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 2)},
year={2021},
url={https://openreview.net/forum?id=wCu6T5xFjeJ}
}

Contributors

nthakur

5 commits

julien-c

1 commits

BeIR/dbpedia-entity

Dataset

18

stars

7

commits

4

linked in READMEs

Apr 9, 2026

updated

argument-retrieval
biomedical-information-retrieval
citation-prediction-retrieval
duplication-question-retrieval
news-retrieval
passage-retrieval
question-answering-retrieval
tweet-retrieval
zero-shot-information-retrieval
zero-shot-retrieval

README

Dataset Card for BEIR Benchmark

dbpedia-entity is one of the datasets from the Entity Retrieval task within BEIR, measuring the retrieval of DbPedia articles for a given query entity.

Dataset Description

Dataset Summary

BEIR is a heterogeneous benchmark built from 18 diverse datasets representing 9 information retrieval tasks.

Languages

All tasks are in English (en).

Dataset Structure

This dataset uses the standard BEIR retrieval layout and includes:

  • corpus: one row per document with _id, title, text
  • queries: one row per query with _id, title, text

Data Fields

  • _id (string): unique identifier
  • title (string): title (empty string when unavailable)
  • text (string): document/query text

Data Instances

A high level example of any BEIR dataset:

corpus = {
    "doc1" : {
        "title": "Albert Einstein",
        "text": "Albert Einstein was a German-born theoretical physicist. who developed the theory of relativity, \
                 one of the two pillars of modern physics (alongside quantum mechanics). His work is also known for \
                 its influence on the philosophy of science. He is best known to the general public for his mass–energy \
                 equivalence formula E = mc2, which has been dubbed 'the world's most famous equation'. He received the 1921 \
                 Nobel Prize in Physics 'for his services to theoretical physics, and especially for his discovery of the law \
                 of the photoelectric effect', a pivotal step in the development of quantum theory."
        },
    "doc2" : {
        "title": "", # Keep title an empty string if not present
        "text": "Wheat beer is a top-fermented beer which is brewed with a large proportion of wheat relative to the amount of \
                 malted barley. The two main varieties are German Weißbier and Belgian witbier; other types include Lambic (made\
                 with wild yeast), Berliner Weisse (a cloudy, sour beer), and Gose (a sour, salty beer)."
    },
}

queries = {
    "q1" : "Who developed the mass-energy equivalence formula?",
    "q2" : "Which beer is brewed with a large proportion of wheat?"
}

qrels = {
    "q1" : {"doc1": 1},
    "q2" : {"doc2": 1},
}

DBPedia Data Splits

SubsetSplitRows
corpuscorpus4,635,922
queriesqueries467

BEIR Direct Download

You can also download BEIR datasets directly (without loading through Hugging Face datasets) using the links below.

DatasetWebsiteBEIR-NameTypeQueriesCorpusRel D/QDown-loadmd5
MSMARCOHomepagemsmarcotrain dev test6,9808.84M1.1Link444067daf65d982533ea17ebd59501e4
TREC-COVIDHomepagetrec-covidtest50171K493.5Linkce62140cb23feb9becf6270d0d1fe6d1
NFCorpusHomepagenfcorpustrain dev test3233.6K38.2Linka89dba18a62ef92f7d323ec890a0d38d
BioASQHomepagebioasqtrain test50014.91M8.05NoHow to Reproduce?
NQHomepagenqtrain test3,4522.68M1.2Linkd4d3d2e48787a744b6f6e691ff534307
HotpotQAHomepagehotpotqatrain dev test7,4055.23M2.0Linkf412724f78b0d91183a0e86805e16114
FiQA-2018Homepagefiqatrain dev test64857K2.6Link17918ed23cd04fb15047f73e6c3bd9d9
Signal-1M(RT)Homepagesignal1mtest972.86M19.6NoHow to Reproduce?
TREC-NEWSHomepagetrec-newstest57595K19.6NoHow to Reproduce?
ArguAnaHomepagearguanatest1,4068.67K1.0Link8ad3e3c2a5867cdced806d6503f29b99
Touche-2020Homepagewebis-touche2020test49382K19.0Link46f650ba5a527fc69e0a6521c5a23563
CQADupstackHomepagecqadupstacktest13,145457K1.4Link4e41456d7df8ee7760a7f866133bda78
QuoraHomepagequoradev test10,000523K1.6Link18fb154900ba42a600f84b839c173167
DBPediaHomepagedbpedia-entitydev test4004.63M38.2Linkc2a39eb420a3164af735795df012ac2c
SCIDOCSHomepagescidocstest1,00025K4.9Link38121350fc3a4d2f48850f6aff52e4a9
FEVERHomepagefevertrain dev test6,6665.42M1.2Link5a818580227bfb4b35bb6fa46d9b6c03
Climate-FEVERHomepageclimate-fevertest1,5355.42M3.0Link8b66f0a9126c521bae2bde127b4dc99d
SciFactHomepagescifacttrain test3005K1.1Link5f7d1de60b170fc8027bb7898e2efca1
Robust04Homepagerobust04test249528K69.9NoHow to Reproduce?

Citation Information

@inproceedings{
thakur2021beir,
title={{BEIR}: A Heterogeneous Benchmark for Zero-shot Evaluation of Information Retrieval Models},
author={Nandan Thakur and Nils Reimers and Andreas R{\"u}ckl{\'e} and Abhishek Srivastava and Iryna Gurevych},
booktitle={Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 2)},
year={2021},
url={https://openreview.net/forum?id=wCu6T5xFjeJ}
}

Contributors

nthakur

5 commits

julien-c

1 commits