Page MenuHomePhabricator

How to represent boolean data (new datatype for Wikidata?)
Closed, DeclinedPublic

Description

Occasionally, a possible boolean datatype is mentioned ( https://en.wikipedia.org/wiki/Boolean_data_type ).

The alternative currently suggested is: item-datatype with specific items for applicable values.

On Wikidata: https://www.wikidata.org/wiki/Help:Data_type#Boolean

Event Timeline

Esc3300 created this task.Sep 13 2016, 3:42 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 13 2016, 3:42 PM
Izno added a subscriber: Izno.Sep 13 2016, 5:17 PM

Boolean is rarely useful for actually modeling information. We can tell more by linking to certain items. Example off the cuff: A "wifi" property was proposed as boolean. Instead, a "network" with the possibly types of network (wifi, ethernet, etc.) could have been proposed, since, lastly, we also have the special value "noValue" for cases where a location does not have network connectivity.

Where needed (and I struggle to think of a valid case), we could do this with specific items.

This task should be declined.

Item-datatype should do, but I don't think there is a ticket that states that ;)

Lydia_Pintscher closed this task as Declined.Sep 13 2016, 6:28 PM
Lydia_Pintscher added a subscriber: Lydia_Pintscher.

Then let's make it this one :)

I agree that most cases are likely even better served by using items.