Property talk:P2012

From Wikidata
Jump to navigation Jump to search

Documentation

cuisine
type of food served by a restaurant or restaurant chain or national food culture
[create Create a translatable help page (preferably in English) for this property to be included here]
Value type “cuisine (Q1778821): This property should use items as value that contain property “instance of (P31), subclass of (P279)”. On these, the value for instance of (P31), subclass of (P279) should be an item that uses subclass of (P279) with value cuisine (Q1778821) (or a subclass thereof). (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/P2012#Value type Q1778821, SPARQL
Scope is as main value (Q54828448): the property must be used by specified way only (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/P2012#Scope, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (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/P2012#Entity types
Property “culture (P2596)” declared by target items of “cuisine (P2012): If [item A] has this property with value [item B], [item B] is required to have property “culture (P2596)”. (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/P2012#Target required claim P2596, SPARQL, SPARQL (by value)

Use this property for dishes?[edit]

The property was intended to be used for restaurants. However, it seems that many have used it on food/dish items (e.g. pizza (Q177)cuisine (P2012)Italian cuisine (Q192786)), and actually some Wikipedias have already used it on food infoboxs (e.g. ky:Калып:Тамак). Should we extend the scope of this property? --Stevenliuyi (talk) 22:08, 28 April 2021 (UTC)[reply]

Notified participants of WikiProject Food --Stevenliuyi (talk) 22:09, 28 April 2021 (UTC)[reply]
Comment Another note: the constraints on culture (P2596) have already been prompting people to use this property for food dishes instead of that one for a while. Middle river exports (talk) 13:58, 5 September 2022 (UTC)[reply]