Community Wishlist Survey 2019/Wikidata/Sort claims of a property by date
Sort claims of a property by date
- Problem: Currently Wikidata do not sort claims of a property and it could cause terrible mess. Many templates on a lot of Wikipedias load their parameters from Wikidata, so there are thousands of articles where parameters (e.g. awards) aren't in ordinal scale (but they should be). Fixing is very hard or almost impossible, because the only way to do it is deleting and re-adding every claims.
- Two examples:
- Sergei Movsesian (Q460020) has more than a thousand ELO rating claims, sorting them without any automatic solution would be impossible.
- Hermann Kövess von Kövessháza (Q78544): a person has won an award (A, B, C, D, E) year by year and the Wikidata item looks like this:
- B (2001)
- C (2002)
- D (2003)
- E (2004)
- Now, if I want to add A (2000), I have to delete all of them, put 'A' to the first place and then add the others.
- Who would benefit: Editors of Wikidata, plus readers of Wikipedias which are using templates loading information from Wikidata.
- Proposed solution: Automatic sorting for some properties like spouse (P26) or award received (P166) etc. with using start time (P580), end time (P582), point in time (P585) and others.
- More comments:
- Phabricator tickets: T173432
- Proposer: Bencemac (talk) 13:47, 31 October 2018 (UTC)
Discussion
- It would be great and will simplify reading of some properties having multiple values. I’ve written a script specifically for software version identifier (P348) but a Wikibase-integrated solution would be better. I just added some ideas in the Phabricator task, basically to allow editors to define themselves the order instead of hardcoding it in Wikibase. ~ Seb35 [^_^] 12:17, 4 November 2018 (UTC)
- After dates, sorting by xsd:integer(series ordinal (P1545)) then raw series ordinal (P1545) would also be useful to add to any default ordering. Jheald (talk) 19:33, 5 November 2018 (UTC)
- Not all properties should be sorted by date. Some, like cast member (P161) should be ordered by series ordinal (P1545) as seen on Star Wars Episode VII: The Force Awakens (Q6074). So perhaps it would be best to allow property values to be sorted by a specific qualifier? This could be added as a statement on the property itself. U+1F360 (talk) 01:20, 8 November 2018 (UTC)
Voting
- Support --Tohaomg (talk) 18:25, 16 November 2018 (UTC)
- Support Libcub (talk) 11:36, 17 November 2018 (UTC)
- Support ديفيد عادل وهبة خليل 2 (talk) 11:48, 17 November 2018 (UTC)
- Support Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:53, 17 November 2018 (UTC)
- Support JAn Dudík (talk) 20:34, 17 November 2018 (UTC)
- Support Metrónomo-Goldwyn-Mayer 21:10, 17 November 2018 (UTC)
- Support Epìdosis 22:51, 17 November 2018 (UTC)
- Support Nickw25 (talk) 23:14, 17 November 2018 (UTC)
- Support MichaelSchoenitzer (talk) 00:47, 18 November 2018 (UTC)
- Support Liuxinyu970226 (talk) 01:27, 18 November 2018 (UTC)
- Support Psychoslave (talk) 04:21, 18 November 2018 (UTC)
- Support Szalax (talk) 08:57, 18 November 2018 (UTC)
- Support Zabia (talk) 10:15, 18 November 2018 (UTC)
- Support Richard Nevell (talk) 10:37, 18 November 2018 (UTC)
- Support Sebastian Wallroth (talk) 10:40, 18 November 2018 (UTC)
- Support Eingangskontrolle (talk) 11:35, 18 November 2018 (UTC)
- Support Wolbo (talk) 12:24, 18 November 2018 (UTC)
- Support Beat Estermann (talk) 16:35, 18 November 2018 (UTC)
- Support — Draceane talkcontrib. 17:25, 18 November 2018 (UTC)
- Support Schwede66 (talk) 17:46, 18 November 2018 (UTC)
- Support Dvorapa (talk) 19:19, 18 November 2018 (UTC)
- Support Needed for sorting “significant events”. PKM (talk) 00:58, 19 November 2018 (UTC)
- Support Sabas88 (talk) 09:10, 19 November 2018 (UTC)
- Support Zeromonk (talk) 09:29, 19 November 2018 (UTC)
- Support katpatuka (talk) 10:42, 19 November 2018 (UTC)
- Support Marsupium (talk) 11:06, 19 November 2018 (UTC)
- Support Dhx1 (talk) 12:59, 19 November 2018 (UTC)
- Support Hibm98 (talk) 16:39, 19 November 2018 (UTC)
- Support Sadads (talk) 18:46, 19 November 2018 (UTC)
- Support I would like to see this, but take into account that some claims should be sorted by other qualifieres (see my note above). U+1F360 (talk) 21:04, 19 November 2018 (UTC)
- Support Vulphere 12:57, 20 November 2018 (UTC)
- Support sorting claims by qualifier per U+1F360 Wikisaurus (talk) 14:26, 20 November 2018 (UTC)
- Support CAPTAIN RAJU(T) 22:57, 20 November 2018 (UTC)
- Support As the proposer. Bencemac (talk) 08:12, 21 November 2018 (UTC)
- Support Ayack (talk) 09:22, 21 November 2018 (UTC)
- Support Novak Watchmen (talk) 15:12, 21 November 2018 (UTC)
- Support Pppery (talk) 00:40, 22 November 2018 (UTC)
- Support Nvrandow (talk) 20:08, 23 November 2018 (UTC)
- Support James F. (talk) 22:44, 23 November 2018 (UTC)
- Support Sannita - not just another it.wiki sysop 00:35, 24 November 2018 (UTC)
- Support Yes, we should be able to specify different ordering for different properties: by date qualifier, alphabetically, or by some other qualifiers. Jarekt (talk) 05:18, 25 November 2018 (UTC)
- Support — AfroThundr (u · t · c) 03:02, 26 November 2018 (UTC)
- Support PMG (talk) 10:26, 26 November 2018 (UTC)
- Support Olea (talk) 21:33, 29 November 2018 (UTC)
- Support NicoScribe (talk) 11:27, 30 November 2018 (UTC)
- Support Movses (talk) 14:12, 30 November 2018 (UTC)
- Support NickK (talk) 15:55, 30 November 2018 (UTC)
- Support Schniggendiller (talk) 16:01, 30 November 2018 (UTC)
- Support Yiyi (talk) 16:04, 30 November 2018 (UTC)