Help:Property constraints portal/Scope

From Wikidata
Jump to navigation Jump to search
Pictogram reply soft green.svg

property scope constraint (Q53869507) specifies how to use the property: for the main value of a statement, in a reference or as qualifier. You can specify single usage, for example for the main value of a statement only. Or multiple usage, for example: for the main value and in reference section.

This constraint applies to most properties, e. g. head of government (P6), P22 (P22), mother (P25), Freebase ID (P646), etc.

Possible actions[edit]

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

  • It is possible that.... (Someone please write this part)
  • It is possible that....

Parameters[edit]

This constraint has one mandatory parameter:

property scope (P5314)
Acceptable values are as main value (Q54828448), as qualifiers (Q54828449) and as references (Q54828450). You can specify one or multiple values.

Examples[edit]

Example 1[edit]

property constraint
Normal rank property scope constraint Arbcom ru editing.svg edit
property scope as main value
▼ 0 reference
+ add reference
+ add value

Example 2[edit]

In case where property should only be used as qualifier or in references. This constraint fails only when the property is used directly on items.

property constraint
Normal rank property scope constraint Arbcom ru editing.svg edit
property scope as references
as qualifiers
▼ 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.

Scope is: the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P1065#scope, SPARQL (new)

Lists[edit]

Lists of properties which are set scope constraint.