query-f24665fbcafa8908794795b84a5fb056
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 ?property ?propertyLabel ?count WHERE
{
{ SELECT ?property (count(?item) as ?count) WHERE
{
{
SELECT ?item
WHERE
{
?item wdt:P31 wd:Q4167836.
} limit 200000 } ?item ?ppp ?qqq.
?property wikibase:directClaim ?ppp .
filter (?property not in (wd:P31, wd:P4224, wd:P971) )
} group by ?property } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} order by desc(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?count"):::projected
v3("?item")
v4("?ppp")
v2("?property"):::projected
v5("?qqq")
c8(["bd:serviceParam"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c5(["wd:Q4167836"]):::iri
f0[["?property != 'wd:P31'?property != 'wd:P4224'?property != 'wd:P971'"]]
f0 --> v2
v3 --"wdt:P31"--> c5
v3 -->v4--> v5
v2 --"wikibase:directClaim"--> v4
bind2[/"count(?item)"/]
v3 --o bind2
bind2 --as--o v6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end