qid
stringlengths 2
10
| label
stringlengths 1
246
| description
stringlengths 2
250
| enwiki_title
stringlengths 1
211
| wikipedia_url
stringlengths 31
381
| images
listlengths 0
82
| has_image
bool 2
classes | image_count
int32 0
82
|
---|---|---|---|---|---|---|---|
Q31
|
Belgium
|
country in western Europe
|
Belgium
|
https://en.wikipedia.org/wiki/Belgium
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Belgique%20-%20Bruxelles%20-%20Grand-Place%20-%20C%C3%B4t%C3%A9%20nord-est.jpg?width=1024"
] | true | 1 |
Q8
|
happiness
|
positive emotional state
|
Happiness
|
https://en.wikipedia.org/wiki/Happiness
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Sweet%20Baby%20Kisses%20Family%20Love.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Happiness%20.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Felicidade%20A%20very%20happy%20boy.jpg?width=1024"
] | true | 3 |
Q24
|
Jack Bauer
|
character from the television series 24
|
Jack Bauer
|
https://en.wikipedia.org/wiki/Jack_Bauer
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Kiefer%20Sutherland%20at%2024%20Redemption%20premiere%201%20%28headshot%29.jpg?width=1024"
] | true | 1 |
Q42
|
Douglas Adams
|
English science fiction writer and humorist (1952–2001)
|
Douglas Adams
|
https://en.wikipedia.org/wiki/Douglas_Adams
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Douglas%20adams%20portrait.jpg?width=1024"
] | true | 1 |
Q1868
|
Paul Otlet
|
Belgian author, librarian and anti-colonial thinker
|
Paul Otlet
|
https://en.wikipedia.org/wiki/Paul_Otlet
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Paul%20Otlet%20%C3%A0%20son%20bureau%20%28cropped%29.jpg?width=1024"
] | true | 1 |
Q2013
|
Wikidata
|
free multilingual online knowledge graph
|
Wikidata
|
https://en.wikipedia.org/wiki/Wikidata
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Wikidata-Homepage%2020220422%2021%2018%2054.png?width=1024"
] | true | 1 |
Q45
|
Portugal
|
country in Southwestern Europe
|
Portugal
|
https://en.wikipedia.org/wiki/Portugal
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Portugal%20-%20Location%20Map%20%282013%29%20-%20PRT%20-%20UNOCHA.svg?width=1024"
] | true | 1 |
Q51
|
Antarctica
|
polar continent
|
Antarctica
|
https://en.wikipedia.org/wiki/Antarctica
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Antarctica%206400px%20from%20Blue%20Marble.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/1%20Almirante%20Brown%20-%20Antarktische%20Halbinsel.jpg?width=1024"
] | true | 2 |
Q58
|
penis
|
primary sexual organ of male animals
|
Penis
|
https://en.wikipedia.org/wiki/Penis
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Penis%20asiatischer%20Elefant.JPG?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Mallard%20with%20visible%20penis%20%28cropped%29.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Callosobruchus%20analis%20penis.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Penisstacheln.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Mammalian%20penises.jpg?width=1024"
] | true | 5 |
Q68
|
computer
|
general-purpose device for performing arithmetic or logical operations
|
Computer
|
https://en.wikipedia.org/wiki/Computer
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Summit%20%28supercomputer%29.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Z3%20Deutsches%20Museum.JPG?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Apple%20II%20Plus%2C%20Museum%20of%20the%20Moving%20Image.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Lenovo%20G500s%20laptop-2903.jpg?width=1024"
] | true | 4 |
Q75
|
Internet
|
global system of connected computer networks based on IP addressing and routing protocols
|
Internet
|
https://en.wikipedia.org/wiki/Internet
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Internet%20users%20per%20100%20and%20GDP%20per%20capita.jpg?width=1024"
] | true | 1 |
Q102
|
pneumonoultramicroscopicsilicovolcanoconiosis
|
artificial word for a lung disease; longest English word published in a dictionary
|
Pneumonoultramicroscopicsilicovolcanoconiosis
|
https://en.wikipedia.org/wiki/Pneumonoultramicroscopicsilicovolcanoconiosis
|
[] | false | 0 |
Q103
|
Supercalifragilisticexpialidocious
|
song from the film and musical Mary Poppins
|
Supercalifragilisticexpialidocious
|
https://en.wikipedia.org/wiki/Supercalifragilisticexpialidocious
|
[] | false | 0 |
Q125
|
November
|
eleventh month in the Julian and Gregorian calendars
|
November
|
https://en.wikipedia.org/wiki/November
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Breviarium%20Grimani%20-%20November.jpg?width=1024"
] | true | 1 |
Q140
|
lion
|
species of big cat
|
Lion
|
https://en.wikipedia.org/wiki/Lion
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Lion%20in%20masai%20mara.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Okonjima%20Lioness.jpg?width=1024"
] | true | 2 |
Q144
|
dog
|
domestic animal
|
Dog
|
https://en.wikipedia.org/wiki/Dog
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Greenland%20467%20%2835130903436%29%20%28cropped%29.jpg?width=1024"
] | true | 1 |
Q147
|
kitten
|
young cat
|
Kitten
|
https://en.wikipedia.org/wiki/Kitten
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Six%20weeks%20old%20cat%20%28aka%29.jpg?width=1024"
] | true | 1 |
Q148
|
People's Republic of China
|
country in East Asia
|
China
|
https://en.wikipedia.org/wiki/China
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Badaling%20China%20Great-Wall-of-China-01.jpg?width=1024"
] | true | 1 |
Q155
|
Brazil
|
country in South America
|
Brazil
|
https://en.wikipedia.org/wiki/Brazil
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Brazil%20topo.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Cidade%20Maravilhosa.jpg?width=1024"
] | true | 2 |
Q163
|
Yorkshire
|
historic county of England
|
Yorkshire
|
https://en.wikipedia.org/wiki/Yorkshire
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/2013%20Cogden%20Bridge.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/2015%20Swaledale%20from%20Kisdon%20Hill.jpg?width=1024"
] | true | 2 |
Q177
|
pizza
|
Italian universal popular dish with a flat dough-based base and toppings
|
Pizza
|
https://en.wikipedia.org/wiki/Pizza
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Eq%20it-na%20pizza-margherita%20sep2005%20sml.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Pizza-3007395.jpg?width=1024"
] | true | 2 |
Q178
|
pasta
|
Italian food made from flour, eggs and water and shaped in different forms, usually cooked and served with a sauce
|
Pasta
|
https://en.wikipedia.org/wiki/Pasta
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Pasta%20IMG%203985.JPG?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/%28Pasta%29%20by%20David%20Adam%20Kess%20%28pic.2%29.jpg?width=1024"
] | true | 2 |
Q183
|
Germany
|
country in Central Europe
|
Germany
|
https://en.wikipedia.org/wiki/Germany
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Aerial%20view%20of%20Berlin%20%2832881394137%29.jpg?width=1024"
] | true | 1 |
Q207
|
George W. Bush
|
President of the United States from 2001 to 2009
|
George W. Bush
|
https://en.wikipedia.org/wiki/George_W._Bush
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/George-W-Bush.jpeg?width=1024"
] | true | 1 |
Q210
|
right angle
|
90° angle (π/2 radians): an angle that bisects the angle formed by two halves of a straight line
|
Right angle
|
https://en.wikipedia.org/wiki/Right_angle
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Prav%C3%BD%20%C3%BAhel.png?width=1024"
] | true | 1 |
Q233
|
Malta
|
country in Southern Europe situated on an archipelago in the Mediterranean Sea
|
Malta
|
https://en.wikipedia.org/wiki/Malta
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Malta%2C%202010%20-%20panoramio%20-%20Bengt%20Nyman%20%2823%29.jpg?width=1024"
] | true | 1 |
Q278
|
Talisker distillery
|
whisky distillery in Highland, Scotland, UK
|
Talisker distillery
|
https://en.wikipedia.org/wiki/Talisker_distillery
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Talisker%20Destillery%20in%20Carbost%202012.JPG?width=1024"
] | true | 1 |
Q288
|
Tours
|
city and commune in Indre-et-Loire, Centre-Val de Loire, France
|
Tours
|
https://en.wikipedia.org/wiki/Tours
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Morning%20in%20September%20in%20Tours%2018.jpg?width=1024"
] | true | 1 |
Q297
|
Diego Velázquez
|
Spanish painter (1599-1660)
|
Diego Velázquez
|
https://en.wikipedia.org/wiki/Diego_Vel%C3%A1zquez
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Diego%20Vel%C3%A1zquez%20Autorretrato%2045%20x%2038%20cm%20-%20Colecci%C3%B3n%20Real%20Academia%20de%20Bellas%20Artes%20de%20San%20Carlos%20-%20Museo%20de%20Bellas%20Artes%20de%20Valencia.jpg?width=1024"
] | true | 1 |
Q298
|
Chile
|
country in South America
|
Chile
|
https://en.wikipedia.org/wiki/Chile
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Macizo%20Paine%20al%20Amanecer%20Torres%20del%20Paine.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Duna%20Mayor%2C%20Valle%20de%20la%20Luna%2C%20San%20Pedro%20de%20Atacama%2C%20Chile%2C%202016-02-01%2C%20DD%20164.JPG?width=1024"
] | true | 2 |
Q317
|
dictatorship
|
autocratic form of government which is ruled by a sole leader
|
Dictatorship
|
https://en.wikipedia.org/wiki/Dictatorship
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Hitler%20N%C3%BCrnberg%201935.jpg?width=1024"
] | true | 1 |
Q328
|
English Wikipedia
|
English-language edition of Wikipedia
|
English Wikipedia
|
https://en.wikipedia.org/wiki/English_Wikipedia
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/English%20Wikipedia%20screenshot.png?width=1024"
] | true | 1 |
Q362
|
World War II
|
1939–1945 global conflict
|
World War II
|
https://en.wikipedia.org/wiki/World_War_II
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Infobox%20collage%20for%20WWII.PNG?width=1024"
] | true | 1 |
Q368
|
Augusto Pinochet
|
dictator of Chile from 1973 to 1990
|
Augusto Pinochet
|
https://en.wikipedia.org/wiki/Augusto_Pinochet
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Augusto%20Pinochet%20foto%20oficial%20%28cropped%29%282%29.jpg?width=1024"
] | true | 1 |
Q398
|
Bahrain
|
country in the Persian Gulf
|
Bahrain
|
https://en.wikipedia.org/wiki/Bahrain
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Manama%2C%20Bahrain%20Decembre%202014.jpg?width=1024"
] | true | 1 |
Q411
|
astrobiology
|
study of the formation of life on Earth and elsewhere on other planets in outer space
|
Astrobiology
|
https://en.wikipedia.org/wiki/Astrobiology
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Blacksmoker%20in%20Atlantic%20Ocean.jpg?width=1024"
] | true | 1 |
Q412
|
Pioneer plaque
|
plaque attached to the Pioneer 10 and Pioneer 11 spacecraft in case extraterrestrial life finds them
|
Pioneer plaque
|
https://en.wikipedia.org/wiki/Pioneer_plaque
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/GPN-2000-001621-x.jpg?width=1024"
] | true | 1 |
Q431
|
zoology
|
scientific study of animals
|
Zoology
|
https://en.wikipedia.org/wiki/Zoology
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Animal%20diversity.jpg?width=1024"
] | true | 1 |
Q433
|
Gmina Kurów
|
urban-rural gmina in Lublin Voivodeship, Poland
|
Gmina Kurów
|
https://en.wikipedia.org/wiki/Gmina_Kur%C3%B3w
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Kur%C3%B3w%2C%20Urz%C4%85d%20Gminy%20-%20fotopolska.eu%20%28337276%29.jpg?width=1024"
] | true | 1 |
Q443
|
Ich bin ein Berliner
|
speech given by John F. Kennedy in West Berlin in June 1963
|
Ich bin ein Berliner
|
https://en.wikipedia.org/wiki/Ich_bin_ein_Berliner
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/1963-Sch%C3%B6neberg.jpg?width=1024"
] | true | 1 |
Q447
|
Encyclopédie
|
general encyclopedia published in Paris, France between 1751 and 1772
|
Encyclopédie
|
https://en.wikipedia.org/wiki/Encyclop%C3%A9die
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Encyclopedie%20de%20D%27Alembert%20et%20Diderot%20-%20Premiere%20Page%20-%20ENC%201-NA5.jpg?width=1024"
] | true | 1 |
Q463
|
Rhône-Alpes
|
former administrative region of France
|
Rhône-Alpes
|
https://en.wikipedia.org/wiki/Rh%C3%B4ne-Alpes
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/SNCF%20TGV%20Duplex%20Viaduc%20de%20Cize%20-%20Bolozon.jpg?width=1024"
] | true | 1 |
Q497
|
anus
|
digestive track waste expulsion opening
|
Anus
|
https://en.wikipedia.org/wiki/Anus
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Female%20and%20male%20anus.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Anus%20dog.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Sheep%20anus.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/%E8%B2%93%E7%9A%84%E8%82%9B%E9%96%80%202014-01-25%2017-18.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Anus%20of%20Oryctolagus%20cuniculus.jpg?width=1024"
] | true | 5 |
Q501
|
Charles Baudelaire
|
French poet and critic (1821–1867)
|
Charles Baudelaire
|
https://en.wikipedia.org/wiki/Charles_Baudelaire
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Baudelaire%20crop.jpg?width=1024"
] | true | 1 |
Q506
|
flower
|
sexual reproductive structure found on flowering plants
|
Flower
|
https://en.wikipedia.org/wiki/Flower
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Flores.gif?width=1024"
] | true | 1 |
Q511
|
Museum of Fine Arts of Lyon
|
art museum in Lyon, France
|
Museum of Fine Arts of Lyon
|
https://en.wikipedia.org/wiki/Museum_of_Fine_Arts_of_Lyon
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Palais%20St%20Pierre%20Lyon1%20fr%20facade%20Terreaux.JPG?width=1024"
] | true | 1 |
Q514
|
anatomy
|
study of the internal structure of organisms and their parts
|
Anatomy
|
https://en.wikipedia.org/wiki/Anatomy
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Leonardo%20da%20vinci%2C%20Drawing%20of%20a%20Woman%27s%20Torso.jpg?width=1024"
] | true | 1 |
Q524
|
Mount Vesuvius
|
volcano on the southwestern coast of Italy
|
Mount Vesuvius
|
https://en.wikipedia.org/wiki/Mount_Vesuvius
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Il%20cratere%20del%20Vulcano%20-%20panoramio.jpg?width=1024"
] | true | 1 |
Q544
|
Solar System
|
the Sun, its planets and their moons
|
Solar System
|
https://en.wikipedia.org/wiki/Solar_System
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Solar%20System%20true%20color.jpg?width=1024"
] | true | 1 |
Q550
|
avenue des Champs-Élysées
|
avenue in Paris, France
|
Champs-Élysées
|
https://en.wikipedia.org/wiki/Champs-%C3%89lys%C3%A9es
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Avenue%20des%20Champs-%C3%89lys%C3%A9es%2C%20Paris%203%20October%202010.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Avenue%20des%20Champs-%C3%89lys%C3%A9es%20July%2024%2C%202009%20N1.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Champs-%C3%89lys%C3%A9es%20from%20the%20Roue%20de%20Paris%2C%2011%20July%202016%20001.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Avenue%20des%20Champs-%C3%89lys%C3%A9es%2C%20Paris%2015%20July%202006.jpg?width=1024"
] | true | 4 |
Q556
|
hydrogen
|
chemical element with symbol H and atomic number 1
|
Hydrogen
|
https://en.wikipedia.org/wiki/Hydrogen
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Hydrogen%20discharge%20tube.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Elektronskal%201.svg?width=1024"
] | true | 2 |
Q585
|
Oslo
|
capital city of Norway
|
Oslo
|
https://en.wikipedia.org/wiki/Oslo
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/View%20from%20siloen.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Oslo%20at%20night.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/14-09-02-oslo-RalfR-236.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Oslo%20newer%20montage%202013.png?width=1024"
] | true | 4 |
Q586
|
Bonn
|
city in Germany and capital of former West Germany
|
Bonn
|
https://en.wikipedia.org/wiki/Bonn
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Altes%20Rathaus%20Bonn.jpg?width=1024"
] | true | 1 |
Q587
|
All Saints' Day
|
Christian feast day
|
All Saints' Day
|
https://en.wikipedia.org/wiki/All_Saints%27_Day
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/All-Saints.jpg?width=1024"
] | true | 1 |
Q595
|
The Intouchables
|
2011 film directed by Olivier Nakache and Éric Toledano
|
The Intouchables
|
https://en.wikipedia.org/wiki/The_Intouchables
|
[] | false | 0 |
Q597
|
Lisbon
|
municipality and capital city of Portugal
|
Lisbon
|
https://en.wikipedia.org/wiki/Lisbon
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Lisboa837.png?width=1024"
] | true | 1 |
Q616
|
Beaujolais wine
|
wine from the Beaujolais region of France
|
Beaujolais
|
https://en.wikipedia.org/wiki/Beaujolais
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Beaujolais%20glass.jpg?width=1024"
] | true | 1 |
Q619
|
Nicolaus Copernicus
|
Polish mathematician and astronomer (1473–1543)
|
Nicolaus Copernicus
|
https://en.wikipedia.org/wiki/Nicolaus_Copernicus
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Nikolaus%20Kopernikus%20MOT.jpg?width=1024"
] | true | 1 |
Q633
|
Neil Young
|
Canadian singer, songwriter and filmmaker (born 1945)
|
Neil Young
|
https://en.wikipedia.org/wiki/Neil_Young
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Neil%20Young%20Stavernfestivalen%202016%20%28220929%29.jpg?width=1024"
] | true | 1 |
Q634
|
planet
|
celestial body directly orbiting a star or stellar remnant
|
Planet
|
https://en.wikipedia.org/wiki/Planet
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Montage%20of%20Our%20Solar%20System.jpg?width=1024"
] | true | 1 |
Q643
|
Po
|
longest river in Italy
|
Po (river)
|
https://en.wikipedia.org/wiki/Po_%28river%29
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Po%20bei%20Mantova.jpg?width=1024"
] | true | 1 |
Q647
|
Rennes
|
capital city of the region of Brittany, France
|
Rennes
|
https://en.wikipedia.org/wiki/Rennes
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Vue%20sud-ouest%20de%20la%20place%20du%20parlement%20de%20Bretagne%2C%20Rennes%2C%20France.jpg?width=1024"
] | true | 1 |
Q648
|
Lille
|
city and commune in Nord, Hauts-de-France, Northern France
|
Lille
|
https://en.wikipedia.org/wiki/Lille
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Lille%20vue%20gd%20place.JPG?width=1024"
] | true | 1 |
Q659
|
north
|
one of the four cardinal directions
|
North
|
https://en.wikipedia.org/wiki/North
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/CompassRose%20%28mul%29%2016%20blue%20N.svg?width=1024"
] | true | 1 |
Q661
|
hydraulic ram
|
cyclic water pump powered by hydropower
|
Hydraulic ram
|
https://en.wikipedia.org/wiki/Hydraulic_ram
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/HydraulischerWidder.jpg?width=1024"
] | true | 1 |
Q676
|
prose
|
form of language which applies ordinary grammatical structure and natural flow of speech
|
Prose
|
https://en.wikipedia.org/wiki/Prose
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Prose%20and%20Verse%20on%20one%20page.jpg?width=1024"
] | true | 1 |
Q686
|
Vanuatu
|
island country in Oceania
|
Vanuatu
|
https://en.wikipedia.org/wiki/Vanuatu
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Vanuatu%20Provinces.JPG?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Satellite%20image%20of%20Vanuatu%20in%20October%201998.jpg?width=1024"
] | true | 2 |
Q688
|
chlorine
|
chemical element with symbol Cl and atomic number 17
|
Chlorine
|
https://en.wikipedia.org/wiki/Chlorine
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Chlorine%20liquid%20in%20an%20ampoule.jpg?width=1024"
] | true | 1 |
Q694
|
South Holland
|
province of the Netherlands
|
South Holland
|
https://en.wikipedia.org/wiki/South_Holland
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/South%20Holland%20by%20Sentinel-2%2C%202018-06-30.jpg?width=1024"
] | true | 1 |
Q716
|
titanium
|
chemical element with symbol Ti and atomic number 22
|
Titanium
|
https://en.wikipedia.org/wiki/Titanium
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Titan-crystal%20bar.JPG?width=1024"
] | true | 1 |
Q722
|
vanadium
|
chemical element with symbol V and atomic number 23
|
Vanadium
|
https://en.wikipedia.org/wiki/Vanadium
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Vanadium%201.jpg?width=1024"
] | true | 1 |
Q732
|
Francesinha
|
Portuguese sandwich
|
Francesinha
|
https://en.wikipedia.org/wiki/Francesinha
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Francesinhacaseira.JPG?width=1024"
] | true | 1 |
Q747
|
Pierre Corneille
|
French tragedian (1606–1684)
|
Pierre Corneille
|
https://en.wikipedia.org/wiki/Pierre_Corneille
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Pierre%20Corneille%202.jpg?width=1024"
] | true | 1 |
Q749
|
Groningen
|
capital city of the province of Groningen, the Netherlands
|
Groningen
|
https://en.wikipedia.org/wiki/Groningen
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Hoge%20der%20Aa2.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Plattegrond%20van%20de%20stad%20Groningen%20in%201575.jpg?width=1024"
] | true | 2 |
Q764
|
fungi
|
biological kingdom, separate from plants and animals
|
Fungus
|
https://en.wikipedia.org/wiki/Fungus
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/2006-08-09%20Amanita%20citrina%2046465%20cropped.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Fungus%20on%20a%20tree1.jpg?width=1024"
] | true | 2 |
Q771
|
Massachusetts
|
state of the United States of America
|
Massachusetts
|
https://en.wikipedia.org/wiki/Massachusetts
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/USA%20Cape%20Cod%203%20MA.jpg?width=1024"
] | true | 1 |
Q801
|
Israel
|
country in West Asia
|
Israel
|
https://en.wikipedia.org/wiki/Israel
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Satellite%20image%20of%20Israel%20in%20January%202003.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/%D0%A7%D0%B0%D1%81%D0%BE%D0%B2%D0%B0%D1%8F%20%D0%B1%D0%B0%D1%88%D0%BD%D1%8F%20%D1%81%D1%83%D0%BB%D1%82%D0%B0%D0%BD%D0%B0%20%D0%90%D0%B1%D0%B4%D1%83%D0%BB%20%D0%A5%D0%B0%D0%BC%D0%B8%D0%B4%D0%B0%20II%20-%20panoramio.jpg?width=1024"
] | true | 2 |
Q807
|
Lausanne
|
capital city of the canton of Vaud, Switzerland
|
Lausanne
|
https://en.wikipedia.org/wiki/Lausanne
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Lausanne%20img%200585.jpg?width=1024"
] | true | 1 |
Q815
|
Gabriel Gonzáles Videla
|
Chilean politician (1898-1980)
|
Gabriel González Videla
|
https://en.wikipedia.org/wiki/Gabriel_Gonz%C3%A1lez_Videla
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Gabriel%20Gonzalez%20Videla.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/GabrielGonz%C3%A1lezVidela.JPG?width=1024"
] | true | 2 |
Q819
|
Laos
|
country in Southeast Asia
|
Laos
|
https://en.wikipedia.org/wiki/Laos
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Karst%20peaks%20and%20green%20paddy%20fields%20under%20a%20stormy%20sky%2C%20South%20view%20from%20Mount%20Nam%20Xay%2C%20Vang%20Vieng%2C%20Laos.jpg?width=1024"
] | true | 1 |
Q844
|
James Bond
|
series of books about a British spy
|
James Bond
|
https://en.wikipedia.org/wiki/James_Bond
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Snap%20from%20Wax%20Museum%20at%20Innovative%20Film%20city%20Bangalore%20144323.jpg?width=1024"
] | true | 1 |
Q853
|
Andrei Tarkovsky
|
Soviet and Russian film director, screenwriter, film editor, film theorist, theatre and opera director (1932–1986)
|
Andrei Tarkovsky
|
https://en.wikipedia.org/wiki/Andrei_Tarkovsky
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Andrei%20tarkovsky%20stamp%20russia%202007.jpg?width=1024"
] | true | 1 |
Q859
|
Plato
|
4th-century BCE Greek philosopher
|
Plato
|
https://en.wikipedia.org/wiki/Plato
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Plato%20Silanion%20Musei%20Capitolini%20MC1377.jpg?width=1024"
] | true | 1 |
Q863
|
Tajikistan
|
sovereign state in Central Asia
|
Tajikistan
|
https://en.wikipedia.org/wiki/Tajikistan
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Tajikistan%20-%20Location%20Map%20%282013%29%20-%20TJK%20-%20UNOCHA.svg?width=1024"
] | true | 1 |
Q869
|
Thailand
|
country in Southeast Asia
|
Thailand
|
https://en.wikipedia.org/wiki/Thailand
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Temple%20of%20the%20Emerald%20of%20buddha%20or%20Wat%20Phra%20Kaew%20%28cropped%29.jpg?width=1024"
] | true | 1 |
Q873
|
Meryl Streep
|
American actress
|
Meryl Streep
|
https://en.wikipedia.org/wiki/Meryl_Streep
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Meryl%20Streep%20interview%20at%20Festival%20de%20Cannes%202024%20%28cropped%29.jpg?width=1024"
] | true | 1 |
Q878
|
United Arab Emirates
|
A country in West Asia, in the Middle East, at the eastern end of the Arabian Peninsula.
|
United Arab Emirates
|
https://en.wikipedia.org/wiki/United_Arab_Emirates
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Souq%20Al%20Bahar%20From%20Burj%20Khalifa%2C%20Dubai%20%287997597156%29.jpg?width=1024"
] | true | 1 |
Q880
|
platinum
|
chemical element with symbol Pt and atomic number 78
|
Platinum
|
https://en.wikipedia.org/wiki/Platinum
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Platinum%20crystals.jpg?width=1024"
] | true | 1 |
Q883
|
Novosibirsk
|
Russian city; administrative center of Siberian Federal District
|
Novosibirsk
|
https://en.wikipedia.org/wiki/Novosibirsk
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Novosibirsk%20view.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Novosibirsk%2082.96421E%2054.98117N.jpg?width=1024"
] | true | 2 |
Q891
|
Nizhny Novgorod
|
capital of the Nizhny Novgorod Oblast and the Volga Federal District in central Russia
|
Nizhny Novgorod
|
https://en.wikipedia.org/wiki/Nizhny_Novgorod
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Nizhny%20Novgorod%202025-04-29%20Minin%20and%20Pozharsky%20square%2001.jpg?width=1024"
] | true | 1 |
Q898
|
Omsk
|
city in Russia
|
Omsk
|
https://en.wikipedia.org/wiki/Omsk
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Omsk%20Collage%202016.png?width=1024"
] | true | 1 |
Q899
|
Suez Canal
|
artificial sea-level waterway in Egypt
|
Suez Canal
|
https://en.wikipedia.org/wiki/Suez_Canal
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Suez%20Canal%2C%20Egypt%20%2831596166706%29.jpg?width=1024"
] | true | 1 |
Q901
|
scientist
|
person who use scientific methods to study in an area of interest
|
Scientist
|
https://en.wikipedia.org/wiki/Scientist
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Researchers%20in%20laboratory.jpg?width=1024"
] | true | 1 |
Q903
|
Erta Ale
|
volcano in Ethiopia
|
Erta Ale
|
https://en.wikipedia.org/wiki/Erta_Ale
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/ET%20Afar%20asv2018-01%20img98%20way%20to%20Ertale.jpg?width=1024"
] | true | 1 |
Q907
|
Gordon Freeman
|
fictional protagonist of the Half Life video game series
|
Gordon Freeman
|
https://en.wikipedia.org/wiki/Gordon_Freeman
|
[] | false | 0 |
Q912
|
Mali
|
country in West Africa
|
Mali
|
https://en.wikipedia.org/wiki/Mali
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Mali%20-%20Location%20Map%20%282013%29%20-%20MLI%20-%20UNOCHA.svg?width=1024"
] | true | 1 |
Q916
|
Angola
|
country on the west coast of Southern Africa
|
Angola
|
https://en.wikipedia.org/wiki/Angola
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/LocationAngola.svg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Angola%20-%20Location%20Map%20%282013%29%20-%20AGO%20-%20UNOCHA.svg?width=1024"
] | true | 2 |
Q922
|
Brač
|
island of Croatia
|
Brač
|
https://en.wikipedia.org/wiki/Bra%C4%8D
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Brac-Hafen.jpg?width=1024"
] | true | 1 |
Q943
|
yellow
|
primary color between green and orange in the light spectrum
|
Yellow
|
https://en.wikipedia.org/wiki/Yellow
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Color%20icon%20yellow.svg?width=1024"
] | true | 1 |
Q946
|
Donald Tusk
|
Prime Minister of Poland (2007–2014; since 2023)
|
Donald Tusk
|
https://en.wikipedia.org/wiki/Donald_Tusk
|
[
"https://commons.wikimedia.org/wiki/Special:FilePath/Donald%20Tusk%20EPP%20Summit%202023.png?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Prime%20Minister%20Donald%20Tusk%20of%20Poland%20in%20the%20Oval%20Office%20in%202024%20%28cropped%29.jpg?width=1024",
"https://commons.wikimedia.org/wiki/Special:FilePath/Premier%20Donald%20Tusk%20KPRM.jpg?width=1024"
] | true | 3 |
en_wikidata_5M_entities
Hugging Face dataset card for a large, English-only Wikidata slice with optional Wikipedia links and Wikimedia Commons image URLs.
One file, five million entities.
Filename:
en_wikidata_5M_entities.jsonl.gz
TL;DR
- Format: JSON Lines, gzip-compressed (
.jsonl.gz
) - Rows: 5,000,000 entities (one JSON object per line)
- Language: English labels/descriptions
- Fields:
qid
,label
,description
,enwiki_title
,wikipedia_url
,images
(list of URLs),has_image
(bool),image_count
(int) - License: CC0-1.0 for Wikidata-derived metadata. Wikipedia text is not included. Image URLs are provided; the images themselves remain under their respective licenses on Wikimedia Commons.
- Best way to load:
datasets.load_dataset(..., streaming=True)
Summary
This dataset provides a compact, streamable subset of Wikidata entities with English labels/descriptions, the (optional) matching English Wikipedia page title/URL, and zero or more Wikimedia Commons image URLs per entity. It is designed to be a simple foundation for knowledge indexing, entity linking, retrieval-augmented generation (RAG), and content moderation/research pipelines.
Files
en_wikidata_5M_entities.jsonl.gz
— single shard containing exactly 5,000,000 lines (entities).
Each line is a standalone JSON object. The file is gzip-compressed for efficient storage and streaming.
Schema
Field | Type | Description |
---|---|---|
qid |
string | Wikidata identifier (e.g., Q42 ). |
label |
string | English entity label (short name). |
description |
string | English short description from Wikidata. |
enwiki_title |
string or null |
Matching English Wikipedia article title, if any. |
wikipedia_url |
string or null |
Canonical English Wikipedia URL, if any. |
images |
list[string] | Zero or more Wikimedia Commons file URLs (HTTP links) for the entity. |
has_image |
boolean | Convenience flag: true iff images is non-empty. |
image_count |
integer | Number of image URLs present. |
Notes
- The dataset does not contain Wikipedia article text or image binaries—only metadata and links.
images
are HTTP URLs served by Wikimedia; each media file has its own license and attribution requirements (see Licensing below).
Example rows
Below is an illustrative head (first 10 entities) from the file:
{'qid': 'Q31', 'label': 'Belgium', 'description': 'country in western Europe', 'enwiki_title': 'Belgium', 'wikipedia_url': 'https://en.wikipedia.org/wiki/Belgium', 'images': ['https://commons.wikimedia.org/wiki/Special:FilePath/Belgique%20-%20Bruxelles%20-%20Grand-Place%20-%20C%C3%B4t%C3%A9%20nord-est.jpg?width=1024'], 'has_image': True, 'image_count': 1}
{'qid': 'Q8', 'label': 'happiness', 'description': 'positive emotional state', 'enwiki_title': 'Happiness', 'wikipedia_url': 'https://en.wikipedia.org/wiki/Happiness', 'images': ['https://commons.wikimedia.org/wiki/Special:FilePath/Sweet%20Baby%20Kisses%20Family%20Love.jpg?width=1024', 'https://commons.wikimedia.org/wiki/Special:FilePath/Happiness%20.jpg?width=1024', 'https://commons.wikimedia.org/wiki/Special:FilePath/Felicidade%20A%20very%20happy%20boy.jpg?width=1024'], 'has_image': True, 'image_count': 3}
{'qid': 'Q24', 'label': 'Jack Bauer', 'description': 'character from the television series 24', 'enwiki_title': 'Jack_Bauer', 'wikipedia_url': 'https://en.wikipedia.org/wiki/Jack_Bauer', 'images': ['https://commons.wikimedia.org/wiki/Special:FilePath/Kiefer%20Sutherland%20at%2024%20Redemption%20premiere%201%20%28headshot%29.jpg?width=1024'], 'has_image': True, 'image_count': 1}
{'qid': 'Q42', 'label': 'Douglas Adams', 'description': 'English science fiction writer and humorist (1952–2001)', 'enwiki_title': 'Douglas_Adams', 'wikipedia_url': 'https://en.wikipedia.org/wiki/Douglas_Adams', 'images': ['https://commons.wikimedia.org/wiki/Special:FilePath/Douglas%20adams%20portrait.jpg?width=1024'], 'has_image': True, 'image_count': 1}
{'qid': 'Q1868', 'label': 'Paul Otlet', 'description': 'Belgian author, librarian and anti-colonial thinker', 'enwiki_title': 'Paul_Otlet', 'wikipedia_url': 'https://en.wikipedia.org/wiki/Paul_Otlet', 'images': ['https://commons.wikimedia.org/wiki/Special:FilePath/Paul%20Otlet%20%C3%A0%20son%20bureau%20%28cropped%29.jpg?width=1024'], 'has_image': True, 'image_count': 1}
{'qid': 'Q2013', 'label': 'Wikidata', 'description': 'free multilingual online knowledge graph', 'enwiki_title': 'Wikidata', 'wikipedia_url': 'https://en.wikipedia.org/wiki/Wikidata', 'images': ['https://commons.wikimedia.org/wiki/Special:FilePath/Wikidata-Homepage%2020220422%2021%2018%2054.png?width=1024'], 'has_image': True, 'image_count': 1}
{'qid': 'Q45', 'label': 'Portugal', 'description': 'country in Southwestern Europe', 'enwiki_title': 'Portugal', 'wikipedia_url': 'https://en.wikipedia.org/wiki/Portugal', 'images': ['https://commons.wikimedia.org/wiki/Special:FilePath/Portugal%20-%20Location%20Map%20%282013%29%20-%20PRT%20-%20UNOCHA.svg?width=1024'], 'has_image': True, 'image_count': 1}
{'qid': 'Q51', 'label': 'Antarctica', 'description': 'polar continent', 'enwiki_title': 'Antarctica', 'wikipedia_url': 'https://en.wikipedia.org/wiki/Antarctica', 'images': ['https://commons.wikimedia.org/wiki/Special:FilePath/Antarctica%206400px%20from%20Blue%20Marble.jpg?width=1024', 'https://commons.wikimedia.org/wiki/Special:FilePath/1%20Almirante%20Brown%20-%20Antarktische%20Halbinsel.jpg?width=1024'], 'has_image': True, 'image_count': 2}
{'qid': 'Q58', 'label': 'penis', 'description': 'primary sexual organ of male animals', 'enwiki_title': 'Penis', 'wikipedia_url': 'https://en.wikipedia.org/wiki/Penis', 'images': ['https://commons.wikimedia.org/wiki/Special:FilePath/Penis%20asiatischer%20Elefant.JPG?width=1024', 'https://commons.wikimedia.org/wiki/Special:FilePath/Mallard%20with%20visible%20penis%20%28cropped%29.jpg?width=1024', 'https://commons.wikimedia.org/wiki/Special:FilePath/Callosobruchus%20analis%20penis.jpg?width=1024', 'https://commons.wikimedia.org/wiki/Special:FilePath/Penisstacheln.jpg?width=1024', 'https://commons.wikimedia.org/wiki/Special:FilePath/Mammalian%20penises.jpg?width=1024'], 'has_image': True, 'image_count': 5}
{'qid': 'Q68', 'label': 'computer', 'description': 'general-purpose device for performing arithmetic or logical operations', 'enwiki_title': 'Computer', 'wikipedia_url': 'https://en.wikipedia.org/wiki/Computer', 'images': ['https://commons.wikimedia.org/wiki/Special:FilePath/Summit%20%28supercomputer%29.jpg?width=1024', 'https://commons.wikimedia.org/wiki/Special:FilePath/Z3%20Deutsches%20Museum.JPG?width=1024', 'https://commons.wikimedia.org/wiki/Special:FilePath/Apple%20II%20Plus%2C%20Museum%20of%20the%20Moving%20Image.jpg?width=1024', 'https://commons.wikimedia.org/wiki/Special:FilePath/Lenovo%20G500s%20laptop-2903.jpg?width=1024'], 'has_image': True, 'image_count': 4}
How to load (🤗 Datasets)
from datasets import load_dataset
# Stream the single shard without downloading it fully
# Replace <your-username> with your HF handle if hosted under your account.
ds = load_dataset(
"<your-username>/en_wikidata_5M_entities",
data_files="en_wikidata_5M_entities.jsonl.gz",
split="train",
streaming=True,
)
# Peek a few examples
for x in ds.take(5):
print(x)
Filtering examples
# Only items that have at least one image
with_images = (ex for ex in ds if ex["has_image"]) # streaming-friendly
# Titles that look like persons (very naive heuristic)
person_like = (ex for ex in ds if ex["description"] and "(19" in ex["description"]) # birth years
# Convert a small slice to a list or pandas DataFrame
small = [x for _, x in zip(range(1000), ds)]
Materialize to local Parquet (optional)
import json, gzip
import pandas as pd
rows = []
with gzip.open("en_wikidata_5M_entities.jsonl.gz", "rt", encoding="utf-8") as f:
for i, line in enumerate(f):
rows.append(json.loads(line))
if (i + 1) % 1_000_000 == 0:
print(f"Read {i+1:,} lines...")
pd.DataFrame(rows).to_parquet("en_wikidata_5M_entities.parquet")
Tip: If you keep it on the Hub, prefer
streaming=True
for low-memory iteration.
Quick local inspection
Use this snippet to confirm the file shape locally (size, head, and total count):
import gzip
import json
import os
file_path = "./en_wikidata_5M_entities.jsonl.gz"
# File size
file_size_bytes = os.path.getsize(file_path)
file_size_mb = file_size_bytes / (1024 * 1024)
print(f"File size: {file_size_mb:.2f} MB ({file_size_bytes:,} bytes)")
# Head
print("\n=== File Head (first 10 entities) ===")
with gzip.open(file_path, 'rt', encoding='utf-8') as f:
for i, line in enumerate(f):
if i >= 10:
break
try:
data = json.loads(line.strip())
print(data)
except json.JSONDecodeError:
print(f"Invalid JSON at line {i+1}: {line}")
# Count lines
print("\n=== Counting total entities ===")
count = 0
with gzip.open(file_path, 'rt', encoding='utf-8') as f:
for _ in f:
count += 1
print(f"Total entities in file: {count:,}")
Intended use & examples
- Entity indexing / RAG: Build a vector index over
label + description
and optionally attach images downstream viaimages
. - Entity linking / grounding: Map extracted Wikipedia URLs or QIDs back to structured metadata.
- Research / analytics: Explore distributions (e.g., which classes of entities have images).
- Moderation / safety: Because this mirrors real-world knowledge, mentions/URLs may include sensitive topics; see Safety below.
Minimal RAG sketch
from datasets import load_dataset
from sentence_transformers import SentenceTransformer
import faiss
import numpy as np
# Stream a subset (adjust N as needed)
ds = load_dataset("<your-username>/en_wikidata_5M_entities", data_files="en_wikidata_5M_entities.jsonl.gz", split="train", streaming=True)
model = SentenceTransformer("all-MiniLM-L6-v2")
texts, qids = [], []
for i, ex in enumerate(ds):
texts.append(f"{ex['label']}: {ex.get('description','')}")
qids.append(ex['qid'])
if i >= 50_000: # demo limit
break
emb = model.encode(texts, convert_to_numpy=True, show_progress_bar=True)
index = faiss.IndexFlatIP(emb.shape[1])
faiss.normalize_L2(emb)
index.add(emb)
# Query
q = "science fiction writer"
q_vec = model.encode([q], convert_to_numpy=True)
faiss.normalize_L2(q_vec)
D, I = index.search(q_vec, 5)
print([qids[i] for i in I[0]])
Data quality & caveats
- Coverage: Only entities with English labels/descriptions are included. Non-English content is out of scope.
- Nulls:
enwiki_title
/wikipedia_url
may be missing (no linked English article). - Images: Many entities have zero images; some have multiple. URLs can change over time; always validate at use time.
- Duplicates:
qid
is unique; however, labels/descriptions are not guaranteed unique. - Safety: Some entities/linked images cover sensitive topics (e.g., anatomy, violence, current events). Consumers should implement appropriate filtering for their use cases.
Licensing
- Wikidata metadata (labels, descriptions, QIDs, sitelinks) is released under CC0 1.0 (public domain dedication).
- Wikipedia: This dataset does not include article text; it may include titles/URLs to English Wikipedia, which are generally acceptable to reference.
- Wikimedia Commons images: The dataset only includes links to images. Do not mirror or redistribute image binaries without complying with their individual licenses (often CC BY/CC BY-SA/GFDL, sometimes with additional restrictions). Always provide attribution and share-alike when required. See each file’s page on Commons for precise terms.
If you repackage this dataset together with Wikipedia content or image binaries, you must comply with CC BY-SA 4.0 (for Wikipedia text) and the per-file licenses of images.
License for this packaging: CC0-1.0 (for the metadata arrangement only).
Versioning & changelog
- v1.0.0 — Initial release with 5,000,000 entities in a single gzip shard.
Citation
If you use this dataset, please cite Wikidata/Wikipedia and this packaging. A generic citation might be:
en_wikidata_5M_entities: An English Wikidata slice with Wikipedia links and Commons image URLs (v1.0.0). Retrieved from the Hugging Face Hub. Underlying metadata from Wikidata (CC0 1.0). Wikipedia and Wikimedia Commons are trademarks of the Wikimedia Foundation.
You may also cite Wikidata:
Vrandečić, D., & Krötzsch, M. (2014). Wikidata: A free collaborative knowledgebase. Communications of the ACM, 57(10), 78–85.
Maintainers & contact
- Maintainer: Vijay Venkatesh Murugan / Institut Polytechnique de Paris
- Issues: Please open a ticket on the dataset’s Hugging Face page.
Disclaimer
This dataset is provided as is, without warranties. The maintainer is not affiliated with the Wikimedia Foundation. Use at your own risk and ensure downstream compliance with all applicable licenses and laws.
- Downloads last month
- 25