User:Inductiveload/Sandbox/wd dashboard

From Wikisource
Jump to navigation Jump to search
Manually update chart
WDQS | PetScan | TABernacle | Find images Recent changes SELECT (wd:Q5 AS ?item) ("main subject (P921)s" AS ?legend) (GROUP_CONCAT(?itemLabel; SEPARATOR = ",") AS ?labels) (GROUP_CONCAT(?ct; SEPARATOR = ",") AS ?values) WHERE { { SELECT ?p (COUNT(?entry) AS ?ct) WHERE { ?entry (wdt:P31/(wdt:P279*)) wd:Q191067; wdt:P1433 wd:Q867541. hint:Prior hint:runFirst "true" . OPTIONAL { ?entry wdt:P921 ?mainsubject . } BIND(IF(!(BOUND(?mainsubject)), wd:Q22910791, wd:Q24036257) AS ?p) } GROUP BY ?p ORDER BY (?ct) } SERVICE wikibase:label { bd:serviceParam wikibase:language "en". ?p rdfs:label ?itemLabel. } }
End of auto-generated list.