User:Was a bee/ConstraintTemplate

From Wikidata
Jump to navigation Jump to search

Test area[edit]

↓↓↓↓

Single value: this property generally contains a single value. (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/P1323#Single value, SPARQL

↑↑↑↑


↓↓↓↓

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/P1323#Type Q27043950, Q96482377, SPARQL

↑↑↑↑


↓↓↓↓

Error: allowed units constraint (Q21514353) is not defined at Terminologia Anatomica 98 ID (P1323).

↑↑↑↑


↓↓↓↓

Error: Property:P1 doesn't exist.

↑↑↑↑

Links[edit]


Commons link[edit]

{{Constraint:Commons link}}

Link to Commons namespace “{{{namespace}}}”: this property should contain a well-formed link to an existing page on Wikimedia Commons.
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/Was a bee/ConstraintTemplate#Commons link
{{Constraint
|image       = [[File:Pictogram voting commons logo.svg|40px|link=Template:Constraint:Commons link]]
|name        = {{#invoke:Constraints|getCaption    |commons|{{{namespace}}}}}
|description = {{#invoke:Constraints|getDescription|commons}}
|anchor      = " .. getConstraintAnchor(constraint, constraint_entity) .. 
|exceptions  = " .. getExceptions(constraint) ..
|mandatory   = " .. isMandatoryConstraint(constraint) ..
|additional_report = " .. (data.query or '') ..
}}
Link to Commons namespace “{{{namespace}}}”: this property should contain a well-formed link to an existing page on Wikimedia Commons.
"exceptions" is incompatible with "mandatory" parameter List of violations of this constraint: Database reports/Constraint violations/Was a bee/ConstraintTemplate#" .. getConstraintAnchor(constraint, constraint_entity) .., hourly updated report, " .. (data.query or ) ..

Conflict with[edit]

{{Constraint:Conflicts with}}

Conflicts with “{{{list}}}”: this property must not be used with the listed properties and values.
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/Was a bee/ConstraintTemplate#Conflicts with

{{Constraint:Contemporary}}

Contemporaries:
if [item A] has this property (Was a bee/ConstraintTemplate) linked to [item B],
then [item A] and [item B] have to coincide or coexist at some point of history.
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/Was a bee/ConstraintTemplate#Contemporary, a bee/ConstraintTemplate%20%3Fvalue%20.%20OPTIONAL%20%7B%20%3Fsubject%20p%3AP569%2Fpsv%3AP569%20%5B%20wikibase%3AtimeValue%20%3Fsubject_birth%20%3B%20wikibase%3AtimePrecision%20%2211%22%5E%5Exsd%3Ainteger%20%5D%20.%20%7D%20OPTIONAL%20%7B%20%3Fvalue%20p%3AP569%2Fpsv%3AP569%20%5B%20wikibase%3AtimeValue%20%3Fvalue_birth%20%3B%20wikibase%3AtimePrecision%20%2211%22%5E%5Exsd%3Ainteger%20%5D%20.%20%7D%20OPTIONAL%20%7B%20%3Fsubject%20p%3AP571%2Fpsv%3AP571%20%5B%20wikibase%3AtimeValue%20%3Fsubject_inception%20%3B%20wikibase%3AtimePrecision%20%2211%22%5E%5Exsd%3Ainteger%20%5D%20.%20%7D%20OPTIONAL%20%7B%20%3Fvalue%20p%3AP571%2Fpsv%3AP571%20%5B%20wikibase%3AtimeValue%20%3Fvalue_inception%20%3B%20wikibase%3AtimePrecision%20%2211%22%5E%5Exsd%3Ainteger%20%5D%20.%20%7D%20OPTIONAL%20%7B%20%3Fsubject%20p%3AP580%2Fpsv%3AP580%20%5B%20wikibase%3AtimeValue%20%3Fsubject_start%20%3B%20wikibase%3AtimePrecision%20%2211%22%5E%5Exsd%3Ainteger%20%5D%20.%20%7D%20OPTIONAL%20%7B%20%3Fvalue%20p%3AP580%2Fpsv%3AP580%20%5B%20wikibase%3AtimeValue%20%3Fvalue_start%20%3B%20wikibase%3AtimePrecision%20%2211%22%5E%5Exsd%3Ainteger%20%5D%20.%20%7D%20OPTIONAL%20%7B%20%3Fsubject%20p%3AP570%2Fpsv%3AP570%20%5B%20wikibase%3AtimeValue%20%3Fsubject_death%20%3B%20wikibase%3AtimePrecision%20%2211%22%5E%5Exsd%3Ainteger%20%5D%20.%20%7D%20OPTIONAL%20%7B%20%3Fvalue%20p%3AP570%2Fpsv%3AP570%20%5B%20wikibase%3AtimeValue%20%3Fvalue_death%20%3B%20wikibase%3AtimePrecision%20%2211%22%5E%5Exsd%3Ainteger%20%5D%20.%20%7D%20OPTIONAL%20%7B%20%3Fsubject%20p%3AP576%2Fpsv%3AP576%20%5B%20wikibase%3AtimeValue%20%3Fsubject_dissolution%20%3B%20wikibase%3AtimePrecision%20%2211%22%5E%5Exsd%3Ainteger%20%5D%20.%20%7D%20OPTIONAL%20%7B%20%3Fvalue%20p%3AP576%2Fpsv%3AP576%20%5B%20wikibase%3AtimeValue%20%3Fvalue_dissolution%20%3B%20wikibase%3AtimePrecision%20%2211%22%5E%5Exsd%3Ainteger%20%5D%20.%20%7D%20OPTIONAL%20%7B%20%3Fsubject%20p%3AP582%2Fpsv%3AP582%20%5B%20wikibase%3AtimeValue%20%3Fsubject_end%20%3B%20wikibase%3AtimePrecision%20%2211%22%5E%5Exsd%3Ainteger%20%5D%20.%20%7D%20OPTIONAL%20%7B%20%3Fvalue%20p%3AP582%2Fpsv%3AP582%20%5B%20wikibase%3AtimeValue%20%3Fvalue_end%20%3B%20wikibase%3AtimePrecision%20%2211%22%5E%5Exsd%3Ainteger%20%5D%20.%20%7D%20FILTER%20%28%28%21BOUND%28%3Fsubject_birth%29%20%7C%7C%20%28%28%21BOUND%28%3Fvalue_death%29%20%7C%7C%20%3Fsubject_birth%3E%3Fvalue_death%29%20%26%26%20%28%21BOUND%28%3Fvalue_dissolution%29%20%7C%7C%20%3Fsubject_birth%3E%3Fvalue_dissolution%29%20%26%26%20%28%21BOUND%28%3Fvalue_end%29%20%7C%7C%20%3Fsubject_birth%3E%3Fvalue_end%29%29%29%20%26%26%20%28%21BOUND%28%3Fvalue_birth%29%20%7C%7C%20%28%28%21BOUND%28%3Fsubject_death%29%20%7C%7C%20%3Fvalue_birth%3E%3Fsubject_death%29%20%26%26%20%28%21BOUND%28%3Fsubject_dissolution%29%20%7C%7C%20%3Fvalue_birth%3E%3Fsubject_dissolution%29%20%26%26%20%28%21BOUND%28%3Fsubject_end%29%20%7C%7C%20%3Fvalue_birth%3E%3Fsubject_end%29%29%29%20%26%26%20%28%21BOUND%28%3Fsubject_inception%29%20%7C%7C%20%28%28%21BOUND%28%3Fvalue_death%29%20%7C%7C%20%3Fsubject_inception%3E%3Fvalue_death%29%20%26%26%20%28%21BOUND%28%3Fvalue_dissolution%29%20%7C%7C%20%3Fsubject_inception%3E%3Fvalue_dissolution%29%20%26%26%20%28%21BOUND%28%3Fvalue_end%29%20%7C%7C%20%3Fsubject_inception%3E%3Fvalue_end%29%29%29%20%26%26%20%28%21BOUND%28%3Fvalue_inception%29%20%7C%7C%20%28%28%21BOUND%28%3Fsubject_death%29%20%7C%7C%20%3Fvalue_inception%3E%3Fsubject_death%29%20%26%26%20%28%21BOUND%28%3Fsubject_dissolution%29%20%7C%7C%20%3Fvalue_inception%3E%3Fsubject_dissolution%29%20%26%26%20%28%21BOUND%28%3Fsubject_end%29%20%7C%7C%20%3Fvalue_inception%3E%3Fsubject_end%29%29%29%20%26%26%20%28%21BOUND%28%3Fsubject_start%29%20%7C%7C%20%28%28%21BOUND%28%3Fvalue_death%29%20%7C%7C%20%3Fsubject_start%3E%3Fvalue_death%29%20%26%26%20%28%21BOUND%28%3Fvalue_dissolution%29%20%7C%7C%20%3Fsubject_start%3E%3Fvalue_dissolution%29%20%26%26%20%28%21BOUND%28%3Fvalue_end%29%20%7C%7C%20%3Fsubject_start%3E%3Fvalue_end%29%29%29%20%26%26%20%28%21BOUND%28%3Fvalue_start%29%20%7C%7C%20%28%28%21BOUND%28%3Fsubject_death%29%20%7C%7C%20%3Fvalue_start%3E%3Fsubject_death%29%20%26%26%20%28%21BOUND%28%3Fsubject_dissolution%29%20%7C%7C%20%3Fvalue_start%3E%3Fsubject_dissolution%29%20%26%26%20%28%21BOUND%28%3Fsubject_end%29%20%7C%7C%20%3Fvalue_start%3E%3Fsubject_end%29%29%29%20%26%26%20%28%28BOUND%28%3Fsubject_birth%29%20%26%26%20%28BOUND%28%3Fvalue_death%29%20%7C%7C%20BOUND%28%3Fvalue_dissolution%29%20%7C%7C%20BOUND%28%3Fvalue_end%29%29%29%20%7C%7C%20%28BOUND%28%3Fvalue_birth%29%20%26%26%20%28BOUND%28%3Fsubject_death%29%20%7C%7C%20BOUND%28%3Fsubject_dissolution%29%20%7C%7C%20BOUND%28%3Fsubject_end%29%29%29%20%7C%7C%20%28BOUND%28%3Fsubject_inception%29%20%26%26%20%28BOUND%28%3Fvalue_death%29%20%7C%7C%20BOUND%28%3Fvalue_dissolution%29%20%7C%7C%20BOUND%28%3Fvalue_end%29%29%29%20%7C%7C%20%28BOUND%28%3Fvalue_inception%29%20%26%26%20%28BOUND%28%3Fsubject_death%29%20%7C%7C%20BOUND%28%3Fsubject_dissolution%29%20%7C%7C%20BOUND%28%3Fsubject_end%29%29%29%20%7C%7C%20%28BOUND%28%3Fsubject_start%29%20%26%26%20%28BOUND%28%3Fvalue_death%29%20%7C%7C%20BOUND%28%3Fvalue_dissolution%29%20%7C%7C%20BOUND%28%3Fvalue_end%29%29%29%20%7C%7C%20%28BOUND%28%3Fvalue_start%29%20%26%26%20%28BOUND%28%3Fsubject_death%29%20%7C%7C%20BOUND%28%3Fsubject_dissolution%29%20%7C%7C%20BOUND%28%3Fsubject_end%29%29%29%29%29%20%7D%20LIMIT%20200 SPARQL

{{Constraint:Diff within range}}

Difference with “date of birth (P569)” within range [−∞, +∞]: the difference with property “date of birth (P569)” should be in the range from “−∞” to “+∞”.
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/Was a bee/ConstraintTemplate#Diff within range

{{Constraint:Format}}

Format: value must be formatted using this pattern (PCRE syntax).
{{{pattern}}}
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/Was a bee/ConstraintTemplate#Format

{{Constraint:Inverse}}

Inverse property of “[[Property:P{{property|P{{PROPERTY (P{{property)]]”:
if [item A] has this property (Was a bee/ConstraintTemplate) linked to [item B],
then [item B] should also have property “[[Property:P{{property|P{{PROPERTY (P{{property)]]” linked to [item A].
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/Was a bee/ConstraintTemplate#Inverse, SPARQL

{{Constraint:Item}}

Item: items with this property should also have
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: [[Wikidata:Database reports/Constraint violations/Was a bee/ConstraintTemplate#Item {{{property}}}|Database reports/Constraint violations/Was a bee/ConstraintTemplate#Item {{{property}}}]], SPARQL. Count by value

{{Constraint:Multi value}}

Multi value: this property generally contains two or more values.
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/Was a bee/ConstraintTemplate#Multi value, SPARQL

{{Constraint:One of}}

One of {{{values}}}: value must be one of the specified items. Please expand list if needed.
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/Was a bee/ConstraintTemplate#One of, values statistics

{{Constraint:Qualifier}} Template:Constraint:Qualifier {{Constraint:Qualifiers}}

Qualifiers “{{{list}}}”: this property should be used only with the listed qualifiers.
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/Was a bee/ConstraintTemplate#Qualifiers, SPARQL

{{Constraint:Range}}

Range from “{{{min}}}” to “{{{max}}}”: values should be in the range from “{{{min}}}” to “{{{max}}}”.
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/Was a bee/ConstraintTemplate#Range

{{Constraint:Single value}}

Single value: this property generally contains a single value.
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/Was a bee/ConstraintTemplate#Single value, SPARQL

{{Constraint:Symmetric}}

Symmetric property: if [item A] has this property linked to [item B], then [item B] should also have this property linked to [item A].
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/Was a bee/ConstraintTemplate#Symmetric, SPARQL

{{Constraint:Target required claim}}

Target items of "WAS A BEE/CONSTRAINTTEMPLATE (Was a bee/ConstraintTemplate)" should have a statement with "[[Property:{{{property}}}|PROPERTY:{{{PROPERTY}}} ({{{property}}})]]": If [item A] has this property with value [item B], [item B] is required to have property "[[Property:{{{property}}}|PROPERTY:{{{PROPERTY}}} ({{{property}}})]]"
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: [[Wikidata:Database reports/Constraint violations/Was a bee/ConstraintTemplate#Target required claim {{{property}}}|Database reports/Constraint violations/Was a bee/ConstraintTemplate#Target required claim {{{property}}}]], SPARQL

{{Constraint:Type}}

Type “”: element must contain property Parameter "relation" (empty) is not valid with classes or their subclasses (defined using subclass of (P279))
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/Was a bee/ConstraintTemplate#Type

{{Constraint:Unique value}}

Distinct values: this property likely contains a value that is different from all other items.
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: , SPARQL (every item), SPARQL (by value),

{{Constraint:Units}}

Units: {{{list}}}: value unit must be one of listed
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/Was a bee/ConstraintTemplate#Units

{{Constraint:Value type}}

Value type "": This property should use items as value that contain property Parameter "relation" (empty) is not valid. On these, the value for Parameter "relation" (empty) is not valid should be an item that uses subclass of (P279) with value (or a subclass thereof).
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/Was a bee/ConstraintTemplate#Value type