query-28b8fc36cd84916aab9b0427cb55bcd2
form vs distribution formatI was having a look at the most common values for this property:
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 ?value ?valueLabel (COUNT(?item) AS ?count) (SAMPLE(?item) as ?sample) WHERE {
?item wdt:P7937 ?value.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?value ?valueLabel
ORDER BY DESC(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?count")
v2("?item"):::projected
v4("?sample")
v3("?value"):::projected
c3(["bd:serviceParam"]):::iri
c5(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"wdt:P7937"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
end
bind2[/"count(?item)"/]
v2 --o bind2
bind2 --as--o v4
bind3[/"sample(?item)"/]
v2 --o bind3
bind3 --as--o v4