query-e43eb040b59d3d89803ac9332e8f01d5

rq turtle/ttl

This query collects burial places of individuals, and sorts them in decreasing order SELECT ?human (COUNT(?place) AS ?count) WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P119 ?place. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } } GROUP BY ?human ORDER BY DESC(?count) This query collects burial places of individuals, and sorts them in decreasing order SELECT ?human (COUNT(?place) AS ?count) WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P119 ?place. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } } GROUP BY ?human ORDER BY DESC(?count) This query collects burial places of individuals, and sorts them in decreasing order SELECT ?human (COUNT(?place) AS ?count) WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P119 ?place. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } } GROUP BY ?human ORDER BY DESC(?count) This query collects burial places of individuals, and sorts them in decreasing order SELECT ?human (COUNT(?place) AS ?count) WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P119 ?place. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } } GROUP BY ?human ORDER BY DESC(?count) This query collects burial places of individuals, and sorts them in decreasing order SELECT ?human (COUNT(?place) AS ?count) WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P119 ?place. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } } GROUP BY ?human ORDER BY DESC(?count) This query collects burial places of individuals, and sorts them in decreasing order SELECT ?human (COUNT(?place) AS ?count) WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P119 ?place. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } } GROUP BY ?human ORDER BY DESC(?count) This query collects burial places of individuals, and sorts them in decreasing order SELECT ?human (COUNT(?place) AS ?count) WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P119 ?place. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } } GROUP BY ?human ORDER BY DESC(?count) This query collects burial places of individuals, and sorts them in decreasing order SELECT ?human (COUNT(?place) AS ?count) WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P119 ?place. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } } GROUP BY ?human ORDER BY DESC(?count) This query collects burial places of individuals, and sorts them in decreasing order SELECT ?human (COUNT(?place) AS ?count) WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P119 ?place. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } } GROUP BY ?human ORDER BY DESC(?count) This query collects burial places of individuals, and sorts them in decreasing order SELECT ?human (COUNT(?place) AS ?count) WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P119 ?place. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } } GROUP BY ?human 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#>
# This query collects burial places of individuals, and sorts them in decreasing order
SELECT ?human (COUNT(?place) AS ?count) WHERE {
  ?human wdt:P31 wd:Q5.
  ?human wdt:P119 ?place.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
}
GROUP BY ?human 
ORDER BY DESC(?count)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?count") v2("?human"):::projected v3("?place"):::projected c5(["bd:serviceParam"]):::iri c7(["#91;AUTO_LANGUAGE#93;"]):::literal c2(["wd:Q5"]):::iri v2 --"wdt:P31"--> c2 v2 --"wdt:P119"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end bind1[/"count(?place)"/] v3 --o bind1 bind1 --as--o v4