Open main menu

Wikidata:Property proposal/property scope

property scopeEdit

Originally proposed at Wikidata:Property proposal/Generic

   Done: property scope (P5314) (Talk and documentation)
Descriptionconstraint system qualifier to define the scope of a property
Representsproperty scope constraint (Q53869507)
Data typeItem
DomainWikidata property (Q18616576) (in the constraints section as a qualifier to property constraint (P2302)property scope constraint (Q53869507) claims)
Allowed valuesas main value (Q54828448), as qualifiers (Q54828449), as references (Q54828450)
ExampleVIAF ID (P214)property constraint (P2302)property scope constraint (Q53869507) with qualifiers "property scope" → as main value (Q54828448) and "property scope" → as references (Q54828450)
Planned usestreamline property constraints system; see also: Wikidata talk:WikiProject property constraints#Change of format for scope constraints


To restrict the use of properties to certain scopes, we use constraint types used for values only constraint (Q21528958), used as qualifier constraint (Q21510863), and used as reference constraint (Q21528959) for quite a while now. These values are to be used directly as main values for the property constraint (P2302) property on property pages. However, they have some inherent exclusiveness which makes it difficult to permit 2-out-of-3 scenarios (such as main value + qualifier, but not reference). This model has been defined in November 2015.

Recently, another model emerged which tries to address the described issues of the old model. A new property constraint property scope constraint (Q53869507) was proposed by Ivan A. Krestinin, in which the permitted uses should be added as qualifiers with the hereby proposed property "property scope" (see example in the box above). The intended behavior is:

It is worth to mention here that there has been work and dispute in this story, mainly regarding procedural issues regarding this switch—not regarding our opinion about the old and new model. Full story at Wikidata talk:WikiProject property constraints#Change of format for scope constraints. WMDE has expressed some sympathy for the new approach (see that topic as well), but right now both, the old and the new model, are in use in properties. Unfortunately, for the new model some constraint-related items had been repurposed in the meantime, so that there was some confusion how to excape from this unpleasant situation. It is generally accepted among the participants of the linked discussion that either the old or the new model should be marked deprecated once there is a clear comparison possible. The deprecated model will be faded out then, with enough time for tool devs to adapt the better model. However, to evaluate the advantages of both models, they need to be set up in parallel for a while.

@Ivan A. Krestinin, Lucas Werkmeister (WMDE)
Jarekt - mostly interested in properties related to Commons
John Samuel
Yair rand
Jon Harald Søby
Was a bee
Peter F. Patel-Schneider
ZI Jony
  Notified participants of WikiProject property constraintsMisterSynergy (talk) 13:11, 6 June 2018 (UTC)


  •   Support (as proposer) —MisterSynergy (talk) 13:11, 6 June 2018 (UTC)
  •   Comment I personally support this model, and I think we can implement this soon in WikibaseQualityConstraints once the migration has been decided, but as a WMDE employee I’ll recuse myself from an actual {{Support}}. --Lucas Werkmeister (WMDE) (talk) 14:59, 6 June 2018 (UTC)
  •   Support - PKM (talk) 18:46, 6 June 2018 (UTC)
  •   Support -Fralambert (talk) 22:11, 6 June 2018 (UTC)
  •   Support, thanks a lot for pushing this forward − Pintoch (talk) 08:22, 7 June 2018 (UTC)
  •   Support David (talk) 13:00, 7 June 2018 (UTC)

@MisterSynergy, Fralambert, Pintoch, ديفيد عادل وهبة خليل 2, PKM, Lucas Werkmeister (WMDE):   Done: property scope (P5314). − Pintoch (talk) 09:10, 14 June 2018 (UTC)