CINXE.COM
Help:Property constraints portal - Wikidata
<!DOCTYPE html> <html class="client-nojs" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Help:Property constraints portal - 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":"8e7c12d9-1680-4747-9759-5df0653e83d4","wgCanonicalNamespace":"Help","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":12,"wgPageName":"Help:Property_constraints_portal","wgTitle":"Property constraints portal","wgCurRevisionId":2109688358,"wgRevisionId":2109688358,"wgArticleId":31597363,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName": null,"wgUserGroups":["*"],"wgCategories":["Pages using the JsonConfig extension","Help:Properties","Help-en"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Help:Property_constraints_portal","wgRelevantArticleId":31597363,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"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,"wgTranslatePageTranslation":"source","wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgDiscussionToolsFeaturesEnabled":{"replytool":true,"newtopictool":true,"sourcemodetoolbar":true, "topicsubscription":false,"autotopicsub":false,"visualenhancements":false,"visualenhancements_reply":false,"visualenhancements_pageframe":false},"wgDiscussionToolsFallbackEditMode":"source","wgULSPosition":"personal","wgULSisCompactLinksEnabled":true,"wgVector2022LanguageInHeader":false,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q107660706","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"]};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.translate.tag.languages":"ready","ext.discussionTools.init.styles":"ready","oojs-ui-core.styles":"ready","oojs-ui.styles.indicators":"ready","mediawiki.widgets.styles":"ready","oojs-ui-core.icons":"ready","skins.vector.styles.legacy":"ready","ext.translate.edit.documentation.styles":"ready","ext.translate":"ready", "ext.visualEditor.desktopArticleTarget.noscript":"ready","codex-search-styles":"ready","ext.uls.pt":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["mediawiki.page.media","site","mediawiki.page.ready","mediawiki.toc","skins.vector.legacy.js","wikibase.ui.entitysearch","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.translate.pagetranslation.uls","ext.gadget.Search","ext.gadget.ProtectionIndicators","ext.gadget.imagelinks","ext.gadget.NewSection","ext.gadget.formWizard","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.discussionTools.init","ext.eventLogging","ext.wikimediaEvents","ext.wikimediaEvents.wikibase","ext.navigationTiming","ext.uls.compactlinks","ext.uls.interface","ext.checkUser.clientHints","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&modules=codex-search-styles%7Cext.discussionTools.init.styles%7Cext.translate%2CwikimediaBadges%7Cext.translate.edit.documentation.styles%7Cext.translate.tag.languages%7Cext.uls.pt%7Cext.visualEditor.desktopArticleTarget.noscript%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.vector.styles.legacy%7Cwikibase.client.init&only=styles&skin=vector"> <script async="" src="/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&modules=site.styles&only=styles&skin=vector"> <meta name="generator" content="MediaWiki 1.44.0-wmf.5"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//m.wikidata.org/wiki/Help:Property_constraints_portal"> <link rel="alternate" type="application/x-wiki" title="Edit" href="/w/index.php?title=Help:Property_constraints_portal&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/Help:Property_constraints_portal"> <link rel="license" href="/wiki/Wikidata:Copyright"> <link rel="alternate" type="application/atom+xml" title="Wikidata Atom feed" href="/w/index.php?title=Special:RecentChanges&feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="ext-discussiontools-replytool-enabled ext-discussiontools-newtopictool-enabled ext-discussiontools-sourcemodetoolbar-enabled skin-vector-legacy mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-12 ns-subject mw-editable page-Help_Property_constraints_portal rootpage-Help_Property_constraints_portal 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">Help</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Property constraints portal</span></h1> <div id="bodyContent" class="vector-body"> <div id="siteSub" class="noprint">From Wikidata</div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="contentSub2"></div> <div id="jump-to-nav"></div> <a class="mw-jump-link" href="#mw-head">Jump to navigation</a> <a class="mw-jump-link" href="#searchInput">Jump to search</a> <div id="mw-content-text" class="mw-body-content"><div class="mw-pt-translate-header noprint nomobile" dir="ltr" lang="en"><a href="/w/index.php?title=Special:Translate&group=page-Help%3AProperty+constraints+portal&action=page&filter=&action_source=translate_page" title="Special:Translate">Translate this page</a></div><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><div class="mw-pt-languages noprint navigation-not-searchable" lang="en" dir="ltr"><div class="mw-pt-languages-label">Other languages:</div><ul class="mw-pt-languages-list"><li><a href="/wiki/Help:Property_constraints_portal/id" class="mw-pt-progress mw-pt-progress--high" title="Bantuan:Portal pewatas atribut (76% translated)" lang="id" dir="ltr">Bahasa Indonesia</a></li> <li><a href="/wiki/Help:Property_constraints_portal/en-gb" class="mw-pt-progress mw-pt-progress--high" title="Help:Property constraints portal (76% translated)" lang="en-GB" dir="ltr">British English</a></li> <li><a href="/wiki/Help:Property_constraints_portal/de" class="mw-pt-progress mw-pt-progress--complete" title="Hilfe:Eigenschafts-Einschränkungen (100% translated)" lang="de" dir="ltr">Deutsch</a></li> <li><span class="mw-pt-languages-ui mw-pt-languages-selected mw-pt-progress mw-pt-progress--complete" lang="en" dir="ltr">English</span></li> <li><a href="/wiki/Help:Property_constraints_portal/lb" class="mw-pt-progress mw-pt-progress--low" title="Help:Property constraints portal/lb (2% translated)" lang="lb" dir="ltr">Lëtzebuergesch</a></li> <li><a href="/wiki/Help:Property_constraints_portal/nl" class="mw-pt-progress mw-pt-progress--complete" title="Help:Property constraints portal/nl (100% translated)" lang="nl" dir="ltr">Nederlands</a></li> <li><a href="/wiki/Help:Property_constraints_portal/sco" class="mw-pt-progress mw-pt-progress--low" title="Help:Propertie constrents portal (5% translated)" lang="sco" dir="ltr">Scots</a></li> <li><a href="/wiki/Help:Property_constraints_portal/vi" class="mw-pt-progress mw-pt-progress--low" title="Help:Property constraints portal/vi (2% translated)" lang="vi" dir="ltr">Tiếng Việt</a></li> <li><a href="/wiki/Help:Property_constraints_portal/tr" class="mw-pt-progress mw-pt-progress--low" title="Help:Property constraints portal/tr (2% translated)" lang="tr" dir="ltr">Türkçe</a></li> <li><a href="/wiki/Help:Property_constraints_portal/ca" class="mw-pt-progress mw-pt-progress--low" title="Help:Portal de les restriccions de propietat (12% translated)" lang="ca" dir="ltr">català</a></li> <li><a href="/wiki/Help:Property_constraints_portal/da" class="mw-pt-progress mw-pt-progress--low" title="Help:Property constraints portal/da (5% translated)" lang="da" dir="ltr">dansk</a></li> <li><a href="/wiki/Help:Property_constraints_portal/es" class="mw-pt-progress mw-pt-progress--med" title="Ayuda:Portal de restricciones de propiedad (41% translated)" lang="es" dir="ltr">español</a></li> <li><a href="/wiki/Help:Property_constraints_portal/fr" class="mw-pt-progress mw-pt-progress--complete" title="Aide:Portail des contraintes de propriété (100% translated)" lang="fr" dir="ltr">français</a></li> <li><a href="/wiki/Help:Property_constraints_portal/gl" class="mw-pt-progress mw-pt-progress--med" title="Axuda:Portal de restricións nas propiedades (47% translated)" lang="gl" dir="ltr">galego</a></li> <li><a href="/wiki/Help:Property_constraints_portal/it" class="mw-pt-progress mw-pt-progress--med" title="Help:Portale dei vincoli di proprietà (19% translated)" lang="it" dir="ltr">italiano</a></li> <li><a href="/wiki/Help:Property_constraints_portal/lv" class="mw-pt-progress mw-pt-progress--low" title="Help:Property constraints portal/lv (2% translated)" lang="lv" dir="ltr">latviešu</a></li> <li><a href="/wiki/Help:Property_constraints_portal/hu" class="mw-pt-progress mw-pt-progress--low" title="Help:Tulajdonságkikötések (4% translated)" lang="hu" dir="ltr">magyar</a></li> <li><a href="/wiki/Help:Property_constraints_portal/nb" class="mw-pt-progress mw-pt-progress--low" title="Hjelp:Egenskapsbegrensningsportal (6% translated)" lang="nb" dir="ltr">norsk bokmål</a></li> <li><a href="/wiki/Help:Property_constraints_portal/pl" class="mw-pt-progress mw-pt-progress--high" title="Pomoc:Portal ograniczeń właściwości (78% translated)" lang="pl" dir="ltr">polski</a></li> <li><a href="/wiki/Help:Property_constraints_portal/pt" class="mw-pt-progress mw-pt-progress--low" title="Ajuda:Portal de restrições de propriedade (14% translated)" lang="pt" dir="ltr">português</a></li> <li><a href="/wiki/Help:Property_constraints_portal/pt-br" class="mw-pt-progress mw-pt-progress--low" title="Ajuda:Portal de restrições de propriedades (1% translated)" lang="pt-BR" dir="ltr">português do Brasil</a></li> <li><a href="/wiki/Help:Property_constraints_portal/fi" class="mw-pt-progress mw-pt-progress--low" title="Help:Ominaisuusrajoiteportaali (1% translated)" lang="fi" dir="ltr">suomi</a></li> <li><a href="/wiki/Help:Property_constraints_portal/sv" class="mw-pt-progress mw-pt-progress--complete" title="Help:Egenskapsbegränsnings-portal (100% translated)" lang="sv" dir="ltr">svenska</a></li> <li><a href="/wiki/Help:Property_constraints_portal/szl" class="mw-pt-progress mw-pt-progress--low" title="Help:Property constraints portal/szl (4% translated)" lang="szl" dir="ltr">ślůnski</a></li> <li><a href="/wiki/Help:Property_constraints_portal/be-tarask" class="mw-pt-progress mw-pt-progress--med" title="Дапамога:Партал абмежаваньняў уласьцівасьцей (20% translated)" lang="be-tarask" dir="ltr">беларуская (тарашкевіца)</a></li> <li><a href="/wiki/Help:Property_constraints_portal/bg" class="mw-pt-progress mw-pt-progress--low" title="Help:Портал за ограниченията на свойствата (11% translated)" lang="bg" dir="ltr">български</a></li> <li><a href="/wiki/Help:Property_constraints_portal/mk" class="mw-pt-progress mw-pt-progress--low" title="Помош:Ограничувања на својства (1% translated)" lang="mk" dir="ltr">македонски</a></li> <li><a href="/wiki/Help:Property_constraints_portal/ru" class="mw-pt-progress mw-pt-progress--med" title="Help:Ограничения свойств (64% translated)" lang="ru" dir="ltr">русский</a></li> <li><a href="/wiki/Help:Property_constraints_portal/sr" class="mw-pt-progress mw-pt-progress--low" title="Help:Property constraints portal/sr (7% translated)" lang="sr" dir="ltr">српски / srpski</a></li> <li><a href="/wiki/Help:Property_constraints_portal/uk" class="mw-pt-progress mw-pt-progress--high" title="Довідка:Портал обмежень властивостей (76% translated)" lang="uk" dir="ltr">українська</a></li> <li><a href="/wiki/Help:Property_constraints_portal/hy" class="mw-pt-progress mw-pt-progress--low" title="Help:Property constraints portal/hy (2% translated)" lang="hy" dir="ltr">հայերեն</a></li> <li><a href="/wiki/Help:Property_constraints_portal/ar" class="mw-pt-progress mw-pt-progress--med" title="مساعدة:بوابة محددات الخواص (64% translated)" lang="ar" dir="rtl">العربية</a></li> <li><a href="/wiki/Help:Property_constraints_portal/fa" class="mw-pt-progress mw-pt-progress--med" title="Help:درگاه محدودیتهای خصوصیت (20% translated)" lang="fa" dir="rtl">فارسی</a></li> <li><a href="/wiki/Help:Property_constraints_portal/arz" class="mw-pt-progress mw-pt-progress--low" title="Help:Property constraints portal/arz (1% translated)" lang="arz" dir="rtl">مصرى</a></li> <li><a href="/wiki/Help:Property_constraints_portal/hi" class="mw-pt-progress mw-pt-progress--med" title="Help:Property constraints portal/hi (30% translated)" lang="hi" dir="ltr">हिन्दी</a></li> <li><a href="/wiki/Help:Property_constraints_portal/zh" class="mw-pt-progress mw-pt-progress--med" title="Help:属性约束门户 (54% translated)" lang="zh" dir="ltr">中文</a></li> <li><a href="/wiki/Help:Property_constraints_portal/ja" class="mw-pt-progress mw-pt-progress--complete" title="Help:プロパティ制約 (100% translated)" lang="ja" dir="ltr">日本語</a></li></ul></div> <figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/File:Wikidata_property_constraint_violation.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Wikidata_property_constraint_violation.png/370px-Wikidata_property_constraint_violation.png" decoding="async" width="370" height="140" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Wikidata_property_constraint_violation.png/555px-Wikidata_property_constraint_violation.png 1.5x, //upload.wikimedia.org/wikipedia/commons/d/d0/Wikidata_property_constraint_violation.png 2x" data-file-width="585" data-file-height="222"/></a><figcaption>Wikidata property constraint violation report on item page.</figcaption></figure> <p>Property constraints are rules on <a href="/wiki/Special:MyLanguage/Help:Properties" title="Special:MyLanguage/Help:Properties">properties</a> that specify how properties should be used. The Wikidata model itself is very flexible: nothing stops you from adding <a href="/wiki/Q1" title="Q1">Universe <small>(Q1)</small></a> as <a href="/wiki/Property:P6" title="Property:P6">head of government <small dir="ltr">(P6)</small></a>. However, a constraint on the property can tell you that a <a href="/wiki/Property:P6" title="Property:P6">head of government <small dir="ltr">(P6)</small></a> is usually a human. </p><p>Constraints are hints, not firm restrictions, and are meant as a help or guidance to the editor. They can have exceptions: for example, the town of <a href="/wiki/Q668224" title="Q668224">Talkeetna <small>(Q668224)</small></a> had the cat <a href="/wiki/Q7627362" title="Q7627362">Stubbs <small>(Q7627362)</small></a> as honorary mayor. </p><p>Some constraint types, currently <a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/One_of" title="Special:MyLanguage/Help:Property constraints portal/One of">one-of constraint</a> and <a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Qualifiers" title="Special:MyLanguage/Help:Property constraints portal/Qualifiers">allowed qualifiers constraint</a>, are also used to <a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Entity_suggestions_from_constraint_definitions" title="Special:MyLanguage/Help:Property constraints portal/Entity suggestions from constraint definitions">provide better suggestions</a> when editing statements. </p><p>Note: Technically a property <b>constraint</b> is a statement (on a property) of a particular <b>constraint type</b>, specified via <a href="/wiki/Property:P2302" title="Property:P2302">property constraint <small dir="ltr">(P2302)</small></a>. So strictly speaking <i>constraint</i> and <i>constraint type</i> refer to two different things, for the sake of brevity this page however sometimes refers to <i>constraint types</i> simply as <i>constraints</i>. </p><p><span id="Popular_constraints"></span> </p> <div id="toc" class="toc" role="navigation" aria-labelledby="mw-toc-heading"><input type="checkbox" role="button" id="toctogglecheckbox" class="toctogglecheckbox" style="display:none" /><div class="toctitle" lang="en" dir="ltr"><h2 id="mw-toc-heading">Contents</h2><span class="toctogglespan"><label class="toctogglelabel" for="toctogglecheckbox"></label></span></div> <ul> <li class="toclevel-1 tocsection-1"><a href="#Popular_constraint_types"><span class="tocnumber">1</span> <span class="toctext">Popular constraint types</span></a></li> <li class="toclevel-1 tocsection-2"><a href="#Datatype-independent_constraints"><span class="tocnumber">2</span> <span class="toctext">Datatype-independent constraints</span></a> <ul> <li class="toclevel-2 tocsection-3"><a href="#Constraints_to_restrict_where_a_property_may_be_added"><span class="tocnumber">2.1</span> <span class="toctext">Constraints to restrict where a property may be added</span></a></li> <li class="toclevel-2 tocsection-4"><a href="#Constraints_regarding_the_number_of_values"><span class="tocnumber">2.2</span> <span class="toctext">Constraints regarding the number of values</span></a></li> <li class="toclevel-2 tocsection-5"><a href="#Constraints_regarding_qualifiers"><span class="tocnumber">2.3</span> <span class="toctext">Constraints regarding qualifiers</span></a></li> <li class="toclevel-2 tocsection-6"><a href="#Constraints_regarding_references"><span class="tocnumber">2.4</span> <span class="toctext">Constraints regarding references</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-7"><a href="#Datatype-specific_constraints"><span class="tocnumber">3</span> <span class="toctext">Datatype-specific constraints</span></a> <ul> <li class="toclevel-2 tocsection-8"><a href="#Constraints_for_datatype_item/entity"><span class="tocnumber">3.1</span> <span class="toctext">Constraints for datatype item/entity</span></a></li> <li class="toclevel-2 tocsection-9"><a href="#Constraints_for_Quantity"><span class="tocnumber">3.2</span> <span class="toctext">Constraints for Quantity</span></a></li> <li class="toclevel-2 tocsection-10"><a href="#Constraints_for_Time"><span class="tocnumber">3.3</span> <span class="toctext">Constraints for Time</span></a></li> <li class="toclevel-2 tocsection-11"><a href="#Constraints_for_string-based_datatypes"><span class="tocnumber">3.4</span> <span class="toctext">Constraints for string-based datatypes</span></a></li> <li class="toclevel-2 tocsection-12"><a href="#Constraints_for_Commons_links"><span class="tocnumber">3.5</span> <span class="toctext">Constraints for Commons links</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-13"><a href="#Constraints_alphabetically"><span class="tocnumber">4</span> <span class="toctext">Constraints alphabetically</span></a></li> <li class="toclevel-1 tocsection-14"><a href="#Usage_instructions"><span class="tocnumber">5</span> <span class="toctext">Usage instructions</span></a></li> <li class="toclevel-1 tocsection-15"><a href="#Constraint_type_items"><span class="tocnumber">6</span> <span class="toctext">Constraint type items</span></a></li> <li class="toclevel-1 tocsection-16"><a href="#Constraint_statements_on_properties"><span class="tocnumber">7</span> <span class="toctext">Constraint statements on properties</span></a> <ul> <li class="toclevel-2 tocsection-17"><a href="#Constraint_parameters"><span class="tocnumber">7.1</span> <span class="toctext">Constraint parameters</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-18"><a href="#When_constraints_aren’t_checked"><span class="tocnumber">8</span> <span class="toctext">When constraints aren’t checked</span></a></li> <li class="toclevel-1 tocsection-19"><a href="#Custom_constraints"><span class="tocnumber">9</span> <span class="toctext">Custom constraints</span></a></li> <li class="toclevel-1 tocsection-20"><a href="#See_also"><span class="tocnumber">10</span> <span class="toctext">See also</span></a></li> </ul> </div> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Popular_constraint_types" data-mw-thread-id="h-Popular_constraint_types"><span data-mw-comment-start="" id="h-Popular_constraint_types"></span>Popular constraint types<span data-mw-comment-end="h-Popular_constraint_types"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal&action=edit&section=1" title="Edit section: Popular constraint types"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Popular_constraint_types","replies":[]}}--></div> <table class="wikitable"> <caption> </caption> <tbody><tr> <th>Item </th> <th>Help page </th> <th>Violation message </th></tr> <tr> <td><a href="/wiki/Q19474404" title="Q19474404">single-value constraint <small>(Q19474404)</small></a> </td> <td><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Single_value" title="Special:MyLanguage/Help:Property constraints portal/Single value">Help:Property constraints portal/Single value</a> </td> <td><a href="/wiki/MediaWiki:Wbqc-violation-message-single-value" title="MediaWiki:Wbqc-violation-message-single-value">MediaWiki:Wbqc-violation-message-single-value</a> </td></tr> <tr> <td><a href="/wiki/Q21502410" title="Q21502410">distinct-values constraint <small>(Q21502410)</small></a> </td> <td><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Unique_value" title="Special:MyLanguage/Help:Property constraints portal/Unique value">Help:Property constraints portal/Unique value</a> </td> <td> </td></tr> <tr> <td><a href="/wiki/Q21502404" title="Q21502404">format constraint <small>(Q21502404)</small></a> </td> <td><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Format" title="Special:MyLanguage/Help:Property constraints portal/Format">Help:Property constraints portal/Format</a> </td> <td> </td></tr> <tr> <td><a href="/wiki/Q21503250" title="Q21503250">subject type constraint <small>(Q21503250)</small></a> </td> <td><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Type" title="Special:MyLanguage/Help:Property constraints portal/Type">Help:Property constraints portal/Type</a> </td> <td> </td></tr> <tr> <td><a href="/wiki/Q21510865" title="Q21510865">value-type constraint <small>(Q21510865)</small></a> </td> <td><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Value_type" title="Special:MyLanguage/Help:Property constraints portal/Value type">Help:Property constraints portal/Value type</a> </td> <td> </td></tr> <tr> <td><a href="/wiki/Q21510857" title="Q21510857">multi-value constraint <small>(Q21510857)</small></a> </td> <td><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Multi_value" title="Special:MyLanguage/Help:Property constraints portal/Multi value">Help:Property constraints portal/Multi value</a> </td> <td><a href="/wiki/MediaWiki:Wbqc-violation-message-multi-value" title="MediaWiki:Wbqc-violation-message-multi-value">MediaWiki:wbqc-violation-message-multi-value</a> </td></tr></tbody></table> <ul><li><a class="external text" href="https://query.wikidata.org/#%23%20https%3A%2F%2Fwww.wikidata.org%2Fwiki%2FHelp%3AProperty_constraints_portal%0A%23%20popular%20contraints%0ASELECT%20%3Fconstraint%20%3FconstraintLabel%20%3Fct%0AWHERE%0A%7B%0A%20%20%7B%0A%20%20SELECT%20%3Fconstraint%20%28count%28%2a%29%20as%20%3Fct%29%0A%20%20WHERE%0A%20%20%7B%0A%20%20%20%20%3Fitem%20wdt%3AP2302%20%3Fconstraint%0A%20%20%7D%0A%20%20GROUP%20BY%20%3Fconstraint%0A%20%20%7D%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D%0AORDER%20BY%20DESC%28%3Fct%29%20ASC%28%3Fconstraint%29">up-to-date list</a></li> <li><a href="/wiki/Wikidata:WikiProject_Properties/Reports/Datatypes" title="Wikidata:WikiProject Properties/Reports/Datatypes">list of datatypes and applicable value constraints</a></li></ul> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Datatype-independent_constraints" data-mw-thread-id="h-Datatype-independent_constraints"><span data-mw-comment-start="" id="h-Datatype-independent_constraints"></span>Datatype-independent constraints<span data-mw-comment-end="h-Datatype-independent_constraints"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal&action=edit&section=2" title="Edit section: Datatype-independent constraints"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Datatype-independent_constraints","replies":["h-Constraints_to_restrict_where_a_property_may_be_added-Datatype-independent_constraints","h-Constraints_regarding_the_number_of_values-Datatype-independent_constraints","h-Constraints_regarding_qualifiers-Datatype-independent_constraints","h-Constraints_regarding_references-Datatype-independent_constraints"]}}--></div> <div class="mw-heading mw-heading3"><h3 id="Constraints_to_restrict_where_a_property_may_be_added" data-mw-thread-id="h-Constraints_to_restrict_where_a_property_may_be_added-Datatype-independent_constraints"><span data-mw-comment-start="" id="h-Constraints_to_restrict_where_a_property_may_be_added-Datatype-independent_constraints"></span>Constraints to restrict where a property may be added<span data-mw-comment-end="h-Constraints_to_restrict_where_a_property_may_be_added-Datatype-independent_constraints"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal&action=edit&section=3" title="Edit section: Constraints to restrict where a property may be added"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <dl><dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Scope" title="Special:MyLanguage/Help:Property constraints portal/Scope">property scope constraint</a></dt> <dd>This property should only be used for certain scopes (main value of a statement, in a reference, as qualifier).</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Allowed_entity_types" title="Special:MyLanguage/Help:Property constraints portal/Allowed entity types">allowed-entity-types constraint</a></dt> <dd>This property should only be used on certain entity types. Example: <a href="/wiki/Property:P1855" title="Property:P1855">Wikidata property example <small dir="ltr">(P1855)</small></a> (properties).</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Type" title="Special:MyLanguage/Help:Property constraints portal/Type">subject type constraint</a></dt> <dd>Items with this property should have a certain type. Example: Items with <a href="/wiki/Property:P569" title="Property:P569">date of birth <small dir="ltr">(P569)</small></a> should be <a href="/wiki/Property:P31" title="Property:P31">instance of <small dir="ltr">(P31)</small></a> <a href="/wiki/Q5" title="Q5">human <small>(Q5)</small></a> or <a href="/wiki/Q729" title="Q729">animal <small>(Q729)</small></a>.</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Conflicts_with" title="Special:MyLanguage/Help:Property constraints portal/Conflicts with">conflicts-with constraint</a></dt> <dd>Items with this property should not have certain other properties or statements. Examples: <a href="/wiki/Property:P21" title="Property:P21">sex or gender <small dir="ltr">(P21)</small></a> conflicts with <a href="/wiki/Property:P50" title="Property:P50">author <small dir="ltr">(P50)</small></a>, which in turn conflicts with <span class="statement"><span class="predicate"><a href="/wiki/Property:P31" title="Property:P31">instance of <small>(P31)</small></a></span><span class="object"><a href="/wiki/Q5" title="Q5">human <small>(Q5)</small></a></span></span><style data-mw-deduplicate="TemplateStyles:r2202089130">.mw-parser-output .statement{margin:0 .2em;background:var(--background-color-base,#fff);color:var(--color-base,#202122);border:1px solid var(--border-color-subtle,#c8ccd1)}.mw-parser-output .statement .subject{padding:0 .2em}.mw-parser-output .statement .predicate{background:var(--background-color-neutral,#eaecf0);color:var(--color-emphasized,#000);padding:0 .2em}.mw-parser-output .statement .object{padding:0 .2em}</style>.</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Item" title="Special:MyLanguage/Help:Property constraints portal/Item">item-requires-statement constraint</a></dt> <dd>Items using this property should also have certain other statements. For example, items with <a href="/wiki/Property:P157" title="Property:P157">killed by <small dir="ltr">(P157)</small></a> should have <a href="/wiki/Property:P20" title="Property:P20">place of death <small dir="ltr">(P20)</small></a>, <a href="/wiki/Property:P570" title="Property:P570">date of death <small dir="ltr">(P570)</small></a> and <span class="statement"><span class="predicate"><a href="/wiki/Property:P1196" title="Property:P1196">manner of death <small>(P1196)</small></a></span><span class="object"><a href="/wiki/Q149086" title="Q149086">homicide <small>(Q149086)</small></a></span></span><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r2202089130">.</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Contemporary" title="Special:MyLanguage/Help:Property constraints portal/Contemporary">contemporary constraint</a></dt> <dd>Items with this property and values for this property should coexist at some point in time. Examples: <a href="/wiki/Property:P25" title="Property:P25">mother <small dir="ltr">(P25)</small></a>, <a href="/wiki/Property:P27" title="Property:P27">country of citizenship <small dir="ltr">(P27)</small></a>.</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Label_in_language" title="Special:MyLanguage/Help:Property constraints portal/Label in language">label in language constraint</a></dt> <dd>Items using this property should also have a label in a certain language. For example, items with <a href="/wiki/Property:P8500" title="Property:P8500">Vietnamese middle name <small dir="ltr">(P8500)</small></a> should have a Vietnamese label.</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Description_in_language" title="Special:MyLanguage/Help:Property constraints portal/Description in language">description in language constraint</a></dt> <dd>Items using this property should also have a description in a certain language.</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Lexeme_language" title="Special:MyLanguage/Help:Property constraints portal/Lexeme language">lexeme requires language constraint</a></dt> <dd>This property should be used on lexemes in a certain language. For example, <a href="/wiki/Property:P1296" title="Property:P1296">Gran Enciclopèdia Catalana ID (former scheme) <small dir="ltr">(P1296)</small></a> should be used on <a href="/wiki/Q7026" title="Q7026">Catalan <small>(Q7026)</small></a> lexemes.</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Lexeme_requires_lexical_category" class="new" title="Special:MyLanguage/Help:Property constraints portal/Lexeme requires lexical category (page does not exist)">lexeme requires lexical category constraint</a></dt> <dd>…</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Lexeme_value_requires_lexical_category" class="new" title="Special:MyLanguage/Help:Property constraints portal/Lexeme value requires lexical category (page does not exist)">lexeme-value-requires-lexical-category constraint</a></dt> <dd>…</dd></dl> <p><br/> </p> <div class="mw-heading mw-heading3"><h3 id="Constraints_regarding_the_number_of_values" data-mw-thread-id="h-Constraints_regarding_the_number_of_values-Datatype-independent_constraints"><span data-mw-comment-start="" id="h-Constraints_regarding_the_number_of_values-Datatype-independent_constraints"></span>Constraints regarding the number of values<span data-mw-comment-end="h-Constraints_regarding_the_number_of_values-Datatype-independent_constraints"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal&action=edit&section=4" title="Edit section: Constraints regarding the number of values"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <dl><dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Single_value" title="Special:MyLanguage/Help:Property constraints portal/Single value">single-value constraint</a></dt> <dd>Items should have no more than one statement with this property. Often used for identifiers, but also many other properties: for example, people generally only have a single <a href="/wiki/Property:P19" title="Property:P19">place of birth <small dir="ltr">(P19)</small></a> and <a href="/wiki/Property:P20" title="Property:P20">place of death <small dir="ltr">(P20)</small></a>.</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Single_best_value" title="Special:MyLanguage/Help:Property constraints portal/Single best value">single-best-value constraint</a></dt> <dd>Items should have one “best” statement with this property. Often used for properties that can change over time: for example, cities and countries usually have a single <em>current</em> <a href="/wiki/Property:P6" title="Property:P6">head of government <small dir="ltr">(P6)</small></a>.</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Multi_value" title="Special:MyLanguage/Help:Property constraints portal/Multi value">multi-value constraint</a></dt> <dd>Items should have more than one statement with this property (or none). Rarely used, but examples include <a href="/wiki/Property:P161" title="Property:P161">cast member <small dir="ltr">(P161)</small></a>, <a href="/wiki/Property:P3103" title="Property:P3103">has tense <small dir="ltr">(P3103)</small></a> and <a href="/wiki/Property:P3161" title="Property:P3161">has grammatical mood <small dir="ltr">(P3161)</small></a>.</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Unique_value" title="Special:MyLanguage/Help:Property constraints portal/Unique value">distinct-values constraint</a></dt> <dd>aka. <b>unique value</b> and <b>distinct value</b>. No two items should share a value for this property; each item’s value should be unique across all statements for this property in all of Wikidata. Almost all identifier properties have this constraint, since an identifier (ISBN, freebase ID, …) should uniquely identify an entity. Other examples include <a href="/wiki/Property:P163" title="Property:P163">flag <small dir="ltr">(P163)</small></a> and <a href="/wiki/Property:P85" title="Property:P85">anthem <small dir="ltr">(P85)</small></a>.</dd></dl> <div class="mw-heading mw-heading3"><h3 id="Constraints_regarding_qualifiers" data-mw-thread-id="h-Constraints_regarding_qualifiers-Datatype-independent_constraints"><span data-mw-comment-start="" id="h-Constraints_regarding_qualifiers-Datatype-independent_constraints"></span>Constraints regarding qualifiers<span data-mw-comment-end="h-Constraints_regarding_qualifiers-Datatype-independent_constraints"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal&action=edit&section=5" title="Edit section: Constraints regarding qualifiers"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <dl><dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Qualifiers" title="Special:MyLanguage/Help:Property constraints portal/Qualifiers">allowed qualifiers constraint</a></dt> <dd>Statements for this property should not have any qualifiers other than the listed ones. Examples: <a href="/wiki/Property:P30" title="Property:P30">continent <small dir="ltr">(P30)</small></a> with qualifiers <a href="/wiki/Property:P580" title="Property:P580">start time <small dir="ltr">(P580)</small></a> and <a href="/wiki/Property:P582" title="Property:P582">end time <small dir="ltr">(P582)</small></a>, and <a href="/wiki/Property:P646" title="Property:P646">Freebase ID <small dir="ltr">(P646)</small></a> with no qualifiers at all.</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Mandatory_qualifiers" title="Special:MyLanguage/Help:Property constraints portal/Mandatory qualifiers">required qualifier constraint</a></dt> <dd>Statements for this property must have all of the listed qualifiers. Example: <a href="/wiki/Property:P414" title="Property:P414">stock exchange <small dir="ltr">(P414)</small></a> with <a href="/wiki/Property:P249" title="Property:P249">ticker symbol <small dir="ltr">(P249)</small></a> and <a href="/wiki/Property:P580" title="Property:P580">start time <small dir="ltr">(P580)</small></a>.</dd></dl> <div class="mw-heading mw-heading3"><h3 id="Constraints_regarding_references" data-mw-thread-id="h-Constraints_regarding_references-Datatype-independent_constraints"><span data-mw-comment-start="" id="h-Constraints_regarding_references-Datatype-independent_constraints"></span>Constraints regarding references<span data-mw-comment-end="h-Constraints_regarding_references-Datatype-independent_constraints"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal&action=edit&section=6" title="Edit section: Constraints regarding references"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <dl><dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Citation_needed" title="Special:MyLanguage/Help:Property constraints portal/Citation needed">citation-needed constraint</a></dt> <dd>Statements for this property should have at least one reference. Example: <a href="/wiki/Wikidata:WikiProject_Properties/Wikidata_properties_likely_to_be_challenged" title="Wikidata:WikiProject Properties/Wikidata properties likely to be challenged">properties likely to be challenged</a>.</dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Datatype-specific_constraints" data-mw-thread-id="h-Datatype-specific_constraints"><span data-mw-comment-start="" id="h-Datatype-specific_constraints"></span>Datatype-specific constraints<span data-mw-comment-end="h-Datatype-specific_constraints"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal&action=edit&section=7" title="Edit section: Datatype-specific constraints"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Datatype-specific_constraints","replies":["h-Constraints_for_datatype_item\/entity-Datatype-specific_constraints","h-Constraints_for_Quantity-Datatype-specific_constraints","h-Constraints_for_Time-Datatype-specific_constraints","h-Constraints_for_string-based_datatypes-Datatype-specific_constraints","h-Constraints_for_Commons_links-Datatype-specific_constraints"]}}--></div> <div class="mw-heading mw-heading3"><h3 id="Constraints_for_datatype_item/entity" data-mw-thread-id="h-Constraints_for_datatype_item/entity-Datatype-specific_constraints"><span id="Constraints_for_datatype_item.2Fentity"></span><span data-mw-comment-start="" id="h-Constraints_for_datatype_item/entity-Datatype-specific_constraints"></span>Constraints for datatype item/entity<span data-mw-comment-end="h-Constraints_for_datatype_item/entity-Datatype-specific_constraints"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal&action=edit&section=8" title="Edit section: Constraints for datatype item/entity"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <dl><dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Value_type" title="Special:MyLanguage/Help:Property constraints portal/Value type">value-type constraint</a></dt> <dd>Values for this property should have a certain type. Example: <a href="/wiki/Property:P25" title="Property:P25">mother <small dir="ltr">(P25)</small></a> should be <a href="/wiki/Property:P31" title="Property:P31">instance of <small dir="ltr">(P31)</small></a> <a href="/wiki/Q5" title="Q5">human <small>(Q5)</small></a> or <a href="/wiki/Q729" title="Q729">animal <small>(Q729)</small></a>.</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/One_of" title="Special:MyLanguage/Help:Property constraints portal/One of">one-of constraint</a></dt> <dd>Values for this property should be one of a given set of items. Example: <a href="/wiki/Property:P1622" title="Property:P1622">driving side <small dir="ltr">(P1622)</small></a> should be either <a href="/wiki/Q13196750" title="Q13196750">left <small>(Q13196750)</small></a> or <a href="/wiki/Q14565199" title="Q14565199">right <small>(Q14565199)</small></a>.</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/None_of" title="Special:MyLanguage/Help:Property constraints portal/None of">none-of constraint</a></dt> <dd>Values for this property should not be one of a given set of items. Example: <a href="/wiki/Property:P31" title="Property:P31">instance of <small dir="ltr">(P31)</small></a> should not be <a href="/wiki/Q467" title="Q467">woman <small>(Q467)</small></a>.</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Target_required_claim" title="Special:MyLanguage/Help:Property constraints portal/Target required claim">value-requires-statement constraint</a></dt> <dd>aka. <b>target required statement</b>. Values for this property should also have certain other statements. For example, <a href="/wiki/Property:P58" title="Property:P58">screenwriter <small dir="ltr">(P58)</small></a> values should have <a href="/wiki/Property:P21" title="Property:P21">sex or gender <small dir="ltr">(P21)</small></a> and <span class="statement"><span class="predicate"><a href="/wiki/Property:P106" title="Property:P106">occupation <small>(P106)</small></a></span><span class="object"><a href="/wiki/Q28389" title="Q28389">screenwriter <small>(Q28389)</small></a></span></span><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r2202089130">.</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Symmetric" title="Special:MyLanguage/Help:Property constraints portal/Symmetric">symmetric constraint</a></dt> <dd>Statements using this property should always exist in both directions. Examples: <a href="/wiki/Property:P3373" title="Property:P3373">sibling <small dir="ltr">(P3373)</small></a>, <a href="/wiki/Property:P190" title="Property:P190">twinned administrative body <small dir="ltr">(P190)</small></a>.</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Inverse" title="Special:MyLanguage/Help:Property constraints portal/Inverse">inverse constraint</a></dt> <dd>Statements using this property should always have an inverse statement. Examples: <a href="/wiki/Property:P22" title="Property:P22">father <small dir="ltr">(P22)</small></a>/<a href="/wiki/Property:P25" title="Property:P25">mother <small dir="ltr">(P25)</small></a> with <a href="/wiki/Property:P40" title="Property:P40">child <small dir="ltr">(P40)</small></a>.</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Value_label" title="Special:MyLanguage/Help:Property constraints portal/Value label">complex constraint value label </a></dt> <dd>Values for this property have to have a label in a specific language that matches a specific format.</dd></dl> <div class="mw-heading mw-heading3"><h3 id="Constraints_for_Quantity" data-mw-thread-id="h-Constraints_for_Quantity-Datatype-specific_constraints"><span data-mw-comment-start="" id="h-Constraints_for_Quantity-Datatype-specific_constraints"></span>Constraints for Quantity<span data-mw-comment-end="h-Constraints_for_Quantity-Datatype-specific_constraints"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal&action=edit&section=9" title="Edit section: Constraints for Quantity"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <dl><dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Integer" title="Special:MyLanguage/Help:Property constraints portal/Integer">integer constraint</a></dt> <dd>Values for this property should be integers without decimal places.</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Units" title="Special:MyLanguage/Help:Property constraints portal/Units">allowed units constraint</a></dt> <dd>Values for this statement should only use certain units (or none). Examples: <a href="/wiki/Property:P2097" title="Property:P2097">term length of office <small dir="ltr">(P2097)</small></a> (unit: <a href="/wiki/Q577" title="Q577">year <small>(Q577)</small></a>), <a href="/wiki/Property:P1082" title="Property:P1082">population <small dir="ltr">(P1082)</small></a> (no units).</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/No_bounds" title="Special:MyLanguage/Help:Property constraints portal/No bounds">no-bounds constraint</a></dt> <dd>Values for this property should not use upper and lower bounds. This applies to most non-physical properties with <i>quantity</i> data type, for which the concept of uncertainties is not defined.</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Range" title="Special:MyLanguage/Help:Property constraints portal/Range">range constraint</a></dt> <dd>Values for this property should be within a certain range or interval. Examples: <a href="/wiki/Property:P1102" title="Property:P1102">flattening <small dir="ltr">(P1102)</small></a> is always between 0 and 1, and <a href="/wiki/Property:P619" title="Property:P619">UTC date of spacecraft launch <small dir="ltr">(P619)</small></a> should not be before <span style="white-space:nowrap"><time class="dtstart" datetime="1957-10-04">4 October 1957</time></span>.</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Diff_within_range" title="Special:MyLanguage/Help:Property constraints portal/Diff within range">difference-within-range constraint</a></dt> <dd>aka. <b>difference within range</b>. The difference between values for this property and for another property should be within a certain range or interval. For example, the difference between <a href="/wiki/Property:P569" title="Property:P569">date of birth <small dir="ltr">(P569)</small></a> and <a href="/wiki/Property:P570" title="Property:P570">date of death <small dir="ltr">(P570)</small></a> should be between 0 and 150 years.</dd></dl> <div class="mw-heading mw-heading3"><h3 id="Constraints_for_Time" data-mw-thread-id="h-Constraints_for_Time-Datatype-specific_constraints"><span data-mw-comment-start="" id="h-Constraints_for_Time-Datatype-specific_constraints"></span>Constraints for Time<span data-mw-comment-end="h-Constraints_for_Time-Datatype-specific_constraints"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal&action=edit&section=10" title="Edit section: Constraints for Time"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <dl><dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Range" title="Special:MyLanguage/Help:Property constraints portal/Range">range constraint</a></dt> <dd>Values for this property should be within a certain range or interval. Examples: <a href="/wiki/Property:P1102" title="Property:P1102">flattening <small dir="ltr">(P1102)</small></a> is always between 0 and 1, and <a href="/wiki/Property:P619" title="Property:P619">UTC date of spacecraft launch <small dir="ltr">(P619)</small></a> should not be before <span style="white-space:nowrap"><time class="dtstart" datetime="1957-10-04">4 October 1957</time></span>.</dd> <dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Diff_within_range" title="Special:MyLanguage/Help:Property constraints portal/Diff within range">difference-within-range constraint</a></dt> <dd>aka. <b>difference within range</b>. The difference between values for this property and for another property should be within a certain range or interval. For example, the difference between <a href="/wiki/Property:P569" title="Property:P569">date of birth <small dir="ltr">(P569)</small></a> and <a href="/wiki/Property:P570" title="Property:P570">date of death <small dir="ltr">(P570)</small></a> should be between 0 and 150 years.</dd></dl> <div class="mw-heading mw-heading3"><h3 id="Constraints_for_string-based_datatypes" data-mw-thread-id="h-Constraints_for_string-based_datatypes-Datatype-specific_constraints"><span data-mw-comment-start="" id="h-Constraints_for_string-based_datatypes-Datatype-specific_constraints"></span>Constraints for string-based datatypes<span data-mw-comment-end="h-Constraints_for_string-based_datatypes-Datatype-specific_constraints"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal&action=edit&section=11" title="Edit section: Constraints for string-based datatypes"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>The constraint types listed in this section can be used for properties that have a <a href="/wiki/Special:MyLanguage/Help:Data_type#string-based" title="Special:MyLanguage/Help:Data type">string-based datatype</a>. </p> <dl><dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Format" title="Special:MyLanguage/Help:Property constraints portal/Format">format constraint</a></dt> <dd>Values for this property should have a certain format. Often used for identifiers (<i>n</i> digits long, starts with a certain letter, consists of digits, …).</dd></dl> <div class="mw-heading mw-heading3"><h3 id="Constraints_for_Commons_links" data-mw-thread-id="h-Constraints_for_Commons_links-Datatype-specific_constraints"><span data-mw-comment-start="" id="h-Constraints_for_Commons_links-Datatype-specific_constraints"></span>Constraints for Commons links<span data-mw-comment-end="h-Constraints_for_Commons_links-Datatype-specific_constraints"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal&action=edit&section=12" title="Edit section: Constraints for Commons links"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <dl><dt><a href="/wiki/Special:MyLanguage/Help:Property_constraints_portal/Commons_link" title="Special:MyLanguage/Help:Property constraints portal/Commons link">Commons link constraint</a></dt> <dd>Values for this statement should be valid links to Wikimedia Commons. Examples: <a href="/wiki/Property:P18" title="Property:P18">image <small dir="ltr">(P18)</small></a> (“File” namespace), <a href="/wiki/Property:P373" title="Property:P373">Commons category <small dir="ltr">(P373)</small></a> (“Category” namespace).</dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Constraints_alphabetically" data-mw-thread-id="h-Constraints_alphabetically"><span data-mw-comment-start="" id="h-Constraints_alphabetically"></span>Constraints alphabetically<span data-mw-comment-end="h-Constraints_alphabetically"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal&action=edit&section=13" title="Edit section: Constraints alphabetically"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Constraints_alphabetically","replies":[]}}--></div> <ul><li><a class="external text" href="https://query.wikidata.org/#select%20%3Flabelen%20%3Fconstrainttype%20%3FconstrainttypeLabel%20%3FconstrainttypeDescription%20%7B%0A%20%20%3Fconstrainttype%20wdt%3AP279%2a%20wd%3AQ21502402%20.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20optional%20%7B%20%3Fconstrainttype%20rdfs%3Alabel%20%3Flabelen%20filter%28lang%28%3Flabelen%29%20%3D%20%22en%22%29%20.%20%7D%0A%7D%20order%20by%20%3Flabelen">A table that shows the list of constraint in the query service in your language, augmented with the English label if you need this in a discussion in English</a></li></ul> <p>Several constraints have their own predefined templates and are listed at <a href="/wiki/Special:MyLanguage/Help:Property_constraints/list_of_constraints" title="Special:MyLanguage/Help:Property constraints/list of constraints">Help:Property constraints/list of constraints</a>. </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Usage_instructions" data-mw-thread-id="h-Usage_instructions"><span data-mw-comment-start="" id="h-Usage_instructions"></span>Usage instructions<span data-mw-comment-end="h-Usage_instructions"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal&action=edit&section=14" title="Edit section: Usage instructions"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Usage_instructions","replies":[]}}--></div> <p>Constraint reports are shown for all logged in users when they visit an entity page. </p> <figure class="mw-default-size mw-halign-center" typeof="mw:File/Thumb"><a href="/wiki/File:Douglas_Adams_Constraint_Violation.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/da/Douglas_Adams_Constraint_Violation.png/330px-Douglas_Adams_Constraint_Violation.png" decoding="async" width="330" height="261" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/da/Douglas_Adams_Constraint_Violation.png/495px-Douglas_Adams_Constraint_Violation.png 1.5x, //upload.wikimedia.org/wikipedia/commons/d/da/Douglas_Adams_Constraint_Violation.png 2x" data-file-width="575" data-file-height="455"/></a><figcaption>A constraint violation report displayed on an item page.</figcaption></figure> <p>You can also check all constraints for an item on <a href="/wiki/Special:ConstraintReport" title="Special:ConstraintReport">Special:ConstraintReport</a>. This page is provided by <a href="https://www.mediawiki.org/wiki/Extension:WikibaseQualityConstraints" class="extiw" title="mw:Extension:WikibaseQualityConstraints">WikibaseQualityConstraints</a> (also known as "constraints extension"). A bot also maintains reports of constraint violation; see a summary of violations across Wikidata on <a href="/wiki/Wikidata:Database_reports/Constraint_violations" title="Wikidata:Database reports/Constraint violations">Wikidata:Database reports/Constraint violations</a>. </p><p><span id="constraint-type-items"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Constraint_type_items" data-mw-thread-id="h-Constraint_type_items"><span data-mw-comment-start="" id="h-Constraint_type_items"></span>Constraint type items<span data-mw-comment-end="h-Constraint_type_items"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal&action=edit&section=15" title="Edit section: Constraint type items"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Constraint_type_items","replies":[]}}--></div> <p>There is an item for each constraint type, e.g. <a href="/wiki/Q21503250" title="Q21503250">subject type constraint <small>(Q21503250)</small></a>. </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Constraint_statements_on_properties" data-mw-thread-id="h-Constraint_statements_on_properties"><span data-mw-comment-start="" id="h-Constraint_statements_on_properties"></span>Constraint statements on properties<span data-mw-comment-end="h-Constraint_statements_on_properties"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal&action=edit&section=16" title="Edit section: Constraint statements on properties"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Constraint_statements_on_properties","replies":["h-Constraint_parameters-Constraint_statements_on_properties"]}}--></div> <p>Constraints for a property are specified as statements on the property, using <a href="/wiki/Property:P2302" title="Property:P2302">property constraint <small dir="ltr">(P2302)</small></a> and the <a href="#constraint-type-items">constraint type item</a>. For example: <span class="statement"><b class="subject"><a href="/wiki/Property:P3373" title="Property:P3373">sibling <small dir="ltr">(P3373)</small></a></b><span class="predicate"><a href="/wiki/Property:P2302" title="Property:P2302">property constraint <small>(P2302)</small></a></span><span class="object"><a href="/wiki/Q21510862" title="Q21510862">symmetric constraint <small>(Q21510862)</small></a></span></span><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r2202089130">. Deprecated statements are ignored, so changing a constraint statement’s rank to “deprecated” is a convenient way to temporarily disable a constraint without completely removing it. </p> <div class="mw-heading mw-heading3"><h3 id="Constraint_parameters" data-mw-thread-id="h-Constraint_parameters-Constraint_statements_on_properties"><span data-mw-comment-start="" id="h-Constraint_parameters-Constraint_statements_on_properties"></span>Constraint parameters<span data-mw-comment-end="h-Constraint_parameters-Constraint_statements_on_properties"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal&action=edit&section=17" title="Edit section: Constraint parameters"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Many constraints are configurable: <b>one of</b> has a list of the permitted values, <b>type</b> contains the type, etc. These settings which configure the constraint are called <i>parameters</i>. </p><p>Constraint parameters are specified as qualifiers on the statement. For example: </p> <div style="border: 1px solid #C9C9C9;background-color: #F9F9F9;vertical-align:top;display: inline-block;"><span style="background:None;">⟨ <span style="font-family:fixed;"><a href="/wiki/Property:P25" title="Property:P25">mother <small dir="ltr">(P25)</small></a></span> ⟩</span> <i><a href="/wiki/Property:P2302" title="Property:P2302">property constraint <small dir="ltr">(P2302)</small></a><small> <span typeof="mw:File"><a href="https://sqid.toolforge.org/#/view?id=P2302&lang=en" title="View with SQID"><img alt="View with SQID" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/ed/SQID_logo.svg/25px-SQID_logo.svg.png" decoding="async" width="25" height="7" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/ed/SQID_logo.svg/38px-SQID_logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/ed/SQID_logo.svg/50px-SQID_logo.svg.png 2x" data-file-width="179" data-file-height="48"/></a></span></small></i> <span style="background:None;">⟨ <span style="font-family:fixed;"><a href="/wiki/Q21503250" title="Q21503250">subject type constraint <small>(Q21503250)</small></a><span class="external_link-reasonator"> <span typeof="mw:File"><a href="https://reasonator.toolforge.org/?q=Q21503250&lang=en" title="View with Reasonator"><img alt="View with Reasonator" src="//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikidata-Reasonator_small_logo.svg/12px-Wikidata-Reasonator_small_logo.svg.png" decoding="async" width="12" height="12" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikidata-Reasonator_small_logo.svg/18px-Wikidata-Reasonator_small_logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikidata-Reasonator_small_logo.svg/24px-Wikidata-Reasonator_small_logo.svg.png 2x" data-file-width="500" data-file-height="500"/></a></span></span><span class="external_link-SQID"> <span typeof="mw:File"><a href="https://sqid.toolforge.org/#/view?id=Q21503250&lang=en" title="View with SQID"><img alt="View with SQID" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/ed/SQID_logo.svg/25px-SQID_logo.svg.png" decoding="async" width="25" height="7" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/ed/SQID_logo.svg/38px-SQID_logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/ed/SQID_logo.svg/50px-SQID_logo.svg.png 2x" data-file-width="179" data-file-height="48"/></a></span></span></span> ⟩</span><br/><span style="margin-left:5em;"><i><a href="/wiki/Property:P2309" title="Property:P2309">relation <small dir="ltr">(P2309)</small></a><small> <span typeof="mw:File"><a href="https://sqid.toolforge.org/#/view?id=P2309&lang=en" title="View with SQID"><img alt="View with SQID" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/ed/SQID_logo.svg/25px-SQID_logo.svg.png" decoding="async" width="25" height="7" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/ed/SQID_logo.svg/38px-SQID_logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/ed/SQID_logo.svg/50px-SQID_logo.svg.png 2x" data-file-width="179" data-file-height="48"/></a></span></small></i> <span style="background:None;">⟨ <span style="font-family:fixed;"><a href="/wiki/Q21503252" title="Q21503252">instance of <small>(Q21503252)</small></a><span class="external_link-reasonator"> <span typeof="mw:File"><a href="https://reasonator.toolforge.org/?q=Q21503252&lang=en" title="View with Reasonator"><img alt="View with Reasonator" src="//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikidata-Reasonator_small_logo.svg/12px-Wikidata-Reasonator_small_logo.svg.png" decoding="async" width="12" height="12" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikidata-Reasonator_small_logo.svg/18px-Wikidata-Reasonator_small_logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikidata-Reasonator_small_logo.svg/24px-Wikidata-Reasonator_small_logo.svg.png 2x" data-file-width="500" data-file-height="500"/></a></span></span><span class="external_link-SQID"> <span typeof="mw:File"><a href="https://sqid.toolforge.org/#/view?id=Q21503252&lang=en" title="View with SQID"><img alt="View with SQID" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/ed/SQID_logo.svg/25px-SQID_logo.svg.png" decoding="async" width="25" height="7" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/ed/SQID_logo.svg/38px-SQID_logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/ed/SQID_logo.svg/50px-SQID_logo.svg.png 2x" data-file-width="179" data-file-height="48"/></a></span></span></span> ⟩</span></span><br/><span style="margin-left:5em;"><i><a href="/wiki/Property:P2308" title="Property:P2308">class <small dir="ltr">(P2308)</small></a><small> <span typeof="mw:File"><a href="https://sqid.toolforge.org/#/view?id=P2308&lang=en" title="View with SQID"><img alt="View with SQID" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/ed/SQID_logo.svg/25px-SQID_logo.svg.png" decoding="async" width="25" height="7" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/ed/SQID_logo.svg/38px-SQID_logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/ed/SQID_logo.svg/50px-SQID_logo.svg.png 2x" data-file-width="179" data-file-height="48"/></a></span></small></i> <span style="background:None;">⟨ <span style="font-family:fixed;"><a href="/wiki/Q5" title="Q5">human <small>(Q5)</small></a><span class="external_link-reasonator"> <span typeof="mw:File"><a href="https://reasonator.toolforge.org/?q=Q5&lang=en" title="View with Reasonator"><img alt="View with Reasonator" src="//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikidata-Reasonator_small_logo.svg/12px-Wikidata-Reasonator_small_logo.svg.png" decoding="async" width="12" height="12" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikidata-Reasonator_small_logo.svg/18px-Wikidata-Reasonator_small_logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikidata-Reasonator_small_logo.svg/24px-Wikidata-Reasonator_small_logo.svg.png 2x" data-file-width="500" data-file-height="500"/></a></span></span><span class="external_link-SQID"> <span typeof="mw:File"><a href="https://sqid.toolforge.org/#/view?id=Q5&lang=en" title="View with SQID"><img alt="View with SQID" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/ed/SQID_logo.svg/25px-SQID_logo.svg.png" decoding="async" width="25" height="7" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/ed/SQID_logo.svg/38px-SQID_logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/ed/SQID_logo.svg/50px-SQID_logo.svg.png 2x" data-file-width="179" data-file-height="48"/></a></span></span></span> ⟩</span></span></div> <p>There are several general parameters that can be added to any constraint statement: </p> <dl><dt><a href="/wiki/Property:P2316" title="Property:P2316">constraint status <small dir="ltr">(P2316)</small></a></dt> <dd>With the value <a href="/wiki/Q21502408" title="Q21502408">mandatory constraint <small>(Q21502408)</small></a>, this parameter can be used to mark a constraint as <i>mandatory</i>. Violations of mandatory constraints are more severe than violations of non-mandatory ones. Non-mandatory constraints should have a value of <a href="/wiki/Q62026391" title="Q62026391">suggestion constraint <small>(Q62026391)</small></a>.</dd> <dt><a href="/wiki/Property:P2303" title="Property:P2303">exception to constraint <small dir="ltr">(P2303)</small></a></dt> <dd>Lists known exceptions to the constraint. On the items listed under this parameter, the constraint is not checked.</dd> <dt><a href="/wiki/Property:P2304" title="Property:P2304">group by <small dir="ltr">(P2304)</small></a></dt> <dd>Contains a property by the values of which constraint violations should be grouped. That is, when the <a href="/wiki/Wikidata:Database_reports/Constraint_violations" title="Wikidata:Database reports/Constraint violations">database reports</a> list violations for a constraint (for all items), the items with violations are grouped by the value they have for the property given in the <a href="/wiki/Property:P2304" title="Property:P2304">group by <small dir="ltr">(P2304)</small></a> parameter. (The constraints extension does not use this parameter.)</dd> <dt><a href="/wiki/Property:P4680" title="Property:P4680">constraint scope <small dir="ltr">(P4680)</small></a></dt> <dd>Specifies in which part of a statement the constraints applies, using the three special values <a href="/wiki/Q46466787" title="Q46466787">constraint checked on main value <small>(Q46466787)</small></a>, <a href="/wiki/Q46466783" title="Q46466783">constraint checked on qualifiers <small>(Q46466783)</small></a> and <a href="/wiki/Q46466805" title="Q46466805">constraint checked on references <small>(Q46466805)</small></a>. Use any combination of these values to specify where a constraint should be checked. If the parameter is not specified, the default scope depends on the constraint type. (Note that the <a href="/wiki/Wikidata:Database_reports/Constraint_violations" title="Wikidata:Database reports/Constraint violations">database reports</a> only list violations on the main value of a statement.)</dd> <dt><a href="/wiki/Property:P6607" title="Property:P6607">constraint clarification <small dir="ltr">(P6607)</small></a></dt> <dd>Provides a simple explanation for the purpose of the constraint (why it exists) and recommended actions to resolve the constraint.</dd></dl> <p><br/> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="When_constraints_aren’t_checked" data-mw-thread-id="h-When_constraints_aren’t_checked"><span id="When_constraints_aren.E2.80.99t_checked"></span><span data-mw-comment-start="" id="h-When_constraints_aren’t_checked"></span>When constraints aren’t checked<span data-mw-comment-end="h-When_constraints_aren’t_checked"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal&action=edit&section=18" title="Edit section: When constraints aren’t checked"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-When_constraints_aren\u2019t_checked","replies":[]}}--></div> <p>Each individual constraint can list exceptions in its constraint parameters (see above); on any statements of that item, that constraint will not be checked at all. (There is currently no mechanism for specifying other entity types as exceptions, or for listing exceptions in a different way.) </p><p>On properties like <a href="/wiki/Property:P1855" title="Property:P1855">Wikidata property example <small dir="ltr">(P1855)</small></a>, <a href="/wiki/Property:P2271" title="Property:P2271">Wikidata property example for properties <small dir="ltr">(P2271)</small></a>, etc., as defined in <code>wgWBQualityConstraintsPropertiesWithViolatingQualifiers</code>, all constraint checks on qualifiers are skipped. For these properties, qualifiers have a different meaning than usual: they’re more similar to main statements than qualifiers of that statement, so it doesn’t really make sense to check constraints on those qualifiers. </p><p>WikibaseQualityConstraints only uses normal-rank and preferred-rank constraint statements and ignores deprecated-rank ones, so setting a constraint’s rank to deprecated can be used to “hide” it from WikibaseQualityConstraints. (KrBot uses all constraint statements regardless of rank.) </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Custom_constraints" data-mw-thread-id="h-Custom_constraints"><span data-mw-comment-start="" id="h-Custom_constraints"></span>Custom constraints<span data-mw-comment-end="h-Custom_constraints"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal&action=edit&section=19" title="Edit section: Custom constraints"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Custom_constraints","replies":[]}}--></div> <p>With some knowledge of <a href="/wiki/Special:MyLanguage/Wikidata:SPARQL_query_service" title="Special:MyLanguage/Wikidata:SPARQL query service">SPARQL</a> one can make very complex constraints for certain properties, above and beyond the restrictions mentioned above. More information is available at <a href="/wiki/Template:Complex_constraint" title="Template:Complex constraint">Template:Complex constraint</a>. The reports are maintained by a third-party bot and not part of Wikibase software. See also the list of <a class="external text" href="https://www.wikidata.org/w/index.php?title=Special%3AWhatLinksHere&target=Template%3AComplex+constraint&namespace=121">properties using complex constraints</a>. </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="See_also" data-mw-thread-id="h-See_also"><span data-mw-comment-start="" id="h-See_also"></span>See also<span data-mw-comment-end="h-See_also"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Property_constraints_portal&action=edit&section=20" title="Edit section: See also"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-See_also","replies":[]}}--></div> <ul><li><a href="/wiki/Wikidata:Curious_Facts" title="Wikidata:Curious Facts">Wikidata:Curious Facts</a> - a tool that displays random constraint violations</li></ul> <table class="navbox" dir="ltr" style="border-spacing:0;background: #CDDDDD; width: 100%; vertical-align: middle;;font: arial;"><tbody><tr><td style="padding:2px"><style data-mw-deduplicate="TemplateStyles:r2241526210">.mw-parser-output .navbox{border:1px solid var(--border-color-base,#a2a9b1);width:100%;margin:auto;clear:both;font-size:88%;text-align:center;padding:1px}.mw-parser-output .navbox-inner,.mw-parser-output .navbox-subgroup{width:100%}.mw-parser-output .navbox-group,.mw-parser-output .navbox-title,.mw-parser-output .navbox-abovebelow{padding:0.25em 1em;line-height:1.5em;text-align:center}.mw-parser-output th.navbox-group{white-space:nowrap;text-align:right}.mw-parser-output .navbox,.mw-parser-output .navbox-subgroup{background:#fdfdfd}.mw-parser-output .navbox-list{line-height:1.8em;border-color:#fdfdfd}.mw-parser-output .navbox th,.mw-parser-output .navbox-title{background:#ccccff}.mw-parser-output .navbox-abovebelow,.mw-parser-output th.navbox-group,.mw-parser-output .navbox-subgroup .navbox-title{background:#ddddff}.mw-parser-output .navbox-subgroup .navbox-group,.mw-parser-output .navbox-subgroup .navbox-abovebelow{background:#e6e6ff}.mw-parser-output .navbox-even{background:#f7f7f7}.mw-parser-output .navbox-odd{background:transparent}.mw-parser-output table.navbox+table.navbox{margin-top:-1px}.mw-parser-output .navbox .hlist td dl,.mw-parser-output .navbox .hlist td ol,.mw-parser-output .navbox .hlist td ul,.mw-parser-output .navbox td.hlist dl,.mw-parser-output .navbox td.hlist ol,.mw-parser-output .navbox td.hlist ul{padding:0.125em 0}.mw-parser-output ol+table.navbox,.mw-parser-output ul+table.navbox{margin-top:0.5em}</style><table class="nowraplinks navbox-inner" dir="ltr" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2" style="background: #CDDDDD; padding-left: 1em; padding-right: 1em; text-align: center; font-size: x-small;"><style data-mw-deduplicate="TemplateStyles:r2080812426">.mw-parser-output .navbar{display:inline;font-size:88%;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:114%;margin:0 7em}.mw-parser-output .navbar-ct-mini{font-size:114%;margin:0 4em}.mw-parser-output .infobox .navbar{font-size:100%}.mw-parser-output .navbox .navbar{display:block;font-size:100%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em}</style><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view"><a href="/wiki/Template:Property_constraints" title="Template:Property constraints"><abbr title="View this template" style=";background: #CDDDDD; padding-left: 1em; padding-right: 1em; text-align: center; font-size: x-small;;background:none transparent;color:inherit;border:none;">v</abbr></a></li><li class="nv-talk"><a href="/w/index.php?title=Template_talk:Property_constraints&action=edit&redlink=1" class="new" title="Template talk:Property constraints (page does not exist)"><abbr title="Discuss this template" style=";background: #CDDDDD; padding-left: 1em; padding-right: 1em; text-align: center; font-size: x-small;;background:none transparent;color:inherit;border:none;">t</abbr></a></li><li class="nv-edit"><a class="external text" href="https://www.wikidata.org/w/index.php?title=Template:Property_constraints&action=edit"><abbr title="Edit this template" style=";background: #CDDDDD; padding-left: 1em; padding-right: 1em; text-align: center; font-size: x-small;;background:none transparent;color:inherit;border:none;">e</abbr></a></li></ul></div><span style="float:right;width:6em"> </span><div style="font-size:110%"><a class="mw-selflink selflink">Help:Property constraints portal</a></div></th></tr><tr style="height:2px"><td colspan="2"></td></tr><tr><th scope="row" class="navbox-group" style="background: #CDDDDD; padding-left: 1em; padding-right: 1em; text-align: right; font-size: 11px;">Popular</th><td class="navbox-list navbox-odd hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px;background: #EFFFFF; text-align: left/center; font-size: 12px;"><div style="padding:0em 0.25em"> <ul><li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/7/75/Pictogram_voting_number_one.svg/14px-Pictogram_voting_number_one.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/75/Pictogram_voting_number_one.svg/21px-Pictogram_voting_number_one.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/75/Pictogram_voting_number_one.svg/28px-Pictogram_voting_number_one.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Single_value" title="Help:Property constraints portal/Single value">single-value constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Pictogram_voting_not_equal.svg/14px-Pictogram_voting_not_equal.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Pictogram_voting_not_equal.svg/21px-Pictogram_voting_not_equal.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Pictogram_voting_not_equal.svg/28px-Pictogram_voting_not_equal.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Unique_value" title="Help:Property constraints portal/Unique value">distinct-values constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/da/Pictogram_voting_regex.svg/14px-Pictogram_voting_regex.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/da/Pictogram_voting_regex.svg/21px-Pictogram_voting_regex.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/da/Pictogram_voting_regex.svg/28px-Pictogram_voting_regex.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Format" title="Help:Property constraints portal/Format">format constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/8/83/Pictogram_voting_cluster.svg/14px-Pictogram_voting_cluster.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/83/Pictogram_voting_cluster.svg/21px-Pictogram_voting_cluster.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/83/Pictogram_voting_cluster.svg/28px-Pictogram_voting_cluster.svg.png 2x" data-file-width="250" data-file-height="250"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Subject_class" title="Help:Property constraints portal/Subject class">subject type constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Pictogram_voting_arrow.svg/14px-Pictogram_voting_arrow.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Pictogram_voting_arrow.svg/21px-Pictogram_voting_arrow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Pictogram_voting_arrow.svg/28px-Pictogram_voting_arrow.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Value_class" title="Help:Property constraints portal/Value class">value-type constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/b/be/Pictogram_reply_soft_green.svg/14px-Pictogram_reply_soft_green.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/be/Pictogram_reply_soft_green.svg/21px-Pictogram_reply_soft_green.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/be/Pictogram_reply_soft_green.svg/28px-Pictogram_reply_soft_green.svg.png 2x" data-file-width="180" data-file-height="185"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Property_Scope_Constraint" title="Help:Property constraints portal/Property Scope Constraint">property scope constraint</a></li></ul> </div></td></tr><tr style="height:2px"><td colspan="2"></td></tr><tr><th scope="row" class="navbox-group" style="background: #CDDDDD; padding-left: 1em; padding-right: 1em; text-align: right; font-size: 11px;">Others</th><td class="navbox-list navbox-even hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px;background: #EFFFFF; text-align: left/center; font-size: 12px;"><div style="padding:0em 0.25em"> <ul><li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/df/Pictogram_voting_two_plus.svg/14px-Pictogram_voting_two_plus.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/df/Pictogram_voting_two_plus.svg/21px-Pictogram_voting_two_plus.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/df/Pictogram_voting_two_plus.svg/28px-Pictogram_voting_two_plus.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Multi_value" title="Help:Property constraints portal/Multi value">multi-value constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/8/86/Pictogram_voting_commons_logo.svg/14px-Pictogram_voting_commons_logo.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/86/Pictogram_voting_commons_logo.svg/21px-Pictogram_voting_commons_logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/86/Pictogram_voting_commons_logo.svg/28px-Pictogram_voting_commons_logo.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Commons_link" title="Help:Property constraints portal/Commons link">Commons link constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/b/be/Pictogram_reply_soft_green.svg/14px-Pictogram_reply_soft_green.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/be/Pictogram_reply_soft_green.svg/21px-Pictogram_reply_soft_green.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/be/Pictogram_reply_soft_green.svg/28px-Pictogram_reply_soft_green.svg.png 2x" data-file-width="180" data-file-height="185"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Qualifiers" title="Help:Property constraints portal/Qualifiers">allowed qualifiers constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/b/b8/Pictogram_voting_unit.svg/14px-Pictogram_voting_unit.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/b8/Pictogram_voting_unit.svg/21px-Pictogram_voting_unit.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/b8/Pictogram_voting_unit.svg/28px-Pictogram_voting_unit.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Units" title="Help:Property constraints portal/Units">allowed units constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Pictogram_voting_x.svg/14px-Pictogram_voting_x.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Pictogram_voting_x.svg/21px-Pictogram_voting_x.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Pictogram_voting_x.svg/28px-Pictogram_voting_x.svg.png 2x" data-file-width="250" data-file-height="250"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Conflicts_with" title="Help:Property constraints portal/Conflicts with">conflicts-with constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/14px-Pictogram_voting_list.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/21px-Pictogram_voting_list.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/28px-Pictogram_voting_list.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Diff_within_range" title="Help:Property constraints portal/Diff within range">difference-within-range constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Pictogram_voting_two_arrows_to_the_center.svg/14px-Pictogram_voting_two_arrows_to_the_center.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Pictogram_voting_two_arrows_to_the_center.svg/21px-Pictogram_voting_two_arrows_to_the_center.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Pictogram_voting_two_arrows_to_the_center.svg/28px-Pictogram_voting_two_arrows_to_the_center.svg.png 2x" data-file-width="250" data-file-height="250"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Inverse" title="Help:Property constraints portal/Inverse">inverse constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/8/83/Pictogram_voting_cluster.svg/14px-Pictogram_voting_cluster.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/83/Pictogram_voting_cluster.svg/21px-Pictogram_voting_cluster.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/83/Pictogram_voting_cluster.svg/28px-Pictogram_voting_cluster.svg.png 2x" data-file-width="250" data-file-height="250"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Item" title="Help:Property constraints portal/Item">item-requires-statement constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/b/be/Pictogram_reply_soft_green.svg/14px-Pictogram_reply_soft_green.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/be/Pictogram_reply_soft_green.svg/21px-Pictogram_reply_soft_green.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/be/Pictogram_reply_soft_green.svg/28px-Pictogram_reply_soft_green.svg.png 2x" data-file-width="180" data-file-height="185"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Required_qualifiers" title="Help:Property constraints portal/Required qualifiers">required qualifier constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/14px-Pictogram_voting_list.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/21px-Pictogram_voting_list.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/28px-Pictogram_voting_list.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/One_of" title="Help:Property constraints portal/One of">one-of constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/14px-Pictogram_voting_list.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/21px-Pictogram_voting_list.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/28px-Pictogram_voting_list.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Range" title="Help:Property constraints portal/Range">range constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/7/74/Pictogram_voting_left_right_arrow.svg/14px-Pictogram_voting_left_right_arrow.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/74/Pictogram_voting_left_right_arrow.svg/21px-Pictogram_voting_left_right_arrow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/74/Pictogram_voting_left_right_arrow.svg/28px-Pictogram_voting_left_right_arrow.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Symmetric" title="Help:Property constraints portal/Symmetric">symmetric constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Pictogram_voting_arrow.svg/14px-Pictogram_voting_arrow.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Pictogram_voting_arrow.svg/21px-Pictogram_voting_arrow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Pictogram_voting_arrow.svg/28px-Pictogram_voting_arrow.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Target_required_claim" title="Help:Property constraints portal/Target required claim">value-requires-statement constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Pictogram_plusminus.svg/14px-Pictogram_plusminus.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Pictogram_plusminus.svg/21px-Pictogram_plusminus.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Pictogram_plusminus.svg/28px-Pictogram_plusminus.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/No_bounds" title="Help:Property constraints portal/No bounds">no-bounds constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/7/75/Pictogram_voting_number_one.svg/14px-Pictogram_voting_number_one.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/75/Pictogram_voting_number_one.svg/21px-Pictogram_voting_number_one.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/75/Pictogram_voting_number_one.svg/28px-Pictogram_voting_number_one.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Integer" title="Help:Property constraints portal/Integer">integer constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Pictogram_voting_x.svg/14px-Pictogram_voting_x.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Pictogram_voting_x.svg/21px-Pictogram_voting_x.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Pictogram_voting_x.svg/28px-Pictogram_voting_x.svg.png 2x" data-file-width="250" data-file-height="250"/></span></span> <a href="/wiki/Help:Property_constraints_portal/None_of" title="Help:Property constraints portal/None of">none-of constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/7/75/Pictogram_voting_number_one.svg/14px-Pictogram_voting_number_one.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/75/Pictogram_voting_number_one.svg/21px-Pictogram_voting_number_one.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/75/Pictogram_voting_number_one.svg/28px-Pictogram_voting_number_one.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Single_best_value" title="Help:Property constraints portal/Single best value">single-best-value constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Propozycja_LnM.svg/14px-Propozycja_LnM.svg.png" decoding="async" width="14" height="16" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Propozycja_LnM.svg/21px-Propozycja_LnM.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Propozycja_LnM.svg/28px-Propozycja_LnM.svg.png 2x" data-file-width="586" data-file-height="655"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Citation_needed" title="Help:Property constraints portal/Citation needed">citation-needed constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/9/94/Wikidata-HS-icon.svg/14px-Wikidata-HS-icon.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/94/Wikidata-HS-icon.svg/21px-Wikidata-HS-icon.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/94/Wikidata-HS-icon.svg/28px-Wikidata-HS-icon.svg.png 2x" data-file-width="156" data-file-height="156"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Allowed_entity_types" title="Help:Property constraints portal/Allowed entity types">allowed-entity-types constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Hourglass_icon.svg/14px-Hourglass_icon.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Hourglass_icon.svg/21px-Hourglass_icon.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Hourglass_icon.svg/28px-Hourglass_icon.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Contemporary" title="Help:Property constraints portal/Contemporary">contemporary constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/14px-Pictogram_voting_list.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/21px-Pictogram_voting_list.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Pictogram_voting_list.svg/28px-Pictogram_voting_list.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Q55819078" title="Q55819078">lexeme requires lexical category constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/5/55/Pictogram_voting_info_ku.svg/14px-Pictogram_voting_info_ku.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/5/55/Pictogram_voting_info_ku.svg/21px-Pictogram_voting_info_ku.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/5/55/Pictogram_voting_info_ku.svg/28px-Pictogram_voting_info_ku.svg.png 2x" data-file-width="250" data-file-height="250"/></span></span> <a href="/wiki/Help:Property_constraints_portal/Lexeme_language" title="Help:Property constraints portal/Lexeme language">lexeme requires language constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Pictogram_voting_arrow.svg/14px-Pictogram_voting_arrow.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Pictogram_voting_arrow.svg/21px-Pictogram_voting_arrow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Pictogram_voting_arrow.svg/28px-Pictogram_voting_arrow.svg.png 2x" data-file-width="249" data-file-height="249"/></span></span> <a href="/wiki/Q64006792" title="Q64006792">lexeme-value-requires-lexical-category constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Symbol_Translate.svg/14px-Symbol_Translate.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Symbol_Translate.svg/21px-Symbol_Translate.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Symbol_Translate.svg/28px-Symbol_Translate.svg.png 2x" data-file-width="180" data-file-height="185"/></span></span> <a href="/wiki/Q108139345" title="Q108139345">label in language constraint</a></li> <li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Symbol_Translate.svg/14px-Symbol_Translate.svg.png" decoding="async" width="14" height="14" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Symbol_Translate.svg/21px-Symbol_Translate.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Symbol_Translate.svg/28px-Symbol_Translate.svg.png 2x" data-file-width="180" data-file-height="185"/></span></span> <a href="/wiki/Q111204896" title="Q111204896">description in language constraint</a></li></ul> </div></td></tr><tr style="height:2px"><td colspan="2"></td></tr><tr><th scope="row" class="navbox-group" style="background: #CDDDDD; padding-left: 1em; padding-right: 1em; text-align: right; font-size: 11px;"><a href="/wiki/Wikidata:Database_reports/Constraint_violations" title="Wikidata:Database reports/Constraint violations">Constraint violation</a></th><td class="navbox-list navbox-odd hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px;background: #EFFFFF; text-align: left/center; font-size: 12px;"><div style="padding:0em 0.25em"><a href="/wiki/Category:Constraint_violation_reports" title="Category:Constraint violation reports">Category:Constraint violation reports</a> (<a href="/wiki/Wikidata:Database_reports/Constraint_violations/Summary" title="Wikidata:Database reports/Constraint violations/Summary">Summary</a>)</div></td></tr><tr style="height:2px"><td colspan="2"></td></tr><tr><th scope="row" class="navbox-group" style="background: #CDDDDD; padding-left: 1em; padding-right: 1em; text-align: right; font-size: 11px;"><a href="/wiki/Template:Complex_constraint" title="Template:Complex constraint">Complex constraints</a></th><td class="navbox-list navbox-even hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px;background: #EFFFFF; text-align: left/center; font-size: 12px;"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Category:Complex_constraint_violation_reports" title="Category:Complex constraint violation reports">Category:Complex constraint violation reports</a> (<a href="/wiki/Wikidata:Database_reports/Complex_constraints" title="Wikidata:Database reports/Complex constraints">Overview</a>)</li> <li><a href="/wiki/Help:Property_constraints_portal/Value_label" title="Help:Property constraints portal/Value label">complex constraint value label</a></li> <li><a href="/wiki/Help:Property_constraints_portal/Recency" title="Help:Property constraints portal/Recency">complex constraint recency</a></li> <li><a href="/wiki/Help:Property_constraints_portal/Label_language" title="Help:Property constraints portal/Label language">complex constraint label language</a></li> <li><a href="/wiki/Help:Property_constraints_portal/Value_label_template" title="Help:Property constraints portal/Value label template">complex constraint value label template</a></li></ul> </div></td></tr><tr style="height:2px"><td colspan="2"></td></tr><tr><td class="navbox-abovebelow" colspan="2"><div>See also: <a href="/wiki/Wikidata:WikiProject_property_constraints" title="Wikidata:WikiProject property constraints">Wikidata:WikiProject property constraints</a> - <a href="/wiki/Wikidata:WikiProject_Properties" title="Wikidata:WikiProject Properties">Wikidata:WikiProject Properties</a> - <a href="/wiki/Wikidata:WikiProject_Ontology" title="Wikidata:WikiProject Ontology">Wikidata:WikiProject Ontology</a> - <a href="/wiki/Wikidata:WikiProject_Counter-Vandalism" title="Wikidata:WikiProject Counter-Vandalism">Wikidata:WikiProject Counter-Vandalism</a></div></td></tr></tbody></table></td></tr></tbody></table> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐6df7948d6c‐b8ssl Cached time: 20241127151455 Cache expiry: 2592000 Reduced expiry: false Complications: [show‐toc] DiscussionTools time usage: 0.033 seconds CPU time usage: 0.721 seconds Real time usage: 1.239 seconds Preprocessor visited node count: 9841/1000000 Post‐expand include size: 88363/2097152 bytes Template argument size: 14029/2097152 bytes Highest expansion depth: 24/100 Expensive parser function count: 15/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 12518/5000000 bytes Lua time usage: 0.248/10.000 seconds Lua memory usage: 3566112/52428800 bytes Number of Wikibase entities loaded: 3/500 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 785.285 1 -total 41.83% 328.470 165 Template:Label 24.40% 191.596 1 Template:C 24.10% 189.233 65 Template:P 17.85% 140.160 7 Template:Format 16.39% 128.739 1 Template:Property_constraints 15.44% 121.270 1 Template:Navbox 11.22% 88.119 27 Template:Q 10.71% 84.077 3 Template:P' 9.94% 78.076 12 Template:Ll --> <!-- Saved in parser cache with key wikidatawiki:pcache:idhash:31597363-0!canonical and timestamp 20241127151455 and revision id 2109688358. 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=Help:Property_constraints_portal&oldid=2109688358">https://www.wikidata.org/w/index.php?title=Help:Property_constraints_portal&oldid=2109688358</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Special:Categories" title="Special:Categories">Categories</a>: <ul><li><a href="/wiki/Category:Pages_using_the_JsonConfig_extension" title="Category:Pages using the JsonConfig extension">Pages using the JsonConfig extension</a></li><li><a href="/wiki/Category:Help:Properties" title="Category:Help:Properties">Help:Properties</a></li><li><a href="/wiki/Category:Help-en" title="Category:Help-en">Help-en</a></li></ul></div></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=Help%3AProperty+constraints+portal" 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=Help%3AProperty+constraints+portal" 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-help" class="selected mw-list-item"><a href="/wiki/Help:Property_constraints_portal" title="View the help page [c]" accesskey="c"><span>Help page</span></a></li><li id="ca-talk" class="mw-list-item"><a href="/wiki/Help_talk:Property_constraints_portal" rel="discussion" title="Discussion about the content page [t]" accesskey="t"><span>Discussion</span></a></li> </ul> </div> </nav> <nav id="p-variants" class="mw-portlet mw-portlet-variants emptyPortlet vector-menu-dropdown vector-menu" aria-labelledby="p-variants-label" > <input type="checkbox" id="p-variants-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-variants" class="vector-menu-checkbox" aria-labelledby="p-variants-label" > <label id="p-variants-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">English</span> </label> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </nav> </div> <div id="right-navigation"> <nav id="p-views" class="mw-portlet mw-portlet-views vector-menu-tabs vector-menu-tabs-legacy vector-menu" aria-labelledby="p-views-label" > <h3 id="p-views-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Views</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected mw-list-item"><a href="/wiki/Help:Property_constraints_portal"><span>Read</span></a></li><li id="ca-edit" class="mw-list-item"><a href="/w/index.php?title=Help:Property_constraints_portal&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=Help:Property_constraints_portal&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/Help:Property_constraints_portal" 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/Help:Property_constraints_portal" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q"><span>Special pages</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Help:Property_constraints_portal&oldid=2109688358" 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=Help:Property_constraints_portal&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%2FHelp%3AProperty_constraints_portal"><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%2FHelp%3AProperty_constraints_portal"><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=Help%3AProperty+constraints+portal"><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=Help%3AProperty_constraints_portal&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=Help:Property_constraints_portal&printable=yes" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </nav> <nav id="p-wikibase-otherprojects" class="mw-portlet mw-portlet-wikibase-otherprojects vector-menu-portal portal vector-menu" aria-labelledby="p-wikibase-otherprojects-label" > <h3 id="p-wikibase-otherprojects-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">In other projects</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q107660706" title="Link to connected data repository item [g]" accesskey="g"><span>Wikidata item</span></a></li> </ul> </div> </nav> <nav id="p-lang" class="mw-portlet mw-portlet-lang vector-menu-portal portal vector-menu" aria-labelledby="p-lang-label" > <h3 id="p-lang-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">In Wikipedia</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-add wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q107660706#sitelinks-wikipedia" title="Add interlanguage links" class="wbc-editpage">Add links</a></span></div> </div> </nav> </div> </div> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> This page was last edited on 24 March 2024, at 08:20.</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=Help:Property_constraints_portal&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-6df7948d6c-btff9","wgBackendResponseTime":125,"wgDiscussionToolsPageThreads":[{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Popular_constraint_types","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Datatype-independent_constraints","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Constraints_to_restrict_where_a_property_may_be_added-Datatype-independent_constraints","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Constraints_regarding_the_number_of_values-Datatype-independent_constraints","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Constraints_regarding_qualifiers-Datatype-independent_constraints","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Constraints_regarding_references-Datatype-independent_constraints","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Datatype-specific_constraints","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Constraints_for_datatype_item/entity-Datatype-specific_constraints","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Constraints_for_Quantity-Datatype-specific_constraints","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Constraints_for_Time-Datatype-specific_constraints","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Constraints_for_string-based_datatypes-Datatype-specific_constraints","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Constraints_for_Commons_links-Datatype-specific_constraints","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Constraints_alphabetically","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Usage_instructions","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Constraint_type_items","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Constraint_statements_on_properties","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Constraint_parameters-Constraint_statements_on_properties","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-When_constraints_aren’t_checked","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Custom_constraints","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-See_also","replies":[]}],"wgPageParseReport":{"discussiontools":{"limitreport-timeusage":"0.033"},"limitreport":{"cputime":"0.721","walltime":"1.239","ppvisitednodes":{"value":9841,"limit":1000000},"postexpandincludesize":{"value":88363,"limit":2097152},"templateargumentsize":{"value":14029,"limit":2097152},"expansiondepth":{"value":24,"limit":100},"expensivefunctioncount":{"value":15,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":12518,"limit":5000000},"entityaccesscount":{"value":3,"limit":500},"timingprofile":["100.00% 785.285 1 -total"," 41.83% 328.470 165 Template:Label"," 24.40% 191.596 1 Template:C"," 24.10% 189.233 65 Template:P"," 17.85% 140.160 7 Template:Format"," 16.39% 128.739 1 Template:Property_constraints"," 15.44% 121.270 1 Template:Navbox"," 11.22% 88.119 27 Template:Q"," 10.71% 84.077 3 Template:P'"," 9.94% 78.076 12 Template:Ll"]},"scribunto":{"limitreport-timeusage":{"value":"0.248","limit":"10.000"},"limitreport-memusage":{"value":3566112,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-6df7948d6c-b8ssl","timestamp":"20241127151455","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>