Help:Property constraints portal/Qualifiers

From Wikidata
Jump to navigation Jump to search
Translate this page;
Other languages:
Deutsch • ‎English • ‎français • ‎polski • ‎русский • ‎српски / srpski • ‎العربية • ‎日本語

This page contains changes. Please contact a translation admin to mark them for translation.


Other languages:
Deutsch • ‎English • ‎français • ‎polski • ‎русский • ‎српски / srpski • ‎العربية • ‎日本語
Pictogram reply soft green.svg

allowed qualifiers constraint (Q21510851) specifies that only a certain set of qualifiers may be used with a property. To specify required qualifiers, use mandatory qualifiers constraint.

For example, the only qualifiers valid for musical conductor (P3300) are start time (P580) and end time (P582).

This constraint can only be checked on the main value of a statement; if any other constraint scope (P4680) is specified, an error is reported.

Possible actions[edit]

There are several possible ways to address a violation of this constraint:

  • It’s possible that the qualifier is not the correct one to use for the statement, and a similar but different property should be used instead. Check the list of permitted qualifiers for an applicable property.
  • It’s possible that the statement should not have the qualifier at all, and that the qualifier should be removed.
  • It’s possible that the statement is a rare, but legitimate exception to the constraint, and nothing should be done.

Parameters[edit]

This constraint has one mandatory parameter:

property (P2306)
Contains the permitted qualifiers. Must contain one or more properties, or a single no value Help to specify that statements for this property should not have any qualifiers. (unknown value Help is not permitted.)

Examples[edit]

Example 1[edit]

For example, valid qualifier for students count (P2196) is point in time.

property constraint
Normal rank allowed qualifiers constraint Arbcom ru editing.svg edit
property point in time
▼ 0 reference
+ add reference
+ add value

Example 2 - no qualifiers allowed[edit]

Setting for no qualifiers allowed. no value specify that statements for this property should not have any qualifiers. "no value" is added to statements by clicking on the icon beside the value field that looks like this Wikidata snak icon.png.

property constraint
Normal rank allowed qualifiers constraint Arbcom ru editing.svg edit
property no value
▼ 0 reference
+ add reference
+ add value

Template[edit]

When the constraint is set to the property, the following template is automatically displayed in the property talk page. The template is created by Module:Constraints using Template:Constraint, invoked from Template:Property documentation. Translations are defined at Module:i18n/constraints.

Qualifiers “start time (P580), end time (P582), end cause (P1534): this property should be used only with the listed qualifiers. (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P286#Allowed qualifiers, SPARQL, SPARQL (new)

Lists[edit]

Lists of properties which are set allowed qualifiers constraint.