query-e64ba6e30e76a88ab3a90ed4d5ca8d87
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 ?valueLabel (COUNT(?item) AS ?count)
WHERE
{
?item wdt:P527 ?item ; wdt:P527 ?value.
SERVICE wikibase:label { bd:serviceParam wikibase:language "fr". }
}
GROUP BY ?valueLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?count")
v1("?item"):::projected
v2("?value")
a1((" "))
c3(["bd:serviceParam"]):::iri
c5(["fr"]):::literal
f0[["sameterm(?item,)"]]
f0 --> v1
f0 --> a1
v1 --"wdt:P527"--> a1
v1 --"wdt:P527"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
end
bind2[/"count(?item)"/]
v1 --o bind2
bind2 --as--o v3