Wikidata:Property proposal/property scope

From Wikidata
Jump to navigation Jump to search

property scope

[edit]

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 qualifier (Q54828449), as reference (Q54828450)
ExampleVIAF ID (P214)property constraint (P2302)property scope constraint (Q53869507) with qualifiers "property scope" → as main value (Q54828448) and "property scope" → as reference (Q54828450)
Planned usestreamline property constraints system; see also: Wikidata talk:WikiProject property constraints#Change of format for scope constraints

Motivation

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
MisterSynergy
John Samuel
Sannita
Yair rand
Jon Harald Søby
Pasleim
Jura
PKM
ChristianKl
Sjoerddebruin
Fralambert
Manu1400
Was a bee
Malore
Ivanhercaz
Peter F. Patel-Schneider
Pizza1016
Ogoorcs
ZI Jony
Eihel
cdo256
Epìdosis
Dhx1
99of9
Mathieu Kappler
Lectrician1
SM5POR
Infrastruktur
Samoasambia

Notified participants of WikiProject property constraintsMisterSynergy (talk) 13:11, 6 June 2018 (UTC)[reply]

Discussion

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