CINXE.COM
Wikidata:Data access - Wikidata
<!DOCTYPE html> <html class="client-nojs" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Wikidata:Data access - Wikidata</title> <script>(function(){var className="client-js";var cookie=document.cookie.match(/(?:^|; )wikidatawikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"d8e11e27-9e1c-4ad5-9a3f-9a16529fbe92","wgCanonicalNamespace":"Project","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":4,"wgPageName":"Wikidata:Data_access","wgTitle":"Data access","wgCurRevisionId":2254784798,"wgRevisionId":2254784798,"wgArticleId":15792342,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"], "wgCategories":[],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Wikidata:Data_access","wgRelevantArticleId":15792342,"wgIsProbablyEditable":false,"wgRelevantPageIsProbablyEditable":false,"wgRestrictionEdit":["autoconfirmed"],"wgRestrictionMove":["autoconfirmed"],"wgNoticeProject":"wikidata","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":30000,"wgInternalRedirectTargetUrl":"/wiki/Wikidata:Data_access","wgTranslatePageTranslation":"source","wgEditSubmitButtonLabelPublish":true,"wgDiscussionToolsFeaturesEnabled":{"replytool":true,"newtopictool":true,"sourcemodetoolbar":true,"topicsubscription":false,"autotopicsub":false, "visualenhancements":false,"visualenhancements_reply":false,"visualenhancements_pageframe":false},"wgDiscussionToolsFallbackEditMode":"source","wgULSPosition":"personal","wgULSisCompactLinksEnabled":true,"wgVector2022LanguageInHeader":false,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q123500867","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"]};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.translate.tag.languages":"ready","mediawiki.page.gallery.styles":"ready","ext.discussionTools.init.styles":"ready","oojs-ui-core.styles":"ready","oojs-ui.styles.indicators":"ready","mediawiki.widgets.styles":"ready","oojs-ui-core.icons":"ready","skins.vector.styles.legacy":"ready","ext.translate.edit.documentation.styles":"ready","ext.translate":"ready", "ext.visualEditor.desktopArticleTarget.noscript":"ready","codex-search-styles":"ready","ext.uls.pt":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["mediawiki.action.view.redirect","mediawiki.page.media","site","mediawiki.page.ready","mediawiki.toc","skins.vector.legacy.js","wikibase.ui.entitysearch","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.translate.pagetranslation.uls","ext.gadget.Search","ext.gadget.ProtectionIndicators","ext.gadget.imagelinks","ext.gadget.NewSection","ext.gadget.formWizard","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.discussionTools.init","ext.eventLogging","ext.wikimediaEvents","ext.wikimediaEvents.wikibase","ext.navigationTiming","ext.uls.compactlinks","ext.uls.interface","ext.checkUser.clientHints"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&modules=codex-search-styles%7Cext.discussionTools.init.styles%7Cext.translate%2CwikimediaBadges%7Cext.translate.edit.documentation.styles%7Cext.translate.tag.languages%7Cext.uls.pt%7Cext.visualEditor.desktopArticleTarget.noscript%7Cmediawiki.page.gallery.styles%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.vector.styles.legacy%7Cwikibase.client.init&only=styles&skin=vector"> <script async="" src="/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&modules=site.styles&only=styles&skin=vector"> <meta name="generator" content="MediaWiki 1.44.0-wmf.6"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//m.wikidata.org/wiki/Wikidata:Data_access"> <link rel="apple-touch-icon" href="/static/apple-touch/wikidata.png"> <link rel="icon" href="/static/favicon/wikidata.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikidata (en)"> <link rel="EditURI" type="application/rsd+xml" href="//www.wikidata.org/w/api.php?action=rsd"> <link rel="canonical" href="https://www.wikidata.org/wiki/Wikidata:Data_access"> <link rel="license" href="/wiki/Wikidata:Copyright"> <link rel="alternate" type="application/atom+xml" title="Wikidata Atom feed" href="/w/index.php?title=Special:RecentChanges&feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="login.wikimedia.org"> </head> <body class="ext-discussiontools-replytool-enabled ext-discussiontools-newtopictool-enabled ext-discussiontools-sourcemodetoolbar-enabled skin-vector-legacy mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-4 ns-subject page-Wikidata_Data_access rootpage-Wikidata_Data_access skin-vector action-view"><div id="mw-page-base" class="noprint"></div> <div id="mw-head-base" class="noprint"></div> <div id="content" class="mw-body" role="main"> <a id="top"></a> <div id="siteNotice"><!-- CentralNotice --></div> <div class="mw-indicators"> </div> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-namespace">Wikidata</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Data access</span></h1> <div id="bodyContent" class="vector-body"> <div id="siteSub" class="noprint">From Wikidata</div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="contentSub2"></div> <div id="jump-to-nav"></div> <a class="mw-jump-link" href="#mw-head">Jump to navigation</a> <a class="mw-jump-link" href="#searchInput">Jump to search</a> <div id="mw-content-text" class="mw-body-content"><div class="mw-pt-translate-header noprint nomobile" dir="ltr" lang="en"><a href="/w/index.php?title=Special:Translate&group=page-Wikidata%3AData+access&action=page&filter=&action_source=translate_page" title="Special:Translate">Translate this page</a></div><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><div class="mw-pt-languages noprint navigation-not-searchable" lang="en" dir="ltr"><div class="mw-pt-languages-label">Other languages:</div><ul class="mw-pt-languages-list"><li><a href="/wiki/Wikidata:Data_access/id" class="mw-pt-progress mw-pt-progress--complete" title="Wikidata:Akses data (100% translated)" lang="id" dir="ltr">Bahasa Indonesia</a></li> <li><a href="/wiki/Wikidata:Data_access/ms" class="mw-pt-progress mw-pt-progress--low" title="Wikidata:Capaian data (2% translated)" lang="ms" dir="ltr">Bahasa Melayu</a></li> <li><a href="/wiki/Wikidata:Data_access/pdc" class="mw-pt-progress mw-pt-progress--low" title="french to english (2% translated)" lang="pdc" dir="ltr">Deitsch</a></li> <li><a href="/wiki/Wikidata:Data_access/de" class="mw-pt-progress mw-pt-progress--complete" title="Wikidata:Datenzugriff (100% translated)" lang="de" dir="ltr">Deutsch</a></li> <li><span class="mw-pt-languages-ui mw-pt-languages-selected mw-pt-progress mw-pt-progress--complete" lang="en" dir="ltr">English</span></li> <li><a href="/wiki/Wikidata:Data_access/eo" class="mw-pt-progress mw-pt-progress--low" title="Vikidatumoj:Atingo al datumo (7% translated)" lang="eo" dir="ltr">Esperanto</a></li> <li><a href="/wiki/Wikidata:Data_access/dtp" class="mw-pt-progress mw-pt-progress--med" title="Wikidata: Akses Data (26% translated)" lang="dtp" dir="ltr">Kadazandusun</a></li> <li><a href="/wiki/Wikidata:Data_access/sw" class="mw-pt-progress mw-pt-progress--low" title="Wikidata: Upatikanaji wa data (2% translated)" lang="sw" dir="ltr">Kiswahili</a></li> <li><a href="/wiki/Wikidata:Data_access/lb" class="mw-pt-progress mw-pt-progress--low" title="Wikidata:Data access/lb (11% translated)" lang="lb" dir="ltr">Lëtzebuergesch</a></li> <li><a href="/wiki/Wikidata:Data_access/nl" class="mw-pt-progress mw-pt-progress--complete" title="Wikidata:Gegevenstoegang (100% translated)" lang="nl" dir="ltr">Nederlands</a></li> <li><a href="/wiki/Wikidata:Data_access/tr" class="mw-pt-progress mw-pt-progress--low" title="Vikiveri:Veri erişimi (13% translated)" lang="tr" dir="ltr">Türkçe</a></li> <li><a href="/wiki/Wikidata:Data_access/az" class="mw-pt-progress mw-pt-progress--low" title="Vikiverilənlər:Məlumat əldə etmək (4% translated)" lang="az" dir="ltr">azərbaycanca</a></li> <li><a href="/wiki/Wikidata:Data_access/ca" class="mw-pt-progress mw-pt-progress--low" title="Wikidata:Accés a les dades (12% translated)" lang="ca" dir="ltr">català</a></li> <li><a href="/wiki/Wikidata:Data_access/da" class="mw-pt-progress mw-pt-progress--med" title="Wikidata:Dataadgang (21% translated)" lang="da" dir="ltr">dansk</a></li> <li><a href="/wiki/Wikidata:Data_access/es" class="mw-pt-progress mw-pt-progress--high" title="Wikidata:Acceso a los datos (99% translated)" lang="es" dir="ltr">español</a></li> <li><a href="/wiki/Wikidata:Data_access/eu" class="mw-pt-progress mw-pt-progress--low" title="Wikidata:Datuetarako sarbidea (2% translated)" lang="eu" dir="ltr">euskara</a></li> <li><a href="/wiki/Wikidata:Data_access/ee" class="mw-pt-progress mw-pt-progress--low" title="Wikidata:Nyatakakawo ƒe yiyi (5% translated)" lang="ee" dir="ltr">eʋegbe</a></li> <li><a href="/wiki/Wikidata:Data_access/fr" class="mw-pt-progress mw-pt-progress--med" title="Wikidata:Accès aux données (45% translated)" lang="fr" dir="ltr">français</a></li> <li><a href="/wiki/Wikidata:Data_access/frc" class="mw-pt-progress mw-pt-progress--low" title="Wikidata:Data access/frc (0% translated)" lang="frc" dir="ltr">français cadien</a></li> <li><a href="/wiki/Wikidata:Data_access/zu" class="mw-pt-progress mw-pt-progress--low" title="Wikidata:Data access/zu (1% translated)" lang="zu" dir="ltr">isiZulu</a></li> <li><a href="/wiki/Wikidata:Data_access/it" class="mw-pt-progress mw-pt-progress--low" title="Wikidata:Accesso ai dati (3% translated)" lang="it" dir="ltr">italiano</a></li> <li><a href="/wiki/Wikidata:Data_access/pl" class="mw-pt-progress mw-pt-progress--med" title="Wikidane:Dostęp do danych (31% translated)" lang="pl" dir="ltr">polski</a></li> <li><a href="/wiki/Wikidata:Data_access/pt-br" class="mw-pt-progress mw-pt-progress--low" title="Wikidata:Acesso aos dados (3% translated)" lang="pt-BR" dir="ltr">português do Brasil</a></li> <li><a href="/wiki/Wikidata:Data_access/ro" class="mw-pt-progress mw-pt-progress--low" title="Wikidata:Acces la date (2% translated)" lang="ro" dir="ltr">română</a></li> <li><a href="/wiki/Wikidata:Data_access/fi" class="mw-pt-progress mw-pt-progress--low" title="Wikidata:Datan käyttäminen (3% translated)" lang="fi" dir="ltr">suomi</a></li> <li><a href="/wiki/Wikidata:Data_access/sv" class="mw-pt-progress mw-pt-progress--low" title="Wikidata:Dataåtkomst (7% translated)" lang="sv" dir="ltr">svenska</a></li> <li><a href="/wiki/Wikidata:Data_access/cs" class="mw-pt-progress mw-pt-progress--low" title="Wikidata:Přístup k datům (2% translated)" lang="cs" dir="ltr">čeština</a></li> <li><a href="/wiki/Wikidata:Data_access/el" class="mw-pt-progress mw-pt-progress--low" title="Wikidata:Πρόσβαση στα δεδομένα (2% translated)" lang="el" dir="ltr">Ελληνικά</a></li> <li><a href="/wiki/Wikidata:Data_access/ru" class="mw-pt-progress mw-pt-progress--med" title="Wikidata:Доступ к данным (24% translated)" lang="ru" dir="ltr">русский</a></li> <li><a href="/wiki/Wikidata:Data_access/uk" class="mw-pt-progress mw-pt-progress--med" title="Вікідані:Доступ до даних (57% translated)" lang="uk" dir="ltr">українська</a></li> <li><a href="/wiki/Wikidata:Data_access/hy" class="mw-pt-progress mw-pt-progress--low" title="Վիքիդատա:Տվյալների հասանելիություն (2% translated)" lang="hy" dir="ltr">հայերեն</a></li> <li><a href="/wiki/Wikidata:Data_access/ur" class="mw-pt-progress mw-pt-progress--low" title="ویکی ڈیٹا:ڈیٹا تک رسائیD's kknjn (1% translated)" lang="ur" dir="rtl">اردو</a></li> <li><a href="/wiki/Wikidata:Data_access/ar" class="mw-pt-progress mw-pt-progress--low" title="ويكي بيانات:الوصول للبيانات (12% translated)" lang="ar" dir="rtl">العربية</a></li> <li><a href="/wiki/Wikidata:Data_access/ms-arab" class="mw-pt-progress mw-pt-progress--low" title="ويکيداتا:چاڤاين داتا (1% translated)" lang="ms-Arab" dir="rtl">بهاس ملايو</a></li> <li><a href="/wiki/Wikidata:Data_access/fa" class="mw-pt-progress mw-pt-progress--med" title="Wikidata:دسترسی به دادهها (18% translated)" lang="fa" dir="rtl">فارسی</a></li> <li><a href="/wiki/Wikidata:Data_access/hi" class="mw-pt-progress mw-pt-progress--med" title="Wikidata:डेटा की अनुमतियाँ (51% translated)" lang="hi" dir="ltr">हिन्दी</a></li> <li><a href="/wiki/Wikidata:Data_access/bn" class="mw-pt-progress mw-pt-progress--med" title="উইকিউপাত্ত:উপাত্তে প্রবেশাধিকার (26% translated)" lang="bn" dir="ltr">বাংলা</a></li> <li><a href="/wiki/Wikidata:Data_access/th" class="mw-pt-progress mw-pt-progress--low" title="Wikidata:Data access (1% translated)" lang="th" dir="ltr">ไทย</a></li> <li><a href="/wiki/Wikidata:Data_access/my" class="mw-pt-progress mw-pt-progress--low" title="ဝီကီဒေတာ-ဒေတာဝင်ရောက်ခွင့် (2% translated)" lang="my" dir="ltr">မြန်မာဘာသာ</a></li> <li><a href="/wiki/Wikidata:Data_access/am" class="mw-pt-progress mw-pt-progress--low" title="Wikidata:Data access/am (4% translated)" lang="am" dir="ltr">አማርኛ</a></li> <li><a href="/wiki/Wikidata:Data_access/zh" class="mw-pt-progress mw-pt-progress--med" title="维基数据:-{zh-hans:数据; zh-hant:資料; zh-hk:數據;}--{zh-hans:访问; zh-hant:存取;}- (47% translated)" lang="zh" dir="ltr">中文</a></li> <li><a href="/wiki/Wikidata:Data_access/ja" class="mw-pt-progress mw-pt-progress--complete" title="Wikidata:データへのアクセス (100% translated)" lang="ja" dir="ltr">日本語</a></li> <li><a href="/wiki/Wikidata:Data_access/yue" class="mw-pt-progress mw-pt-progress--low" title="Wikidata:Data access/yue (12% translated)" lang="yue" dir="ltr">粵語</a></li> <li><a href="/wiki/Wikidata:Data_access/mni" class="mw-pt-progress mw-pt-progress--low" title="ꯋꯤꯀꯤꯗꯥꯇꯥ:ꯗꯥꯇꯥ ꯆꯪꯁꯤꯟꯕ (4% translated)" lang="mni" dir="ltr">ꯃꯤꯇꯩ ꯂꯣꯟ</a></li> <li><a href="/wiki/Wikidata:Data_access/ko" class="mw-pt-progress mw-pt-progress--med" title="위키데이터:데이터 이용 (23% translated)" lang="ko" dir="ltr">한국어</a></li></ul></div> <div style="max-width:80em; margin:0 auto;"> <center> <table cellpadding="10" cellspacing="0"> <tbody><tr> <td><span class="skin-invert-image" typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/2/28/Noun_Project_knowledge_icon_2805247.svg/100px-Noun_Project_knowledge_icon_2805247.svg.png" decoding="async" width="100" height="100" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/2/28/Noun_Project_knowledge_icon_2805247.svg/150px-Noun_Project_knowledge_icon_2805247.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/2/28/Noun_Project_knowledge_icon_2805247.svg/200px-Noun_Project_knowledge_icon_2805247.svg.png 2x" data-file-width="100" data-file-height="100"/></span></span> </td> <td style="height:1%; font:45px/1.3 FreeSans, Gill Sans MT, GillSansSA, Calibri, sans-serif; color:var(--color-subtle, #54595d); padding:0px 0; vertical-align:middle;"> <p style="padding-left:0px;margin-top:20px;margin-bottom:5px">Wikidata For Developers: Data access </p></td></tr> </tbody></table> </center> <p><br/> </p> <div style="width:100%; font-size:1.2em; min-width:99%; margin:auto; padding-top:20px;"> <div style="float:left; min-width:8%; border-bottom: 8px solid #5ca0ab; text-align:center; margin-right:1%;"><a href="/wiki/Special:MyLanguage/Wikidata:For_developers" title="Special:MyLanguage/Wikidata:For developers">Main page</a></div> <div style="float:left; min-width:8%; border-bottom: 8px solid #5ca0ab; text-align:center; margin-left:1%; margin-right:10px;"><a href="/wiki/Special:MyLanguage/Wikidata:For_developers/Resources" title="Special:MyLanguage/Wikidata:For developers/Resources">Resources</a></div> <div style="float:left; min-width:8%; border-bottom: 8px solid #5ca0ab; text-align:center; margin-left:1%; margin-right:10px;"><a href="/wiki/Special:MyLanguage/Wikidata:For_developers/FAQ" title="Special:MyLanguage/Wikidata:For developers/FAQ">FAQ</a></div> <div style="float:left; min-width:8%; border-bottom: 8px solid #5ca0ab; text-align:center; margin-left:1%; margin-right:10px;"><a href="/wiki/Special:MyLanguage/Wikidata:Data_access" title="Special:MyLanguage/Wikidata:Data access">Data access</a></div> <div style="float:left; min-width:8%; border-bottom: 8px solid #5ca0ab; text-align:center; margin-left:1%; margin-right:10px;"><a href="/wiki/Special:MyLanguage/Wikidata:For_developers/Showcase" title="Special:MyLanguage/Wikidata:For developers/Showcase">Showcase</a></div> <div style="float:left; min-width:8%; border-bottom: 8px solid #5ca0ab; text-align:center; margin-left:1%; margin-right:10px;"><a href="/wiki/Special:MyLanguage/Wikidata:For_developers/Best_practices" title="Special:MyLanguage/Wikidata:For developers/Best practices">Best practices</a></div> <div style="float:left; min-width:8%; border-bottom: 8px solid #5ca0ab; text-align:center; margin-left:1%;"><a href="/wiki/Special:MyLanguage/Wikidata:For_developers/Getting_support" title="Special:MyLanguage/Wikidata:For developers/Getting support">Getting support</a></div> </div> <div style="clear: both;"></div> <p><br/> </p> <hr/> <p>Wikidata currently contains over 110 million Items and over 1,3 million Lexemes, and these numbers will keep on growing. There are many methods available to access all that data—this document lays them out and helps prospective users choose the best method to suit their needs. </p><p>It's crucial to choose an access method that gives you the data you need in the quickest, most efficient way while not putting unnecessary load on Wikidata; this page is here to help you do just that. </p> <div id="toc" class="toc" role="navigation" aria-labelledby="mw-toc-heading"><input type="checkbox" role="button" id="toctogglecheckbox" class="toctogglecheckbox" style="display:none" /><div class="toctitle" lang="en" dir="ltr"><h2 id="mw-toc-heading">Contents</h2><span class="toctogglespan"><label class="toctogglelabel" for="toctogglecheckbox"></label></span></div> <ul> <li class="toclevel-1 tocsection-1"><a href="#Before_we_begin"><span class="tocnumber">1</span> <span class="toctext">Before we begin</span></a> <ul> <li class="toclevel-2 tocsection-2"><a href="#Using_Wikidata's_data"><span class="tocnumber">1.1</span> <span class="toctext">Using Wikidata's data</span></a></li> <li class="toclevel-2 tocsection-3"><a href="#Wikimedia_projects"><span class="tocnumber">1.2</span> <span class="toctext">Wikimedia projects</span></a></li> <li class="toclevel-2 tocsection-4"><a href="#Data_best_practices"><span class="tocnumber">1.3</span> <span class="toctext">Data best practices</span></a></li> <li class="toclevel-2 tocsection-5"><a href="#Access_best_practices"><span class="tocnumber">1.4</span> <span class="toctext">Access best practices</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-6"><a href="#Search"><span class="tocnumber">2</span> <span class="toctext">Search</span></a> <ul> <li class="toclevel-2 tocsection-7"><a href="#What_is_it?"><span class="tocnumber">2.1</span> <span class="toctext">What is it?</span></a></li> <li class="toclevel-2 tocsection-8"><a href="#When_to_use_it?"><span class="tocnumber">2.2</span> <span class="toctext">When to use it?</span></a></li> <li class="toclevel-2 tocsection-9"><a href="#Details"><span class="tocnumber">2.3</span> <span class="toctext">Details</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-10"><a href="#Linked_Data_Interface_(URI)"><span class="tocnumber">3</span> <span class="toctext">Linked Data Interface (URI)</span></a> <ul> <li class="toclevel-2 tocsection-11"><a href="#What_is_it?_2"><span class="tocnumber">3.1</span> <span class="toctext">What is it?</span></a></li> <li class="toclevel-2 tocsection-12"><a href="#When_to_use_it?_2"><span class="tocnumber">3.2</span> <span class="toctext">When to use it?</span></a></li> <li class="toclevel-2 tocsection-13"><a href="#Details_2"><span class="tocnumber">3.3</span> <span class="toctext">Details</span></a></li> <li class="toclevel-2 tocsection-14"><a href="#Less_verbose_RDF_output"><span class="tocnumber">3.4</span> <span class="toctext">Less verbose RDF output</span></a></li> <li class="toclevel-2 tocsection-15"><a href="#Revisions_and_caching"><span class="tocnumber">3.5</span> <span class="toctext">Revisions and caching</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-16"><a href="#Wikidata_Query_Service"><span class="tocnumber">4</span> <span class="toctext">Wikidata Query Service</span></a> <ul> <li class="toclevel-2 tocsection-17"><a href="#What_is_it?_3"><span class="tocnumber">4.1</span> <span class="toctext">What is it?</span></a></li> <li class="toclevel-2 tocsection-18"><a href="#When_to_use_it?_3"><span class="tocnumber">4.2</span> <span class="toctext">When to use it?</span></a></li> <li class="toclevel-2 tocsection-19"><a href="#Details_3"><span class="tocnumber">4.3</span> <span class="toctext">Details</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-20"><a href="#Linked_Data_Fragments_endpoint"><span class="tocnumber">5</span> <span class="toctext">Linked Data Fragments endpoint</span></a> <ul> <li class="toclevel-2 tocsection-21"><a href="#What_is_it?_4"><span class="tocnumber">5.1</span> <span class="toctext">What is it?</span></a></li> <li class="toclevel-2 tocsection-22"><a href="#When_to_use_it?_4"><span class="tocnumber">5.2</span> <span class="toctext">When to use it?</span></a></li> <li class="toclevel-2 tocsection-23"><a href="#Details_4"><span class="tocnumber">5.3</span> <span class="toctext">Details</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-24"><a href="#Wikibase_REST_API"><span class="tocnumber">6</span> <span class="toctext">Wikibase REST API</span></a> <ul> <li class="toclevel-2 tocsection-25"><a href="#What_is_it?_5"><span class="tocnumber">6.1</span> <span class="toctext">What is it?</span></a></li> <li class="toclevel-2 tocsection-26"><a href="#When_to_use_it?_5"><span class="tocnumber">6.2</span> <span class="toctext">When to use it?</span></a></li> <li class="toclevel-2 tocsection-27"><a href="#Details_5"><span class="tocnumber">6.3</span> <span class="toctext">Details</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-28"><a href="#MediaWiki_Action_API"><span class="tocnumber">7</span> <span class="toctext">MediaWiki Action API</span></a> <ul> <li class="toclevel-2 tocsection-29"><a href="#What_is_it?_6"><span class="tocnumber">7.1</span> <span class="toctext">What is it?</span></a></li> <li class="toclevel-2 tocsection-30"><a href="#When_to_use_it?_6"><span class="tocnumber">7.2</span> <span class="toctext">When to use it?</span></a></li> <li class="toclevel-2 tocsection-31"><a href="#Details_6"><span class="tocnumber">7.3</span> <span class="toctext">Details</span></a></li> <li class="toclevel-2 tocsection-32"><a href="#Bots"><span class="tocnumber">7.4</span> <span class="toctext">Bots</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-33"><a href="#Recent_Changes_stream"><span class="tocnumber">8</span> <span class="toctext">Recent Changes stream</span></a> <ul> <li class="toclevel-2 tocsection-34"><a href="#What_is_it?_7"><span class="tocnumber">8.1</span> <span class="toctext">What is it?</span></a></li> <li class="toclevel-2 tocsection-35"><a href="#When_to_use_it?_7"><span class="tocnumber">8.2</span> <span class="toctext">When to use it?</span></a></li> <li class="toclevel-2 tocsection-36"><a href="#Details_7"><span class="tocnumber">8.3</span> <span class="toctext">Details</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-37"><a href="#Dumps"><span class="tocnumber">9</span> <span class="toctext">Dumps</span></a> <ul> <li class="toclevel-2 tocsection-38"><a href="#What_are_they?"><span class="tocnumber">9.1</span> <span class="toctext">What are they?</span></a></li> <li class="toclevel-2 tocsection-39"><a href="#When_to_use_them?"><span class="tocnumber">9.2</span> <span class="toctext">When to use them?</span></a></li> <li class="toclevel-2 tocsection-40"><a href="#Details_8"><span class="tocnumber">9.3</span> <span class="toctext">Details</span></a></li> <li class="toclevel-2 tocsection-41"><a href="#Tools"><span class="tocnumber">9.4</span> <span class="toctext">Tools</span></a></li> <li class="toclevel-2 tocsection-42"><a href="#Local_query_service"><span class="tocnumber">9.5</span> <span class="toctext">Local query service</span></a></li> </ul> </li> </ul> </div> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Before_we_begin" data-mw-thread-id="h-Before_we_begin"><span data-mw-comment-start="" id="h-Before_we_begin"></span>Before we begin<span data-mw-comment-end="h-Before_we_begin"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Before_we_begin","replies":["h-Using_Wikidata's_data-Before_we_begin","h-Wikimedia_projects-Before_we_begin","h-Data_best_practices-Before_we_begin","h-Access_best_practices-Before_we_begin"]}}--></div> <div class="mw-heading mw-heading3"><h3 id="Using_Wikidata's_data" data-mw-thread-id="h-Using_Wikidata's_data-Before_we_begin"><span id="Using_Wikidata.27s_data"></span><span data-mw-comment-start="" id="h-Using_Wikidata's_data-Before_we_begin"></span>Using Wikidata's data<span data-mw-comment-end="h-Using_Wikidata's_data-Before_we_begin"></span></h3></div> <figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/File:Wikidata-logo-en.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/6/66/Wikidata-logo-en.svg/220px-Wikidata-logo-en.svg.png" decoding="async" width="220" height="156" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/66/Wikidata-logo-en.svg/330px-Wikidata-logo-en.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/66/Wikidata-logo-en.svg/440px-Wikidata-logo-en.svg.png 2x" data-file-width="1052" data-file-height="744"/></a><figcaption>Our logo</figcaption></figure> <p>Wikidata offers a wide range of general data about everything under the sun. All that data is licensed <a rel="nofollow" class="external text" href="https://creativecommons.org/about/cc0">CC0</a>, "No rights reserved", for the public domain. </p><p>Changes to APIs and other methods of accessing Wikidata are subject to the <a href="/wiki/Special:MyLanguage/Wikidata:Stable_Interface_Policy" title="Special:MyLanguage/Wikidata:Stable Interface Policy">Stable Interface Policy</a>. Data sources on this page are <b>not guaranteed</b> to be stable interfaces. </p> <div class="mw-heading mw-heading3"><h3 id="Wikimedia_projects" data-mw-thread-id="h-Wikimedia_projects-Before_we_begin"><span data-mw-comment-start="" id="h-Wikimedia_projects-Before_we_begin"></span>Wikimedia projects<span data-mw-comment-end="h-Wikimedia_projects-Before_we_begin"></span></h3></div> <p>This document is about accessing data from outside Wikimedia projects. If you need to present data from Wikidata in another Wikimedia project, where you can employ parser functions, Lua and/or other internal-only methods, refer to <a href="/wiki/Special:MyLanguage/Wikidata:How_to_use_data_on_Wikimedia_projects" title="Special:MyLanguage/Wikidata:How to use data on Wikimedia projects">How to use data on Wikimedia projects</a>. </p> <div class="mw-heading mw-heading3"><h3 id="Data_best_practices" data-mw-thread-id="h-Data_best_practices-Before_we_begin"><span data-mw-comment-start="" id="h-Data_best_practices-Before_we_begin"></span>Data best practices<span data-mw-comment-end="h-Data_best_practices-Before_we_begin"></span></h3></div> <figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/File:14-08-10-wikimania-gruppenfoto-01.jpg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/9/92/14-08-10-wikimania-gruppenfoto-01.jpg/220px-14-08-10-wikimania-gruppenfoto-01.jpg" decoding="async" width="220" height="151" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/92/14-08-10-wikimania-gruppenfoto-01.jpg/330px-14-08-10-wikimania-gruppenfoto-01.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/92/14-08-10-wikimania-gruppenfoto-01.jpg/440px-14-08-10-wikimania-gruppenfoto-01.jpg 2x" data-file-width="4162" data-file-height="2848"/></a><figcaption>Volunteers like these people – and you – make Wikidata</figcaption></figure> <p>We offer the data in Wikidata freely and with no requirement for attribution under <a rel="nofollow" class="external text" href="https://creativecommons.org/publicdomain/zero/1.0/">CC-0</a>. In return, we would greatly appreciate it if, in your project, you mention Wikidata as the origin of your data. In so doing you help ensure that Wikidata will stay around for a long time to provide up-to-date and high-quality data. We also promote the best projects that use Wikidata's data. </p><p>Some examples for attributing Wikidata: "Powered by Wikidata", "Powered by Wikidata data", "Powered by the magic of Wikidata", "Using Wikidata data", "With data from Wikidata", "Data from Wikidata", "Source: Wikidata", "Including data from Wikidata" and so forth. You can also use one of our <a href="https://commons.wikimedia.org/wiki/Category:Powered_by_Wikidata" class="extiw" title="c:Category:Powered by Wikidata">ready-made files</a>. </p> <ul class="gallery mw-gallery-traditional"> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Wikidata_stamp.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Wikidata_stamp.png/120px-Wikidata_stamp.png" decoding="async" width="120" height="100" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Wikidata_stamp.png/180px-Wikidata_stamp.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Wikidata_stamp.png/240px-Wikidata_stamp.png 2x" data-file-width="1061" data-file-height="886"/></a></span></div> <div class="gallerytext"></div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Wikidata_Stamp_Rec_Dark.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/ae/Wikidata_Stamp_Rec_Dark.svg/120px-Wikidata_Stamp_Rec_Dark.svg.png" decoding="async" width="120" height="33" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/ae/Wikidata_Stamp_Rec_Dark.svg/180px-Wikidata_Stamp_Rec_Dark.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/ae/Wikidata_Stamp_Rec_Dark.svg/240px-Wikidata_Stamp_Rec_Dark.svg.png 2x" data-file-width="842" data-file-height="230"/></a></span></div> <div class="gallerytext"></div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Wikidata_Stamp_Rec_Light.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/4/41/Wikidata_Stamp_Rec_Light.svg/120px-Wikidata_Stamp_Rec_Light.svg.png" decoding="async" width="120" height="33" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/4/41/Wikidata_Stamp_Rec_Light.svg/180px-Wikidata_Stamp_Rec_Light.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/4/41/Wikidata_Stamp_Rec_Light.svg/240px-Wikidata_Stamp_Rec_Light.svg.png 2x" data-file-width="842" data-file-height="230"/></a></span></div> <div class="gallerytext"></div> </li> </ul> <p>You may use the Wikidata logo shown above, but in so doing you should not in any way imply endorsement by Wikidata or by the Wikimedia Foundation. </p><p>Please offer your users a way to report issues in the data, and find a way to feed this back to Wikidata's editor community, for example through the <a href="/wiki/Special:MyLanguage/Wikidata:Mismatch_Finder" title="Special:MyLanguage/Wikidata:Mismatch Finder">Mismatch Finder</a>. Please share the location where you collect these issues on the <a href="/wiki/Special:MyLanguage/Wikidata:Project_chat" title="Special:MyLanguage/Wikidata:Project chat">Project chat</a>. </p> <div class="mw-heading mw-heading3"><h3 id="Access_best_practices" data-mw-thread-id="h-Access_best_practices-Before_we_begin"><span data-mw-comment-start="" id="h-Access_best_practices-Before_we_begin"></span>Access best practices<span data-mw-comment-end="h-Access_best_practices-Before_we_begin"></span></h3></div> <p>When accessing Wikidata's data, observe the following best practices: </p> <ul><li>Follow the User-Agent policy – send a good User-Agent header.</li> <li>Follow the robot policy: send <code>Accept-Encoding: gzip,deflate</code> and don’t make too many requests at once.</li> <li>If you get a 429 Too Many Requests response, stop sending further requests for a while (see the <a rel="nofollow" class="external text" href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After">Retry-After</a> response header)</li> <li>When available (such as with the Wikidata Query Service), set the lowest timeout that makes sense for your data.</li> <li>When using the MediaWiki Action API, make liberal use of the <code>maxlag</code> parameter and consult the rest of the guidelines laid out in <a href="https://www.mediawiki.org/wiki/Special:MyLanguage/API:Etiquette" class="extiw" title="mw:Special:MyLanguage/API:Etiquette">API:Etiquette</a>.</li></ul> <p><br/> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Search" data-mw-thread-id="h-Search"><span data-mw-comment-start="" id="h-Search"></span>Search<span data-mw-comment-end="h-Search"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Search","replies":["h-What_is_it?-Search","h-When_to_use_it?-Search","h-Details-Search"]}}--></div> <div class="mw-heading mw-heading3"><h3 id="What_is_it?" data-mw-thread-id="h-What_is_it?-Search"><span id="What_is_it.3F"></span><span data-mw-comment-start="" id="h-What_is_it?-Search"></span>What is it?<span data-mw-comment-end="h-What_is_it?-Search"></span></h3></div> <p>Wikidata offers an <a rel="nofollow" class="external text" href="https://www.elastic.co/elastic-stack/">Elasticsearch</a> index for traditional searches through its data: <a href="/wiki/Special:Search" title="Special:Search">Special:Search</a> </p> <div class="mw-heading mw-heading3"><h3 id="When_to_use_it?" data-mw-thread-id="h-When_to_use_it?-Search"><span id="When_to_use_it.3F"></span><span data-mw-comment-start="" id="h-When_to_use_it?-Search"></span>When to use it?<span data-mw-comment-end="h-When_to_use_it?-Search"></span></h3></div> <p>Use search when you need to look for a text string, or when you know the names of the entities you're looking for but not the exact entities themselves. It's also suitable for cases in which you can specify your search based on some very simple relations in the data. </p><p>Don't use search when the relations in your data are better described as complex. </p> <div class="mw-heading mw-heading3"><h3 id="Details" data-mw-thread-id="h-Details-Search"><span data-mw-comment-start="" id="h-Details-Search"></span>Details<span data-mw-comment-end="h-Details-Search"></span></h3></div> <p>You can make your search more powerful with these additional keywords specific to Wikidata: <code>haswbstatement</code>, <code>inlabel</code>, <code>wbstatementquantity</code>, <code>hasdescription</code>, <code>haslabel</code>. This search functionality is documented <a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Extension:WikibaseCirrusSearch" class="extiw" title="mw:Special:MyLanguage/Help:Extension:WikibaseCirrusSearch">on the CirrusSearch extension page</a>. It also has its own <a class="external text" href="https://wikidata.org/w/api.php?action=query&list=search">API action</a>. </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Linked_Data_Interface_(URI)" data-mw-thread-id="h-Linked_Data_Interface_(URI)"><span id="Linked_Data_Interface_.28URI.29"></span><span data-mw-comment-start="" id="h-Linked_Data_Interface_(URI)"></span>Linked Data Interface (URI) <span id="LDI"></span><span data-mw-comment-end="h-Linked_Data_Interface_(URI)"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Linked_Data_Interface_(URI)","replies":["h-What_is_it?_2-Linked_Data_Interface_(URI)","h-When_to_use_it?_2-Linked_Data_Interface_(URI)","h-Details_2-Linked_Data_Interface_(URI)","h-Less_verbose_RDF_output-Linked_Data_Interface_(URI)","h-Revisions_and_caching-Linked_Data_Interface_(URI)"]}}--></div> <div class="mw-heading mw-heading3"><h3 id="What_is_it?_2" data-mw-thread-id="h-What_is_it?_2-Linked_Data_Interface_(URI)"><span id="What_is_it.3F_2"></span><span data-mw-comment-start="" id="h-What_is_it?_2-Linked_Data_Interface_(URI)"></span>What is it?<span data-mw-comment-end="h-What_is_it?_2-Linked_Data_Interface_(URI)"></span></h3></div> <p>The Linked Data Interface provides access to individual entities via URI: <code>http://www.wikidata.org/entity/Q???</code>. Such URIs are called concept URIs. Note concept URIs use HTTP, not HTTPS. </p> <div class="mw-heading mw-heading3"><h3 id="When_to_use_it?_2" data-mw-thread-id="h-When_to_use_it?_2-Linked_Data_Interface_(URI)"><span id="When_to_use_it.3F_2"></span><span data-mw-comment-start="" id="h-When_to_use_it?_2-Linked_Data_Interface_(URI)"></span>When to use it?<span data-mw-comment-end="h-When_to_use_it?_2-Linked_Data_Interface_(URI)"></span></h3></div> <p>Use the Linked Data Interface when you need to obtain individual, complete entities that are already known to you. </p><p>Don't use it when you're not clear on which entities you need – first try searching or querying. It's also not suitable for requesting large quantities of data. </p> <div class="mw-heading mw-heading3"><h3 id="Details_2" data-mw-thread-id="h-Details_2-Linked_Data_Interface_(URI)"><span data-mw-comment-start="" id="h-Details_2-Linked_Data_Interface_(URI)"></span>Details<span data-mw-comment-end="h-Details_2-Linked_Data_Interface_(URI)"></span></h3></div> <figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/File:Douglas_adams_portrait_cropped.jpg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/c/c0/Douglas_adams_portrait_cropped.jpg/220px-Douglas_adams_portrait_cropped.jpg" decoding="async" width="220" height="255" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/c0/Douglas_adams_portrait_cropped.jpg/330px-Douglas_adams_portrait_cropped.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/c/c0/Douglas_adams_portrait_cropped.jpg 2x" data-file-width="333" data-file-height="386"/></a><figcaption>Meet <a href="/wiki/Q42" title="Q42">Q42</a></figcaption></figure> <p>Each Item or Property has a persistent <a href="https://en.wiktionary.org/wiki/uniform_resource_identifier" class="extiw" title="wikt:uniform resource identifier">URI</a> made up of the Wikidata concept namespace and the Item or Property ID (e.g., <code>Q42</code>, <code>P31</code>) as well as concrete data that can be accessed by that Item's or Property's data <a href="https://en.wiktionary.org/wiki/Uniform_Resource_Locator" class="extiw" title="wikt:Uniform Resource Locator">URL</a>. </p><p>The namespace for Wikidata's data about entities is <code><a class="external free" href="https://wikidata.org/wiki/Special:EntityData">https://wikidata.org/wiki/Special:EntityData</a></code>. </p><p>Appending an entity's ID to this prefix (you can use <code>/entity/</code> for short) creates the abstract (format-neutral) form of the entity's data URL. When accessing a resource in the Special:EntityData namespace, the special page applies <a href="https://en.wikipedia.org/wiki/content_negotiation" class="extiw" title="w:content negotiation">content negotiation</a> to determine the output format. If you opened the resource in a browser, you'll see an HTML page containing data about the entity, because web browsers prefer HTML. However, a linked-data client would receive the entity data in a format like JSON or RDF – whatever the client specifies in its HTTP <code>Accept:</code> header. </p> <dl><dd>For example, take this <i>concept URI</i> for Douglas Adams – that's a reference to the real-world person, not to Wikidata's concrete description:</dd></dl> <dl><dd><code>http://www.wikidata.org/entity/Q42</code></dd></dl> <dl><dd>As a human being with eyes and a browser, you will likely want to access data <i>about</i> Douglas Adams by using the concept URI as a <a href="https://en.wiktionary.org/wiki/Uniform_Resource_Locator" class="extiw" title="wikt:Uniform Resource Locator">URL</a>. Doing so triggers an HTTP redirect and forwards the client to the data URL that contains Wikidata's data <i>about</i> Douglas Adams: <a class="external free" href="https://www.wikidata.org/wiki/Special:EntityData/Q42">https://www.wikidata.org/wiki/Special:EntityData/Q42</a>.</dd></dl> <p>When you need to bypass content negotiation, say, in order to view non-HTML content in a web browser, you can specify the format of the entity data by appending the corresponding extension to the data URL; examples include <code>.json</code>, <code>.rdf</code>, <code>.ttl</code>, <code>.nt</code> or <code>.jsonld</code>. For example, <code><a class="external free" href="https://www.wikidata.org/wiki/Special:EntityData/Q42.json">https://www.wikidata.org/wiki/Special:EntityData/Q42.json</a></code> gives you Item Q42 in JSON format. </p> <div class="mw-heading mw-heading3"><h3 id="Less_verbose_RDF_output" data-mw-thread-id="h-Less_verbose_RDF_output-Linked_Data_Interface_(URI)"><span data-mw-comment-start="" id="h-Less_verbose_RDF_output-Linked_Data_Interface_(URI)"></span>Less verbose RDF output<span data-mw-comment-end="h-Less_verbose_RDF_output-Linked_Data_Interface_(URI)"></span></h3></div> <p>By default, the RDF data that the Linked Data interface returns is meant to be complete in itself, so it includes descriptions of other entities it refers to. If you want to exclude that information, you can append the query parameter <code>?flavor=dump</code> to the URL(s) you request. </p><p>By appending <code>&flavor</code> to the URL, you can control exactly what kind of data gets returned. </p> <ul><li><code>?flavor=dump</code>: Excludes descriptions of entities referred to in the data.</li> <li><code>?flavor=simple</code>: Provides only truthy statements (best-ranked statements without <a href="/wiki/Special:MyLanguage/Wikidata:Tours/Qualifiers" title="Special:MyLanguage/Wikidata:Tours/Qualifiers">qualifiers</a> or <a href="/wiki/Special:MyLanguage/Wikidata:Tours/References" title="Special:MyLanguage/Wikidata:Tours/References">references</a>), along with sitelinks and version information.</li> <li><code>?flavor=full</code> (default): An argument of "full" returns all data. (You don't need to specify this because it's the default.)</li></ul> <p>If you want a deeper insight into exactly what each option entails, you can take a peek into the <a class="external text" href="https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Wikibase/+/refs/heads/master/repo/includes/LinkedData/EntityDataSerializationService.php">source code</a>. </p> <div class="mw-heading mw-heading3"><h3 id="Revisions_and_caching" data-mw-thread-id="h-Revisions_and_caching-Linked_Data_Interface_(URI)"><span data-mw-comment-start="" id="h-Revisions_and_caching-Linked_Data_Interface_(URI)"></span>Revisions and caching<span data-mw-comment-end="h-Revisions_and_caching-Linked_Data_Interface_(URI)"></span></h3></div> <p>You can request specific revisions of an entity with the <code>revision</code> query parameter: <code><a class="external free" href="https://www.wikidata.org/wiki/Special:EntityData/Q42.json?revision=112">https://www.wikidata.org/wiki/Special:EntityData/Q42.json?revision=112</a></code>. </p><p>The following URL formats are used by the user interface and by the query service updater, respectively, so if you use one of the same URL formats there’s a good chance you’ll get faster (cached) responses: </p> <ul><li><a class="external text" href="https://www.wikidata.org/wiki/Special:EntityData/Q42.json?revision=1600533266">https://www.wikidata.org/wiki/Special:EntityData/<var>Q42</var>.json?revision=<var>1600533266</var></a> (JSON)</li> <li><a class="external text" href="https://www.wikidata.org/wiki/Special:EntityData/Q42.ttl?flavor=dump&revision=1600533266">https://www.wikidata.org/wiki/Special:EntityData/<var>Q42</var>.ttl?flavor=dump&revision=<var>1600533266</var></a> (RDF, without descriptions of other entities)</li></ul> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Wikidata_Query_Service" data-mw-thread-id="h-Wikidata_Query_Service"><span data-mw-comment-start="" id="h-Wikidata_Query_Service"></span>Wikidata Query Service<span data-mw-comment-end="h-Wikidata_Query_Service"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Wikidata_Query_Service","replies":["h-What_is_it?_3-Wikidata_Query_Service","h-When_to_use_it?_3-Wikidata_Query_Service","h-Details_3-Wikidata_Query_Service"]}}--></div> <style data-mw-deduplicate="TemplateStyles:r2004752038">.mw-parser-output .hatnote{font-style:italic}.mw-parser-output .hatnote i,.mw-parser-output .hatnote.noitalic{font-style:normal}.mw-parser-output div.hatnote{padding-left:1.6em;margin-bottom:0.5em}.mw-parser-output div.hatnote+div.hatnote{margin-top:-0.5em}@media print{.mw-parser-output .hatnote{display:none}}</style><div class="hatnote" role="note">Main page: <a href="/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help" title="Wikidata:SPARQL query service/Wikidata Query Help">Wikidata:SPARQL query service/Wikidata Query Help</a></div> <div class="mw-heading mw-heading3"><h3 id="What_is_it?_3" data-mw-thread-id="h-What_is_it?_3-Wikidata_Query_Service"><span id="What_is_it.3F_3"></span><span data-mw-comment-start="" id="h-What_is_it?_3-Wikidata_Query_Service"></span>What is it?<span data-mw-comment-end="h-What_is_it?_3-Wikidata_Query_Service"></span></h3></div> <p>The Wikidata Query Service (WDQS) is Wikidata's own SPARQL endpoint. It returns the results of queries made in the SPARQL query language: <code><a class="external free" href="https://query.wikidata.org">https://query.wikidata.org</a></code> </p> <div class="mw-heading mw-heading3"><h3 id="When_to_use_it?_3" data-mw-thread-id="h-When_to_use_it?_3-Wikidata_Query_Service"><span id="When_to_use_it.3F_3"></span><span data-mw-comment-start="" id="h-When_to_use_it?_3-Wikidata_Query_Service"></span>When to use it?<span data-mw-comment-end="h-When_to_use_it?_3-Wikidata_Query_Service"></span></h3></div> <p>Use WDQS when you know only the characteristics of your desired data. </p><p>Don't use WDQS for performing text or fuzzy search – FILTER(REGEX(...)) is an antipattern. (Use <a href="#Search">search</a> in such cases.) </p><p>WDQS is also not suitable when your desired data is likely to be large, a substantial percentage of all Wikidata's data. (Consider using a <a href="#Dumps">dump</a> in such cases.) </p> <div class="mw-heading mw-heading3"><h3 id="Details_3" data-mw-thread-id="h-Details_3-Wikidata_Query_Service"><span data-mw-comment-start="" id="h-Details_3-Wikidata_Query_Service"></span>Details<span data-mw-comment-end="h-Details_3-Wikidata_Query_Service"></span></h3></div> <p>You can query the data in Wikidata through our SPARQL endpoint, the <a class="external text" href="https://query.wikidata.org/">Wikidata Query Service</a>. The service can be used both as an interactive web interface, or programmatically by submitting <code>GET</code> or <code>POST</code> requests to <code><a class="external free" href="https://query.wikidata.org/sparql">https://query.wikidata.org/sparql</a></code>. </p><p>The query service is best used when your intended result set is scoped narrowly, i.e., when you have a query you're pretty sure already specifies your resulting data set accurately. If your idea of the result set is less well defined, then the kind of work you'll be doing against the query service will more resemble a search; frequently you'll first need to do this kind of search-related work to sharpen up your query. See the <a href="#Search">Search</a> section. </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Linked_Data_Fragments_endpoint" data-mw-thread-id="h-Linked_Data_Fragments_endpoint"><span data-mw-comment-start="" id="h-Linked_Data_Fragments_endpoint"></span>Linked Data Fragments endpoint<span data-mw-comment-end="h-Linked_Data_Fragments_endpoint"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Linked_Data_Fragments_endpoint","replies":["h-What_is_it?_4-Linked_Data_Fragments_endpoint","h-When_to_use_it?_4-Linked_Data_Fragments_endpoint","h-Details_4-Linked_Data_Fragments_endpoint"]}}--></div> <div class="mw-heading mw-heading3"><h3 id="What_is_it?_4" data-mw-thread-id="h-What_is_it?_4-Linked_Data_Fragments_endpoint"><span id="What_is_it.3F_4"></span><span data-mw-comment-start="" id="h-What_is_it?_4-Linked_Data_Fragments_endpoint"></span>What is it?<span data-mw-comment-end="h-What_is_it?_4-Linked_Data_Fragments_endpoint"></span></h3></div> <p>The Linked Data Fragments (LDF) endpoint is a more experimental method of accessing Wikidata's data by specifying patterns in triples: <code><a class="external free" href="https://query.wikidata.org/bigdata/ldf">https://query.wikidata.org/bigdata/ldf</a></code>. Computation occurs primarily on the client side. </p> <div class="mw-heading mw-heading3"><h3 id="When_to_use_it?_4" data-mw-thread-id="h-When_to_use_it?_4-Linked_Data_Fragments_endpoint"><span id="When_to_use_it.3F_4"></span><span data-mw-comment-start="" id="h-When_to_use_it?_4-Linked_Data_Fragments_endpoint"></span>When to use it?<span data-mw-comment-end="h-When_to_use_it?_4-Linked_Data_Fragments_endpoint"></span></h3></div> <p>Use the LDF endpoint when you can define the data you're looking for using triple patterns, and when your result set is likely to be fairly large. The endpoint is good to use when you have significant computational power at your disposal. </p><p>Since it's experimental, don't use the LDF endpoint if you need an absolutely stable endpoint or a rigorously complete result set. And as mentioned before, only use it if you have sufficient computational power, as the LDF endpoint offloads computation to the client side. </p> <div class="mw-heading mw-heading3"><h3 id="Details_4" data-mw-thread-id="h-Details_4-Linked_Data_Fragments_endpoint"><span data-mw-comment-start="" id="h-Details_4-Linked_Data_Fragments_endpoint"></span>Details<span data-mw-comment-end="h-Details_4-Linked_Data_Fragments_endpoint"></span></h3></div> <p>If you have partial information about what you're looking for, such as when you have two out of three components of your triple(s), you may find what you're looking for by using the <a rel="nofollow" class="external text" href="http://linkeddatafragments.org/">Linked Data Fragments</a> interface at <code><a class="external free" href="https://query.wikidata.org/bigdata/ldf">https://query.wikidata.org/bigdata/ldf</a></code>. See the <a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Wikidata_query_service/User_Manual" class="extiw" title="mw:Special:MyLanguage/Wikidata query service/User Manual">user manual</a> and <a href="/wiki/Special:MyLanguage/Wikidata:SPARQL_query_service" title="Special:MyLanguage/Wikidata:SPARQL query service">community pages</a> for more information. </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Wikibase_REST_API" data-mw-thread-id="h-Wikibase_REST_API"><span data-mw-comment-start="" id="h-Wikibase_REST_API"></span>Wikibase REST API <span id="wikibase-rest-api"></span><span data-mw-comment-end="h-Wikibase_REST_API"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Wikibase_REST_API","replies":["h-What_is_it?_5-Wikibase_REST_API","h-When_to_use_it?_5-Wikibase_REST_API","h-Details_5-Wikibase_REST_API"]}}--></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r2004752038"><div class="hatnote" role="note">Main page: <a href="/wiki/Wikidata:REST_API" title="Wikidata:REST API">Wikidata:REST API</a></div> <div class="mw-heading mw-heading3"><h3 id="What_is_it?_5" data-mw-thread-id="h-What_is_it?_5-Wikibase_REST_API"><span id="What_is_it.3F_5"></span><span data-mw-comment-start="" id="h-What_is_it?_5-Wikibase_REST_API"></span>What is it?<span data-mw-comment-end="h-What_is_it?_5-Wikibase_REST_API"></span></h3></div> <p>The Wikibase REST API is an OpenAPI-based interface that allows users to interact with, retrieve and edit items and statements on Wikibase instances – including of course Wikidata: <a href="/wiki/Special:MyLanguage/Wikidata:REST_API" title="Special:MyLanguage/Wikidata:REST API">Wikidata REST API</a> </p> <div class="mw-heading mw-heading3"><h3 id="When_to_use_it?_5" data-mw-thread-id="h-When_to_use_it?_5-Wikibase_REST_API"><span id="When_to_use_it.3F_5"></span><span data-mw-comment-start="" id="h-When_to_use_it?_5-Wikibase_REST_API"></span>When to use it?<span data-mw-comment-end="h-When_to_use_it?_5-Wikibase_REST_API"></span></h3></div> <p>The Wikibase REST API is still under development, but for Wikidata it's intended to functionally replace the <a href="#MediaWiki_Action_API">Action API</a> as it's a dedicated interface made just for Wikibase/Wikidata. </p><p>The use cases for the Action API apply to the Wikibase REST API as well. Use it when your work involves: </p> <ul><li>Editing Wikidata</li> <li>Getting direct data about entities themselves</li></ul> <p>Don't use the Wikibase REST API when your result set is likely to be large. (Consider using a <a href="#Dumps">dump</a> in such cases.) </p><p>It's better not to use the Wikibase REST API when you'll need to further narrow the result of your API request. In such cases it's better to frame your work as a <a href="#Search">search</a> (for Elasticsearch) or a <a href="#Wikidata_Query_Service">query</a> (for WDQS). </p> <div class="mw-heading mw-heading3"><h3 id="Details_5" data-mw-thread-id="h-Details_5-Wikibase_REST_API"><span data-mw-comment-start="" id="h-Details_5-Wikibase_REST_API"></span>Details<span data-mw-comment-end="h-Details_5-Wikibase_REST_API"></span></h3></div> <p>The Wikibase REST API has <a class="external text" href="https://doc.wikimedia.org/Wikibase/master/js/rest-api/">OpenAPI documentation</a> using <a rel="nofollow" class="external text" href="https://swagger.io/">Swagger</a>. You can also review the <a class="external text" href="https://doc.wikimedia.org/Wikibase/master/php/repo_rest-api_README.html">developer documentation</a>. </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="MediaWiki_Action_API" data-mw-thread-id="h-MediaWiki_Action_API"><span data-mw-comment-start="" id="h-MediaWiki_Action_API"></span>MediaWiki Action API <span id="mediawiki-api"></span><span data-mw-comment-end="h-MediaWiki_Action_API"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-MediaWiki_Action_API","replies":["h-What_is_it?_6-MediaWiki_Action_API","h-When_to_use_it?_6-MediaWiki_Action_API","h-Details_6-MediaWiki_Action_API","h-Bots-MediaWiki_Action_API"]}}--></div> <div class="mw-heading mw-heading3"><h3 id="What_is_it?_6" data-mw-thread-id="h-What_is_it?_6-MediaWiki_Action_API"><span id="What_is_it.3F_6"></span><span data-mw-comment-start="" id="h-What_is_it?_6-MediaWiki_Action_API"></span>What is it?<span data-mw-comment-end="h-What_is_it?_6-MediaWiki_Action_API"></span></h3></div> <p>The Wikidata API is MediaWiki's own Action API, extended to include some Wikibase-specific actions: <code><a class="external free" href="https://wikidata.org/w/api.php">https://wikidata.org/w/api.php</a></code> </p> <div class="mw-heading mw-heading3"><h3 id="When_to_use_it?_6" data-mw-thread-id="h-When_to_use_it?_6-MediaWiki_Action_API"><span id="When_to_use_it.3F_6"></span><span data-mw-comment-start="" id="h-When_to_use_it?_6-MediaWiki_Action_API"></span>When to use it?<span data-mw-comment-end="h-When_to_use_it?_6-MediaWiki_Action_API"></span></h3></div> <p>Use the API when your work involves: </p> <ul><li>Editing Wikidata</li> <li>Getting data about entities themselves such as their revision history</li> <li>Getting all of the data of an entity in JSON format, in small groups of entities (up to 50 entities per request).</li></ul> <p>Don't use the API when your result set is likely to be large. (Consider using a <a href="#Dumps">dump</a> in such cases.) </p><p>The API is also poorly suited to situations in which you want to request the current state of entities in JSON. (For such cases consider using the <a href="#Linked_Data_Interface">Linked Data Interface</a>, which is likelier to provide faster responses.) </p><p>Finally, it's probably a bad idea to use the API when you'll need to further narrow the result of your API request. In such cases it's better to frame your work as a <a href="#Search">search</a> (for Elasticsearch) or a <a href="#Wikidata_Query_Service">query</a> (for WDQS). </p> <div class="mw-heading mw-heading3"><h3 id="Details_6" data-mw-thread-id="h-Details_6-MediaWiki_Action_API"><span data-mw-comment-start="" id="h-Details_6-MediaWiki_Action_API"></span>Details<span data-mw-comment-end="h-Details_6-MediaWiki_Action_API"></span></h3></div> <p>The MediaWiki Action API used for Wikidata is meticulously documented <a class="external text" href="https://www.wikidata.org/w/api.php">on Wikidata's API page</a>. You can explore and experiment with it using the <a href="/wiki/Special:ApiSandbox" title="Special:ApiSandbox">API Sandbox</a>. </p><p>There are multiple Wikibase specific endpoints. Here are some example requests: </p> <ul><li><a class="external text" href="https://www.wikidata.org/wiki/Special:ApiSandbox#action=wbsearchentities&format=json&search=New%20York%2C%20NY&language=en&limit=1&formatversion=2">wbsearchentities search for <i>New York, NY</i> with limit=1</a> gives: <a href="/wiki/Q60" title="Q60">New York City <small>(Q60)</small></a>. This endpoint is very valuable because it is fast and can be used as a source of inference in tools and applications. For most well described items in Wikidata this endpoint works surprisingly well.</li></ul> <div class="mw-heading mw-heading3"><h3 id="Bots" data-mw-thread-id="h-Bots-MediaWiki_Action_API"><span data-mw-comment-start="" id="h-Bots-MediaWiki_Action_API"></span>Bots<span data-mw-comment-end="h-Bots-MediaWiki_Action_API"></span></h3></div> <figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/File:Bot_operator%27s_barnstar.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/e/ed/Bot_operator%27s_barnstar.png" decoding="async" width="100" height="96" class="mw-file-element" data-file-width="100" data-file-height="96"/></a><figcaption>We welcome well-behaved bots</figcaption></figure> <p>You can also access the API by using a bot. For more on bots, see <a href="/wiki/Special:MyLanguage/Wikidata:Bots" title="Special:MyLanguage/Wikidata:Bots">Wikidata:Bots</a>. </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Recent_Changes_stream" data-mw-thread-id="h-Recent_Changes_stream"><span data-mw-comment-start="" id="h-Recent_Changes_stream"></span>Recent Changes stream<span data-mw-comment-end="h-Recent_Changes_stream"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Recent_Changes_stream","replies":["h-What_is_it?_7-Recent_Changes_stream","h-When_to_use_it?_7-Recent_Changes_stream","h-Details_7-Recent_Changes_stream"]}}--></div> <div class="mw-heading mw-heading3"><h3 id="What_is_it?_7" data-mw-thread-id="h-What_is_it?_7-Recent_Changes_stream"><span id="What_is_it.3F_7"></span><span data-mw-comment-start="" id="h-What_is_it?_7-Recent_Changes_stream"></span>What is it?<span data-mw-comment-end="h-What_is_it?_7-Recent_Changes_stream"></span></h3></div> <p>The Recent Changes stream provides a continuous stream of changes of all Wikimedia wikis, including Wikidata: <code><a class="external free" href="https://stream.wikimedia.org">https://stream.wikimedia.org</a></code> </p> <div class="mw-heading mw-heading3"><h3 id="When_to_use_it?_7" data-mw-thread-id="h-When_to_use_it?_7-Recent_Changes_stream"><span id="When_to_use_it.3F_7"></span><span data-mw-comment-start="" id="h-When_to_use_it?_7-Recent_Changes_stream"></span>When to use it?<span data-mw-comment-end="h-When_to_use_it?_7-Recent_Changes_stream"></span></h3></div> <p>Use the Recent Changes stream when your project requires you to react to changes in real time or when you need all the latest changes coming from Wikidata – for example, when running your own query service. </p> <div class="mw-heading mw-heading3"><h3 id="Details_7" data-mw-thread-id="h-Details_7-Recent_Changes_stream"><span data-mw-comment-start="" id="h-Details_7-Recent_Changes_stream"></span>Details<span data-mw-comment-end="h-Details_7-Recent_Changes_stream"></span></h3></div> <p>The Recent Changes stream contains all updates from all wikis using the <a href="https://en.wikipedia.org/wiki/Server-sent_events" class="extiw" title="wikipedia:Server-sent events">server-sent events</a> protocol. You'll need to filter Wikidata's updates out on the client side. </p><p>You can find the web interface <a class="external text" href="https://stream.wikimedia.org">at stream.wikimedia.org</a> and read all about it on the <a href="https://wikitech.wikimedia.org/wiki/Event_Platform/EventStreams" class="extiw" title="wikitech:Event Platform/EventStreams">EventStreams</a> page. </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Dumps" data-mw-thread-id="h-Dumps"><span data-mw-comment-start="" id="h-Dumps"></span>Dumps<span data-mw-comment-end="h-Dumps"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Dumps","replies":["h-What_are_they?-Dumps","h-When_to_use_them?-Dumps","h-Details_8-Dumps","h-Tools-Dumps","h-Local_query_service-Dumps"]}}--></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r2004752038"><div class="hatnote" role="note">Main page: <a href="/wiki/Wikidata:Database_download" title="Wikidata:Database download">Wikidata:Database download</a></div> <div class="mw-heading mw-heading3"><h3 id="What_are_they?" data-mw-thread-id="h-What_are_they?-Dumps"><span id="What_are_they.3F"></span><span data-mw-comment-start="" id="h-What_are_they?-Dumps"></span>What are they?<span data-mw-comment-end="h-What_are_they?-Dumps"></span></h3></div> <p>Wikidata dumps are complete exports of all the Entities in Wikidata: <code><a class="external free" href="https://dumps.wikimedia.org">https://dumps.wikimedia.org</a></code> </p> <div class="mw-heading mw-heading3"><h3 id="When_to_use_them?" data-mw-thread-id="h-When_to_use_them?-Dumps"><span id="When_to_use_them.3F"></span><span data-mw-comment-start="" id="h-When_to_use_them?-Dumps"></span>When to use them?<span data-mw-comment-end="h-When_to_use_them?-Dumps"></span></h3></div> <p>Use a dump when your result set is likely to be very large. You'll also find a dump important when setting up your own query service. </p><p>Don't use a dump if you need current data: the dumps take a very long time to export and even longer to sync to your own query service. Dumps are also unsuitable when you have significant limits on your available bandwidth, storage space and/or computing power. </p> <div class="mw-heading mw-heading3"><h3 id="Details_8" data-mw-thread-id="h-Details_8-Dumps"><span data-mw-comment-start="" id="h-Details_8-Dumps"></span>Details<span data-mw-comment-end="h-Details_8-Dumps"></span></h3></div> <p>If the records you need to traverse are many, or if your result set is likely to be very large, it's time to consider working with a database dump: (<a class="external text" href="https://dumps.wikimedia.org/wikidatawiki/latest/">link to the latest complete dump</a>). </p><p>You'll find detailed documentation about all Wikimedia dumps <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Data_dumps" class="extiw" title="m:Special:MyLanguage/Data dumps">on the "Data dumps" page on Meta</a> and about Wikidata dumps in particular on the <a href="/wiki/Special:MyLanguage/Wikidata:Database_download" title="Special:MyLanguage/Wikidata:Database download">database download</a> page. See also <a href="#Flavored_dumps">Flavored dumps</a> above. </p> <div class="mw-heading mw-heading3"><h3 id="Tools" data-mw-thread-id="h-Tools-Dumps"><span data-mw-comment-start="" id="h-Tools-Dumps"></span>Tools<span data-mw-comment-end="h-Tools-Dumps"></span></h3></div> <ul><li><a rel="nofollow" class="external text" href="https://github.com/JeroenDeDauw/JsonDumpReader">JsonDumpReader</a> is a PHP library for reading dumps.</li> <li>At <a rel="nofollow" class="external autonumber" href="https://gitlab.com/tozd/go/mediawiki">[1]</a> you'll find a Go library for processing Wikipedia and Wikidata dumps.</li> <li>You can use <a rel="nofollow" class="external text" href="https://github.com/bennofs/wdumper">wdumper</a> to get partial custom RDF dumps.</li></ul> <div class="mw-heading mw-heading3"><h3 id="Local_query_service" data-mw-thread-id="h-Local_query_service-Dumps"><span data-mw-comment-start="" id="h-Local_query_service-Dumps"></span>Local query service<span data-mw-comment-end="h-Local_query_service-Dumps"></span></h3></div> <p>It's no small task to procure a Wikidata dump and implement the above tools for working with it, but you can take a further step. If you have the capacity and resources to do so, you can host your own instance of the Wikidata Query Service and query it as much as you like, out of contention with any others. </p><p>To set up your own query service, follow <a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Wikidata_Query_Service/User_Manual#Standalone_service" class="extiw" title="mw:Special:MyLanguage/Wikidata Query Service/User Manual">these instructions</a> from the query service team, which include procuring your own local copy of the data. You may also find useful information in Adam Shorland's <a rel="nofollow" class="external text" href="https://addshore.com/2019/10/your-own-wikidata-query-service-with-no-limits/">blog post</a> on the topic. </p></div> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐874f78f45‐r6wsx Cached time: 20241216095815 Cache expiry: 2592000 Reduced expiry: false Complications: [show‐toc] DiscussionTools time usage: 0.021 seconds CPU time usage: 0.225 seconds Real time usage: 0.602 seconds Preprocessor visited node count: 835/1000000 Post‐expand include size: 3372/2097152 bytes Template argument size: 646/2097152 bytes Highest expansion depth: 9/100 Expensive parser function count: 2/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 12268/5000000 bytes Lua time usage: 0.015/10.000 seconds Lua memory usage: 1122628/52428800 bytes Number of Wikibase entities loaded: 0/500 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 92.297 1 -total 48.81% 45.047 3 Template:Main 44.21% 40.807 3 Template:Hatnote 30.06% 27.746 3 Template:Separated_entries 19.23% 17.749 1 Template:LM 13.28% 12.253 9 Template:Int 12.64% 11.664 2 Template:CURRENTCONTENTLANGUAGE 10.28% 9.485 1 Template:Ll 9.39% 8.665 1 Template:Q 8.57% 7.906 1 Template:PDT --> <!-- Saved in parser cache with key wikidatawiki:pcache:15792342:|#|:idhash:canonical and timestamp 20241216095815 and revision id 2254784798. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?useformat=desktop&type=1x1&usesul3=0" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://www.wikidata.org/w/index.php?title=Wikidata:Data_access&oldid=2254784798">https://www.wikidata.org/w/index.php?title=Wikidata:Data_access&oldid=2254784798</a>"</div></div> <div id="catlinks" class="catlinks catlinks-allhidden" data-mw="interface"></div> </div> </div> <div id="mw-navigation"> <h2>Navigation menu</h2> <div id="mw-head"> <nav id="p-personal" class="mw-portlet mw-portlet-personal vector-user-menu-legacy vector-menu" aria-labelledby="p-personal-label" > <h3 id="p-personal-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Personal tools</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-uls" class="mw-list-item active"><a class="uls-trigger" href="#"><span>English</span></a></li><li id="pt-anonuserpage" class="mw-list-item"><span title="The user page for the IP address you are editing as">Not logged in</span></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</span></a></li><li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-createaccount" class="mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&returnto=Wikidata%3AData+access" title="You are encouraged to create an account and log in; however, it is not mandatory"><span>Create account</span></a></li><li id="pt-login" class="mw-list-item"><a href="/w/index.php?title=Special:UserLogin&returnto=Wikidata%3AData+access" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o"><span>Log in</span></a></li> </ul> </div> </nav> <div id="left-navigation"> <nav id="p-namespaces" class="mw-portlet mw-portlet-namespaces vector-menu-tabs vector-menu-tabs-legacy vector-menu" aria-labelledby="p-namespaces-label" > <h3 id="p-namespaces-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Namespaces</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-project" class="selected mw-list-item"><a href="/wiki/Wikidata:Data_access" title="View the project page [c]" accesskey="c"><span>Project page</span></a></li><li id="ca-talk" class="mw-list-item"><a href="/wiki/Wikidata_talk:Data_access" rel="discussion" title="Discussion about the content page [t]" accesskey="t"><span>Discussion</span></a></li> </ul> </div> </nav> <nav id="p-variants" class="mw-portlet mw-portlet-variants emptyPortlet vector-menu-dropdown vector-menu" aria-labelledby="p-variants-label" > <input type="checkbox" id="p-variants-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-variants" class="vector-menu-checkbox" aria-labelledby="p-variants-label" > <label id="p-variants-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">English</span> </label> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </nav> </div> <div id="right-navigation"> <nav id="p-views" class="mw-portlet mw-portlet-views vector-menu-tabs vector-menu-tabs-legacy vector-menu" aria-labelledby="p-views-label" > <h3 id="p-views-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Views</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected mw-list-item"><a href="/wiki/Wikidata:Data_access"><span>Read</span></a></li><li id="ca-viewsource" class="mw-list-item"><a href="/w/index.php?title=Wikidata:Data_access&action=edit" title="This page is protected. You can view its source [e]" accesskey="e"><span>View source</span></a></li><li id="ca-history" class="mw-list-item"><a href="/w/index.php?title=Wikidata:Data_access&action=history" title="Past revisions of this page [h]" accesskey="h"><span>View history</span></a></li> </ul> </div> </nav> <nav id="p-cactions" class="mw-portlet mw-portlet-cactions emptyPortlet vector-menu-dropdown vector-menu" aria-labelledby="p-cactions-label" title="More options" > <input type="checkbox" id="p-cactions-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-cactions" class="vector-menu-checkbox" aria-labelledby="p-cactions-label" > <label id="p-cactions-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">More</span> </label> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </nav> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box"> <h3 >Search</h3> <form action="/w/index.php" id="searchform" class="vector-search-box-form"> <div id="simpleSearch" class="vector-search-box-inner" data-search-loc="header-navigation"> <input class="vector-search-box-input" type="search" name="search" placeholder="Search Wikidata" aria-label="Search Wikidata" autocapitalize="sentences" title="Search Wikidata [f]" accesskey="f" id="searchInput" > <input type="hidden" name="title" value="Special:Search"> <input id="mw-searchButton" class="searchButton mw-fallbackSearchButton" type="submit" name="fulltext" title="Search the pages for this text" value="Search"> <input id="searchButton" class="searchButton" type="submit" name="go" title="Go to a page with this exact name if it exists" value="Go"> </div> </form> </div> </div> </div> <div id="mw-panel" class="vector-legacy-sidebar"> <div id="p-logo" role="banner"> <a class="mw-wiki-logo" href="/wiki/Wikidata:Main_Page" title="Visit the main page"></a> </div> <nav id="p-navigation" class="mw-portlet mw-portlet-navigation vector-menu-portal portal vector-menu" aria-labelledby="p-navigation-label" > <h3 id="p-navigation-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Navigation</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Wikidata:Main_Page" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Project:Community_portal" title="About the project, what you can do, where to find things"><span>Community portal</span></a></li><li id="n-villagepump" class="mw-list-item"><a href="/wiki/Wikidata:Project_chat"><span>Project chat</span></a></li><li id="n-special-newitem" class="mw-list-item"><a href="/wiki/Special:NewItem"><span>Create a new Item</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes in the wiki [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-wikibase-randomitem" class="mw-list-item"><a href="/wiki/Special:Random/Main" title="[x]" accesskey="x"><span>Random Item</span></a></li><li id="n-wikibase-queryservice" class="mw-list-item"><a href="//query.wikidata.org/"><span>Query Service</span></a></li><li id="n-nearby-pages-title" class="mw-list-item"><a href="/wiki/Special:Nearby"><span>Nearby</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Help:Contents" title="The place to find out"><span>Help</span></a></li><li id="n-sitesupport" class="mw-list-item"><a href="https://donate.wikimedia.org/?wmf_source=donate&wmf_medium=sidebar&wmf_campaign=www.wikidata.org&uselang=en" title="Support us"><span>Donate</span></a></li> </ul> </div> </nav> <nav id="p-wikibase-lexeme-lexicographical-data" class="mw-portlet mw-portlet-wikibase-lexeme-lexicographical-data vector-menu-portal portal vector-menu" aria-labelledby="p-wikibase-lexeme-lexicographical-data-label" > <h3 id="p-wikibase-lexeme-lexicographical-data-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Lexicographical data</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-special-newlexeme" class="mw-list-item"><a href="/wiki/Special:NewLexeme"><span>Create a new Lexeme</span></a></li><li id="n-recentchanges-lexemes" class="mw-list-item"><a href="https://www.wikidata.org/wiki/Special:RecentChanges?namespace=146%3B147"><span>Recent changes</span></a></li><li id="n-wikibase-lexeme-randomlexeme" class="mw-list-item"><a href="/wiki/Special:Random/Lexeme"><span>Random Lexeme</span></a></li> </ul> </div> </nav> <nav id="p-tb" class="mw-portlet mw-portlet-tb vector-menu-portal portal vector-menu" aria-labelledby="p-tb-label" > <h3 id="p-tb-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Tools</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/Wikidata:Data_access" title="A list of all wiki pages that link here [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Wikidata:Data_access" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q"><span>Special pages</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Wikidata:Data_access&oldid=2254784798" title="Permanent link to this revision of this page"><span>Permanent link</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Wikidata:Data_access&action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlQ%C4%B1sald%C4%B1c%C4%B1s%C4%B1&url=https%3A%2F%2Fwww.wikidata.org%2Fwiki%2FWikidata%3AData_access"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrKodu&url=https%3A%2F%2Fwww.wikidata.org%2Fwiki%2FWikidata%3AData_access"><span>Download QR code</span></a></li> </ul> </div> </nav> <nav id="p-coll-print_export" class="mw-portlet mw-portlet-coll-print_export vector-menu-portal portal vector-menu" aria-labelledby="p-coll-print_export-label" > <h3 id="p-coll-print_export-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Print/export</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-create_a_book" class="mw-list-item"><a href="/w/index.php?title=Special:Book&bookcmd=book_creator&referer=Wikidata%3AData+access"><span>Create a book</span></a></li><li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&page=Wikidata%3AData_access&action=show-download-screen"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Wikidata:Data_access&printable=yes" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </nav> <nav id="p-wikibase-otherprojects" class="mw-portlet mw-portlet-wikibase-otherprojects vector-menu-portal portal vector-menu" aria-labelledby="p-wikibase-otherprojects-label" > <h3 id="p-wikibase-otherprojects-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">In other projects</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q123500867" title="Link to connected data repository item [g]" accesskey="g"><span>Wikidata item</span></a></li> </ul> </div> </nav> <nav id="p-lang" class="mw-portlet mw-portlet-lang vector-menu-portal portal vector-menu" aria-labelledby="p-lang-label" > <h3 id="p-lang-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">In Wikipedia</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-add wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q123500867#sitelinks-wikipedia" title="Add interlanguage links" class="wbc-editpage">Add links</a></span></div> </div> </nav> </div> </div> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> This page was last edited on 30 September 2024, at 19:22.</li> <li id="footer-info-copyright">All structured data from the main, Property, Lexeme, and EntitySchema namespaces is available under the <a rel="nofollow" class="external text" href="//creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC0 License</a>; text in the other namespaces is available under the <a rel="nofollow" class="external text" href="//creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike License</a>; additional terms may apply. By using this site, you agree to the <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">Terms of Use</a> and <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy Policy</a>.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Special:MyLanguage/Project:Introduction">About Wikidata</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Special:MyLanguage/Project:General_disclaimer">Disclaimers</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/www.wikidata.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="//m.wikidata.org/w/index.php?title=Wikidata:Data_access&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobile view</a></li> <li id="footer-places-data-access"><a href="/wiki/Special:MyLanguage/Wikidata:Data_access">Data access</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> <script>(RLQ=window.RLQ||[]).push(function(){mw.log.warn("This page is using the deprecated ResourceLoader module \"codex-search-styles\".\n[1.43] Use a CodexModule with codexComponents to set your specific components used: https://www.mediawiki.org/wiki/Codex#Using_a_limited_subset_of_components");mw.config.set({"wgHostname":"mw-web.codfw.main-55db797859-hj9wh","wgBackendResponseTime":110,"wgDiscussionToolsPageThreads":[{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Before_we_begin","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Using_Wikidata's_data-Before_we_begin","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Wikimedia_projects-Before_we_begin","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Data_best_practices-Before_we_begin","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Access_best_practices-Before_we_begin","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Search","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-What_is_it?-Search","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-When_to_use_it?-Search","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Details-Search","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Linked_Data_Interface_(URI)","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-What_is_it?_2-Linked_Data_Interface_(URI)","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-When_to_use_it?_2-Linked_Data_Interface_(URI)","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Details_2-Linked_Data_Interface_(URI)","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Less_verbose_RDF_output-Linked_Data_Interface_(URI)","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Revisions_and_caching-Linked_Data_Interface_(URI)","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Wikidata_Query_Service","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-What_is_it?_3-Wikidata_Query_Service","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-When_to_use_it?_3-Wikidata_Query_Service","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Details_3-Wikidata_Query_Service","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Linked_Data_Fragments_endpoint","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-What_is_it?_4-Linked_Data_Fragments_endpoint","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-When_to_use_it?_4-Linked_Data_Fragments_endpoint","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Details_4-Linked_Data_Fragments_endpoint","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Wikibase_REST_API","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-What_is_it?_5-Wikibase_REST_API","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-When_to_use_it?_5-Wikibase_REST_API","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Details_5-Wikibase_REST_API","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-MediaWiki_Action_API","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-What_is_it?_6-MediaWiki_Action_API","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-When_to_use_it?_6-MediaWiki_Action_API","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Details_6-MediaWiki_Action_API","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Bots-MediaWiki_Action_API","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Recent_Changes_stream","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-What_is_it?_7-Recent_Changes_stream","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-When_to_use_it?_7-Recent_Changes_stream","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Details_7-Recent_Changes_stream","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Dumps","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-What_are_they?-Dumps","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-When_to_use_them?-Dumps","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Details_8-Dumps","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Tools-Dumps","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Local_query_service-Dumps","replies":[]}]}],"wgPageParseReport":{"discussiontools":{"limitreport-timeusage":"0.021"},"limitreport":{"cputime":"0.225","walltime":"0.602","ppvisitednodes":{"value":835,"limit":1000000},"postexpandincludesize":{"value":3372,"limit":2097152},"templateargumentsize":{"value":646,"limit":2097152},"expansiondepth":{"value":9,"limit":100},"expensivefunctioncount":{"value":2,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":12268,"limit":5000000},"entityaccesscount":{"value":0,"limit":500},"timingprofile":["100.00% 92.297 1 -total"," 48.81% 45.047 3 Template:Main"," 44.21% 40.807 3 Template:Hatnote"," 30.06% 27.746 3 Template:Separated_entries"," 19.23% 17.749 1 Template:LM"," 13.28% 12.253 9 Template:Int"," 12.64% 11.664 2 Template:CURRENTCONTENTLANGUAGE"," 10.28% 9.485 1 Template:Ll"," 9.39% 8.665 1 Template:Q"," 8.57% 7.906 1 Template:PDT"]},"scribunto":{"limitreport-timeusage":{"value":"0.015","limit":"10.000"},"limitreport-memusage":{"value":1122628,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-874f78f45-r6wsx","timestamp":"20241216095815","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>