query-dc8a5821e174148f8109b1424933dfaa
TODO
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 ?p ?pLabel (COUNT(*) AS ?count)
WHERE {
?s ?pd ?o .
?p wikibase:directClaim ?pd .
?s wdt:P31/wdt:P279* wd:Q41487 .
?o wdt:P31/wdt:P279* wd:Q4959031 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?p ?pLabel
ORDER BY DESC(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?count")
v4("?o")
v5("?p"):::projected
v3("?pd")
v2("?s")
a1((" "))
a2((" "))
c7(["bd:serviceParam"]):::iri
c5(["wd:Q4959031"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c4(["wd:Q41487"]):::iri
v2 -->v3--> v4
v5 --"wikibase:directClaim"--> v3
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c4
v4 --"wdt:P31"--> a2
a2 --"wdt:P279"--> c5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
bind1[/"count(*)"/]
bind1 --as--o v6