CINXE.COM
User:MisterSynergy/rowing/queries - Wikidata
<!DOCTYPE html> <html class="client-nojs" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>User:MisterSynergy/rowing/queries - 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":"e8c9fb15-6662-4c90-b772-4d76c7561e73","wgCanonicalNamespace":"User","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":2,"wgPageName":"User:MisterSynergy/rowing/queries","wgTitle":"MisterSynergy/rowing/queries","wgCurRevisionId":1250025433,"wgRevisionId":1250025433,"wgArticleId":65710095,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName" :null,"wgUserGroups":["*"],"wgCategories":[],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"User:MisterSynergy/rowing/queries","wgRelevantArticleId":65710095,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgRelevantUserName":"MisterSynergy","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":20000,"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"personal","wgULSisCompactLinksEnabled":true,"wgVector2022LanguageInHeader":false,"wgULSisLanguageSelectorEmpty":false, "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.pygments":"ready","skins.vector.styles.legacy":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","codex-search-styles":"ready","ext.uls.pt":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.pygments.view","site","mediawiki.page.ready","mediawiki.toc","skins.vector.legacy.js","wikibase.ui.entitysearch","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.Search","ext.gadget.ProtectionIndicators","ext.gadget.imagelinks","ext.gadget.NewSection","ext.gadget.formWizard","ext.urlShortener.toolbar","ext.centralauth.centralautologin","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","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.pygments%2CwikimediaBadges%7Cext.uls.pt%7Cext.visualEditor.desktopArticleTarget.noscript%7Cskins.vector.styles.legacy&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.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="noindex,follow,max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//m.wikidata.org/wiki/User:MisterSynergy/rowing/queries"> <link rel="alternate" type="application/x-wiki" title="Edit" href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit"> <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/User:MisterSynergy/rowing/queries"> <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="skin-vector-legacy mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-2 ns-subject mw-editable page-User_MisterSynergy_rowing_queries rootpage-User_MisterSynergy 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">User</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">MisterSynergy/rowing/queries</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 class="subpages">< <bdi dir="ltr"><a href="/wiki/User:MisterSynergy" title="User:MisterSynergy">User:MisterSynergy</a></bdi></div></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-content-ltr mw-parser-output" lang="en" dir="ltr"><style data-mw-deduplicate="TemplateStyles:r1664105387">.mw-parser-output .MisterSynergy-headerBox{padding:5px;background-color:#AEA;position:relative}.mw-parser-output .MisterSynergy-headerEdit{position:absolute;right:0;top:0;padding:3px}.mw-parser-output .MisterSynergy-headerHeadline{font-size:2.0em;font-family:serif;text-align:center}.mw-parser-output .MisterSynergy-headerList{list-style:none;column-width:16em}.mw-parser-output .MisterSynergy-hr{margin:10px 0}.mw-parser-output .MisterSynergy-activity .inactive{background-color:#FDD}.mw-parser-output .MisterSynergy-activity .slipping{background-color:#BBB}.mw-parser-output .MisterSynergy-activity .freshly_promoted{background-color:#DFD}</style> <div class="MisterSynergy-headerBox"> <div class="MisterSynergy-headerEdit"><small class="plainlinks" title="Edit User:MisterSynergy/header"><a class="external text" href="https://www.wikidata.org/w/index.php?title=User:MisterSynergy/header&action=edit">+/−</a></small></div> <div class="MisterSynergy-headerHeadline"><strong>MisterSynergy’s work lists</strong></div> <ul class="MisterSynergy-headerList"> <li><a class="mw-selflink selflink">rowing/queries</a></li> <li><a href="/wiki/User:MisterSynergy/rowing/P214_for_rowers" title="User:MisterSynergy/rowing/P214 for rowers">rowing/P214 for rowers</a></li> <li><a href="/wiki/User:MisterSynergy/rowing/P3171_for_rowers" title="User:MisterSynergy/rowing/P3171 for rowers">rowing/P3171 for rowers</a></li> <li><a href="/wiki/User:MisterSynergy/rowing/event_participation" title="User:MisterSynergy/rowing/event participation">rowing/event participation</a></li> <li><a href="/wiki/User:MisterSynergy/rowing/unconnected_pages" title="User:MisterSynergy/rowing/unconnected pages">rowing/unconnected pages</a></li> <li><a href="/wiki/User:MisterSynergy/badminton/queries" title="User:MisterSynergy/badminton/queries">badminton/queries</a></li> <li><a href="/wiki/User:MisterSynergy/tennis/queries" title="User:MisterSynergy/tennis/queries">tennis/queries</a></li> <li><a href="/wiki/User:MisterSynergy/sports/queries" title="User:MisterSynergy/sports/queries">sports/queries</a></li> <li><a href="/wiki/User:MisterSynergy/sports/P641_worklists" title="User:MisterSynergy/sports/P641 worklists">sports/P641 worklists</a></li> <li><a href="/wiki/User:MisterSynergy/sports/P1447_worklists" title="User:MisterSynergy/sports/P1447 worklists">sports/P1447 worklists</a></li> <li><a href="/wiki/User:MisterSynergy/sports/Olympics" title="User:MisterSynergy/sports/Olympics">sports/Olympics</a></li> <li><a href="/wiki/User:MisterSynergy/cultural_heritage/Germany" title="User:MisterSynergy/cultural heritage/Germany">cultural heritage/Germany</a></li> <li><a href="/wiki/User:MisterSynergy/misc/linked_deleted_items" title="User:MisterSynergy/misc/linked deleted items">misc/linked deleted items</a></li> <li><a href="/wiki/User:MisterSynergy/misc/quantity_data_type" title="User:MisterSynergy/misc/quantity data type">misc/quantity data type</a></li> <li><a href="/wiki/User:MisterSynergy/misc/references" title="User:MisterSynergy/misc/references">misc/references</a></li> <li><a href="/wiki/User:MisterSynergy/misc/sitelink_badges" title="User:MisterSynergy/misc/sitelink badges">misc/sitelink badges</a></li> <li><a href="/wiki/User:MisterSynergy/misc/unsorted_worklists" title="User:MisterSynergy/misc/unsorted worklists">misc/unsorted worklists</a></li> </ul> <hr class="MisterSynergy-hr" /> <p><span style="margin-left:1.6em;"><a href="/wiki/Special:PrefixIndex/User:MisterSynergy/" title="Special:PrefixIndex/User:MisterSynergy/">Special:PrefixIndex/User:MisterSynergy/</a> • <a href="/wiki/User:MisterSynergy/sysop/header" title="User:MisterSynergy/sysop/header">User:MisterSynergy/sysop/header</a> • <a href="/wiki/User:MisterSynergy/itemstats" title="User:MisterSynergy/itemstats">item statistics</a> • <a href="/wiki/User:MisterSynergy/patrol" title="User:MisterSynergy/patrol">patrol</a> • <a href="/wiki/User:MisterSynergy/pages_with_code" title="User:MisterSynergy/pages with code">pages with code</a> • <a href="/wiki/User:MisterSynergy/activity" title="User:MisterSynergy/activity">activity</a> • <a href="/w/index.php?title=User:MisterSynergy/jobs&action=edit&redlink=1" class="new" title="User:MisterSynergy/jobs (page does not exist)">jobs</a></span> </p> </div> <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="#Unsorted"><span class="tocnumber">1</span> <span class="toctext">Unsorted</span></a> <ul> <li class="toclevel-2 tocsection-2"><a href="#Missing_P31/P279_of_rowing_items"><span class="tocnumber">1.1</span> <span class="toctext">Missing P31/P279 of rowing items</span></a></li> <li class="toclevel-2 tocsection-3"><a href="#Rowing_persons_with_notability_issues"><span class="tocnumber">1.2</span> <span class="toctext">Rowing persons with notability issues</span></a></li> <li class="toclevel-2 tocsection-4"><a href="#Incorrect_use_of_bounds"><span class="tocnumber">1.3</span> <span class="toctext">Incorrect use of bounds</span></a></li> <li class="toclevel-2 tocsection-5"><a href="#Languages_and_writing_scripts_by_country_of_citizenship"><span class="tocnumber">1.4</span> <span class="toctext">Languages and writing scripts by country of citizenship</span></a></li> <li class="toclevel-2 tocsection-6"><a href="#Ratio_of_sourced_claims_(by_source_and_property)"><span class="tocnumber">1.5</span> <span class="toctext">Ratio of sourced claims (by source and property)</span></a></li> <li class="toclevel-2 tocsection-7"><a href="#Number_of_P143_sources_(by_property)"><span class="tocnumber">1.6</span> <span class="toctext">Number of P143 sources (by property)</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-8"><a href="#Related_to_general_person_data"><span class="tocnumber">2</span> <span class="toctext">Related to general person data</span></a> <ul> <li class="toclevel-2 tocsection-9"><a href="#Missing_place_of_death"><span class="tocnumber">2.1</span> <span class="toctext">Missing place of death</span></a></li> <li class="toclevel-2 tocsection-10"><a href="#Places_of_birth_via_plwiki"><span class="tocnumber">2.2</span> <span class="toctext">Places of birth via plwiki</span></a></li> <li class="toclevel-2 tocsection-11"><a href="#Check_citizenship"><span class="tocnumber">2.3</span> <span class="toctext">Check citizenship</span></a></li> <li class="toclevel-2 tocsection-12"><a href="#Check_citizenship_(contemporaneity)"><span class="tocnumber">2.4</span> <span class="toctext">Check citizenship (contemporaneity)</span></a></li> <li class="toclevel-2 tocsection-13"><a href="#(Potential)_rowing_twins"><span class="tocnumber">2.5</span> <span class="toctext">(Potential) rowing twins</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-14"><a href="#Related_to_names"><span class="tocnumber">3</span> <span class="toctext">Related to names</span></a> <ul> <li class="toclevel-2 tocsection-15"><a href="#P1559_missing_(works_also_with_P735,_P569,_P570,_P19,_P20,_P21,_P27,_P31)"><span class="tocnumber">3.1</span> <span class="toctext">P1559 missing (works also with P735, P569, P570, P19, P20, P21, P27, P31)</span></a></li> <li class="toclevel-2 tocsection-16"><a href="#Series_ordinals_for_multiple_given_names"><span class="tocnumber">3.2</span> <span class="toctext">Series ordinals for multiple given names</span></a></li> <li class="toclevel-2 tocsection-17"><a href="#Use_of_compound_given_name_items"><span class="tocnumber">3.3</span> <span class="toctext">Use of compound given name items</span></a></li> <li class="toclevel-2 tocsection-18"><a href="#Hungarian_names"><span class="tocnumber">3.4</span> <span class="toctext">Hungarian names</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-19"><a href="#Related_to_event_participation"><span class="tocnumber">4</span> <span class="toctext">Related to event participation</span></a> <ul> <li class="toclevel-2 tocsection-20"><a href="#Event_participation_P710/P1344_symmetry"><span class="tocnumber">4.1</span> <span class="toctext">Event participation P710/P1344 symmetry</span></a></li> <li class="toclevel-2 tocsection-21"><a href="#Olympic_rowing_events"><span class="tocnumber">4.2</span> <span class="toctext">Olympic rowing events</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-22"><a href="#Related_to_identifiers"><span class="tocnumber">5</span> <span class="toctext">Related to identifiers</span></a> <ul> <li class="toclevel-2 tocsection-23"><a href="#P1447_might_be_missing"><span class="tocnumber">5.1</span> <span class="toctext">P1447 might be missing</span></a></li> <li class="toclevel-2 tocsection-24"><a href="#Check_unknown_values_against_external_databases"><span class="tocnumber">5.2</span> <span class="toctext">Check unknown values against external databases</span></a></li> <li class="toclevel-2 tocsection-25"><a href="#External_identifiers_of_rowing_persons"><span class="tocnumber">5.3</span> <span class="toctext">External identifiers of rowing persons</span></a></li> <li class="toclevel-2 tocsection-26"><a href="#Non-unique_identifiers"><span class="tocnumber">5.4</span> <span class="toctext">Non-unique identifiers</span></a></li> <li class="toclevel-2 tocsection-27"><a href="#Non-single_identifiers"><span class="tocnumber">5.5</span> <span class="toctext">Non-single identifiers</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-28"><a href="#Related_to_terms_(labels,_descriptions,_and_aliases)"><span class="tocnumber">6</span> <span class="toctext">Related to terms (labels, descriptions, and aliases)</span></a> <ul> <li class="toclevel-2 tocsection-29"><a href="#Missing_French_labels/descriptions_of_rowers_(works_also_with_German/English/…)"><span class="tocnumber">6.1</span> <span class="toctext">Missing French labels/descriptions of rowers (works also with German/English/…)</span></a></li> <li class="toclevel-2 tocsection-30"><a href="#Search_for_descriptions_in_foreign_languages"><span class="tocnumber">6.2</span> <span class="toctext">Search for descriptions in foreign languages</span></a></li> <li class="toclevel-2 tocsection-31"><a href="#Particular_literals_in_terms"><span class="tocnumber">6.3</span> <span class="toctext">Particular literals in terms</span></a></li> <li class="toclevel-2 tocsection-32"><a href="#Use_of_aliases"><span class="tocnumber">6.4</span> <span class="toctext">Use of aliases</span></a></li> <li class="toclevel-2 tocsection-33"><a href="#Descriptions_of_rowing_persons"><span class="tocnumber">6.5</span> <span class="toctext">Descriptions of rowing persons</span></a></li> <li class="toclevel-2 tocsection-34"><a href="#Descriptions_of_rowing_persons_with_non-rowing_occupations"><span class="tocnumber">6.6</span> <span class="toctext">Descriptions of rowing persons with non-rowing occupations</span></a></li> <li class="toclevel-2 tocsection-35"><a href="#Missing_descriptions_of_rowing_persons_by_language"><span class="tocnumber">6.7</span> <span class="toctext">Missing descriptions of rowing persons by language</span></a></li> <li class="toclevel-2 tocsection-36"><a href="#English_description_and_English_Wikipedia_short_description"><span class="tocnumber">6.8</span> <span class="toctext">English description and English Wikipedia short description</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-37"><a href="#Watchlist_management"><span class="tocnumber">7</span> <span class="toctext">Watchlist management</span></a> <ul> <li class="toclevel-2 tocsection-38"><a href="#All_rowing_persons_(for_watchlist_import)"><span class="tocnumber">7.1</span> <span class="toctext">All rowing persons (for watchlist import)</span></a></li> <li class="toclevel-2 tocsection-39"><a href="#Search_for_non-rowing_stuff_on_watchlist"><span class="tocnumber">7.2</span> <span class="toctext">Search for non-rowing stuff on watchlist</span></a></li> </ul> </li> </ul> </div> <div class="mw-heading mw-heading2"><h2 id="Unsorted">Unsorted</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=1" title="Edit section: Unsorted"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="Missing_P31/P279_of_rowing_items"><span id="Missing_P31.2FP279_of_rowing_items"></span>Missing P31/P279 of rowing items</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=2" title="Edit section: Missing P31/P279 of rowing items"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><a rel="nofollow" class="external text" href="https://petscan.wmflabs.org/?psid=1504972">petscan:1504972</a> </p> <div class="mw-heading mw-heading3"><h3 id="Rowing_persons_with_notability_issues">Rowing persons with notability issues</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=3" title="Edit section: Rowing persons with notability issues"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r1502159272">.mw-parser-output .wdt-sparql-container-collapsible{border:1px solid #BBBBBB}.mw-parser-output .wdt-sparql-container-collapsible pre{margin-top:2px}</style><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?item</span> <span class="nv">?itemLabel</span> <span class="nv">?itemDescription</span> <span class="nv">?statements</span> <span class="k">WITH</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="k">DISTINCT</span> <span class="nv">?item</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">.</span> <span class="p">}</span> <span class="p">}</span> <span class="k">AS</span> <span class="err">%s</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="err">INCLUDE</span> <span class="err">%s</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">sitelinks</span> <span class="mi">0</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">identifiers</span> <span class="mi">0</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">statements</span> <span class="nv">?statements</span> <span class="p">.</span> <span class="k">MINUS</span> <span class="p">{</span> <span class="p">[]</span> <span class="nv">?backlink</span> <span class="nv">?item</span> <span class="p">}</span> <span class="k">OPTIONAL</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nv">?p</span> <span class="p">[</span> <span class="nn">prov</span><span class="p">:</span><span class="nt">wasDerivedFrom</span> <span class="p">[</span> <span class="nv">?pr</span> <span class="p">[]</span> <span class="p">]</span> <span class="p">]</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nv">?pr</span> <span class="k">NOT IN</span> <span class="p">(</span><span class="nn">pr</span><span class="p">:</span><span class="nt">P143</span><span class="p">,</span> <span class="nn">pr</span><span class="p">:</span><span class="nt">P3452</span><span class="p">))</span> <span class="p">}</span> <span class="k">FILTER</span><span class="p">(</span><span class="o">!</span><span class="nf">BOUND</span><span class="p">(</span><span class="nv">?p</span><span class="p">))</span> <span class="p">.</span> <span class="k">MINUS</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P973</span><span class="err">|</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P1343</span> <span class="p">[]</span> <span class="p">}</span> <span class="k">SERVICE</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">label</span> <span class="p">{</span> <span class="nn">bd</span><span class="p">:</span><span class="nt">serviceParam</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">language</span> <span class="s">'en'</span> <span class="p">}</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fitem%20%3FitemLabel%20%3FitemDescription%20%3Fstatements%20WITH%20%7B%0A%20%20SELECT%20DISTINCT%20%3Fitem%20WHERE%20%7B%0A%20%20%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%20.%0A%20%20%7D%0A%7D%20AS%20%25s%20WHERE%20%7B%0A%20%20INCLUDE%20%25s%20.%0A%20%20%3Fitem%20wikibase%3Asitelinks%200%3B%20wikibase%3Aidentifiers%200%3B%20wikibase%3Astatements%20%3Fstatements%20.%0A%20%20MINUS%20%7B%20%5B%5D%20%3Fbacklink%20%3Fitem%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem%20%3Fp%20%5B%20prov%3AwasDerivedFrom%20%5B%20%3Fpr%20%5B%5D%20%5D%20%5D%20.%20FILTER%28%3Fpr%20NOT%20IN%20%28pr%3AP143%2C%20pr%3AP3452%29%29%20%7D%0A%20%20FILTER%28%21BOUND%28%3Fp%29%29%20.%0A%20%20MINUS%20%7B%20%3Fitem%20wdt%3AP973%7Cwdt%3AP1343%20%5B%5D%20%7D%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%27en%27%20%7D%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="Incorrect_use_of_bounds">Incorrect use of bounds</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=4" title="Edit section: Incorrect use of bounds"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Can be done with all quantity properties, not just <a href="/wiki/Property:P2067" title="Property:P2067">mass <small dir="ltr">(P2067)</small></a>. </p> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?item</span> <span class="nv">?itemLabel</span> <span class="nv">?length</span> <span class="nv">?upperBound</span> <span class="nv">?lowerBound</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P2067</span> <span class="p">[</span> <span class="nn">psv</span><span class="p">:</span><span class="nt">P2067</span> <span class="nv">?value</span> <span class="p">]</span> <span class="p">.</span> <span class="c"># items that use P2067 (mass)</span> <span class="nv">?value</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">quantityAmount</span> <span class="nv">?length</span> <span class="p">.</span> <span class="k">OPTIONAL</span> <span class="p">{</span> <span class="nv">?value</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">quantityUpperBound</span> <span class="nv">?upperBound</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">quantityLowerBound</span> <span class="nv">?lowerBound</span> <span class="p">.</span> <span class="p">}</span> <span class="k">SERVICE</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">label</span> <span class="p">{</span> <span class="nn">bd</span><span class="p">:</span><span class="nt">serviceParam</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">language</span> <span class="s">'en'</span> <span class="p">}</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fitem%20%3FitemLabel%20%3Flength%20%3FupperBound%20%3FlowerBound%20%7B%0A%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%20.%0A%20%20%3Fitem%20p%3AP2067%20%5B%20psv%3AP2067%20%3Fvalue%20%5D%20.%20%23%20items%20that%20use%20P2067%20%28mass%29%0A%20%20%3Fvalue%20wikibase%3AquantityAmount%20%3Flength%20.%0A%20%20OPTIONAL%20%7B%0A%20%20%20%20%3Fvalue%20wikibase%3AquantityUpperBound%20%3FupperBound%3B%20wikibase%3AquantityLowerBound%20%3FlowerBound%20.%0A%20%20%7D%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%27en%27%20%7D%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <p>More general: </p> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?item</span> <span class="nv">?claimprop</span> <span class="nv">?value</span> <span class="nv">?lowerBound</span> <span class="nv">?upperBound</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">.</span> <span class="nv">?prop</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">propertyType</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">Quantity</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">claim</span> <span class="nv">?claimprop</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">statementValue</span> <span class="nv">?stmtval</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nv">?claimprop</span> <span class="p">[</span> <span class="nv">?stmtval</span> <span class="p">[</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">quantityAmount</span> <span class="nv">?value</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">quantityLowerBound</span> <span class="nv">?lowerBound</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">quantityUpperBound</span> <span class="nv">?upperBound</span> <span class="p">]</span> <span class="p">]</span> <span class="p">.</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fitem%20%3Fclaimprop%20%3Fvalue%20%3FlowerBound%20%3FupperBound%20%7B%0A%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%20.%0A%20%20%3Fprop%20wikibase%3ApropertyType%20wikibase%3AQuantity%3B%20wikibase%3Aclaim%20%3Fclaimprop%3B%20wikibase%3AstatementValue%20%3Fstmtval%20.%0A%20%20%3Fitem%20%3Fclaimprop%20%5B%20%3Fstmtval%20%5B%20wikibase%3AquantityAmount%20%3Fvalue%3B%20wikibase%3AquantityLowerBound%20%3FlowerBound%3B%20wikibase%3AquantityUpperBound%20%3FupperBound%20%5D%20%5D%20.%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="Languages_and_writing_scripts_by_country_of_citizenship">Languages and writing scripts by country of citizenship</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=5" title="Edit section: Languages and writing scripts by country of citizenship"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?country</span> <span class="nv">?countryLabel</span> <span class="p">(</span><span class="nf">GROUP_CONCAT</span><span class="p">(</span><span class="k">DISTINCT</span> <span class="nv">?lang</span><span class="p">;</span> <span class="nf">separator</span><span class="o">=</span><span class="s">', '</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?langs</span><span class="p">)</span> <span class="p">(</span><span class="nf">GROUP_CONCAT</span><span class="p">(</span><span class="k">DISTINCT</span> <span class="nv">?scriptL</span><span class="p">;</span> <span class="nf">separator</span><span class="o">=</span><span class="s">', '</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?scripts</span><span class="p">)</span> <span class="p">(</span><span class="nf">COUNT</span><span class="p">(</span><span class="k">DISTINCT</span> <span class="nv">?item</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?cnt</span><span class="p">)</span> <span class="k">WITH</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="k">DISTINCT</span> <span class="nv">?item</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">}</span> <span class="p">}</span> <span class="k">AS</span> <span class="err">%s</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="err">INCLUDE</span> <span class="err">%s</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P27</span> <span class="nv">?country</span> <span class="p">.</span> <span class="k">OPTIONAL</span> <span class="p">{</span> <span class="nv">?country</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P37</span> <span class="nv">?language</span> <span class="p">.</span> <span class="nv">?language</span> <span class="nn">rdfs</span><span class="p">:</span><span class="nt">label</span> <span class="nv">?lang</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nf">LANG</span><span class="p">(</span><span class="nv">?lang</span><span class="p">)</span> <span class="o">=</span> <span class="s">'en'</span><span class="p">)</span> <span class="p">.</span> <span class="k">OPTIONAL</span> <span class="p">{</span> <span class="nv">?language</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P282</span> <span class="nv">?script</span> <span class="p">.</span> <span class="nv">?script</span> <span class="nn">rdfs</span><span class="p">:</span><span class="nt">label</span> <span class="nv">?scriptL</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nf">LANG</span><span class="p">(</span><span class="nv">?scriptL</span><span class="p">)</span> <span class="o">=</span> <span class="s">'en'</span><span class="p">)</span> <span class="p">.</span> <span class="p">}</span> <span class="p">}</span> <span class="k">SERVICE</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">label</span> <span class="p">{</span> <span class="nn">bd</span><span class="p">:</span><span class="nt">serviceParam</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">language</span> <span class="s">'en'</span> <span class="p">}</span> <span class="p">}</span> <span class="k">GROUP BY</span> <span class="nv">?country</span> <span class="nv">?countryLabel</span> <span class="k">ORDER BY</span> <span class="k">DESC</span><span class="p">(</span><span class="nv">?cnt</span><span class="p">)</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fcountry%20%3FcountryLabel%20%28GROUP_CONCAT%28DISTINCT%20%3Flang%3B%20separator%3D%27%2C%20%27%29%20AS%20%3Flangs%29%20%28GROUP_CONCAT%28DISTINCT%20%3FscriptL%3B%20separator%3D%27%2C%20%27%29%20AS%20%3Fscripts%29%20%28COUNT%28DISTINCT%20%3Fitem%29%20AS%20%3Fcnt%29%20WITH%20%7B%0A%20%20SELECT%20DISTINCT%20%3Fitem%20WHERE%20%7B%0A%20%20%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%0A%20%20%7D%0A%7D%20AS%20%25s%20WHERE%20%7B%0A%20%20INCLUDE%20%25s%20.%0A%20%20%3Fitem%20wdt%3AP27%20%3Fcountry%20.%0A%20%20OPTIONAL%20%7B%0A%20%20%20%20%3Fcountry%20wdt%3AP37%20%3Flanguage%20.%0A%20%20%20%20%3Flanguage%20rdfs%3Alabel%20%3Flang%20.%0A%20%20%20%20FILTER%28LANG%28%3Flang%29%20%3D%20%27en%27%29%20.%0A%20%20%20%20OPTIONAL%20%7B%0A%20%20%20%20%20%20%3Flanguage%20wdt%3AP282%20%3Fscript%20.%0A%20%20%20%20%20%20%3Fscript%20rdfs%3Alabel%20%3FscriptL%20.%0A%20%20%20%20%20%20FILTER%28LANG%28%3FscriptL%29%20%3D%20%27en%27%29%20.%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%27en%27%20%7D%0A%7D%20GROUP%20BY%20%3Fcountry%20%3FcountryLabel%20ORDER%20BY%20DESC%28%3Fcnt%29"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="Ratio_of_sourced_claims_(by_source_and_property)"><span id="Ratio_of_sourced_claims_.28by_source_and_property.29"></span>Ratio of sourced claims (by source and property)</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=6" title="Edit section: Ratio of sourced claims (by source and property)"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?refProp</span> <span class="nv">?refPropLabel</span> <span class="nv">?claimProp</span> <span class="nv">?claimPropLabel</span> <span class="nv">?cnt_all</span> <span class="nv">?cnt_sourced</span> <span class="nv">?sourced_ratio</span> <span class="k">WITH</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="nv">?refProp</span> <span class="nv">?claimProp</span> <span class="nv">?wdt_ref</span> <span class="nv">?pr_ref</span> <span class="nv">?p_claim</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="k">VALUES</span> <span class="p">(</span><span class="nv">?refProp</span> <span class="nv">?claimProp</span><span class="p">)</span> <span class="p">{</span> <span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">P2091</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P21</span><span class="p">)</span> <span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">P2091</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P27</span><span class="p">)</span> <span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">P2091</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P1532</span><span class="p">)</span> <span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">P2091</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P2048</span><span class="p">)</span> <span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">P2091</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P2067</span><span class="p">)</span> <span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">P2091</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P569</span><span class="p">)</span> <span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">P2091</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P106</span><span class="p">)</span> <span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">P2091</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P641</span><span class="p">)</span> <span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">P2091</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P551</span><span class="p">)</span> <span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">P2091</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P1416</span><span class="p">)</span> <span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">P2091</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P54</span><span class="p">)</span> <span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">P2091</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P463</span><span class="p">)</span> <span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">P2091</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P1344</span><span class="p">)</span> <span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">P2091</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P1559</span><span class="p">)</span> <span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">P2091</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P1477</span><span class="p">)</span> <span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">P2091</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P735</span><span class="p">)</span> <span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">P2091</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P734</span><span class="p">)</span> <span class="c">#(wd:P1447 wd:P21) (wd:P1447 wd:P27) (wd:P1447 wd:P1532) (wd:P1447 wd:P2048) (wd:P1447 wd:P2067) (wd:P1447 wd:P569) (wd:P1447 wd:P19) (wd:P1447 wd:P570) (wd:P1447 wd:P20) (wd:P1447 wd:P106) (wd:P1447 wd:P641) (wd:P1447 wd:P1416) (wd:P1447 wd:P54) (wd:P1447 wd:P463) (wd:P1447 wd:P1344) (wd:P1447 wd:P1559) (wd:P1447 wd:P1477) (wd:P1447 wd:P735) (wd:P1447 wd:P734) (wd:P1447 wd:P25) (wd:P1447 wd:P22) (wd:P1447 wd:P3373) (wd:P1447 wd:P40) (wd:P1447 wd:P26) (wd:P1447 wd:P1038) (wd:P1447 wd:P451)</span> <span class="p">}</span> <span class="nv">?refProp</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">directClaim</span> <span class="nv">?wdt_ref</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">reference</span> <span class="nv">?pr_ref</span> <span class="p">.</span> <span class="nv">?claimProp</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">claim</span> <span class="nv">?p_claim</span> <span class="p">}</span> <span class="p">}</span> <span class="k">AS</span> <span class="err">%subquery</span><span class="mi">1</span> <span class="k">WITH</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="k">DISTINCT</span> <span class="nv">?item</span> <span class="nv">?s</span> <span class="nv">?wdt_ref</span> <span class="nv">?p_claim</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="err">INCLUDE</span> <span class="err">%subquery</span><span class="mi">1</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span><span class="p">;</span> <span class="nv">?wdt_ref</span> <span class="p">[];</span> <span class="nv">?p_claim</span> <span class="nv">?s</span> <span class="p">}</span> <span class="p">}</span> <span class="k">AS</span> <span class="err">%subquery</span><span class="mi">2</span> <span class="k">WITH</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="nv">?refProp</span> <span class="nv">?claimProp</span> <span class="nv">?wdt_ref</span> <span class="nv">?pr_ref</span> <span class="nv">?p_claim</span> <span class="p">(</span><span class="nf">COUNT</span><span class="p">(</span><span class="k">DISTINCT</span> <span class="nv">?s</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?cnt_all</span><span class="p">)</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="err">INCLUDE</span> <span class="err">%subquery</span><span class="mi">2</span> <span class="p">}</span> <span class="k">GROUP BY</span> <span class="nv">?refProp</span> <span class="nv">?claimProp</span> <span class="nv">?wdt_ref</span> <span class="nv">?pr_ref</span> <span class="nv">?p_claim</span> <span class="p">}</span> <span class="k">AS</span> <span class="err">%subquery</span><span class="mi">3</span> <span class="k">WITH</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="nv">?refProp</span> <span class="nv">?claimProp</span> <span class="nv">?wdt_ref</span> <span class="nv">?pr_ref</span> <span class="nv">?p_claim</span> <span class="p">(</span><span class="nf">COUNT</span><span class="p">(</span><span class="k">DISTINCT</span> <span class="nv">?s</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?cnt_sourced</span><span class="p">)</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="err">INCLUDE</span> <span class="err">%subquery</span><span class="mi">1</span> <span class="p">.</span> <span class="err">INCLUDE</span> <span class="err">%subquery</span><span class="mi">2</span> <span class="p">.</span> <span class="nv">?s</span> <span class="nn">prov</span><span class="p">:</span><span class="nt">wasDerivedFrom</span> <span class="p">[</span> <span class="nv">?pr_ref</span> <span class="p">[]</span> <span class="p">]</span> <span class="p">}</span> <span class="k">GROUP BY</span> <span class="nv">?refProp</span> <span class="nv">?claimProp</span> <span class="nv">?wdt_ref</span> <span class="nv">?pr_ref</span> <span class="nv">?p_claim</span> <span class="p">}</span> <span class="k">AS</span> <span class="err">%subquery</span><span class="mi">4</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="err">INCLUDE</span> <span class="err">%subquery</span><span class="mi">1</span> <span class="p">.</span> <span class="err">INCLUDE</span> <span class="err">%subquery</span><span class="mi">3</span> <span class="p">.</span> <span class="err">INCLUDE</span> <span class="err">%subquery</span><span class="mi">4</span> <span class="p">.</span> <span class="k">BIND</span><span class="p">(</span><span class="nf">CONCAT</span><span class="p">(</span><span class="nf">STR</span><span class="p">(</span><span class="nf">ROUND</span><span class="p">(</span><span class="nv">?cnt_sourced</span> <span class="o">/</span> <span class="nv">?cnt_all</span> <span class="o">*</span> <span class="mi">1000</span><span class="p">)</span><span class="o">/</span><span class="mi">10</span><span class="p">),</span> <span class="s">'%'</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?sourced_ratio</span><span class="p">)</span> <span class="p">.</span> <span class="k">SERVICE</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">label</span> <span class="p">{</span> <span class="nn">bd</span><span class="p">:</span><span class="nt">serviceParam</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">language</span> <span class="s">'en'</span> <span class="p">}</span> <span class="p">}</span> <span class="k">ORDER BY</span> <span class="k">ASC</span><span class="p">(</span><span class="nn">xsd</span><span class="p">:</span><span class="nt">integer</span><span class="p">(</span><span class="nf">STRAFTER</span><span class="p">(</span><span class="nf">STR</span><span class="p">(</span><span class="nv">?claimProp</span><span class="p">),</span> <span class="s">'entity/P'</span><span class="p">)))</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3FrefProp%20%3FrefPropLabel%20%3FclaimProp%20%3FclaimPropLabel%20%3Fcnt_all%20%3Fcnt_sourced%20%3Fsourced_ratio%20WITH%20%7B%0A%20%20SELECT%20%3FrefProp%20%3FclaimProp%20%3Fwdt_ref%20%3Fpr_ref%20%3Fp_claim%20WHERE%20%7B%20VALUES%20%28%3FrefProp%20%3FclaimProp%29%20%7B%0A%20%20%20%20%28wd%3AP2091%20wd%3AP21%29%20%28wd%3AP2091%20wd%3AP27%29%20%28wd%3AP2091%20wd%3AP1532%29%20%28wd%3AP2091%20wd%3AP2048%29%20%28wd%3AP2091%20wd%3AP2067%29%20%28wd%3AP2091%20wd%3AP569%29%20%28wd%3AP2091%20wd%3AP106%29%20%28wd%3AP2091%20wd%3AP641%29%20%28wd%3AP2091%20wd%3AP551%29%20%28wd%3AP2091%20wd%3AP1416%29%20%28wd%3AP2091%20wd%3AP54%29%20%28wd%3AP2091%20wd%3AP463%29%20%28wd%3AP2091%20wd%3AP1344%29%20%28wd%3AP2091%20wd%3AP1559%29%20%28wd%3AP2091%20wd%3AP1477%29%20%28wd%3AP2091%20wd%3AP735%29%20%28wd%3AP2091%20wd%3AP734%29%0A%20%20%20%20%23%28wd%3AP1447%20wd%3AP21%29%20%28wd%3AP1447%20wd%3AP27%29%20%28wd%3AP1447%20wd%3AP1532%29%20%28wd%3AP1447%20wd%3AP2048%29%20%28wd%3AP1447%20wd%3AP2067%29%20%28wd%3AP1447%20wd%3AP569%29%20%28wd%3AP1447%20wd%3AP19%29%20%28wd%3AP1447%20wd%3AP570%29%20%28wd%3AP1447%20wd%3AP20%29%20%28wd%3AP1447%20wd%3AP106%29%20%28wd%3AP1447%20wd%3AP641%29%20%28wd%3AP1447%20wd%3AP1416%29%20%28wd%3AP1447%20wd%3AP54%29%20%28wd%3AP1447%20wd%3AP463%29%20%28wd%3AP1447%20wd%3AP1344%29%20%28wd%3AP1447%20wd%3AP1559%29%20%28wd%3AP1447%20wd%3AP1477%29%20%28wd%3AP1447%20wd%3AP735%29%20%28wd%3AP1447%20wd%3AP734%29%20%28wd%3AP1447%20wd%3AP25%29%20%28wd%3AP1447%20wd%3AP22%29%20%28wd%3AP1447%20wd%3AP3373%29%20%28wd%3AP1447%20wd%3AP40%29%20%28wd%3AP1447%20wd%3AP26%29%20%28wd%3AP1447%20wd%3AP1038%29%20%28wd%3AP1447%20wd%3AP451%29%0A%20%20%7D%20%3FrefProp%20wikibase%3AdirectClaim%20%3Fwdt_ref%3B%20wikibase%3Areference%20%3Fpr_ref%20.%20%3FclaimProp%20wikibase%3Aclaim%20%3Fp_claim%20%7D%0A%7D%20AS%20%25subquery1%20WITH%20%7B%0A%20%20SELECT%20DISTINCT%20%3Fitem%20%3Fs%20%3Fwdt_ref%20%3Fp_claim%20WHERE%20%7B%20INCLUDE%20%25subquery1%20.%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%3B%20%3Fwdt_ref%20%5B%5D%3B%20%3Fp_claim%20%3Fs%20%7D%0A%7D%20AS%20%25subquery2%20WITH%20%7B%0A%20%20SELECT%20%3FrefProp%20%3FclaimProp%20%3Fwdt_ref%20%3Fpr_ref%20%3Fp_claim%20%28COUNT%28DISTINCT%20%3Fs%29%20AS%20%3Fcnt_all%29%20WHERE%20%7B%20INCLUDE%20%25subquery2%20%7D%20GROUP%20BY%20%3FrefProp%20%3FclaimProp%20%3Fwdt_ref%20%3Fpr_ref%20%3Fp_claim%0A%7D%20AS%20%25subquery3%20WITH%20%7B%0A%20%20SELECT%20%3FrefProp%20%3FclaimProp%20%3Fwdt_ref%20%3Fpr_ref%20%3Fp_claim%20%28COUNT%28DISTINCT%20%3Fs%29%20AS%20%3Fcnt_sourced%29%20WHERE%20%7B%20INCLUDE%20%25subquery1%20.%20INCLUDE%20%25subquery2%20.%20%3Fs%20prov%3AwasDerivedFrom%20%5B%20%3Fpr_ref%20%5B%5D%20%5D%20%7D%20GROUP%20BY%20%3FrefProp%20%3FclaimProp%20%3Fwdt_ref%20%3Fpr_ref%20%3Fp_claim%0A%7D%20AS%20%25subquery4%20WHERE%20%7B%0A%20%20INCLUDE%20%25subquery1%20.%20INCLUDE%20%25subquery3%20.%20INCLUDE%20%25subquery4%20.%20BIND%28CONCAT%28STR%28ROUND%28%3Fcnt_sourced%20%2F%20%3Fcnt_all%20%2A%201000%29%2F10%29%2C%20%27%25%27%29%20AS%20%3Fsourced_ratio%29%20.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%27en%27%20%7D%0A%7D%20ORDER%20BY%20ASC%28xsd%3Ainteger%28STRAFTER%28STR%28%3FclaimProp%29%2C%20%27entity%2FP%27%29%29%29"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="Number_of_P143_sources_(by_property)"><span id="Number_of_P143_sources_.28by_property.29"></span>Number of P143 sources (by property)</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=7" title="Edit section: Number of P143 sources (by property)"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?property</span> <span class="nv">?propertyLabel</span> <span class="nv">?cnt_s</span> <span class="nv">?cnt_refs</span> <span class="nv">?ratio</span> <span class="k">WITH</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="k">DISTINCT</span> <span class="nv">?property</span> <span class="nv">?s</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="p">[]</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span><span class="p">;</span> <span class="nv">?p</span> <span class="nv">?s</span> <span class="p">.</span> <span class="nv">?property</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">claim</span> <span class="nv">?p</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">propertyType</span> <span class="nv">?type</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nv">?type</span> <span class="o">!=</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">ExternalId</span><span class="p">)</span> <span class="p">.</span> <span class="p">}</span> <span class="p">}</span> <span class="k">AS</span> <span class="err">%subquery</span><span class="mi">1</span> <span class="k">WITH</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="nv">?property</span> <span class="p">(</span><span class="nf">COUNT</span><span class="p">(</span><span class="k">DISTINCT</span> <span class="nv">?s</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?cnt_s</span><span class="p">)</span> <span class="p">(</span><span class="nf">COUNT</span><span class="p">(</span><span class="k">DISTINCT</span> <span class="nv">?dummy</span><span class="p">)</span> <span class="k">as</span> <span class="nv">?cnt_refs</span><span class="p">)</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="err">INCLUDE</span> <span class="err">%subquery</span><span class="mi">1</span> <span class="p">.</span> <span class="k">OPTIONAL</span> <span class="p">{</span> <span class="nv">?s</span> <span class="nn">prov</span><span class="p">:</span><span class="nt">wasDerivedFrom</span> <span class="nv">?refHandle</span> <span class="p">.</span> <span class="nv">?refHandle</span> <span class="nn">pr</span><span class="p">:</span><span class="nt">P143</span> <span class="nv">?val</span> <span class="p">.</span> <span class="c"># P143, P887, P4656, P3452, P5852</span> <span class="p">}</span> <span class="k">BIND</span><span class="p">(</span><span class="nf">CONCAT</span><span class="p">(</span><span class="nf">STR</span><span class="p">(</span><span class="nv">?s</span><span class="p">),</span> <span class="nf">STR</span><span class="p">(</span><span class="nv">?refHandle</span><span class="p">))</span> <span class="k">AS</span> <span class="nv">?dummy</span><span class="p">)</span> <span class="p">.</span> <span class="p">}</span> <span class="k">GROUP BY</span> <span class="nv">?property</span> <span class="k">HAVING</span><span class="p">(</span><span class="nv">?cnt_refs</span> <span class="o">></span> <span class="mi">0</span><span class="p">)</span> <span class="p">}</span> <span class="k">AS</span> <span class="err">%subquery</span><span class="mi">2</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="err">INCLUDE</span> <span class="err">%subquery</span><span class="mi">2</span> <span class="p">.</span> <span class="k">BIND</span><span class="p">(</span><span class="nf">CONCAT</span><span class="p">(</span><span class="nf">STR</span><span class="p">(</span><span class="nf">ROUND</span><span class="p">((</span><span class="nv">?cnt_refs</span> <span class="o">/</span> <span class="nv">?cnt_s</span><span class="p">)</span><span class="o">*</span><span class="mi">1000</span><span class="p">)</span><span class="o">/</span><span class="mi">10</span><span class="p">),</span> <span class="s">'%'</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?ratio</span><span class="p">)</span> <span class="p">.</span> <span class="k">SERVICE</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">label</span> <span class="p">{</span> <span class="nn">bd</span><span class="p">:</span><span class="nt">serviceParam</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">language</span> <span class="s">'en'</span> <span class="p">}</span> <span class="p">}</span> <span class="k">ORDER BY</span> <span class="k">DESC</span><span class="p">(</span><span class="nv">?cnt_refs</span><span class="p">)</span> <span class="k">DESC</span><span class="p">(</span><span class="nn">xsd</span><span class="p">:</span><span class="nt">integer</span><span class="p">(</span><span class="nf">STRBEFORE</span><span class="p">(</span><span class="nv">?ratio</span><span class="p">,</span> <span class="s">'%'</span><span class="p">)))</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fproperty%20%3FpropertyLabel%20%3Fcnt_s%20%3Fcnt_refs%20%3Fratio%20WITH%20%7B%0A%20%20SELECT%20DISTINCT%20%3Fproperty%20%3Fs%20WHERE%20%7B%0A%20%20%20%20%5B%5D%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%3B%20%3Fp%20%3Fs%20.%0A%20%20%20%20%3Fproperty%20wikibase%3Aclaim%20%3Fp%3B%20wikibase%3ApropertyType%20%3Ftype%20.%0A%20%20%20%20FILTER%28%3Ftype%20%21%3D%20wikibase%3AExternalId%29%20.%0A%20%20%7D%0A%7D%20AS%20%25subquery1%20WITH%20%7B%0A%20%20SELECT%20%3Fproperty%20%28COUNT%28DISTINCT%20%3Fs%29%20AS%20%3Fcnt_s%29%20%28COUNT%28DISTINCT%20%3Fdummy%29%20as%20%3Fcnt_refs%29%20WHERE%20%7B%0A%20%20%20%20INCLUDE%20%25subquery1%20.%0A%20%20%20%20OPTIONAL%20%7B%0A%20%20%20%20%20%20%3Fs%20prov%3AwasDerivedFrom%20%3FrefHandle%20.%0A%20%20%20%20%20%20%3FrefHandle%20pr%3AP143%20%3Fval%20.%20%23%20P143%2C%20P887%2C%20P4656%2C%20P3452%2C%20P5852%0A%20%20%20%20%7D%0A%20%20%20%20BIND%28CONCAT%28STR%28%3Fs%29%2C%20STR%28%3FrefHandle%29%29%20AS%20%3Fdummy%29%20.%0A%20%20%7D%20GROUP%20BY%20%3Fproperty%20HAVING%28%3Fcnt_refs%20%3E%200%29%0A%7D%20AS%20%25subquery2%20WHERE%20%7B%0A%20%20INCLUDE%20%25subquery2%20.%0A%20%20BIND%28CONCAT%28STR%28ROUND%28%28%3Fcnt_refs%20%2F%20%3Fcnt_s%29%2A1000%29%2F10%29%2C%20%27%25%27%29%20AS%20%3Fratio%29%20.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%27en%27%20%7D%0A%7D%20ORDER%20BY%20DESC%28%3Fcnt_refs%29%20DESC%28xsd%3Ainteger%28STRBEFORE%28%3Fratio%2C%20%27%25%27%29%29%29"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading2"><h2 id="Related_to_general_person_data">Related to general person data</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=8" title="Edit section: Related to general person data"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="Missing_place_of_death">Missing place of death</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=9" title="Edit section: Missing place of death"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Deceased, but no place of death given; already in good form, check regularly. </p> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?item</span> <span class="nv">?itemLabel</span> <span class="nv">?itemDescription</span> <span class="nv">?dod</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P570</span> <span class="nv">?dod</span> <span class="p">.</span> <span class="k">MINUS</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P20</span> <span class="nv">?pod</span> <span class="p">.</span> <span class="p">}</span> <span class="k">SERVICE</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">label</span> <span class="p">{</span> <span class="nn">bd</span><span class="p">:</span><span class="nt">serviceParam</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">language</span> <span class="s">"en"</span> <span class="p">}</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fitem%20%3FitemLabel%20%3FitemDescription%20%3Fdod%20%7B%0A%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%20.%0A%20%20%3Fitem%20wdt%3AP570%20%3Fdod%20.%0A%20%20MINUS%20%7B%20%3Fitem%20wdt%3AP20%20%3Fpod%20.%20%7D%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22%20%7D%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="Places_of_birth_via_plwiki">Places of birth via plwiki</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=10" title="Edit section: Places of birth via plwiki"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><a href="/wiki/Q1551807" title="Q1551807">Polish Wikipedia <small>(Q1551807)</small></a> has a significant amount of articles about rowers which do not appear in any other Wikipedia edition. They confuse the <a href="/wiki/Property:P551" title="Property:P551">residence <small dir="ltr">(P551)</small></a> field in the <a href="/wiki/Q21008628" title="Q21008628">World Rowing athlete database <small>(Q21008628)</small></a> with the <a href="/wiki/Property:P19" title="Property:P19">place of birth <small dir="ltr">(P19)</small></a> of that person. Thus there is likely some incorrect data in Wikidata via that path. The <a href="/wiki/Property:P19" title="Property:P19">place of birth <small dir="ltr">(P19)</small></a> claims of affected items will be marked with a <a href="/wiki/Property:P143" title="Property:P143">imported from Wikimedia project <small dir="ltr">(P143)</small></a> <a href="/wiki/Q1551807" title="Q1551807">Polish Wikipedia <small>(Q1551807)</small></a> reference. </p> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?item</span> <span class="nv">?placeOfBirth</span> <span class="nv">?sitelink</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P19</span> <span class="p">[</span> <span class="nn">ps</span><span class="p">:</span><span class="nt">P19</span> <span class="nv">?placeOfBirth</span> <span class="p">]</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nf">ISBLANK</span><span class="p">(</span><span class="nv">?placeOfBirth</span><span class="p">)</span> <span class="o">=</span> <span class="kc">false</span><span class="p">)</span> <span class="p">.</span> <span class="nv">?sitelink</span> <span class="nn">schema</span><span class="p">:</span><span class="nt">about</span> <span class="nv">?item</span><span class="p">;</span> <span class="nn">schema</span><span class="p">:</span><span class="nt">isPartOf</span> <span class="nl"><https://pl.wikipedia.org/></span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">sitelinks</span> <span class="mi">1</span> <span class="p">.</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fitem%20%3FplaceOfBirth%20%3Fsitelink%20%7B%0A%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%20.%0A%20%20%3Fitem%20p%3AP19%20%5B%20ps%3AP19%20%3FplaceOfBirth%20%5D%20.%0A%20%20FILTER%28ISBLANK%28%3FplaceOfBirth%29%20%3D%20false%29%20.%0A%20%20%3Fsitelink%20schema%3Aabout%20%3Fitem%3B%20schema%3AisPartOf%20%3Chttps%3A%2F%2Fpl.wikipedia.org%2F%3E%20.%0A%20%20%3Fitem%20wikibase%3Asitelinks%201%20.%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="Check_citizenship">Check citizenship</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=11" title="Edit section: Check citizenship"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?item</span> <span class="p">(</span><span class="nf">COUNT</span><span class="p">(</span><span class="nv">?item</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?cocs</span><span class="p">)</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P27</span> <span class="nv">?coc</span> <span class="p">.</span> <span class="k">FILTER</span> <span class="nf">NOT EXISTS</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P570</span> <span class="nv">?dod</span> <span class="p">.</span> <span class="p">}</span> <span class="nv">?coc</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P31</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q15893266</span> <span class="p">.</span> <span class="p">}</span> <span class="k">GROUP BY</span> <span class="nv">?item</span> <span class="k">ORDER BY</span> <span class="k">DESC</span><span class="p">(</span><span class="nv">?cocs</span><span class="p">)</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fitem%20%28COUNT%28%3Fitem%29%20AS%20%3Fcocs%29%20%7B%0A%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%20.%0A%20%20%3Fitem%20wdt%3AP27%20%3Fcoc%20.%0A%20%20FILTER%20NOT%20EXISTS%20%7B%0A%20%20%20%20%3Fitem%20wdt%3AP570%20%3Fdod%20.%0A%20%20%7D%0A%20%20%3Fcoc%20wdt%3AP31%2Fwdt%3AP279%2A%20wd%3AQ15893266%20.%0A%7D%20GROUP%20BY%20%3Fitem%20ORDER%20BY%20DESC%28%3Fcocs%29"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="Check_citizenship_(contemporaneity)"><span id="Check_citizenship_.28contemporaneity.29"></span>Check citizenship (contemporaneity)</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=12" title="Edit section: Check citizenship (contemporaneity)"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?rower</span> <span class="nv">?rowerLabel</span> <span class="nv">?dob</span> <span class="nv">?dod</span> <span class="nv">?state</span> <span class="nv">?stateLabel</span> <span class="nv">?inception</span> <span class="nv">?dissolved</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="nv">?rower</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P27</span> <span class="nv">?state</span> <span class="p">.</span> <span class="nv">?state</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P571</span> <span class="nv">?inception</span> <span class="p">.</span> <span class="k">OPTIONAL</span> <span class="p">{</span> <span class="nv">?state</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P576</span> <span class="nv">?dissolved</span> <span class="p">}</span> <span class="nv">?rower</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P569</span><span class="o">/</span><span class="nn">psv</span><span class="p">:</span><span class="nt">P569</span> <span class="p">[</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">timeValue</span> <span class="nv">?dob</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">timePrecision</span> <span class="nv">?dobPrecision</span> <span class="p">]</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nv">?dobPrecision</span> <span class="o">>=</span> <span class="mi">9</span><span class="p">)</span> <span class="p">.</span> <span class="k">OPTIONAL</span> <span class="p">{</span> <span class="nv">?rower</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P570</span><span class="o">/</span><span class="nn">psv</span><span class="p">:</span><span class="nt">P570</span> <span class="p">[</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">timeValue</span> <span class="nv">?dod</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">timePrecision</span> <span class="nv">?dodPrecision</span> <span class="p">]</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nv">?dodPrecision</span> <span class="o">>=</span> <span class="mi">9</span><span class="p">)</span> <span class="p">}</span> <span class="k">FILTER</span><span class="p">(</span><span class="nv">?dissolved</span> <span class="o"><</span> <span class="nv">?dob</span><span class="o">||</span> <span class="nv">?inception</span> <span class="o">></span> <span class="nv">?dod</span><span class="p">)</span> <span class="p">.</span> <span class="c"># completely out of bounds</span> <span class="c"># FILTER(?dissolved < ?dod || ?inception > ?dob) . # partially out of bounds; yields a lot of results, and does not indicate what to do</span> <span class="k">SERVICE</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">label</span> <span class="p">{</span> <span class="nn">bd</span><span class="p">:</span><span class="nt">serviceParam</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">language</span> <span class="s">'[AUTO_LANGUAGE],en'</span> <span class="p">}</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Frower%20%3FrowerLabel%20%3Fdob%20%3Fdod%20%3Fstate%20%3FstateLabel%20%3Finception%20%3Fdissolved%20WHERE%20%7B%0A%20%20%3Frower%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%3B%20wdt%3AP27%20%3Fstate%20.%0A%20%20%3Fstate%20wdt%3AP571%20%3Finception%20.%0A%20%20OPTIONAL%20%7B%20%3Fstate%20wdt%3AP576%20%3Fdissolved%20%7D%0A%20%20%3Frower%20p%3AP569%2Fpsv%3AP569%20%5B%20wikibase%3AtimeValue%20%3Fdob%3B%20wikibase%3AtimePrecision%20%3FdobPrecision%20%5D%20.%20FILTER%28%3FdobPrecision%20%3E%3D%209%29%20.%0A%20%20OPTIONAL%20%7B%20%3Frower%20p%3AP570%2Fpsv%3AP570%20%5B%20wikibase%3AtimeValue%20%3Fdod%3B%20wikibase%3AtimePrecision%20%3FdodPrecision%20%5D%20.%20FILTER%28%3FdodPrecision%20%3E%3D%209%29%20%7D%0A%20%20FILTER%28%3Fdissolved%20%3C%20%3Fdob%7C%7C%20%3Finception%20%3E%20%3Fdod%29%20.%20%23%20completely%20out%20of%20bounds%0A%23%20%20FILTER%28%3Fdissolved%20%3C%20%3Fdod%20%7C%7C%20%3Finception%20%3E%20%3Fdob%29%20.%20%23%20partially%20out%20of%20bounds%3B%20yields%20a%20lot%20of%20results%2C%20and%20does%20not%20indicate%20what%20to%20do%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%27%5BAUTO_LANGUAGE%5D%2Cen%27%20%7D%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="(Potential)_rowing_twins"><span id=".28Potential.29_rowing_twins"></span>(Potential) rowing twins</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=13" title="Edit section: (Potential) rowing twins"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="k">DISTINCT</span> <span class="nv">?item1</span> <span class="nv">?item1Label</span> <span class="nv">?item2</span> <span class="nv">?item2Label</span> <span class="nv">?dob</span> <span class="nv">?coc</span> <span class="nv">?gender</span> <span class="nv">?sibling1</span> <span class="nv">?sibling2</span> <span class="k">WITH</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="k">DISTINCT</span> <span class="nv">?item1</span> <span class="nv">?dob</span> <span class="nv">?coc</span> <span class="nv">?gender</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="nv">?item1</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span><span class="p">;</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P569</span> <span class="p">[</span> <span class="nn">psv</span><span class="p">:</span><span class="nt">P569</span> <span class="p">[</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">timeValue</span> <span class="nv">?dob</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">timePrecision</span> <span class="mi">11</span> <span class="p">]</span> <span class="p">];</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P27</span> <span class="nv">?coc</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P21</span> <span class="nv">?gender</span> <span class="p">.</span> <span class="p">}</span> <span class="p">}</span> <span class="k">AS</span> <span class="err">%subquery</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="err">INCLUDE</span> <span class="err">%subquery</span> <span class="p">.</span> <span class="nv">?item2</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span><span class="p">;</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P569</span> <span class="p">[</span> <span class="nn">psv</span><span class="p">:</span><span class="nt">P569</span> <span class="p">[</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">timeValue</span> <span class="nv">?dob</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">timePrecision</span> <span class="mi">11</span> <span class="p">]</span> <span class="p">];</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P27</span> <span class="nv">?coc</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P21</span> <span class="nv">?gender</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nn">xsd</span><span class="p">:</span><span class="nt">integer</span><span class="p">(</span><span class="nf">STRAFTER</span><span class="p">(</span><span class="nf">STR</span><span class="p">(</span><span class="nv">?item1</span><span class="p">),</span> <span class="s">'Q'</span><span class="p">))</span> <span class="o"><</span> <span class="nn">xsd</span><span class="p">:</span><span class="nt">integer</span><span class="p">(</span><span class="nf">STRAFTER</span><span class="p">(</span><span class="nf">STR</span><span class="p">(</span><span class="nv">?item2</span><span class="p">),</span> <span class="s">'Q'</span><span class="p">)))</span> <span class="p">.</span> <span class="k">OPTIONAL</span> <span class="p">{</span> <span class="nv">?item1</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P3373</span> <span class="nv">?sibling2s</span> <span class="p">.</span> <span class="nv">?sibling2s</span> <span class="nn">ps</span><span class="p">:</span><span class="nt">P3373</span> <span class="nv">?sibling2</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nv">?sibling2</span> <span class="o">=</span> <span class="nv">?item2</span><span class="p">)</span> <span class="p">.</span> <span class="p">}</span> <span class="k">OPTIONAL</span> <span class="p">{</span> <span class="nv">?item2</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P3373</span> <span class="nv">?sibling1s</span> <span class="p">.</span> <span class="nv">?sibling1s</span> <span class="nn">ps</span><span class="p">:</span><span class="nt">P3373</span> <span class="nv">?sibling1</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nv">?sibling1</span> <span class="o">=</span> <span class="nv">?item1</span><span class="p">)</span> <span class="p">.</span> <span class="p">}</span> <span class="k">SERVICE</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">label</span> <span class="p">{</span> <span class="nn">bd</span><span class="p">:</span><span class="nt">serviceParam</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">language</span> <span class="s">'en'</span> <span class="p">}</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20DISTINCT%20%3Fitem1%20%3Fitem1Label%20%3Fitem2%20%3Fitem2Label%20%3Fdob%20%3Fcoc%20%3Fgender%20%3Fsibling1%20%3Fsibling2%20WITH%20%7B%0A%20%20SELECT%20DISTINCT%20%3Fitem1%20%3Fdob%20%3Fcoc%20%3Fgender%20WHERE%20%7B%0A%20%20%20%20%3Fitem1%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%3B%20p%3AP569%20%5B%20psv%3AP569%20%5B%20wikibase%3AtimeValue%20%3Fdob%3B%20wikibase%3AtimePrecision%2011%20%5D%20%5D%3B%20wdt%3AP27%20%3Fcoc%3B%20wdt%3AP21%20%3Fgender%20.%0A%20%20%7D%0A%7D%20AS%20%25subquery%20WHERE%20%7B%0A%20%20INCLUDE%20%25subquery%20.%0A%20%20%3Fitem2%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%3B%20p%3AP569%20%5B%20psv%3AP569%20%5B%20wikibase%3AtimeValue%20%3Fdob%3B%20wikibase%3AtimePrecision%2011%20%5D%20%5D%3B%20wdt%3AP27%20%3Fcoc%3B%20wdt%3AP21%20%3Fgender%20.%0A%20%20FILTER%28xsd%3Ainteger%28STRAFTER%28STR%28%3Fitem1%29%2C%20%27Q%27%29%29%20%3C%20xsd%3Ainteger%28STRAFTER%28STR%28%3Fitem2%29%2C%20%27Q%27%29%29%29%20.%0A%20%20OPTIONAL%20%7B%0A%20%20%20%20%3Fitem1%20p%3AP3373%20%3Fsibling2s%20.%0A%20%20%20%20%3Fsibling2s%20ps%3AP3373%20%3Fsibling2%20.%0A%20%20%20%20FILTER%28%3Fsibling2%20%3D%20%3Fitem2%29%20.%0A%20%20%7D%0A%20%20OPTIONAL%20%7B%0A%20%20%20%20%3Fitem2%20p%3AP3373%20%3Fsibling1s%20.%0A%20%20%20%20%3Fsibling1s%20ps%3AP3373%20%3Fsibling1%20.%0A%20%20%20%20FILTER%28%3Fsibling1%20%3D%20%3Fitem1%29%20.%0A%20%20%7D%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%27en%27%20%7D%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading2"><h2 id="Related_to_names">Related to names</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=14" title="Edit section: Related to names"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="P1559_missing_(works_also_with_P735,_P569,_P570,_P19,_P20,_P21,_P27,_P31)"><span id="P1559_missing_.28works_also_with_P735.2C_P569.2C_P570.2C_P19.2C_P20.2C_P21.2C_P27.2C_P31.29"></span>P1559 missing (works also with P735, P569, P570, P19, P20, P21, P27, P31)</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=15" title="Edit section: P1559 missing (works also with P735, P569, P570, P19, P20, P21, P27, P31)"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?item</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="k">MINUS</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P1559</span> <span class="nv">?dummy</span> <span class="p">}</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fitem%20WHERE%20%7B%0A%20%20%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%0A%20%20%20%20MINUS%20%7B%20%3Fitem%20wdt%3AP1559%20%3Fdummy%20%7D%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?item</span> <span class="nv">?itemLabel</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">.</span> <span class="k">FILTER</span> <span class="nf">NOT EXISTS</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P1559</span> <span class="nv">?name</span> <span class="p">.</span> <span class="p">}</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P27</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q183</span> <span class="p">.</span> <span class="nv">?sitelink</span> <span class="nn">schema</span><span class="p">:</span><span class="nt">about</span> <span class="nv">?item</span><span class="p">;</span> <span class="nn">schema</span><span class="p">:</span><span class="nt">isPartOf</span> <span class="nl"><https://de.wikipedia.org/></span> <span class="p">.</span> <span class="k">SERVICE</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">label</span> <span class="p">{</span> <span class="nn">bd</span><span class="p">:</span><span class="nt">serviceParam</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">language</span> <span class="s">'de,en'</span> <span class="p">}</span> <span class="p">.</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fitem%20%3FitemLabel%20%7B%0A%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%20.%0A%20%20FILTER%20NOT%20EXISTS%20%7B%0A%20%20%20%20%3Fitem%20wdt%3AP1559%20%3Fname%20.%0A%20%20%7D%0A%20%20%3Fitem%20wdt%3AP27%20wd%3AQ183%20.%0A%20%20%3Fsitelink%20schema%3Aabout%20%3Fitem%3B%20schema%3AisPartOf%20%3Chttps%3A%2F%2Fde.wikipedia.org%2F%3E%20.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%27de%2Cen%27%20%7D%20.%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="Series_ordinals_for_multiple_given_names">Series ordinals for multiple given names</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=16" title="Edit section: Series ordinals for multiple given names"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="k">DISTINCT</span> <span class="nv">?item</span> <span class="nv">?qid</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="nv">?item</span> <span class="p">(</span><span class="nf">COUNT</span><span class="p">(</span><span class="nv">?givenname</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?cnt</span><span class="p">)</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P106</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q13382576</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P735</span> <span class="nv">?givenname</span> <span class="p">.</span> <span class="p">}</span> <span class="k">GROUP BY</span> <span class="nv">?item</span> <span class="p">}</span> <span class="k">FILTER</span><span class="p">(</span><span class="nv">?cnt</span> <span class="o">></span> <span class="mi">1</span><span class="p">)</span> <span class="p">.</span> <span class="k">MINUS</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P735</span><span class="o">/</span><span class="nn">pq</span><span class="p">:</span><span class="nt">P1545</span> <span class="p">[]</span> <span class="p">}</span> <span class="k">BIND</span><span class="p">(</span><span class="nn">xsd</span><span class="p">:</span><span class="nt">integer</span><span class="p">(</span><span class="nf">SUBSTR</span><span class="p">(</span><span class="nf">STR</span><span class="p">(</span><span class="nv">?item</span><span class="p">),</span> <span class="mi">33</span><span class="p">))</span> <span class="k">AS</span> <span class="nv">?qid</span><span class="p">)</span> <span class="p">.</span> <span class="p">}</span> <span class="k">ORDER BY</span> <span class="k">DESC</span><span class="p">(</span><span class="nv">?qid</span><span class="p">)</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20DISTINCT%20%3Fitem%20%3Fqid%20WHERE%20%7B%0A%20%20%7B%0A%20%20%20%20SELECT%20%3Fitem%20%28COUNT%28%3Fgivenname%29%20AS%20%3Fcnt%29%20WHERE%20%7B%0A%20%20%20%20%20%20%3Fitem%20wdt%3AP106%20wd%3AQ13382576%20.%0A%20%20%20%20%20%20%3Fitem%20wdt%3AP735%20%3Fgivenname%20.%0A%20%20%20%20%7D%20GROUP%20BY%20%3Fitem%0A%20%20%7D%0A%20%20FILTER%28%3Fcnt%20%3E%201%29%20.%0A%20%20MINUS%20%7B%20%3Fitem%20p%3AP735%2Fpq%3AP1545%20%5B%5D%20%7D%0A%20%20BIND%28xsd%3Ainteger%28SUBSTR%28STR%28%3Fitem%29%2C%2033%29%29%20AS%20%3Fqid%29%20.%0A%7D%20ORDER%20BY%20DESC%28%3Fqid%29"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="Use_of_compound_given_name_items">Use of compound given name items</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=17" title="Edit section: Use of compound given name items"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="k">DISTINCT</span> <span class="nv">?item</span> <span class="nv">?label</span> <span class="nv">?givennameLabel</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P735</span> <span class="nv">?givenname</span> <span class="p">.</span> <span class="nv">?givenname</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P31</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q1243157</span><span class="p">;</span> <span class="nn">rdfs</span><span class="p">:</span><span class="nt">label</span> <span class="nv">?givennameLabel</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nf">LANG</span><span class="p">(</span><span class="nv">?givennameLabel</span><span class="p">)</span> <span class="o">=</span> <span class="s">'en'</span><span class="p">)</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">rdfs</span><span class="p">:</span><span class="nt">label</span> <span class="nv">?label</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nf">LANG</span><span class="p">(</span><span class="nv">?label</span><span class="p">)</span> <span class="o">=</span> <span class="s">'en'</span><span class="p">)</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nf">CONTAINS</span><span class="p">(</span><span class="nf">STR</span><span class="p">(</span><span class="nv">?label</span><span class="p">),</span> <span class="s">'-'</span><span class="p">)</span> <span class="o">=</span> <span class="kc">false</span><span class="p">)</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nf">CONTAINS</span><span class="p">(</span><span class="nf">STR</span><span class="p">(</span><span class="nv">?givennameLabel</span><span class="p">),</span> <span class="s">'-'</span><span class="p">)</span> <span class="o">=</span> <span class="kc">false</span><span class="p">)</span> <span class="p">.</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20DISTINCT%20%3Fitem%20%3Flabel%20%3FgivennameLabel%20WHERE%20%7B%0A%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%3B%20wdt%3AP735%20%3Fgivenname%20.%0A%20%20%3Fgivenname%20wdt%3AP31%20wd%3AQ1243157%3B%20rdfs%3Alabel%20%3FgivennameLabel%20.%0A%20%20FILTER%28LANG%28%3FgivennameLabel%29%20%3D%20%27en%27%29%20.%0A%20%20%3Fitem%20rdfs%3Alabel%20%3Flabel%20.%0A%20%20FILTER%28LANG%28%3Flabel%29%20%3D%20%27en%27%29%20.%0A%20%20FILTER%28CONTAINS%28STR%28%3Flabel%29%2C%20%27-%27%29%20%3D%20false%29%20.%0A%20%20FILTER%28CONTAINS%28STR%28%3FgivennameLabel%29%2C%20%27-%27%29%20%3D%20false%29%20.%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="Hungarian_names">Hungarian names</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=18" title="Edit section: Hungarian names"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="k">DISTINCT</span> <span class="nv">?item</span> <span class="nv">?enLabel</span> <span class="nv">?huLabel</span> <span class="nv">?nativeLabel</span> <span class="nv">?nativeLabelLang</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P27</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q28</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">rdfs</span><span class="p">:</span><span class="nt">label</span> <span class="nv">?enLabel</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nf">LANG</span><span class="p">(</span><span class="nv">?enLabel</span><span class="p">)</span> <span class="o">=</span> <span class="s">'en'</span><span class="p">)</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">rdfs</span><span class="p">:</span><span class="nt">label</span> <span class="nv">?huLabel</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nf">LANG</span><span class="p">(</span><span class="nv">?huLabel</span><span class="p">)</span> <span class="o">=</span> <span class="s">'hu'</span><span class="p">)</span> <span class="p">.</span> <span class="k">OPTIONAL</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P1559</span> <span class="nv">?nativeLabel</span> <span class="p">.</span> <span class="k">BIND</span><span class="p">(</span><span class="nf">LANG</span><span class="p">(</span><span class="nv">?nativeLabel</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?nativeLabelLang</span><span class="p">)</span> <span class="p">.</span> <span class="p">}</span> <span class="k">FILTER</span><span class="p">(</span><span class="nf">STR</span><span class="p">(</span><span class="nv">?enLabel</span><span class="p">)</span> <span class="o">=</span> <span class="nf">STR</span><span class="p">(</span><span class="nv">?huLabel</span><span class="p">))</span> <span class="p">.</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20DISTINCT%20%3Fitem%20%3FenLabel%20%3FhuLabel%20%3FnativeLabel%20%3FnativeLabelLang%20WHERE%20%7B%0A%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%3B%20wdt%3AP27%20wd%3AQ28%20.%0A%20%20%3Fitem%20rdfs%3Alabel%20%3FenLabel%20.%0A%20%20FILTER%28LANG%28%3FenLabel%29%20%3D%20%27en%27%29%20.%0A%20%20%3Fitem%20rdfs%3Alabel%20%3FhuLabel%20.%0A%20%20FILTER%28LANG%28%3FhuLabel%29%20%3D%20%27hu%27%29%20.%0A%20%20OPTIONAL%20%7B%0A%20%20%20%20%3Fitem%20wdt%3AP1559%20%3FnativeLabel%20.%0A%20%20%20%20BIND%28LANG%28%3FnativeLabel%29%20AS%20%3FnativeLabelLang%29%20.%0A%20%20%7D%0A%20%20FILTER%28STR%28%3FenLabel%29%20%3D%20STR%28%3FhuLabel%29%29%20.%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading2"><h2 id="Related_to_event_participation">Related to event participation</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=19" title="Edit section: Related to event participation"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li>See also: <a href="/wiki/User:MisterSynergy/rowing/event_participation" title="User:MisterSynergy/rowing/event participation">User:MisterSynergy/rowing/event participation</a>.</li></ul> <div class="mw-heading mw-heading3"><h3 id="Event_participation_P710/P1344_symmetry"><span id="Event_participation_P710.2FP1344_symmetry"></span>Event participation P710/P1344 symmetry</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=20" title="Edit section: Event participation P710/P1344 symmetry"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?item</span> <span class="nv">?itemLabel</span> <span class="nv">?event</span> <span class="nv">?eventLabel</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P1344</span> <span class="nv">?event</span> <span class="p">.</span> <span class="nv">?event</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P710</span> <span class="nv">?item</span> <span class="p">.</span> <span class="k">SERVICE</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">label</span> <span class="p">{</span> <span class="nn">bd</span><span class="p">:</span><span class="nt">serviceParam</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">language</span> <span class="s">"en"</span> <span class="p">.</span> <span class="p">}</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fitem%20%3FitemLabel%20%3Fevent%20%3FeventLabel%20WHERE%20%7B%0A%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%20.%0A%20%20%3Fitem%20wdt%3AP1344%20%3Fevent%20.%0A%20%20%3Fevent%20wdt%3AP710%20%3Fitem%20.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22%20.%20%7D%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="Olympic_rowing_events">Olympic rowing events</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=21" title="Edit section: Olympic rowing events"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>General overview: </p> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?regatta</span> <span class="nv">?year</span> <span class="nv">?item</span> <span class="nv">?itemLabel</span> <span class="nv">?class</span> <span class="nv">?participants</span> <span class="nv">?distance</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P31</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q18536594</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P3157</span> <span class="nv">?distance</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P361</span> <span class="nv">?regatta</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P1132</span> <span class="nv">?participants</span> <span class="p">.</span> <span class="nv">?regatta</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P31</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q720609</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P580</span> <span class="nv">?time</span> <span class="p">.</span> <span class="k">BIND</span><span class="p">(</span><span class="nf">YEAR</span><span class="p">(</span><span class="nv">?time</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?year</span><span class="p">)</span> <span class="p">.</span> <span class="k">OPTIONAL</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P2094</span> <span class="nv">?class</span> <span class="p">.</span> <span class="p">}</span> <span class="nv">?item</span> <span class="nn">rdfs</span><span class="p">:</span><span class="nt">label</span> <span class="nv">?itemLabel</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nf">LANG</span><span class="p">(</span><span class="nv">?itemLabel</span><span class="p">)</span> <span class="o">=</span> <span class="s">'de'</span><span class="p">)</span> <span class="p">.</span> <span class="p">}</span> <span class="k">ORDER BY</span> <span class="k">ASC</span><span class="p">(</span><span class="nv">?year</span><span class="p">)</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fregatta%20%3Fyear%20%3Fitem%20%3FitemLabel%20%3Fclass%20%3Fparticipants%20%3Fdistance%20%7B%0A%20%20%3Fitem%20wdt%3AP31%20wd%3AQ18536594%3B%20wdt%3AP3157%20%3Fdistance%3B%20wdt%3AP361%20%3Fregatta%3B%20wdt%3AP1132%20%3Fparticipants%20.%0A%20%20%3Fregatta%20wdt%3AP31%20wd%3AQ720609%3B%20wdt%3AP580%20%3Ftime%20.%0A%20%20BIND%28YEAR%28%3Ftime%29%20AS%20%3Fyear%29%20.%0A%20%20OPTIONAL%20%7B%0A%20%20%20%20%3Fitem%20wdt%3AP2094%20%3Fclass%20.%0A%20%20%7D%0A%20%20%3Fitem%20rdfs%3Alabel%20%3FitemLabel%20.%0A%20%20FILTER%28LANG%28%3FitemLabel%29%20%3D%20%27de%27%29%20.%0A%7D%20ORDER%20BY%20ASC%28%3Fyear%29"><span dir="ltr" lang="en">Try it!</span></a> </div> <p>Number of participants (needs work): </p> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?regatta</span> <span class="nv">?year</span> <span class="nv">?number</span> <span class="nv">?sum</span> <span class="nv">?diff</span> <span class="p">{</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="nv">?regatta</span> <span class="p">(</span><span class="nf">SUM</span><span class="p">(</span><span class="nv">?number</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?sum</span><span class="p">)</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P31</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q18536594</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P361</span> <span class="nv">?regatta</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P1132</span> <span class="nv">?number</span> <span class="p">.</span> <span class="nv">?regatta</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P31</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q720609</span> <span class="p">.</span> <span class="p">}</span> <span class="k">GROUP BY</span> <span class="nv">?regatta</span> <span class="p">}</span> <span class="nv">?regatta</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P1132</span> <span class="nv">?number</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P580</span> <span class="nv">?date</span> <span class="p">.</span> <span class="k">BIND</span><span class="p">(</span><span class="nf">YEAR</span><span class="p">(</span><span class="nv">?date</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?year</span><span class="p">)</span> <span class="p">.</span> <span class="k">BIND</span><span class="p">(</span><span class="nv">?number</span> <span class="o">-</span> <span class="nv">?sum</span> <span class="k">AS</span> <span class="nv">?diff</span><span class="p">)</span> <span class="p">.</span> <span class="p">}</span> <span class="k">ORDER BY</span> <span class="k">ASC</span><span class="p">(</span><span class="nv">?year</span><span class="p">)</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fregatta%20%3Fyear%20%3Fnumber%20%3Fsum%20%3Fdiff%20%7B%0A%20%20%7B%0A%20%20%20%20SELECT%20%3Fregatta%20%28SUM%28%3Fnumber%29%20AS%20%3Fsum%29%20%7B%0A%20%20%20%20%20%20%3Fitem%20wdt%3AP31%20wd%3AQ18536594%3B%20wdt%3AP361%20%3Fregatta%3B%20wdt%3AP1132%20%3Fnumber%20.%0A%20%20%20%20%20%20%3Fregatta%20wdt%3AP31%20wd%3AQ720609%20.%0A%20%20%20%20%7D%20GROUP%20BY%20%3Fregatta%0A%20%20%7D%0A%20%20%3Fregatta%20wdt%3AP1132%20%3Fnumber%3B%20wdt%3AP580%20%3Fdate%20.%0A%20%20BIND%28YEAR%28%3Fdate%29%20AS%20%3Fyear%29%20.%0A%20%20BIND%28%3Fnumber%20-%20%3Fsum%20AS%20%3Fdiff%29%20.%0A%7D%20ORDER%20BY%20ASC%28%3Fyear%29"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading2"><h2 id="Related_to_identifiers">Related to identifiers</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=22" title="Edit section: Related to identifiers"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="P1447_might_be_missing">P1447 might be missing</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=23" title="Edit section: P1447 might be missing"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?item</span> <span class="nv">?oorg</span> <span class="nv">?sr</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P3171</span> <span class="nv">?oorg</span> <span class="p">.</span> <span class="k">FILTER</span> <span class="nf">NOT EXISTS</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P1447</span> <span class="nv">?sr</span> <span class="p">.</span> <span class="p">}</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fitem%20%3Foorg%20%3Fsr%20%7B%0A%20%20%3Fitem%20wdt%3AP3171%20%3Foorg%20.%0A%20%20FILTER%20NOT%20EXISTS%20%7B%0A%20%20%20%20%3Fitem%20wdt%3AP1447%20%3Fsr%20.%0A%20%20%7D%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="Check_unknown_values_against_external_databases">Check unknown values against external databases</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=24" title="Edit section: Check unknown values against external databases"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?item</span> <span class="nv">?identifier</span> <span class="nv">?id</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P19</span> <span class="nv">?var</span> <span class="p">.</span> <span class="k">FILTER</span> <span class="nf">ISBLANK</span><span class="p">(</span><span class="nv">?var</span><span class="p">)</span> <span class="p">.</span> <span class="nv">?identifier</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">propertyType</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">ExternalId</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">directClaim</span> <span class="nv">?directClaim</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nv">?directClaim</span> <span class="nv">?id</span> <span class="p">.</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fitem%20%3Fidentifier%20%3Fid%20%7B%0A%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%3B%20wdt%3AP19%20%3Fvar%20.%0A%20%20FILTER%20ISBLANK%28%3Fvar%29%20.%0A%20%20%3Fidentifier%20wikibase%3ApropertyType%20wikibase%3AExternalId%3B%20wikibase%3AdirectClaim%20%3FdirectClaim%20.%0A%20%20%3Fitem%20%3FdirectClaim%20%3Fid%20.%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="External_identifiers_of_rowing_persons">External identifiers of rowing persons</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=25" title="Edit section: External identifiers of rowing persons"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?identifier</span> <span class="nv">?identifierLabel</span> <span class="p">(</span><span class="nf">COUNT</span><span class="p">(</span><span class="o">*</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?cnt</span><span class="p">)</span> <span class="k">WITH</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="k">DISTINCT</span> <span class="nv">?item</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">.</span> <span class="p">}</span> <span class="p">}</span> <span class="k">AS</span> <span class="err">%subquery</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="err">INCLUDE</span> <span class="err">%subquery</span> <span class="p">.</span> <span class="nv">?identifier</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">propertyType</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">ExternalId</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">directClaim</span> <span class="nv">?directClaim</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nv">?directClaim</span> <span class="nv">?identifierValue</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nv">?identifier</span> <span class="o">!=</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P2091</span><span class="p">)</span> <span class="p">.</span> <span class="c"># FISA rower ID</span> <span class="k">FILTER</span><span class="p">(</span><span class="nv">?identifier</span> <span class="k">NOT IN</span> <span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">P1447</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P3171</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P3520</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P5815</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P4391</span><span class="p">))</span> <span class="p">.</span> <span class="c"># Sports-Reference.com ID, IOC ID, DatabaseOlympics.com, Olympic Channel, TheSports</span> <span class="k">FILTER</span><span class="p">(</span><span class="nv">?identifier</span> <span class="k">NOT IN</span> <span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">P2002</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P2003</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P2013</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P2397</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P3185</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P4015</span><span class="p">))</span> <span class="p">.</span> <span class="c"># Twitter, instagram, Facebook, youtube channel, vKontakte, vimeo</span> <span class="k">FILTER</span><span class="p">(</span><span class="nv">?identifier</span> <span class="k">NOT IN</span> <span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">P3682</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P4060</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P4054</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P4053</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P2593</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P4056</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P2323</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P4062</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P4068</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P4069</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P4490</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P4067</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P4050</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P6071</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P4061</span><span class="p">,</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P4547</span><span class="p">))</span> <span class="p">.</span> <span class="c"># national olympic committees</span> <span class="k">FILTER</span><span class="p">(</span><span class="nv">?identifier</span> <span class="o">!=</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P646</span><span class="p">)</span> <span class="p">.</span> <span class="c"># Freebase</span> <span class="k">SERVICE</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">label</span> <span class="p">{</span> <span class="nn">bd</span><span class="p">:</span><span class="nt">serviceParam</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">language</span> <span class="s">'en'</span> <span class="p">}</span> <span class="p">}</span> <span class="k">GROUP BY</span> <span class="nv">?identifier</span> <span class="nv">?identifierLabel</span> <span class="k">ORDER BY</span> <span class="k">DESC</span> <span class="p">(</span><span class="nv">?cnt</span><span class="p">)</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fidentifier%20%3FidentifierLabel%20%28COUNT%28%2A%29%20AS%20%3Fcnt%29%20WITH%20%7B%0A%20%20SELECT%20DISTINCT%20%3Fitem%20WHERE%20%7B%0A%20%20%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%20.%0A%20%20%7D%0A%7D%20AS%20%25subquery%20WHERE%20%7B%0A%20%20INCLUDE%20%25subquery%20.%0A%20%20%3Fidentifier%20wikibase%3ApropertyType%20wikibase%3AExternalId%3B%20wikibase%3AdirectClaim%20%3FdirectClaim%20.%0A%20%20%3Fitem%20%3FdirectClaim%20%3FidentifierValue%20.%0A%20%20FILTER%28%3Fidentifier%20%21%3D%20wd%3AP2091%29%20.%20%23%20FISA%20rower%20ID%0A%20%20FILTER%28%3Fidentifier%20NOT%20IN%20%28wd%3AP1447%2C%20wd%3AP3171%2C%20wd%3AP3520%2C%20wd%3AP5815%2C%20wd%3AP4391%29%29%20.%20%23%20Sports-Reference.com%20ID%2C%20IOC%20ID%2C%20DatabaseOlympics.com%2C%20Olympic%20Channel%2C%20TheSports%0A%20%20FILTER%28%3Fidentifier%20NOT%20IN%20%28wd%3AP2002%2C%20wd%3AP2003%2C%20wd%3AP2013%2C%20wd%3AP2397%2C%20wd%3AP3185%2C%20wd%3AP4015%29%29%20.%20%23%20Twitter%2C%20instagram%2C%20Facebook%2C%20youtube%20channel%2C%20vKontakte%2C%20vimeo%0A%20%20FILTER%28%3Fidentifier%20NOT%20IN%20%28wd%3AP3682%2C%20wd%3AP4060%2C%20wd%3AP4054%2C%20wd%3AP4053%2C%20wd%3AP2593%2C%20wd%3AP4056%2C%20wd%3AP2323%2C%20wd%3AP4062%2C%20wd%3AP4068%2C%20wd%3AP4069%2C%20wd%3AP4490%2C%20wd%3AP4067%2C%20wd%3AP4050%2C%20wd%3AP6071%2C%20wd%3AP4061%2C%20wd%3AP4547%29%29%20.%20%23%20national%20olympic%20committees%0A%20%20FILTER%28%3Fidentifier%20%21%3D%20wd%3AP646%29%20.%20%23%20Freebase%0A%20%20%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%27en%27%20%7D%0A%7D%20GROUP%20BY%20%3Fidentifier%20%3FidentifierLabel%20ORDER%20BY%20DESC%20%28%3Fcnt%29"><span dir="ltr" lang="en">Try it!</span></a> </div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?item</span> <span class="nv">?itemLabel</span> <span class="nv">?identifier</span> <span class="nv">?identifierValue</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">.</span> <span class="nv">?identifier</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">propertyType</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">ExternalId</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">directClaim</span> <span class="nv">?directClaim</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nv">?directClaim</span> <span class="nv">?identifierValue</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nv">?identifier</span> <span class="o">!=</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P2091</span><span class="p">)</span> <span class="p">.</span> <span class="c"># FISA rower ID</span> <span class="k">FILTER</span><span class="p">(</span><span class="nv">?identifier</span> <span class="o">!=</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P1447</span> <span class="o">&&</span> <span class="nv">?identifier</span> <span class="o">!=</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P3171</span> <span class="o">&&</span> <span class="nv">?identifier</span> <span class="o">!=</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P3520</span><span class="p">)</span> <span class="p">.</span> <span class="c"># Sports-Reference.com ID, IOC ID, DatabaseOlympics.com</span> <span class="k">FILTER</span><span class="p">(</span><span class="nv">?identifier</span> <span class="o">!=</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P2002</span> <span class="o">&&</span> <span class="nv">?identifier</span> <span class="o">!=</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P2003</span> <span class="o">&&</span> <span class="nv">?identifier</span> <span class="o">!=</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P2013</span><span class="p">)</span> <span class="p">.</span> <span class="c"># Twitter, instagram, Facebook</span> <span class="k">FILTER</span><span class="p">(</span><span class="nv">?identifier</span> <span class="o">!=</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P3682</span> <span class="o">&&</span> <span class="nv">?identifier</span> <span class="o">!=</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P4060</span> <span class="o">&&</span> <span class="nv">?identifier</span> <span class="o">!=</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P4054</span> <span class="o">&&</span> <span class="nv">?identifier</span> <span class="o">!=</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P4053</span> <span class="o">&&</span> <span class="nv">?identifier</span> <span class="o">!=</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P2593</span> <span class="o">&&</span> <span class="nv">?identifier</span> <span class="o">!=</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P4056</span> <span class="o">&&</span> <span class="nv">?identifier</span> <span class="o">!=</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P2323</span><span class="p">)</span> <span class="p">.</span> <span class="c"># national olympic committees</span> <span class="k">FILTER</span><span class="p">(</span><span class="nv">?identifier</span> <span class="o">!=</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">P646</span><span class="p">)</span> <span class="p">.</span> <span class="c"># Freebase</span> <span class="k">SERVICE</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">label</span> <span class="p">{</span> <span class="nn">bd</span><span class="p">:</span><span class="nt">serviceParam</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">language</span> <span class="s">'en'</span> <span class="p">}</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fitem%20%3FitemLabel%20%3Fidentifier%20%3FidentifierValue%20WHERE%20%7B%0A%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%20.%0A%20%20%3Fidentifier%20wikibase%3ApropertyType%20wikibase%3AExternalId%3B%20wikibase%3AdirectClaim%20%3FdirectClaim%20.%0A%20%20%3Fitem%20%3FdirectClaim%20%3FidentifierValue%20.%0A%20%20FILTER%28%3Fidentifier%20%21%3D%20wd%3AP2091%29%20.%20%23%20FISA%20rower%20ID%0A%20%20FILTER%28%3Fidentifier%20%21%3D%20wd%3AP1447%20%26%26%20%3Fidentifier%20%21%3D%20wd%3AP3171%20%26%26%20%3Fidentifier%20%21%3D%20wd%3AP3520%29%20.%20%23%20Sports-Reference.com%20ID%2C%20IOC%20ID%2C%20DatabaseOlympics.com%0A%20%20FILTER%28%3Fidentifier%20%21%3D%20wd%3AP2002%20%26%26%20%3Fidentifier%20%21%3D%20wd%3AP2003%20%26%26%20%3Fidentifier%20%21%3D%20wd%3AP2013%29%20.%20%23%20Twitter%2C%20instagram%2C%20Facebook%0A%20%20FILTER%28%3Fidentifier%20%21%3D%20wd%3AP3682%20%26%26%20%3Fidentifier%20%21%3D%20wd%3AP4060%20%26%26%20%3Fidentifier%20%21%3D%20wd%3AP4054%20%26%26%20%3Fidentifier%20%21%3D%20wd%3AP4053%20%26%26%20%3Fidentifier%20%21%3D%20wd%3AP2593%20%26%26%20%3Fidentifier%20%21%3D%20wd%3AP4056%20%26%26%20%3Fidentifier%20%21%3D%20wd%3AP2323%29%20.%20%23%20national%20olympic%20committees%0A%20%20FILTER%28%3Fidentifier%20%21%3D%20wd%3AP646%29%20.%20%23%20Freebase%0A%20%20%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%27en%27%20%7D%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?identifier</span> <span class="nv">?identifierLabel</span> <span class="p">(</span><span class="nf">COUNT</span><span class="p">(</span><span class="k">DISTINCT</span> <span class="nv">?s</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?statements</span><span class="p">)</span> <span class="p">(</span><span class="nf">COUNT</span><span class="p">(</span><span class="k">DISTINCT</span> <span class="nv">?item</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?items</span><span class="p">)</span> <span class="k">WITH</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="k">DISTINCT</span> <span class="nv">?item</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">.</span> <span class="p">}</span> <span class="p">}</span> <span class="k">AS</span> <span class="err">%subquery</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="err">INCLUDE</span> <span class="err">%subquery</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nv">?p</span> <span class="nv">?s</span> <span class="p">.</span> <span class="nv">?identifier</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">claim</span> <span class="nv">?p</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">propertyType</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">ExternalId</span> <span class="p">.</span> <span class="k">SERVICE</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">label</span> <span class="p">{</span> <span class="nn">bd</span><span class="p">:</span><span class="nt">serviceParam</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">language</span> <span class="s">'en'</span> <span class="p">}</span> <span class="p">}</span> <span class="k">GROUP BY</span> <span class="nv">?identifier</span> <span class="nv">?identifierLabel</span> <span class="k">ORDER BY</span> <span class="k">DESC</span><span class="p">(</span><span class="nv">?statements</span><span class="p">)</span> <span class="k">DESC</span><span class="p">(</span><span class="nv">?items</span><span class="p">)</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fidentifier%20%3FidentifierLabel%20%28COUNT%28DISTINCT%20%3Fs%29%20AS%20%3Fstatements%29%20%28COUNT%28DISTINCT%20%3Fitem%29%20AS%20%3Fitems%29%20WITH%20%7B%0A%20%20SELECT%20DISTINCT%20%3Fitem%20WHERE%20%7B%0A%20%20%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%20.%0A%20%20%7D%0A%7D%20AS%20%25subquery%20WHERE%20%7B%0A%20%20INCLUDE%20%25subquery%20.%0A%20%20%3Fitem%20%3Fp%20%3Fs%20.%0A%20%20%3Fidentifier%20wikibase%3Aclaim%20%3Fp%3B%20wikibase%3ApropertyType%20wikibase%3AExternalId%20.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%27en%27%20%7D%0A%7D%20GROUP%20BY%20%3Fidentifier%20%3FidentifierLabel%20ORDER%20BY%20DESC%28%3Fstatements%29%20DESC%28%3Fitems%29"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="Non-unique_identifiers">Non-unique identifiers</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=26" title="Edit section: Non-unique identifiers"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?item</span> <span class="nv">?identifier</span> <span class="nv">?value</span> <span class="nv">?item2</span> <span class="k">WITH</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="k">DISTINCT</span> <span class="nv">?item</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">.</span> <span class="p">}</span> <span class="p">}</span> <span class="k">AS</span> <span class="err">%subquery</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="err">INCLUDE</span> <span class="err">%subquery</span> <span class="nv">?identifier</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">propertyType</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">ExternalId</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">claim</span> <span class="nv">?identifierClaim</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">statementProperty</span> <span class="nv">?identifierStatementProperty</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">reference</span> <span class="nv">?ref</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nv">?identifierClaim</span> <span class="p">[</span> <span class="nv">?identifierStatementProperty</span> <span class="nv">?value</span> <span class="p">]</span> <span class="p">.</span> <span class="nv">?item2</span> <span class="nv">?identifierClaim</span> <span class="p">[</span> <span class="nv">?identifierStatementProperty</span> <span class="nv">?value</span> <span class="p">]</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nv">?item</span> <span class="o">!=</span> <span class="nv">?item2</span><span class="p">)</span> <span class="p">.</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fitem%20%3Fidentifier%20%3Fvalue%20%3Fitem2%20WITH%20%7B%0A%20%20SELECT%20DISTINCT%20%3Fitem%20WHERE%20%7B%0A%20%20%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%20.%0A%20%20%7D%0A%7D%20AS%20%25subquery%20WHERE%20%7B%0A%20%20INCLUDE%20%25subquery%20%0A%20%20%3Fidentifier%20wikibase%3ApropertyType%20wikibase%3AExternalId%3B%20wikibase%3Aclaim%20%3FidentifierClaim%3B%20wikibase%3AstatementProperty%20%3FidentifierStatementProperty%3B%20wikibase%3Areference%20%3Fref%20.%0A%20%20%3Fitem%20%3FidentifierClaim%20%5B%20%3FidentifierStatementProperty%20%3Fvalue%20%5D%20.%0A%20%20%3Fitem2%20%3FidentifierClaim%20%5B%20%3FidentifierStatementProperty%20%3Fvalue%20%5D%20.%0A%20%20FILTER%28%3Fitem%20%21%3D%20%3Fitem2%29%20.%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="Non-single_identifiers">Non-single identifiers</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=27" title="Edit section: Non-single identifiers"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?item</span> <span class="nv">?identifier</span> <span class="p">(</span><span class="nf">COUNT</span><span class="p">(</span><span class="nv">?value</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?cnt</span><span class="p">)</span> <span class="p">(</span><span class="nf">GROUP_CONCAT</span><span class="p">(</span><span class="nv">?value</span><span class="p">;</span> <span class="nf">separator</span><span class="o">=</span><span class="s">', '</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?values</span><span class="p">)</span> <span class="k">WITH</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="k">DISTINCT</span> <span class="nv">?item</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">.</span> <span class="p">}</span> <span class="p">}</span> <span class="k">AS</span> <span class="err">%subquery</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="err">INCLUDE</span> <span class="err">%subquery</span> <span class="nv">?identifier</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">propertyType</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">ExternalId</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">claim</span> <span class="nv">?identifierClaim</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">statementProperty</span> <span class="nv">?identifierStatementProperty</span><span class="p">;</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">reference</span> <span class="nv">?ref</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nv">?identifierClaim</span> <span class="p">[</span> <span class="nv">?identifierStatementProperty</span> <span class="nv">?value</span> <span class="p">]</span> <span class="p">.</span> <span class="p">}</span> <span class="k">GROUP BY</span> <span class="nv">?item</span> <span class="nv">?identifier</span> <span class="k">HAVING</span><span class="p">(</span><span class="nv">?cnt</span> <span class="o">></span> <span class="mi">1</span><span class="p">)</span> <span class="k">ORDER BY</span> <span class="k">DESC</span><span class="p">(</span><span class="nv">?cnt</span><span class="p">)</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fitem%20%3Fidentifier%20%28COUNT%28%3Fvalue%29%20AS%20%3Fcnt%29%20%28GROUP_CONCAT%28%3Fvalue%3B%20separator%3D%27%2C%20%27%29%20AS%20%3Fvalues%29%20WITH%20%7B%0A%20%20SELECT%20DISTINCT%20%3Fitem%20WHERE%20%7B%0A%20%20%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%20.%0A%20%20%7D%0A%7D%20AS%20%25subquery%20WHERE%20%7B%0A%20%20INCLUDE%20%25subquery%20%0A%20%20%3Fidentifier%20wikibase%3ApropertyType%20wikibase%3AExternalId%3B%20wikibase%3Aclaim%20%3FidentifierClaim%3B%20wikibase%3AstatementProperty%20%3FidentifierStatementProperty%3B%20wikibase%3Areference%20%3Fref%20.%0A%20%20%3Fitem%20%3FidentifierClaim%20%5B%20%3FidentifierStatementProperty%20%3Fvalue%20%5D%20.%0A%7D%20GROUP%20BY%20%3Fitem%20%3Fidentifier%20HAVING%28%3Fcnt%20%3E%201%29%20ORDER%20BY%20DESC%28%3Fcnt%29"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading2"><h2 id="Related_to_terms_(labels,_descriptions,_and_aliases)"><span id="Related_to_terms_.28labels.2C_descriptions.2C_and_aliases.29"></span>Related to terms (labels, descriptions, and aliases)</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=28" title="Edit section: Related to terms (labels, descriptions, and aliases)"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="Missing_French_labels/descriptions_of_rowers_(works_also_with_German/English/…)"><span id="Missing_French_labels.2Fdescriptions_of_rowers_.28works_also_with_German.2FEnglish.2F.E2.80.A6.29"></span>Missing French labels/descriptions of rowers (works also with German/English/…)</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=29" title="Edit section: Missing French labels/descriptions of rowers (works also with German/English/…)"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?item</span> <span class="nv">?itemLabel</span> <span class="nv">?itemDescription</span> <span class="nv">?citizenship</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="nv">?item</span> <span class="nv">?citizenship</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P27</span> <span class="nv">?citizenship</span> <span class="p">.</span> <span class="p">}</span> <span class="p">}</span> <span class="k">OPTIONAL</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">rdfs</span><span class="p">:</span><span class="nt">label</span> <span class="nv">?labels</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span> <span class="nf">LANG</span><span class="p">(</span><span class="nv">?labels</span><span class="p">)</span> <span class="o">=</span> <span class="s">"fr"</span> <span class="p">)</span> <span class="p">.</span> <span class="p">}</span> <span class="k">FILTER</span><span class="p">(</span><span class="o">!</span><span class="nf">BOUND</span><span class="p">(</span><span class="nv">?labels</span><span class="p">))</span> <span class="k">SERVICE</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">label</span> <span class="p">{</span> <span class="nn">bd</span><span class="p">:</span><span class="nt">serviceParam</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">language</span> <span class="s">"fr"</span> <span class="p">}</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fitem%20%3FitemLabel%20%3FitemDescription%20%3Fcitizenship%20WHERE%20%7B%0A%20%20%7B%0A%20%20%20%20SELECT%20%3Fitem%20%3Fcitizenship%20WHERE%20%7B%0A%09%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%20.%0A%20%20%09%20%20%3Fitem%20wdt%3AP27%20%3Fcitizenship%20.%0A%20%20%20%20%7D%09%0A%20%20%7D%0A%20%20OPTIONAL%20%7B%0A%20%20%20%20%3Fitem%20rdfs%3Alabel%20%3Flabels%20.%0A%20%20%09FILTER%28%20LANG%28%3Flabels%29%20%3D%20%22fr%22%20%29%20.%20%0A%20%20%7D%0A%20%20FILTER%28%21BOUND%28%3Flabels%29%29%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22fr%22%20%7D%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?item</span> <span class="nv">?itemLabel</span> <span class="nv">?itemDescription</span> <span class="nv">?citizenship</span> <span class="nv">?citizenshipLabel</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="nv">?item</span> <span class="nv">?citizenship</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P27</span> <span class="nv">?citizenship</span> <span class="p">.</span> <span class="p">}</span> <span class="p">}</span> <span class="k">OPTIONAL</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">schema</span><span class="p">:</span><span class="nt">description</span> <span class="nv">?descriptions</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span> <span class="nf">LANG</span><span class="p">(</span><span class="nv">?descriptions</span><span class="p">)</span> <span class="o">=</span> <span class="s">"fr"</span> <span class="p">)</span> <span class="p">.</span> <span class="p">}</span> <span class="k">FILTER</span><span class="p">(</span><span class="o">!</span><span class="nf">BOUND</span><span class="p">(</span><span class="nv">?descriptions</span><span class="p">))</span> <span class="k">SERVICE</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">label</span> <span class="p">{</span> <span class="nn">bd</span><span class="p">:</span><span class="nt">serviceParam</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">language</span> <span class="s">"fr"</span> <span class="p">}</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fitem%20%3FitemLabel%20%3FitemDescription%20%3Fcitizenship%20%3FcitizenshipLabel%20WHERE%20%7B%0A%20%20%7B%0A%20%20%20%20SELECT%20%3Fitem%20%3Fcitizenship%20WHERE%20%7B%0A%09%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%20.%0A%20%20%09%20%20%3Fitem%20wdt%3AP27%20%3Fcitizenship%20.%0A%20%20%20%20%7D%09%0A%20%20%7D%0A%20%20OPTIONAL%20%7B%0A%20%20%20%20%3Fitem%20schema%3Adescription%20%3Fdescriptions%20.%0A%20%20%09FILTER%28%20LANG%28%3Fdescriptions%29%20%3D%20%22fr%22%20%29%20.%20%0A%20%20%7D%0A%20%20FILTER%28%21BOUND%28%3Fdescriptions%29%29%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22fr%22%20%7D%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="Search_for_descriptions_in_foreign_languages">Search for descriptions in foreign languages</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=30" title="Edit section: Search for descriptions in foreign languages"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="o">*</span> <span class="k">WITH</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="nv">?country</span> <span class="nv">?gender</span> <span class="nv">?descriptionLanguage</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="k">BIND</span><span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">Q38</span> <span class="k">AS</span> <span class="nv">?country</span><span class="p">)</span> <span class="p">.</span> <span class="k">BIND</span><span class="p">(</span><span class="nn">wd</span><span class="p">:</span><span class="nt">Q6581072</span> <span class="k">AS</span> <span class="nv">?gender</span><span class="p">)</span> <span class="p">.</span> <span class="k">BIND</span><span class="p">(</span><span class="s">'it'</span> <span class="k">AS</span> <span class="nv">?descriptionLanguage</span><span class="p">)</span> <span class="p">.</span> <span class="p">}</span> <span class="p">}</span> <span class="k">AS</span> <span class="err">%input</span> <span class="k">WITH</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="p">(</span><span class="nf">COUNT</span><span class="p">(</span><span class="k">DISTINCT</span> <span class="nv">?item</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?items</span><span class="p">)</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="err">INCLUDE</span> <span class="err">%input</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P27</span> <span class="nv">?country</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P21</span> <span class="nv">?gender</span> <span class="p">.</span> <span class="p">}</span> <span class="p">}</span> <span class="k">AS</span> <span class="err">%items</span> <span class="k">WITH</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="p">(</span><span class="nf">COUNT</span><span class="p">(</span><span class="k">DISTINCT</span> <span class="nv">?item</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?itemsWithAnyDescription</span><span class="p">)</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="err">INCLUDE</span> <span class="err">%input</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P27</span> <span class="nv">?country</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P21</span> <span class="nv">?gender</span><span class="p">;</span> <span class="nn">schema</span><span class="p">:</span><span class="nt">description</span> <span class="nv">?description</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nf">LANG</span><span class="p">(</span><span class="nv">?description</span><span class="p">)</span> <span class="o">=</span> <span class="nv">?descriptionLanguage</span><span class="p">)</span> <span class="p">.</span> <span class="p">}</span> <span class="p">}</span> <span class="k">AS</span> <span class="err">%itemsWithAnyDescription</span> <span class="k">WITH</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="nv">?description</span> <span class="p">(</span><span class="nf">COUNT</span><span class="p">(</span><span class="k">DISTINCT</span> <span class="nv">?item</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?itemsWithThisDescription</span><span class="p">)</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="err">INCLUDE</span> <span class="err">%input</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P27</span> <span class="nv">?country</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P21</span> <span class="nv">?gender</span><span class="p">;</span> <span class="nn">schema</span><span class="p">:</span><span class="nt">description</span> <span class="nv">?description</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nf">LANG</span><span class="p">(</span><span class="nv">?description</span><span class="p">)</span> <span class="o">=</span> <span class="nv">?descriptionLanguage</span><span class="p">)</span> <span class="p">.</span> <span class="p">}</span> <span class="k">GROUP BY</span> <span class="nv">?description</span> <span class="k">ORDER BY</span> <span class="k">DESC</span><span class="p">(</span><span class="nv">?cnt</span><span class="p">)</span> <span class="p">}</span> <span class="k">AS</span> <span class="err">%itemsWithThisDescription</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="err">INCLUDE</span> <span class="err">%itemsWithThisDescription</span> <span class="p">.</span> <span class="err">INCLUDE</span> <span class="err">%itemsWithAnyDescription</span> <span class="p">.</span> <span class="err">INCLUDE</span> <span class="err">%items</span> <span class="p">.</span> <span class="err">INCLUDE</span> <span class="err">%input</span> <span class="p">.</span> <span class="p">}</span> <span class="k">ORDER BY</span> <span class="k">DESC</span><span class="p">(</span><span class="nv">?itemsWithThisDescription</span><span class="p">)</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%2A%20WITH%20%7B%0A%20%20SELECT%20%3Fcountry%20%3Fgender%20%3FdescriptionLanguage%20WHERE%20%7B%0A%20%20%20%20BIND%28wd%3AQ38%20AS%20%3Fcountry%29%20.%0A%20%20%20%20BIND%28wd%3AQ6581072%20AS%20%3Fgender%29%20.%0A%20%20%20%20BIND%28%27it%27%20AS%20%3FdescriptionLanguage%29%20.%0A%20%20%7D%0A%7D%20AS%20%25input%20WITH%20%7B%0A%20%20SELECT%20%28COUNT%28DISTINCT%20%3Fitem%29%20AS%20%3Fitems%29%20WHERE%20%7B%0A%20%20%20%20INCLUDE%20%25input%20.%0A%20%20%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%3B%20wdt%3AP27%20%3Fcountry%3B%20wdt%3AP21%20%3Fgender%20.%0A%20%20%7D%0A%7D%20AS%20%25items%20WITH%20%7B%0A%20%20SELECT%20%28COUNT%28DISTINCT%20%3Fitem%29%20AS%20%3FitemsWithAnyDescription%29%20WHERE%20%7B%0A%20%20%20%20INCLUDE%20%25input%20.%0A%20%20%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%3B%20wdt%3AP27%20%3Fcountry%3B%20wdt%3AP21%20%3Fgender%3B%20schema%3Adescription%20%3Fdescription%20.%0A%20%20%20%20FILTER%28LANG%28%3Fdescription%29%20%3D%20%3FdescriptionLanguage%29%20.%0A%20%20%7D%0A%7D%20AS%20%25itemsWithAnyDescription%20WITH%20%7B%0A%20%20SELECT%20%3Fdescription%20%28COUNT%28DISTINCT%20%3Fitem%29%20AS%20%3FitemsWithThisDescription%29%20WHERE%20%7B%0A%20%20%20%20INCLUDE%20%25input%20.%0A%20%20%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%3B%20wdt%3AP27%20%3Fcountry%3B%20wdt%3AP21%20%3Fgender%3B%20schema%3Adescription%20%3Fdescription%20.%0A%20%20%20%20FILTER%28LANG%28%3Fdescription%29%20%3D%20%3FdescriptionLanguage%29%20.%0A%20%20%7D%20GROUP%20BY%20%3Fdescription%20ORDER%20BY%20DESC%28%3Fcnt%29%0A%7D%20AS%20%25itemsWithThisDescription%20WHERE%20%7B%0A%20%20INCLUDE%20%25itemsWithThisDescription%20.%0A%20%20INCLUDE%20%25itemsWithAnyDescription%20.%0A%20%20INCLUDE%20%25items%20.%0A%20%20INCLUDE%20%25input%20.%0A%7D%20ORDER%20BY%20DESC%28%3FitemsWithThisDescription%29"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="Particular_literals_in_terms">Particular literals in terms</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=31" title="Edit section: Particular literals in terms"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="k">DISTINCT</span> <span class="nv">?item</span> <span class="nv">?term</span> <span class="nv">?literal</span> <span class="nv">?lang</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="k">VALUES</span> <span class="nv">?term</span> <span class="p">{</span> <span class="nn">rdfs</span><span class="p">:</span><span class="nt">label</span> <span class="nn">schema</span><span class="p">:</span><span class="nt">description</span> <span class="nn">skos</span><span class="p">:</span><span class="nt">altLabel</span> <span class="p">}</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span><span class="p">;</span> <span class="nv">?term</span> <span class="nv">?literal</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nf">CONTAINS</span><span class="p">(</span><span class="nv">?literal</span><span class="p">,</span> <span class="s">' '</span><span class="p">))</span> <span class="p">.</span> <span class="k">BIND</span><span class="p">(</span><span class="nf">LANG</span><span class="p">(</span><span class="nv">?literal</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?lang</span><span class="p">)</span> <span class="p">.</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20DISTINCT%20%3Fitem%20%3Fterm%20%3Fliteral%20%3Flang%20WHERE%20%7B%0A%20%20VALUES%20%3Fterm%20%7B%20rdfs%3Alabel%20schema%3Adescription%20skos%3AaltLabel%20%7D%0A%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%3B%20%3Fterm%20%3Fliteral%20.%0A%20%20FILTER%28CONTAINS%28%3Fliteral%2C%20%27%20%20%27%29%29%20.%0A%20%20BIND%28LANG%28%3Fliteral%29%20AS%20%3Flang%29%20.%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="Use_of_aliases">Use of aliases</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=32" title="Edit section: Use of aliases"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?item</span> <span class="nv">?term</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="k">OPTIONAL</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">skos</span><span class="p">:</span><span class="nt">altLabel</span> <span class="nv">?term</span> <span class="k">FILTER</span><span class="p">(</span><span class="nf">lang</span><span class="p">(</span><span class="nv">?term</span><span class="p">)</span> <span class="o">=</span> <span class="s">"de"</span><span class="p">)</span> <span class="p">}</span> <span class="k">FILTER</span><span class="p">(</span><span class="nf">BOUND</span><span class="p">(</span><span class="nv">?term</span><span class="p">))</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fitem%20%3Fterm%20%20WHERE%20%7B%0A%20%20%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%0A%20%20%20%20OPTIONAL%20%7B%0A%20%20%20%20%20%20%3Fitem%20skos%3AaltLabel%20%3Fterm%0A%20%20%20%20%20%20FILTER%28lang%28%3Fterm%29%20%3D%20%22de%22%29%0A%20%20%20%20%7D%0A%20%20%20%20FILTER%28BOUND%28%3Fterm%29%29%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="Descriptions_of_rowing_persons">Descriptions of rowing persons</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=33" title="Edit section: Descriptions of rowing persons"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?desc</span> <span class="nv">?genderLbl</span> <span class="nv">?cocLbl</span> <span class="p">(</span><span class="nf">COUNT</span><span class="p">(</span><span class="nv">?desc</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?cnt</span><span class="p">)</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">.</span> <span class="k">OPTIONAL</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P21</span> <span class="nv">?gender</span> <span class="p">.</span> <span class="nv">?gender</span> <span class="nn">rdfs</span><span class="p">:</span><span class="nt">label</span> <span class="nv">?genderLbl</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nf">LANG</span><span class="p">(</span><span class="nv">?genderLbl</span><span class="p">)</span> <span class="o">=</span> <span class="s">'de'</span><span class="p">)</span> <span class="p">.</span> <span class="p">}</span> <span class="k">OPTIONAL</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P27</span> <span class="nv">?coc</span> <span class="p">.</span> <span class="nv">?coc</span> <span class="nn">rdfs</span><span class="p">:</span><span class="nt">label</span> <span class="nv">?cocLbl</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nf">LANG</span><span class="p">(</span><span class="nv">?cocLbl</span><span class="p">)</span> <span class="o">=</span> <span class="s">'de'</span><span class="p">)</span> <span class="p">.</span> <span class="p">}</span> <span class="nv">?item</span> <span class="nn">schema</span><span class="p">:</span><span class="nt">description</span> <span class="nv">?desc</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nf">LANG</span><span class="p">(</span><span class="nv">?desc</span><span class="p">)</span> <span class="o">=</span> <span class="s">'de'</span><span class="p">)</span> <span class="p">.</span> <span class="p">}</span> <span class="k">GROUP BY</span> <span class="nv">?desc</span> <span class="nv">?genderLbl</span> <span class="nv">?cocLbl</span> <span class="k">ORDER BY</span> <span class="k">DESC</span><span class="p">(</span><span class="nv">?cnt</span><span class="p">)</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fdesc%20%3FgenderLbl%20%3FcocLbl%20%28COUNT%28%3Fdesc%29%20AS%20%3Fcnt%29%20%7B%0A%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%20.%0A%20%20OPTIONAL%20%7B%0A%20%20%20%20%3Fitem%20wdt%3AP21%20%3Fgender%20.%0A%20%20%20%20%3Fgender%20rdfs%3Alabel%20%3FgenderLbl%20.%0A%20%20%20%20FILTER%28LANG%28%3FgenderLbl%29%20%3D%20%27de%27%29%20.%0A%20%20%7D%0A%20%20OPTIONAL%20%7B%0A%20%20%20%20%3Fitem%20wdt%3AP27%20%3Fcoc%20.%0A%20%20%20%20%3Fcoc%20rdfs%3Alabel%20%3FcocLbl%20.%0A%20%20%20%20FILTER%28LANG%28%3FcocLbl%29%20%3D%20%27de%27%29%20.%0A%20%20%7D%0A%20%20%3Fitem%20schema%3Adescription%20%3Fdesc%20.%0A%20%20FILTER%28LANG%28%3Fdesc%29%20%3D%20%27de%27%29%20.%0A%7D%20GROUP%20BY%20%3Fdesc%20%3FgenderLbl%20%3FcocLbl%20ORDER%20BY%20DESC%28%3Fcnt%29"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="Descriptions_of_rowing_persons_with_non-rowing_occupations">Descriptions of rowing persons with non-rowing occupations</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=34" title="Edit section: Descriptions of rowing persons with non-rowing occupations"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?item</span> <span class="nv">?itemLabel</span> <span class="nv">?itemDescription</span> <span class="nv">?occupation</span> <span class="nv">?occupationLabel</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P106</span> <span class="nv">?occupation</span> <span class="p">.</span> <span class="k">MINUS</span> <span class="p">{</span> <span class="nv">?occupation</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">}</span> <span class="k">SERVICE</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">label</span> <span class="p">{</span> <span class="nn">bd</span><span class="p">:</span><span class="nt">serviceParam</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">language</span> <span class="s">'en'</span> <span class="p">}</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fitem%20%3FitemLabel%20%3FitemDescription%20%3Foccupation%20%3FoccupationLabel%20WHERE%20%7B%0A%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%20.%0A%20%20%3Fitem%20wdt%3AP106%20%3Foccupation%20.%0A%20%20MINUS%20%7B%20%3Foccupation%20wdt%3AP279%2A%20wd%3AQ26270618%20%7D%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%27en%27%20%7D%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="Missing_descriptions_of_rowing_persons_by_language">Missing descriptions of rowing persons by language</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=35" title="Edit section: Missing descriptions of rowing persons by language"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="nv">?str</span> <span class="p">(</span><span class="nf">COUNT</span><span class="p">(</span><span class="o">*</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?cnt</span><span class="p">)</span> <span class="k">WITH</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="k">DISTINCT</span> <span class="nv">?item</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P21</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q6581072</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P27</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q183</span> <span class="p">.</span> <span class="p">}</span> <span class="p">}</span> <span class="k">AS</span> <span class="err">%subquery</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="err">INCLUDE</span> <span class="err">%subquery</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">schema</span><span class="p">:</span><span class="nt">description</span> <span class="nv">?str</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nf">LANG</span><span class="p">(</span><span class="nv">?str</span><span class="p">)</span> <span class="o">=</span> <span class="s">'es'</span><span class="p">)</span> <span class="p">.</span> <span class="p">}</span> <span class="k">GROUP BY</span> <span class="nv">?str</span> <span class="k">ORDER BY</span> <span class="k">DESC</span><span class="p">(</span><span class="nv">?cnt</span><span class="p">)</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20%3Fstr%20%28COUNT%28%2A%29%20AS%20%3Fcnt%29%20WITH%20%7B%0A%20%20SELECT%20DISTINCT%20%3Fitem%20WHERE%20%7B%0A%20%20%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%20.%0A%20%20%20%20%3Fitem%20wdt%3AP21%20wd%3AQ6581072%3B%20wdt%3AP27%20wd%3AQ183%20.%0A%20%20%7D%0A%7D%20AS%20%25subquery%20WHERE%20%7B%0A%20%20INCLUDE%20%25subquery%20.%0A%20%20%3Fitem%20schema%3Adescription%20%3Fstr%20.%20FILTER%28LANG%28%3Fstr%29%20%3D%20%27es%27%29%20.%0A%7D%20GROUP%20BY%20%3Fstr%20ORDER%20BY%20DESC%28%3Fcnt%29"><span dir="ltr" lang="en">Try it!</span></a> </div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="k">DISTINCT</span> <span class="nv">?item</span> <span class="k">WITH</span> <span class="p">{</span> <span class="k">SELECT</span> <span class="nv">?item</span> <span class="p">(</span><span class="nf">COUNT</span><span class="p">(</span><span class="o">*</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?cnt</span><span class="p">)</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q13382576</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P106</span> <span class="nv">?occ</span> <span class="p">.</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P21</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q6581097</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P27</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q183</span> <span class="p">.</span> <span class="p">}</span> <span class="k">GROUP BY</span> <span class="nv">?item</span> <span class="k">HAVING</span> <span class="p">(</span> <span class="nv">?cnt</span> <span class="o">=</span> <span class="mi">1</span> <span class="p">)</span> <span class="p">}</span> <span class="k">AS</span> <span class="err">%subquery</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="err">INCLUDE</span> <span class="err">%subquery</span> <span class="p">.</span> <span class="k">OPTIONAL</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">schema</span><span class="p">:</span><span class="nt">description</span> <span class="nv">?str</span> <span class="p">.</span> <span class="k">FILTER</span><span class="p">(</span><span class="nf">LANG</span><span class="p">(</span><span class="nv">?str</span><span class="p">)</span> <span class="o">=</span> <span class="s">'es'</span><span class="p">)</span> <span class="p">}</span> <span class="k">FILTER</span><span class="p">(</span><span class="o">!</span><span class="nf">BOUND</span><span class="p">(</span><span class="nv">?str</span><span class="p">))</span> <span class="p">.</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20DISTINCT%20%3Fitem%20WITH%20%7B%0A%20%20SELECT%20%3Fitem%20%28COUNT%28%2A%29%20AS%20%3Fcnt%29%20WHERE%20%7B%0A%20%20%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ13382576%3B%20wdt%3AP106%20%3Focc%20.%0A%20%20%20%20%3Fitem%20wdt%3AP21%20wd%3AQ6581097%3B%20wdt%3AP27%20wd%3AQ183%20.%20%20%20%20%0A%20%20%7D%20GROUP%20BY%20%3Fitem%20HAVING%20%28%20%3Fcnt%20%3D%201%20%29%0A%7D%20AS%20%25subquery%20WHERE%20%7B%0A%20%20INCLUDE%20%25subquery%20.%0A%20%20OPTIONAL%20%7B%20%3Fitem%20schema%3Adescription%20%3Fstr%20.%20FILTER%28LANG%28%3Fstr%29%20%3D%20%27es%27%29%20%7D%0A%20%20FILTER%28%21BOUND%28%3Fstr%29%29%20.%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="English_description_and_English_Wikipedia_short_description">English description and English Wikipedia short description</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=36" title="Edit section: English description and English Wikipedia short description"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a rel="nofollow" class="external text" href="https://petscan.wmflabs.org/?psid=17020429">petscan:17020429</a> (different descriptions)</li> <li><a rel="nofollow" class="external text" href="https://petscan.wmflabs.org/?psid=17023647">petscan:17023647</a> (case-insensitively identical descriptions)</li> <li><a rel="nofollow" class="external text" href="https://petscan.wmflabs.org/?psid=17023652">petscen:17023652</a> (description missing in Wikidata)</li></ul> <div class="mw-heading mw-heading2"><h2 id="Watchlist_management">Watchlist management</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=37" title="Edit section: Watchlist management"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="All_rowing_persons_(for_watchlist_import)"><span id="All_rowing_persons_.28for_watchlist_import.29"></span>All rowing persons (for watchlist import)</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=38" title="Edit section: All rowing persons (for watchlist import)"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/Special:EditWatchlist/raw" title="Special:EditWatchlist/raw">Special:EditWatchlist/raw</a></li></ul> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="k">DISTINCT</span> <span class="nv">?stritem</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">p</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">ps</span><span class="p">:</span><span class="nt">P106</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">.</span> <span class="k">BIND</span><span class="p">(</span><span class="nf">STRAFTER</span><span class="p">(</span><span class="nf">STR</span><span class="p">(</span><span class="nv">?item</span><span class="p">),</span> <span class="s">'entity/'</span><span class="p">)</span> <span class="k">AS</span> <span class="nv">?stritem</span><span class="p">)</span> <span class="p">.</span> <span class="p">}</span> <span class="k">ORDER BY</span> <span class="k">ASC</span><span class="p">(</span><span class="nn">xsd</span><span class="p">:</span><span class="nt">integer</span><span class="p">(</span><span class="nf">STRAFTER</span><span class="p">(</span><span class="nv">?stritem</span><span class="p">,</span> <span class="s">'Q'</span><span class="p">)))</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20DISTINCT%20%3Fstritem%20WHERE%20%7B%0A%20%20%3Fitem%20p%3AP106%2Fps%3AP106%2Fwdt%3AP279%2A%20wd%3AQ26270618%20.%0A%20%20BIND%28STRAFTER%28STR%28%3Fitem%29%2C%20%27entity%2F%27%29%20AS%20%3Fstritem%29%20.%0A%7D%20ORDER%20BY%20ASC%28xsd%3Ainteger%28STRAFTER%28%3Fstritem%2C%20%27Q%27%29%29%29"><span dir="ltr" lang="en">Try it!</span></a> </div> <div class="mw-heading mw-heading3"><h3 id="Search_for_non-rowing_stuff_on_watchlist">Search for non-rowing stuff on watchlist</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit&section=39" title="Edit section: Search for non-rowing stuff on watchlist"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1502159272"><div class="wdt-sparql-container"><div><div class="mw-highlight mw-highlight-lang-sparql mw-content-ltr" dir="ltr"><pre><span></span><span class="k">SELECT</span> <span class="k">DISTINCT</span> <span class="nv">?item</span> <span class="nv">?itemLabel</span> <span class="k">WHERE</span> <span class="p">{</span> <span class="k">VALUES</span> <span class="nv">?item</span> <span class="p">{</span> <span class="c"># put items here</span> <span class="p">}</span> <span class="k">MINUS</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P106</span><span class="err">?</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26270618</span> <span class="p">}</span> <span class="c"># rowing people</span> <span class="k">MINUS</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P31</span><span class="err">?</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q21246076</span> <span class="p">}</span> <span class="c"># events</span> <span class="k">MINUS</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P31</span><span class="err">?</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q21224061</span> <span class="p">}</span> <span class="c"># regattas</span> <span class="k">MINUS</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P3450</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q21224061</span> <span class="p">}</span> <span class="c"># seasons</span> <span class="k">MINUS</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P31</span><span class="err">?</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q43445087</span> <span class="p">}</span> <span class="c"># organizations</span> <span class="k">MINUS</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P31</span><span class="err">|</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P366</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q2137251</span> <span class="p">}</span> <span class="c"># venues</span> <span class="k">MINUS</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P31</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q22936940</span><span class="p">;</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P641</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q159354</span> <span class="p">}</span> <span class="c"># competition classes</span> <span class="k">MINUS</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P31</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q26211803</span> <span class="p">}</span> <span class="c"># boat classes</span> <span class="k">MINUS</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span><span class="err">|</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P361</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q606305</span> <span class="p">}</span> <span class="c"># equipment</span> <span class="k">MINUS</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P641</span><span class="err">?</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q159354</span> <span class="p">}</span> <span class="c"># just sport</span> <span class="k">MINUS</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P31</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q4167836</span> <span class="p">}</span> <span class="c"># categories</span> <span class="k">MINUS</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P31</span><span class="o">/</span><span class="nn">wdt</span><span class="p">:</span><span class="nt">P279</span><span class="o">*</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q11266439</span> <span class="p">}</span> <span class="c"># templates</span> <span class="k">MINUS</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P31</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q13406463</span> <span class="p">}</span> <span class="c"># lists</span> <span class="k">MINUS</span> <span class="p">{</span> <span class="nv">?item</span> <span class="nn">wdt</span><span class="p">:</span><span class="nt">P31</span> <span class="nn">wd</span><span class="p">:</span><span class="nt">Q4167410</span> <span class="p">}</span> <span class="c"># dab</span> <span class="k">SERVICE</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">label</span> <span class="p">{</span> <span class="nn">bd</span><span class="p">:</span><span class="nt">serviceParam</span> <span class="nn">wikibase</span><span class="p">:</span><span class="nt">language</span> <span class="s">'en'</span> <span class="p">}</span> <span class="p">}</span> </pre></div></div><a class="external text" href="https://query.wikidata.org/#SELECT%20DISTINCT%20%3Fitem%20%3FitemLabel%20WHERE%20%7B%0A%20%20VALUES%20%3Fitem%20%7B%0A%20%20%20%20%23%20put%20items%20here%0A%20%20%7D%0A%20%20MINUS%20%7B%20%3Fitem%20wdt%3AP106%3F%2Fwdt%3AP279%2A%20wd%3AQ26270618%20%7D%20%23%20rowing%20people%0A%20%20%0A%20%20MINUS%20%7B%20%3Fitem%20wdt%3AP31%3F%2Fwdt%3AP279%2A%20wd%3AQ21246076%20%7D%20%23%20events%0A%20%20MINUS%20%7B%20%3Fitem%20wdt%3AP31%3F%2Fwdt%3AP279%2A%20wd%3AQ21224061%20%7D%20%23%20regattas%0A%20%20MINUS%20%7B%20%3Fitem%20wdt%3AP3450%2Fwdt%3AP279%2A%20wd%3AQ21224061%20%7D%20%23%20seasons%0A%20%20MINUS%20%7B%20%3Fitem%20wdt%3AP31%3F%2Fwdt%3AP279%2A%20wd%3AQ43445087%20%7D%20%23%20organizations%0A%20%20%0A%20%20MINUS%20%7B%20%3Fitem%20wdt%3AP31%7Cwdt%3AP366%20wd%3AQ2137251%20%7D%20%23%20venues%0A%20%20%0A%20%20MINUS%20%7B%20%3Fitem%20wdt%3AP31%20wd%3AQ22936940%3B%20wdt%3AP641%2Fwdt%3AP279%2A%20wd%3AQ159354%20%7D%20%23%20competition%20classes%0A%20%20MINUS%20%7B%20%3Fitem%20wdt%3AP31%20wd%3AQ26211803%20%7D%20%23%20boat%20classes%0A%20%20MINUS%20%7B%20%3Fitem%20wdt%3AP279%2A%7Cwdt%3AP361%20wd%3AQ606305%20%7D%20%23%20equipment%0A%20%20%20%0A%20%20MINUS%20%7B%20%3Fitem%20wdt%3AP641%3F%2Fwdt%3AP279%2A%20wd%3AQ159354%20%7D%20%23%20just%20sport%0A%20%20%0A%20%20MINUS%20%7B%20%3Fitem%20wdt%3AP31%2Fwdt%3AP279%2A%20wd%3AQ4167836%20%7D%20%23%20categories%0A%20%20MINUS%20%7B%20%3Fitem%20wdt%3AP31%2Fwdt%3AP279%2A%20wd%3AQ11266439%20%7D%20%23%20templates%0A%20%20MINUS%20%7B%20%3Fitem%20wdt%3AP31%20wd%3AQ13406463%20%7D%20%23%20lists%0A%20%20MINUS%20%7B%20%3Fitem%20wdt%3AP31%20wd%3AQ4167410%20%7D%20%23%20dab%0A%20%20%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%27en%27%20%7D%0A%7D"><span dir="ltr" lang="en">Try it!</span></a> </div> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐f69cdc8f6‐zdfpm Cached time: 20241124225903 Cache expiry: 2592000 Reduced expiry: false Complications: [show‐toc] CPU time usage: 0.390 seconds Real time usage: 3.980 seconds Preprocessor visited node count: 8518/1000000 Post‐expand include size: 155774/2097152 bytes Template argument size: 55884/2097152 bytes Highest expansion depth: 7/100 Expensive parser function count: 37/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 128246/5000000 bytes Lua time usage: 0.081/10.000 seconds Lua memory usage: 1651857/52428800 bytes Number of Wikibase entities loaded: 0/500 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 3857.242 1 -total 82.53% 3183.306 31 Template:SPARQL 16.43% 633.755 6 Template:Sparql 1.77% 68.226 74 Template:SPARQLText 1.39% 53.717 37 Template:Int_try_it 1.22% 46.961 37 Template:TranslateThis 0.43% 16.599 1 User:MisterSynergy/header 0.37% 14.426 8 Template:Label 0.37% 14.397 5 Template:Property 0.15% 5.807 3 Template:Q --> <!-- Saved in parser cache with key wikidatawiki:pcache:idhash:65710095-0!canonical and timestamp 20241124225903 and revision id 1250025433. 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?type=1x1" 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=User:MisterSynergy/rowing/queries&oldid=1250025433">https://www.wikidata.org/w/index.php?title=User:MisterSynergy/rowing/queries&oldid=1250025433</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=User%3AMisterSynergy%2Frowing%2Fqueries" 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=User%3AMisterSynergy%2Frowing%2Fqueries" 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-user" class="selected mw-list-item"><a href="/wiki/User:MisterSynergy/rowing/queries" title="View the user page [c]" accesskey="c"><span>User page</span></a></li><li id="ca-talk" class="new mw-list-item"><a href="/w/index.php?title=User_talk:MisterSynergy/rowing/queries&action=edit&redlink=1" rel="discussion" class="new" title="Discussion about the content page (page does not exist) [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/User:MisterSynergy/rowing/queries"><span>Read</span></a></li><li id="ca-edit" class="mw-list-item"><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-history" class="mw-list-item"><a href="/w/index.php?title=User:MisterSynergy/rowing/queries&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="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_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/User:MisterSynergy/rowing/queries" 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/User:MisterSynergy/rowing/queries" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-contributions" class="mw-list-item"><a href="/wiki/Special:Contributions/MisterSynergy" title="A list of contributions by this user"><span>User contributions</span></a></li><li id="t-log" class="mw-list-item"><a href="/wiki/Special:Log/MisterSynergy"><span>Logs</span></a></li><li id="t-userrights" class="mw-list-item"><a href="/wiki/Special:UserRights/MisterSynergy"><span>View user groups</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=User:MisterSynergy/rowing/queries&oldid=1250025433" 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=User:MisterSynergy/rowing/queries&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:UrlShortener&url=https%3A%2F%2Fwww.wikidata.org%2Fwiki%2FUser%3AMisterSynergy%2Frowing%2Fqueries"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&url=https%3A%2F%2Fwww.wikidata.org%2Fwiki%2FUser%3AMisterSynergy%2Frowing%2Fqueries"><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=User%3AMisterSynergy%2Frowing%2Fqueries"><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=User%3AMisterSynergy%2Frowing%2Fqueries&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=User:MisterSynergy/rowing/queries&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 emptyPortlet 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"> </ul> </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 7 August 2020, at 18:10.</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=User:MisterSynergy/rowing/queries&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-f69cdc8f6-zdfpm","wgBackendResponseTime":4120,"wgPageParseReport":{"limitreport":{"cputime":"0.390","walltime":"3.980","ppvisitednodes":{"value":8518,"limit":1000000},"postexpandincludesize":{"value":155774,"limit":2097152},"templateargumentsize":{"value":55884,"limit":2097152},"expansiondepth":{"value":7,"limit":100},"expensivefunctioncount":{"value":37,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":128246,"limit":5000000},"entityaccesscount":{"value":0,"limit":500},"timingprofile":["100.00% 3857.242 1 -total"," 82.53% 3183.306 31 Template:SPARQL"," 16.43% 633.755 6 Template:Sparql"," 1.77% 68.226 74 Template:SPARQLText"," 1.39% 53.717 37 Template:Int_try_it"," 1.22% 46.961 37 Template:TranslateThis"," 0.43% 16.599 1 User:MisterSynergy/header"," 0.37% 14.426 8 Template:Label"," 0.37% 14.397 5 Template:Property"," 0.15% 5.807 3 Template:Q"]},"scribunto":{"limitreport-timeusage":{"value":"0.081","limit":"10.000"},"limitreport-memusage":{"value":1651857,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-f69cdc8f6-zdfpm","timestamp":"20241124225903","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>