Page MenuHomePhabricator

Number are off when items fall under several groups
Closed, ResolvedPublic

Description

(I think the original intent is that grouping should be exclusive, but still it’s a reasonable use-case).

As reported on other fora:
@99of9

I think it's double counting items that fall under multiple category paths. I can't find 215 Wikidata property related to chemistry (Q21294996). Maybe a "DISTINCT" in the default SPARQL would help

@Jura1

I tried to add a "higher grouping" by continent. It works for most of it. Somehow the numbers for the US get doubled (two continents, even if only one is shown). Percentages dropped. Maybe the query can use a "DISTINCT" in count.

Event Timeline

JeanFred renamed this task from Number are off when a higher-grouping is not unique to Number are off when items fall under several groups.May 22 2019, 1:05 PM
JeanFred updated the task description. (Show Details)

Mentioned in SAL (#wikimedia-cloud) [2019-05-22T13:13:15Z] <wm-bot> <jeanfred> Deploy latest from Git master: 2fdede2, 6b6c07c, c17cb78 (T224090)

JeanFred claimed this task.
JeanFred triaged this task as High priority.