query-5fcf8d2caf713119022329c555e61577

rq turtle/ttl

India-specific property usage count SELECT ?prop ?propLabel ?propType ?propDescription (COUNT(?propclaim) AS ?count) WHERE { ?prop wdt:P17 wd:Q668 . ?prop wikibase:claim ?propclaim . ?item ?propclaim [] . ?prop wikibase:propertyType ?propType . SERVICE wikibase:label {bd:serviceParam wikibase:language "en" .}
} GROUP BY ?prop ?propLabel ?propType ?propDescription ORDER BY DESC (?count) LIMIT 200

Use at

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 ?propType ?propDescription (COUNT(?propclaim) AS ?count) WHERE {
  ?prop wdt:P17 wd:Q668 .
  ?prop wikibase:claim ?propclaim .
  ?item ?propclaim [] .
  ?prop wikibase:propertyType ?propType .
  SERVICE wikibase:label {bd:serviceParam wikibase:language "en" .}  
} GROUP BY ?prop ?propLabel ?propType ?propDescription ORDER BY DESC (?count)
LIMIT 200

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v6("?count") v4("?item") v2("?prop"):::projected v5("?propType"):::projected v3("?propclaim"):::projected a1((" ")) c6(["bd:serviceParam"]):::iri c2(["wd:Q668"]):::iri c8(["en"]):::literal v2 --"wdt:P17"--> c2 v2 --"wikibase:claim"--> v3 v4 -->v3--> a1 v2 --"wikibase:propertyType"--> v5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end bind1[/"count(?propclaim)"/] v3 --o bind1 bind1 --as--o v6