query-29d27b070d18729a9d511104606a2a27
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT distinct ?crea ?creaLabel (COUNT(distinct ?coll) as ?nbcoll)
WHERE
{
?item wdt:P170 ?crea.
?item wdt:P195 ?coll.
SERVICE wikibase:label { #BabelRainbow
bd:serviceParam wikibase:language "[AUTO_LANGUAGE],fr,en,ar,be,bg,bn,ca,cs,da,de,el,es,et,fa,fi,he,hi,hu,hy,id,it,ja,jv,ko,nb,nl,eo,pa,pl,pt,ro,ru,sh,sk,sr,sv,sw,te,th,tr,uk,yue,vec,vi,zh"
}
} GROUP BY ?crea ?creaLabel
HAVING (?nbcoll>50)
ORDER BY DESC (?nbcoll)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?coll"):::projected
v3("?crea"):::projected
v2("?item")
v5("?nbcoll")
c5(["bd:serviceParam"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,fr,en,ar,be,bg,bn,ca,cs,da,de,el,es,et,fa,fi,he,hi,hu,hy,id,it,ja,jv,ko,nb,nl,eo,pa,pl,pt,ro,ru,sh,sk,sr,sv,sw,te,th,tr,uk,yue,vec,vi,zh"]):::literal
f0[["?nbcoll > '50^^xsd:integer'"]]
f0 --> v5
v2 --"wdt:P170"--> v3
v2 --"wdt:P195"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end
bind2[/"count(?coll)"/]
v4 --o bind2
bind2 --as--o v5