query-c0e644cf128da9b76a243616d87bcfe8
India-specific property usage count
SELECT ?prop ?propLabel ?propDescription (COUNT(?propclaim) AS ?count) WHERE {
?prop wdt:P17 wd:Q668 .
?prop wikibase:claim ?propclaim .
?item ?propclaim [] .
SERVICE wikibase:label {bd:serviceParam wikibase:language "en" .}
} GROUP BY ?prop ?propLabel ?propDescription ORDER BY DESC (?count)
LIMIT 200
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#>
#India-specific property usage count
SELECT ?prop ?propLabel ?propDescription (COUNT(?propclaim) AS ?count) WHERE {
?prop wdt:P17 wd:Q668 .
?prop wikibase:claim ?propclaim .
?item ?propclaim [] .
SERVICE wikibase:label {bd:serviceParam wikibase:language "en" .}
} GROUP BY ?prop ?propLabel ?propDescription ORDER BY DESC (?count)
LIMIT 200
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?count")
v4("?item")
v2("?prop"):::projected
v3("?propclaim"):::projected
a1((" "))
c5(["bd:serviceParam"]):::iri
c2(["wd:Q668"]):::iri
c7(["en"]):::literal
v2 --"wdt:P17"--> c2
v2 --"wikibase:claim"--> v3
v4 -->v3--> a1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end
bind1[/"count(?propclaim)"/]
v3 --o bind1
bind1 --as--o v5