Property talk:P2312

From Wikidata
Jump to navigation Jump to search

Documentation

maximum value
qualifier indicating the lowest possible value of a quantity. "no value" can be used to specify no upper bound
[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/P2312#Scope, hourly updated report, SPARQL
Type “Wikidata property for quantities (Q52513243): item must contain property “instance of (P31)” with classes “Wikidata property for quantities (Q52513243)” or their subclasses (defined using subclass of (P279)). (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/P2312#Type Q52513243, SPARQL
Allowed entity types are Wikibase item (Q29934200), 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/P2312#Entity types
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/P2312#Item P2302, SPARQL
Minimum quantity value of a "range constraint" or "difference-within-range constraint" must be less than the maximum quantity value of the range
For a range constraint (Q21510860) or difference-within-range constraint (Q21510854), the value of the minimum value (P2313) qualifier must be less than the value of the maximum value (P2312) qualifier. (Help)
Violations query: SELECT ?item ?itemLabel ?constraint ?constraintLabel ?min ?max WHERE { VALUES ?constraint { wd:Q21510860 wd:Q21510854 }. ?item p:P2302 [ps:P2302 ?constraint; pq:P2313 ?min; pq:P2312 ?max]. FILTER (?min >= ?max). SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
List of this constraint violations: Database reports/Complex constraint violations/P2312#Minimum quantity value of a "range constraint" or "difference-within-range constraint" must be less than the maximum quantity value of the range
Minimum date value of a "range constraint" must be less than the maximum date value of the range
For a range constraint (Q21510860), the value of the minimum date (property constraint) (P2310) qualifier must be less than the value of the maximum date (property constraint) (P2311) qualifier. (Help)
Violations query: SELECT ?item ?itemLabel ?min ?max WHERE { ?item p:P2302 [ps:P2302 wd:Q21510860; pq:P2310 ?min; pq:P2311 ?max]. FILTER (?min >= ?max). SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
List of this constraint violations: Database reports/Complex constraint violations/P2312#Minimum date value of a "range constraint" must be less than the maximum date value of the range
Qualifier only valid to use with "range constraint" and "difference-within-range constraint"
This property must only be used as a qualifier for property constraint (P2302) values of range constraint (Q21510860) and difference-within-range constraint (Q21510854). (Help)
Violations query: SELECT ?item ?itemLabel ?constraint ?constraintLabel ?max WHERE { ?item p:P2302 [ps:P2302 ?constraint; pq:P2312 ?max]. FILTER (?constraint NOT IN (wd:Q21510860, wd:Q21510854)). SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
List of this constraint violations: Database reports/Complex constraint violations/P2312#Qualifier only valid to use with "range constraint" and "difference-within-range constraint"
Title ID Data type Description Examples Inverse
property constraintP2302Itemproperty constraint: constraint applicable to a Wikidata propertyIMDb ID <property constraint> distinct-values constraint-
exception to constraintP2303Itemitem that is an exception to the constraint, qualifier to define a property constraint in combination with P2302IUCN conservation status <exception to constraint> Varia jamoerensis-
group byP2304PropertyGROUP BY: qualifier to define a property constraint in combination with P2302 (Wikidata property constraint) that is used to group constraint violations in constraint violation reportsProperty talk:P2304-
item of property constraintP2305Itemallowed-entity-types constraint: qualifier to define a property constraint in combination with "property constraint" (P2302)mass <item of property constraint> kilogram-
propertyP2306PropertyWikidata 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 namespaceP2307Stringqualifier used with the Commons link property constraint (Q21510852) to specify acceptable Wikimedia Commons namespaces that a property value can link toProperty talk:P2307-
classP2308Itemclass: qualifier to define a property constraint in combination with "property constraint" (P2302)Property talk:P2308-
relationP2309Itemrelation 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 thisProperty talk:P2309-
minimum date (property constraint)P2310Point in timequalifier to define a property constraint in combination with "property constraint" (P2302)Property talk:P2310-
maximum date (property constraint)P2311Point in timequalifier to define a property constraint in combination with "property constraint" (P2302). Use "unknown value" for current date.Property talk:P2311-
maximum valueP2312Quantitymaximum: qualifier indicating the lowest possible value of a quantity. "no value" can be used to specify no upper boundrange constraint <maximum value> 1,234-
minimum valueP2313Quantityminimum: qualifier indicating the lowest possible value of a quantityrange constraint <minimum value> 0-
format as a regular expressionP1793Stringregular expression: regex describing an identifier or a Wikidata property. When using on property constraints, ensure syntax is a PCREISO 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 statusP2316ItemWikidata 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 clarificationP2916Monolingual textsyntax: 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-

Why units are not allowed?

[edit]

Why this property constraint can't have units?--Malore (talk) 01:25, 7 May 2018 (UTC)[reply]


Scope

[edit]

See Wikidata:Project_chat#Property:P2313_and_P2312_for_minimum_and_maximum_values_outside_property_constraints. --- Jura 05:16, 28 April 2020 (UTC)[reply]