Property talk:P2316
Jump to navigation
Jump to search
Documentation
constraint status
qualifier to define a property constraint in combination with P2302. Use values "mandatory constraint" or "suggestion constraint"
qualifier to define a property constraint in combination with P2302. Use values "mandatory constraint" or "suggestion constraint"
Represents | Wikidata constraint status (Q116690561) | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Data type | Item | |||||||||
Domain | qualifier for property constraint (P2302) (note: this should be moved to the property statements) | |||||||||
Allowed values | mandatory constraint (Q21502408) or suggestion constraint (Q62026391) | |||||||||
Usage notes | To make a constraint optional, set the constraint claim with the qualifier constraint status: suggestion constraint (P2316:Q62026391). To make a constraint mandatory, and have it show up on the list Wikidata:Database reports/Constraint violations/Mandatory constraints/Violations, set the constraint claim with the qualifier constraint status: mandatory constraint (P2316:Q21502408). | |||||||||
Example | property scope constraint (Q53869507) → mandatory constraint (Q21502408) distinct-values constraint (Q21502410) → suggestion constraint (Q62026391) | |||||||||
Lists | ||||||||||
Proposal discussion | Proposal discussion | |||||||||
Current uses |
| |||||||||
Search for values |
[create Create a translatable help page (preferably in English) for this property to be included here]
Scope is as qualifier (Q54828449): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P2316#Scope, hourly updated report, SPARQLOne of mandatory constraint (Q21502408), suggestion constraint (Q62026391): value must be one of the specified items. Please expand list if needed. (Help)
List of violations of this constraint: Database reports/Constraint violations/P2316#One of, values statistics, hourly updated report, search, SPARQLAllowed entity types are Wikibase property (Q29934218): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P2316#Entity types
|
|
Title | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
property constraint | P2302 | Item | property constraint: constraint applicable to a Wikidata property | IMDb ID <property constraint> distinct-values constraint | - |
exception to constraint | P2303 | Item | item that is an exception to the constraint, qualifier to define a property constraint in combination with P2302 | IUCN conservation status <exception to constraint> Varia jamoerensis | - |
group by | P2304 | Property | GROUP BY: qualifier to define a property constraint in combination with P2302 (Wikidata property constraint) that is used to group constraint violations in constraint violation reports | → Property talk:P2304 | - |
item of property constraint | P2305 | Item | allowed-entity-types constraint: qualifier to define a property constraint in combination with "property constraint" (P2302) | mass <item of property constraint> kilogram | - |
property | P2306 | Property | Wikidata property: qualifier to define a property constraint in combination with P2302 (property constraint), or to limit the scope of Q44292881 (wikidata statement) | → Property talk:P2306 | - |
Wikimedia Commons namespace | P2307 | String | qualifier used with the Commons link property constraint (Q21510852) to specify acceptable Wikimedia Commons namespaces that a property value can link to | → Property talk:P2307 | - |
class | P2308 | Item | class: qualifier to define a property constraint in combination with "property constraint" (P2302) | → Property talk:P2308 | - |
relation | P2309 | Item | relation and relation: qualifier to define a property constraint in combination with P2302. Possibly values are: "instance of", "subclass of" or "instance or subclass of". The qualifier to use with the property "relative" is "type of kinship" (P1039), not this | → Property talk:P2309 | - |
minimum date (property constraint) | P2310 | Point in time | qualifier to define a property constraint in combination with "property constraint" (P2302) | → Property talk:P2310 | - |
maximum date (property constraint) | P2311 | Point in time | qualifier to define a property constraint in combination with "property constraint" (P2302). Use "unknown value" for current date. | → Property talk:P2311 | - |
maximum value | P2312 | Quantity | maximum: qualifier indicating the lowest possible value of a quantity. "no value" can be used to specify no upper bound | range constraint <maximum value> 1,234 | - |
minimum value | P2313 | Quantity | minimum: qualifier indicating the lowest possible value of a quantity | range constraint <minimum value> 0 | - |
format as a regular expression | P1793 | String | regular expression: regex describing an identifier or a Wikidata property. When using on property constraints, ensure syntax is a PCRE | ISO 639-3 <format as a regular expression> [a-z]{3} and IMDb ID <format as a regular expression> ev\d{7}\/\d{4}(-\d)?|(ch|co|ev|nm|tt)\d{7} | - |
constraint status | P2316 | Item | Wikidata constraint status: qualifier to define a property constraint in combination with P2302. Use values "mandatory constraint" or "suggestion constraint" | property scope constraint <constraint status> mandatory constraint | - |
syntax clarification | P2916 | Monolingual text | syntax: qualifier for P1793 (regular expression): to provide a textual description of the regex syntax of a value. Should be displayable after the text "The value for the property should match" and be followed by the regex. | Yandex Music artist ID <syntax clarification> numerisk streng, 1 til 7 tall | - |
Interaction with mandatory constraint (Q21502408)
[edit]Is this meant to slowly phase out mandatory constraint (Q21502408)/required qualifier constraint (Q21510856) in favour of ones without "mandatory" in the title? /André Costa (WMSE) (talk) 09:58, 22 January 2020 (UTC)