query-3d971d03e0952f41391d822f6547dada

rq turtle/ttl

Voice types of humans in the order of frequency of use. SELECT ?value ?valueLabel ?count WITH { SELECT ?value (COUNT(DISTINCT ?singer) AS ?count) WHERE { ?singer wdt:P31/wdt:P279 wd:Q5. ?singer wdt:P412 ?value. } GROUP BY ?value ORDER BY DESC(?count) LIMIT 100 } AS %results WHERE { INCLUDE %results. SERVICE wikibase:label { bd:serviceParam wikibase:language "en-US,en,en". } } ORDER BY DESC(?count) Voice types of humans in the order of frequency of use. SELECT ?value ?valueLabel ?count WITH { SELECT ?value (COUNT(DISTINCT ?singer) AS ?count) WHERE { ?singer wdt:P31/wdt:P279 wd:Q5. ?singer wdt:P412 ?value. } GROUP BY ?value ORDER BY DESC(?count) LIMIT 100 } AS %results WHERE { INCLUDE %results. SERVICE wikibase:label { bd:serviceParam wikibase:language "en-US,en,en". } } ORDER BY DESC(?count) Voice types of humans in the order of frequency of use. SELECT ?value ?valueLabel ?count WITH { SELECT ?value (COUNT(DISTINCT ?singer) AS ?count) WHERE { ?singer wdt:P31/wdt:P279* wd:Q5. ?singer wdt:P412 ?value. } GROUP BY ?value ORDER BY DESC(?count) LIMIT 100 } AS %results WHERE { INCLUDE %results. SERVICE wikibase:label { bd:serviceParam wikibase:language "en-US,en,en". } } ORDER BY DESC(?count)

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#>
#Voice types of humans in the order of frequency of use.
SELECT ?value ?valueLabel ?count WHERE {
   {
  SELECT ?value (COUNT(DISTINCT ?singer) AS ?count) WHERE {
    ?singer wdt:P31/wdt:P279* wd:Q5.
    ?singer wdt:P412 ?value.
    }
  GROUP BY ?value
  ORDER BY DESC(?count)
  LIMIT 100
}
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en-US,en,en". }
}
ORDER BY DESC(?count)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?count"):::projected v2("?singer") v3("?value"):::projected a1((" ")) c8(["en-US,en,en"]):::literal c6(["bd:serviceParam"]):::iri c3(["wd:Q5"]):::iri v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 v2 --"wdt:P412"--> v3 bind1[/"count(?singer)"/] v2 --o bind1 bind1 --as--o v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end