query-2b7c8b3cd65faaabcb0a69efef8f233b
ItemsCOVID-19 (Q84263196)SARS-CoV-2 (Q82069695)COVID-19 pandemic (Q81068910)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?lang (COUNT(*) AS ?count) WHERE {
{wd:Q84263196 ?prop ?x.} UNION {wd:Q82069695 ?prop ?x.} UNION {wd:Q81068910 ?prop ?x.}
?p wikibase:directClaim ?prop.
?p rdfs:label ?label.
BIND(LANG(?label) AS ?lang)
}
GROUP BY ?lang
ORDER BY DESC(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v7("?count")
v5("?label")
v6("?lang"):::projected
v4("?p")
v2("?prop")
v3("?x")
c1(["wd:Q84263196"]):::iri
c2(["wd:Q82069695"]):::iri
c3(["wd:Q81068910"]):::iri
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
subgraph union1[" Union "]
subgraph union1l[" "]
style union1l fill:#abf,stroke-dasharray: 3 3;
c3 -->v2--> v3
end
subgraph union1r[" "]
style union1r fill:#abf,stroke-dasharray: 3 3;
c2 -->v2--> v3
end
union1r <== or ==> union1l
end
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
c1 -->v2--> v3
end
union0r <== or ==> union0l
end
v4 --"wikibase:directClaim"--> v2
v4 --"rdfs:label"--> v5
bind0[/"?label"/]
v5 --o bind0
bind0 --as--o v6
bind2[/"count(*)"/]
bind2 --as--o v7