query-26fffb2eef51646643aa0e687cfdfe8f
"add redundant type "award"" ]reply[22:20, 3 January 2019 (UTC)) talk (Multichill indicates that you know it's redundant, but you did a tool to mass add this anyway. Please revert this batch or I will do it for you. https://tools.wmflabs.org/quickstatements/#/batch/6741So I've reverted the batch, but there are still a few hundred other awards with the same problem. Should I remove the redundant type for them? shows this is falsehttps://github.com/fnielsen/scholia/issues/600: claimed that the removal of redundant types "award" broke Scholia (see prev section). But GerardM@ : Thanks for setting me straightTacsipacsi, Multichill@
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
select (count(*) as ?c) ?typeLabel {
?x wdt:P31 ?type, wd:Q618779.
?type wdt:P279+ wd:Q618779.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} group by ?typeLabel order by desc(?c)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?c")
v3("?type")
v2("?x")
c2(["wd:Q618779"]):::iri
c5(["bd:serviceParam"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"wdt:P31"--> v3
v2 --"wdt:P31"--> c2
v3 --"wdt:P279"--> c2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end
bind1[/"count(*)"/]
bind1 --as--o v4