Wikidata:Property proposal/beer color
Jump to navigation
Jump to search
beer color[edit]
Originally proposed at Wikidata:Property proposal/Natural science
Description | color of beer in Standard Reference Method |
---|---|
Represents | Standard Reference Method (Q3267724) |
Data type | Quantity |
Domain | beer style |
Allowed values | <50 |
Example 1 | India Pale Ale (Q1543214) → 10±4 |
Example 2 | cream ale (Q5183358) → 3.75±1.25 |
Robot and gadget jobs | Uncertain |
See also | beer bitterness (P6088) |
Motivation[edit]
Although Wikipedia provides few examples about this, there may be good external sources. GZWDer (talk) 23:03, 3 September 2018 (UTC)
Discussion[edit]
- Comment there is more than one method to measure beer color, so there should be determination method (P459) as an obligatory qualifier, if this property is approved. Wostr (talk) 01:01, 4 September 2018 (UTC)
- Support David (talk) 07:28, 4 September 2018 (UTC)
- Comment GZWDer The values in your examples appear to always be a range; also you've used "Number" rather than "Quantity" as the datatype. If there are limited allowed values maybe an Item datatype would be better? Quantity does support ranges via the error-bar mechanism, but it would not display as you've shown but rather be 10 +- 4 (in the first case) - is this ok? ArthurPSmith (talk) 17:55, 4 September 2018 (UTC)
- I admits quantity is not quite suitable for this usage. We can use qualifier to indicate bounds, but this will make the model complicated. For item: we may create (use) item for all possible values, but beer color is not measured as integers, so this probably does not make sense. creating items for ranges is worse. Probably we need two property for upper and lower bound.--GZWDer (talk) 18:01, 4 September 2018 (UTC)
- How about using a string and a regular expression [0-9.]{1,5}-[0-9.]{1,5} or more advanced one ([0-9]|[1-9][0-9]])(.[0-9])?-([0-9]|[0-9][0-9]])(.[0-9])?(\+)? Germartin1 (talk) 16:34, 21 September 2018 (UTC)
- @GZWDer, ArthurPSmith, Cwf97: Another idea, using the middle value with a ± sign (India Pale Ale (Q1543214) → 10±4) Germartin1 (talk) 20:56, 2 October 2018 (UTC)
- Support Cwf97 (talk) 19:28, 17 September 2018 (UTC)
- Support Good idea Germartin1 (talk) 16:34, 21 September 2018 (UTC)
- @GZWDer, ArthurPSmith, Cwf97: I'm changing it to quantity, qualifiers like lower limit and upper limit can be used later. (GZWDer hasn't been active for 1,5 months). If there is another idea let me know. Germartin1 (talk) 08:03, 4 November 2018 (UTC)
@ديفيد عادل وهبة خليل 2, Wostr, GZWDer, ArthurPSmith, Germartin1, Cwf97: Done: beer color (P6089). − Pintoch (talk) 10:46, 6 November 2018 (UTC)